docs.go 1.4 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://www.muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "parameters": [
  378. {
  379. "type": "integer",
  380. "description": "起始自增ID",
  381. "name": "autoid",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/models.Enumdicitem"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/GetClientMenus": {
  402. "get": {
  403. "security": [
  404. {
  405. "ApiKeyAuth": []
  406. }
  407. ],
  408. "produces": [
  409. "application/json"
  410. ],
  411. "tags": [
  412. "通用服务"
  413. ],
  414. "summary": "获取交易端菜单",
  415. "parameters": [
  416. {
  417. "type": "integer",
  418. "description": "登录账号",
  419. "name": "loginID",
  420. "in": "query",
  421. "required": true
  422. },
  423. {
  424. "type": "integer",
  425. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  426. "name": "clientType",
  427. "in": "query"
  428. },
  429. {
  430. "type": "string",
  431. "description": "分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台",
  432. "name": "name",
  433. "in": "query"
  434. }
  435. ],
  436. "responses": {
  437. "200": {
  438. "description": "OK",
  439. "schema": {
  440. "type": "array",
  441. "items": {
  442. "$ref": "#/definitions/common.ClientMenu"
  443. }
  444. }
  445. },
  446. "500": {
  447. "description": "Internal Server Error",
  448. "schema": {
  449. "$ref": "#/definitions/app.Response"
  450. }
  451. }
  452. }
  453. }
  454. },
  455. "/Common/GetDivisions": {
  456. "get": {
  457. "produces": [
  458. "application/json"
  459. ],
  460. "tags": [
  461. "通用服务"
  462. ],
  463. "summary": "查询区域信息",
  464. "responses": {
  465. "200": {
  466. "description": "OK",
  467. "schema": {
  468. "$ref": "#/definitions/models.Division"
  469. }
  470. },
  471. "500": {
  472. "description": "Internal Server Error",
  473. "schema": {
  474. "$ref": "#/definitions/app.Response"
  475. }
  476. }
  477. }
  478. }
  479. },
  480. "/Common/GetPCWebMenus": {
  481. "get": {
  482. "security": [
  483. {
  484. "ApiKeyAuth": []
  485. }
  486. ],
  487. "produces": [
  488. "application/json"
  489. ],
  490. "tags": [
  491. "通用服务"
  492. ],
  493. "summary": "获取PCWeb交易端菜单",
  494. "parameters": [
  495. {
  496. "type": "integer",
  497. "description": "登录账号",
  498. "name": "loginID",
  499. "in": "query",
  500. "required": true
  501. },
  502. {
  503. "type": "string",
  504. "description": "分支名称,ermcp:风管云平台,不传默认返回ermcp",
  505. "name": "name",
  506. "in": "query"
  507. }
  508. ],
  509. "responses": {
  510. "200": {
  511. "description": "OK",
  512. "schema": {
  513. "type": "array",
  514. "items": {
  515. "$ref": "#/definitions/common.PCWebMenu"
  516. }
  517. }
  518. },
  519. "500": {
  520. "description": "Internal Server Error",
  521. "schema": {
  522. "$ref": "#/definitions/app.Response"
  523. }
  524. }
  525. }
  526. }
  527. },
  528. "/Common/GetServerTime": {
  529. "get": {
  530. "produces": [
  531. "application/json"
  532. ],
  533. "tags": [
  534. "通用服务"
  535. ],
  536. "summary": "获取服务器时间",
  537. "responses": {
  538. "200": {
  539. "description": "OK",
  540. "schema": {
  541. "$ref": "#/definitions/app.Response"
  542. }
  543. },
  544. "500": {
  545. "description": "Internal Server Error",
  546. "schema": {
  547. "$ref": "#/definitions/app.Response"
  548. }
  549. }
  550. }
  551. }
  552. },
  553. "/Common/NoticeReaded": {
  554. "post": {
  555. "security": [
  556. {
  557. "ApiKeyAuth": []
  558. }
  559. ],
  560. "produces": [
  561. "application/json"
  562. ],
  563. "tags": [
  564. "通用服务"
  565. ],
  566. "summary": "通知公告设置已读请求",
  567. "parameters": [
  568. {
  569. "type": "integer",
  570. "description": "登录账号",
  571. "name": "loginID",
  572. "in": "query",
  573. "required": true
  574. },
  575. {
  576. "type": "integer",
  577. "description": "通知公告ID",
  578. "name": "noticeID",
  579. "in": "query",
  580. "required": true
  581. }
  582. ],
  583. "responses": {
  584. "200": {
  585. "description": "OK",
  586. "schema": {
  587. "$ref": "#/definitions/app.Response"
  588. }
  589. },
  590. "500": {
  591. "description": "Internal Server Error",
  592. "schema": {
  593. "$ref": "#/definitions/app.Response"
  594. }
  595. }
  596. }
  597. }
  598. },
  599. "/Common/QueryErrorInfos": {
  600. "get": {
  601. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  602. "produces": [
  603. "application/json"
  604. ],
  605. "tags": [
  606. "通用服务"
  607. ],
  608. "summary": "获取数据库错误信息",
  609. "parameters": [
  610. {
  611. "type": "string",
  612. "description": "起始行号前索引",
  613. "name": "rowNumber",
  614. "in": "query"
  615. }
  616. ],
  617. "responses": {
  618. "200": {
  619. "description": "OK",
  620. "schema": {
  621. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  622. }
  623. },
  624. "500": {
  625. "description": "Internal Server Error",
  626. "schema": {
  627. "$ref": "#/definitions/app.Response"
  628. }
  629. }
  630. }
  631. }
  632. },
  633. "/Common/QueryImageConfigs": {
  634. "get": {
  635. "produces": [
  636. "application/json"
  637. ],
  638. "tags": [
  639. "通用服务"
  640. ],
  641. "summary": "查询轮播图配置信息",
  642. "parameters": [
  643. {
  644. "type": "integer",
  645. "description": "用户id",
  646. "name": "userId",
  647. "in": "query"
  648. },
  649. {
  650. "type": "integer",
  651. "description": "类型 - 1:App首页轮播 2:我的",
  652. "name": "imageType",
  653. "in": "query"
  654. }
  655. ],
  656. "responses": {
  657. "200": {
  658. "description": "OK",
  659. "schema": {
  660. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  661. }
  662. },
  663. "500": {
  664. "description": "Internal Server Error",
  665. "schema": {
  666. "$ref": "#/definitions/app.Response"
  667. }
  668. }
  669. }
  670. }
  671. },
  672. "/Common/QueryNotice": {
  673. "get": {
  674. "security": [
  675. {
  676. "ApiKeyAuth": []
  677. }
  678. ],
  679. "produces": [
  680. "application/json"
  681. ],
  682. "tags": [
  683. "通用服务"
  684. ],
  685. "summary": "通知公告系统消息查询",
  686. "parameters": [
  687. {
  688. "type": "integer",
  689. "description": "页码",
  690. "name": "page",
  691. "in": "query"
  692. },
  693. {
  694. "type": "integer",
  695. "description": "每页条数",
  696. "name": "pagesize",
  697. "in": "query"
  698. },
  699. {
  700. "type": "integer",
  701. "description": "登录账号",
  702. "name": "loginID",
  703. "in": "query",
  704. "required": true
  705. },
  706. {
  707. "type": "integer",
  708. "description": "消息类型 - 1:公告通知 2:系统消息",
  709. "name": "msgType",
  710. "in": "query"
  711. },
  712. {
  713. "type": "boolean",
  714. "description": "是否只获取未读信息",
  715. "name": "onlyUnRead",
  716. "in": "query"
  717. },
  718. {
  719. "type": "integer",
  720. "description": "自增ID,传入后会返回这个ID后面的记录",
  721. "name": "lastID",
  722. "in": "query"
  723. }
  724. ],
  725. "responses": {
  726. "200": {
  727. "description": "OK",
  728. "schema": {
  729. "$ref": "#/definitions/common.QueryNoticeRsp"
  730. }
  731. },
  732. "500": {
  733. "description": "Internal Server Error",
  734. "schema": {
  735. "$ref": "#/definitions/app.Response"
  736. }
  737. }
  738. }
  739. }
  740. },
  741. "/Common/QueryProvincesAndCities": {
  742. "get": {
  743. "produces": [
  744. "application/json"
  745. ],
  746. "tags": [
  747. "通用服务"
  748. ],
  749. "summary": "查询省市信息(不包括区)",
  750. "parameters": [
  751. {
  752. "type": "integer",
  753. "description": "省ID",
  754. "name": "provinceID",
  755. "in": "query"
  756. }
  757. ],
  758. "responses": {
  759. "200": {
  760. "description": "OK",
  761. "schema": {
  762. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  763. }
  764. },
  765. "500": {
  766. "description": "Internal Server Error",
  767. "schema": {
  768. "$ref": "#/definitions/app.Response"
  769. }
  770. }
  771. }
  772. }
  773. },
  774. "/Common/QueryTableDefine": {
  775. "get": {
  776. "produces": [
  777. "application/json"
  778. ],
  779. "tags": [
  780. "通用服务"
  781. ],
  782. "summary": "查询交易端列表头信息",
  783. "parameters": [
  784. {
  785. "type": "string",
  786. "description": "表key",
  787. "name": "tableKey",
  788. "in": "query"
  789. },
  790. {
  791. "type": "integer",
  792. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  793. "name": "tableType",
  794. "in": "query"
  795. }
  796. ],
  797. "responses": {
  798. "200": {
  799. "description": "OK",
  800. "schema": {
  801. "$ref": "#/definitions/common.QueryTableDefineRsp"
  802. }
  803. },
  804. "500": {
  805. "description": "Internal Server Error",
  806. "schema": {
  807. "$ref": "#/definitions/app.Response"
  808. }
  809. }
  810. }
  811. }
  812. },
  813. "/Common/QueryTraderMenu": {
  814. "get": {
  815. "produces": [
  816. "application/json"
  817. ],
  818. "tags": [
  819. "通用服务"
  820. ],
  821. "summary": "查询交易端菜单",
  822. "parameters": [
  823. {
  824. "type": "integer",
  825. "description": "登录账号",
  826. "name": "loginid",
  827. "in": "query",
  828. "required": true
  829. }
  830. ],
  831. "responses": {
  832. "200": {
  833. "description": "OK",
  834. "schema": {
  835. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  836. }
  837. },
  838. "500": {
  839. "description": "Internal Server Error",
  840. "schema": {
  841. "$ref": "#/definitions/app.Response"
  842. }
  843. }
  844. }
  845. }
  846. },
  847. "/Delivery/QueryDeliveryRelation": {
  848. "get": {
  849. "security": [
  850. {
  851. "ApiKeyAuth": []
  852. }
  853. ],
  854. "produces": [
  855. "application/json"
  856. ],
  857. "tags": [
  858. "交割服务"
  859. ],
  860. "summary": "查询商品交割关系表",
  861. "parameters": [
  862. {
  863. "type": "integer",
  864. "description": "商品ID",
  865. "name": "goodsid",
  866. "in": "query"
  867. },
  868. {
  869. "type": "integer",
  870. "description": "品种ID",
  871. "name": "deliverygoodsid",
  872. "in": "query"
  873. },
  874. {
  875. "type": "integer",
  876. "description": "市场ID",
  877. "name": "marketid",
  878. "in": "query"
  879. }
  880. ],
  881. "responses": {
  882. "200": {
  883. "description": "OK",
  884. "schema": {
  885. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  886. }
  887. },
  888. "500": {
  889. "description": "Internal Server Error",
  890. "schema": {
  891. "$ref": "#/definitions/app.Response"
  892. }
  893. }
  894. }
  895. }
  896. },
  897. "/Ermcp/GetErmcpGoods": {
  898. "get": {
  899. "security": [
  900. {
  901. "ApiKeyAuth": []
  902. }
  903. ],
  904. "produces": [
  905. "application/json"
  906. ],
  907. "tags": [
  908. "企业风险管理(app)"
  909. ],
  910. "summary": "查询企业风管期货商品信息",
  911. "parameters": [
  912. {
  913. "type": "string",
  914. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  915. "name": "lastUpdateTime",
  916. "in": "query"
  917. }
  918. ],
  919. "responses": {
  920. "200": {
  921. "description": "OK",
  922. "schema": {
  923. "$ref": "#/definitions/models.ErmcpGoods"
  924. }
  925. },
  926. "500": {
  927. "description": "Internal Server Error",
  928. "schema": {
  929. "$ref": "#/definitions/app.Response"
  930. }
  931. }
  932. }
  933. }
  934. },
  935. "/Ermcp/GetErmcpGoodsSortByPosition": {
  936. "get": {
  937. "security": [
  938. {
  939. "ApiKeyAuth": []
  940. }
  941. ],
  942. "produces": [
  943. "application/json"
  944. ],
  945. "tags": [
  946. "企业风险管理(app)"
  947. ],
  948. "summary": "查询企业风管期货主力、次主力商品信息",
  949. "parameters": [
  950. {
  951. "type": "string",
  952. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  953. "name": "sortIndex",
  954. "in": "query"
  955. }
  956. ],
  957. "responses": {
  958. "200": {
  959. "description": "OK",
  960. "schema": {
  961. "$ref": "#/definitions/models.Goodssortbypreposition"
  962. }
  963. },
  964. "500": {
  965. "description": "Internal Server Error",
  966. "schema": {
  967. "$ref": "#/definitions/app.Response"
  968. }
  969. }
  970. }
  971. }
  972. },
  973. "/Ermcp/GetErmcpOutAccountStatus": {
  974. "get": {
  975. "security": [
  976. {
  977. "ApiKeyAuth": []
  978. }
  979. ],
  980. "produces": [
  981. "application/json"
  982. ],
  983. "tags": [
  984. "企业风险管理(app)"
  985. ],
  986. "summary": "获取目标登录账号当前对冲账号在线状态",
  987. "parameters": [
  988. {
  989. "type": "integer",
  990. "description": "登录账号",
  991. "name": "loginID",
  992. "in": "query",
  993. "required": true
  994. }
  995. ],
  996. "responses": {
  997. "200": {
  998. "description": "OK",
  999. "schema": {
  1000. "$ref": "#/definitions/models.Hedgemarketopenlog"
  1001. }
  1002. },
  1003. "500": {
  1004. "description": "Internal Server Error",
  1005. "schema": {
  1006. "$ref": "#/definitions/app.Response"
  1007. }
  1008. }
  1009. }
  1010. }
  1011. },
  1012. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1013. "get": {
  1014. "security": [
  1015. {
  1016. "ApiKeyAuth": []
  1017. }
  1018. ],
  1019. "produces": [
  1020. "application/json"
  1021. ],
  1022. "tags": [
  1023. "企业风险管理(app)"
  1024. ],
  1025. "summary": "获取企业风管终端权限",
  1026. "parameters": [
  1027. {
  1028. "type": "integer",
  1029. "description": "登录账号",
  1030. "name": "loginID",
  1031. "in": "query",
  1032. "required": true
  1033. }
  1034. ],
  1035. "responses": {
  1036. "200": {
  1037. "description": "OK",
  1038. "schema": {
  1039. "$ref": "#/definitions/models.Funcmenulist"
  1040. }
  1041. },
  1042. "500": {
  1043. "description": "Internal Server Error",
  1044. "schema": {
  1045. "$ref": "#/definitions/app.Response"
  1046. }
  1047. }
  1048. }
  1049. }
  1050. },
  1051. "/Ermcp/QueryAccMgrBizGroupSet": {
  1052. "get": {
  1053. "security": [
  1054. {
  1055. "ApiKeyAuth": []
  1056. }
  1057. ],
  1058. "produces": [
  1059. "application/json"
  1060. ],
  1061. "tags": [
  1062. "企业风险管理(app)"
  1063. ],
  1064. "summary": "查询业务类型分组(账户管理/账户设置)",
  1065. "parameters": [
  1066. {
  1067. "type": "integer",
  1068. "description": "用户ID",
  1069. "name": "userid",
  1070. "in": "query",
  1071. "required": true
  1072. },
  1073. {
  1074. "type": "integer",
  1075. "description": "现货商品id",
  1076. "name": "deliverygoodsid",
  1077. "in": "query"
  1078. }
  1079. ],
  1080. "responses": {
  1081. "200": {
  1082. "description": "OK",
  1083. "schema": {
  1084. "type": "array",
  1085. "items": {
  1086. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1087. }
  1088. }
  1089. },
  1090. "500": {
  1091. "description": "Internal Server Error",
  1092. "schema": {
  1093. "$ref": "#/definitions/app.Response"
  1094. }
  1095. }
  1096. }
  1097. }
  1098. },
  1099. "/Ermcp/QueryAccMgrLoginUser": {
  1100. "get": {
  1101. "security": [
  1102. {
  1103. "ApiKeyAuth": []
  1104. }
  1105. ],
  1106. "produces": [
  1107. "application/json"
  1108. ],
  1109. "tags": [
  1110. "企业风险管理(app)"
  1111. ],
  1112. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1113. "parameters": [
  1114. {
  1115. "type": "integer",
  1116. "description": "用户ID",
  1117. "name": "userid",
  1118. "in": "query",
  1119. "required": true
  1120. },
  1121. {
  1122. "type": "integer",
  1123. "description": "用户类型 2-机构 7-企业成员",
  1124. "name": "usertype",
  1125. "in": "query"
  1126. },
  1127. {
  1128. "type": "integer",
  1129. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1130. "name": "querytype",
  1131. "in": "query",
  1132. "required": true
  1133. }
  1134. ],
  1135. "responses": {
  1136. "200": {
  1137. "description": "OK",
  1138. "schema": {
  1139. "type": "array",
  1140. "items": {
  1141. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1142. }
  1143. }
  1144. },
  1145. "500": {
  1146. "description": "Internal Server Error",
  1147. "schema": {
  1148. "$ref": "#/definitions/app.Response"
  1149. }
  1150. }
  1151. }
  1152. }
  1153. },
  1154. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1155. "get": {
  1156. "security": [
  1157. {
  1158. "ApiKeyAuth": []
  1159. }
  1160. ],
  1161. "produces": [
  1162. "application/json"
  1163. ],
  1164. "tags": [
  1165. "企业风险管理(app)"
  1166. ],
  1167. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1168. "parameters": [
  1169. {
  1170. "type": "integer",
  1171. "description": "用户ID",
  1172. "name": "userid",
  1173. "in": "query"
  1174. },
  1175. {
  1176. "type": "integer",
  1177. "description": "主账号id",
  1178. "name": "accountid",
  1179. "in": "query"
  1180. }
  1181. ],
  1182. "responses": {
  1183. "200": {
  1184. "description": "OK",
  1185. "schema": {
  1186. "type": "array",
  1187. "items": {
  1188. "$ref": "#/definitions/models.MainAccountInfo"
  1189. }
  1190. }
  1191. },
  1192. "500": {
  1193. "description": "Internal Server Error",
  1194. "schema": {
  1195. "$ref": "#/definitions/app.Response"
  1196. }
  1197. }
  1198. }
  1199. }
  1200. },
  1201. "/Ermcp/QueryAccMgrRole": {
  1202. "get": {
  1203. "security": [
  1204. {
  1205. "ApiKeyAuth": []
  1206. }
  1207. ],
  1208. "produces": [
  1209. "application/json"
  1210. ],
  1211. "tags": [
  1212. "企业风险管理(app)"
  1213. ],
  1214. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1215. "parameters": [
  1216. {
  1217. "type": "integer",
  1218. "description": "用户ID",
  1219. "name": "userid",
  1220. "in": "query",
  1221. "required": true
  1222. }
  1223. ],
  1224. "responses": {
  1225. "200": {
  1226. "description": "OK",
  1227. "schema": {
  1228. "type": "array",
  1229. "items": {
  1230. "$ref": "#/definitions/models.ErmcpRole"
  1231. }
  1232. }
  1233. },
  1234. "500": {
  1235. "description": "Internal Server Error",
  1236. "schema": {
  1237. "$ref": "#/definitions/app.Response"
  1238. }
  1239. }
  1240. }
  1241. }
  1242. },
  1243. "/Ermcp/QueryAccMgrRoleMenu": {
  1244. "get": {
  1245. "security": [
  1246. {
  1247. "ApiKeyAuth": []
  1248. }
  1249. ],
  1250. "produces": [
  1251. "application/json"
  1252. ],
  1253. "tags": [
  1254. "企业风险管理(app)"
  1255. ],
  1256. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1257. "parameters": [
  1258. {
  1259. "type": "integer",
  1260. "description": "用户ID",
  1261. "name": "userid",
  1262. "in": "query",
  1263. "required": true
  1264. },
  1265. {
  1266. "type": "string",
  1267. "description": "角色id(可多个,逗号隔开)",
  1268. "name": "roleid",
  1269. "in": "query"
  1270. },
  1271. {
  1272. "type": "integer",
  1273. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1274. "name": "menutype",
  1275. "in": "query"
  1276. }
  1277. ],
  1278. "responses": {
  1279. "200": {
  1280. "description": "OK",
  1281. "schema": {
  1282. "type": "array",
  1283. "items": {
  1284. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1285. }
  1286. }
  1287. },
  1288. "500": {
  1289. "description": "Internal Server Error",
  1290. "schema": {
  1291. "$ref": "#/definitions/app.Response"
  1292. }
  1293. }
  1294. }
  1295. }
  1296. },
  1297. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1298. "get": {
  1299. "security": [
  1300. {
  1301. "ApiKeyAuth": []
  1302. }
  1303. ],
  1304. "produces": [
  1305. "application/json"
  1306. ],
  1307. "tags": [
  1308. "企业风险管理(app)"
  1309. ],
  1310. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1311. "parameters": [
  1312. {
  1313. "type": "integer",
  1314. "description": "用户ID",
  1315. "name": "userid",
  1316. "in": "query",
  1317. "required": true
  1318. },
  1319. {
  1320. "type": "integer",
  1321. "description": "账号id",
  1322. "name": "accountid",
  1323. "in": "query"
  1324. }
  1325. ],
  1326. "responses": {
  1327. "200": {
  1328. "description": "OK",
  1329. "schema": {
  1330. "type": "array",
  1331. "items": {
  1332. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1333. }
  1334. }
  1335. },
  1336. "500": {
  1337. "description": "Internal Server Error",
  1338. "schema": {
  1339. "$ref": "#/definitions/app.Response"
  1340. }
  1341. }
  1342. }
  1343. }
  1344. },
  1345. "/Ermcp/QueryAccMgrTaaccount": {
  1346. "get": {
  1347. "security": [
  1348. {
  1349. "ApiKeyAuth": []
  1350. }
  1351. ],
  1352. "produces": [
  1353. "application/json"
  1354. ],
  1355. "tags": [
  1356. "企业风险管理(app)"
  1357. ],
  1358. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1359. "parameters": [
  1360. {
  1361. "type": "integer",
  1362. "description": "用户ID",
  1363. "name": "userid",
  1364. "in": "query",
  1365. "required": true
  1366. }
  1367. ],
  1368. "responses": {
  1369. "200": {
  1370. "description": "OK",
  1371. "schema": {
  1372. "type": "array",
  1373. "items": {
  1374. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1375. }
  1376. }
  1377. },
  1378. "500": {
  1379. "description": "Internal Server Error",
  1380. "schema": {
  1381. "$ref": "#/definitions/app.Response"
  1382. }
  1383. }
  1384. }
  1385. }
  1386. },
  1387. "/Ermcp/QueryAvaildGoodsGroup": {
  1388. "get": {
  1389. "security": [
  1390. {
  1391. "ApiKeyAuth": []
  1392. }
  1393. ],
  1394. "produces": [
  1395. "application/json"
  1396. ],
  1397. "tags": [
  1398. "企业风险管理(app)"
  1399. ],
  1400. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1401. "parameters": [
  1402. {
  1403. "type": "integer",
  1404. "description": "所属机构ID",
  1405. "name": "userid",
  1406. "in": "query",
  1407. "required": true
  1408. }
  1409. ],
  1410. "responses": {
  1411. "200": {
  1412. "description": "OK",
  1413. "schema": {
  1414. "type": "array",
  1415. "items": {
  1416. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1417. }
  1418. }
  1419. },
  1420. "500": {
  1421. "description": "Internal Server Error",
  1422. "schema": {
  1423. "$ref": "#/definitions/app.Response"
  1424. }
  1425. }
  1426. }
  1427. }
  1428. },
  1429. "/Ermcp/QueryBusinessDj": {
  1430. "get": {
  1431. "security": [
  1432. {
  1433. "ApiKeyAuth": []
  1434. }
  1435. ],
  1436. "produces": [
  1437. "application/json"
  1438. ],
  1439. "tags": [
  1440. "企业风险管理(app)"
  1441. ],
  1442. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1443. "parameters": [
  1444. {
  1445. "type": "integer",
  1446. "description": "用户ID",
  1447. "name": "UserId",
  1448. "in": "query",
  1449. "required": true
  1450. },
  1451. {
  1452. "type": "integer",
  1453. "description": "用户类型 2-机构 7-企业成员",
  1454. "name": "usertype",
  1455. "in": "query"
  1456. },
  1457. {
  1458. "type": "string",
  1459. "description": "现货合同ID, 不填则查所有",
  1460. "name": "relatedid",
  1461. "in": "query"
  1462. },
  1463. {
  1464. "type": "string",
  1465. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1466. "name": "applystatus",
  1467. "in": "query"
  1468. }
  1469. ],
  1470. "responses": {
  1471. "200": {
  1472. "description": "OK",
  1473. "schema": {
  1474. "type": "array",
  1475. "items": {
  1476. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1477. }
  1478. }
  1479. },
  1480. "500": {
  1481. "description": "Internal Server Error",
  1482. "schema": {
  1483. "$ref": "#/definitions/app.Response"
  1484. }
  1485. }
  1486. }
  1487. }
  1488. },
  1489. "/Ermcp/QueryBusinessFp": {
  1490. "get": {
  1491. "security": [
  1492. {
  1493. "ApiKeyAuth": []
  1494. }
  1495. ],
  1496. "produces": [
  1497. "application/json"
  1498. ],
  1499. "tags": [
  1500. "企业风险管理(app)"
  1501. ],
  1502. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1503. "parameters": [
  1504. {
  1505. "type": "integer",
  1506. "description": "用户ID",
  1507. "name": "UserId",
  1508. "in": "query",
  1509. "required": true
  1510. },
  1511. {
  1512. "type": "integer",
  1513. "description": "用户类型 2-机构 7-企业成员",
  1514. "name": "usertype",
  1515. "in": "query"
  1516. },
  1517. {
  1518. "type": "string",
  1519. "description": "现货合同ID, 不填则查所有",
  1520. "name": "relatedid",
  1521. "in": "query"
  1522. },
  1523. {
  1524. "type": "string",
  1525. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1526. "name": "applystatus",
  1527. "in": "query"
  1528. }
  1529. ],
  1530. "responses": {
  1531. "200": {
  1532. "description": "OK",
  1533. "schema": {
  1534. "type": "array",
  1535. "items": {
  1536. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1537. }
  1538. }
  1539. },
  1540. "500": {
  1541. "description": "Internal Server Error",
  1542. "schema": {
  1543. "$ref": "#/definitions/app.Response"
  1544. }
  1545. }
  1546. }
  1547. }
  1548. },
  1549. "/Ermcp/QueryBusinessJs": {
  1550. "get": {
  1551. "security": [
  1552. {
  1553. "ApiKeyAuth": []
  1554. }
  1555. ],
  1556. "produces": [
  1557. "application/json"
  1558. ],
  1559. "tags": [
  1560. "企业风险管理(app)"
  1561. ],
  1562. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1563. "parameters": [
  1564. {
  1565. "type": "integer",
  1566. "description": "用户ID",
  1567. "name": "UserId",
  1568. "in": "query",
  1569. "required": true
  1570. },
  1571. {
  1572. "type": "integer",
  1573. "description": "用户类型 2-机构 7-企业成员",
  1574. "name": "usertype",
  1575. "in": "query"
  1576. },
  1577. {
  1578. "type": "string",
  1579. "description": "现货合同ID, 不填则查所有",
  1580. "name": "relatedid",
  1581. "in": "query"
  1582. },
  1583. {
  1584. "type": "string",
  1585. "description": "操作申请id",
  1586. "name": "operateapplyid",
  1587. "in": "query"
  1588. },
  1589. {
  1590. "type": "string",
  1591. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1592. "name": "applystatus",
  1593. "in": "query"
  1594. }
  1595. ],
  1596. "responses": {
  1597. "200": {
  1598. "description": "OK",
  1599. "schema": {
  1600. "type": "array",
  1601. "items": {
  1602. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1603. }
  1604. }
  1605. },
  1606. "500": {
  1607. "description": "Internal Server Error",
  1608. "schema": {
  1609. "$ref": "#/definitions/app.Response"
  1610. }
  1611. }
  1612. }
  1613. }
  1614. },
  1615. "/Ermcp/QueryBusinessJsEx": {
  1616. "get": {
  1617. "security": [
  1618. {
  1619. "ApiKeyAuth": []
  1620. }
  1621. ],
  1622. "produces": [
  1623. "application/json"
  1624. ],
  1625. "tags": [
  1626. "企业风险管理(app)"
  1627. ],
  1628. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1629. "parameters": [
  1630. {
  1631. "type": "integer",
  1632. "description": "用户ID",
  1633. "name": "UserId",
  1634. "in": "query",
  1635. "required": true
  1636. },
  1637. {
  1638. "type": "integer",
  1639. "description": "用户类型 2-机构 7-企业成员",
  1640. "name": "usertype",
  1641. "in": "query"
  1642. },
  1643. {
  1644. "type": "string",
  1645. "description": "现货合同ID, 不填则查所有",
  1646. "name": "relatedid",
  1647. "in": "query"
  1648. },
  1649. {
  1650. "type": "string",
  1651. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1652. "name": "applystatus",
  1653. "in": "query"
  1654. }
  1655. ],
  1656. "responses": {
  1657. "200": {
  1658. "description": "OK",
  1659. "schema": {
  1660. "type": "array",
  1661. "items": {
  1662. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1663. }
  1664. }
  1665. },
  1666. "500": {
  1667. "description": "Internal Server Error",
  1668. "schema": {
  1669. "$ref": "#/definitions/app.Response"
  1670. }
  1671. }
  1672. }
  1673. }
  1674. },
  1675. "/Ermcp/QueryBusinessKx": {
  1676. "get": {
  1677. "security": [
  1678. {
  1679. "ApiKeyAuth": []
  1680. }
  1681. ],
  1682. "produces": [
  1683. "application/json"
  1684. ],
  1685. "tags": [
  1686. "企业风险管理(app)"
  1687. ],
  1688. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1689. "parameters": [
  1690. {
  1691. "type": "integer",
  1692. "description": "用户ID",
  1693. "name": "UserId",
  1694. "in": "query",
  1695. "required": true
  1696. },
  1697. {
  1698. "type": "integer",
  1699. "description": "用户类型 2-机构 7-企业成员",
  1700. "name": "usertype",
  1701. "in": "query"
  1702. },
  1703. {
  1704. "type": "string",
  1705. "description": "现货合同ID, 不填则查所有",
  1706. "name": "relatedid",
  1707. "in": "query"
  1708. },
  1709. {
  1710. "type": "string",
  1711. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1712. "name": "applystatus",
  1713. "in": "query"
  1714. }
  1715. ],
  1716. "responses": {
  1717. "200": {
  1718. "description": "OK",
  1719. "schema": {
  1720. "type": "array",
  1721. "items": {
  1722. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1723. }
  1724. }
  1725. },
  1726. "500": {
  1727. "description": "Internal Server Error",
  1728. "schema": {
  1729. "$ref": "#/definitions/app.Response"
  1730. }
  1731. }
  1732. }
  1733. }
  1734. },
  1735. "/Ermcp/QueryChangeLog": {
  1736. "get": {
  1737. "security": [
  1738. {
  1739. "ApiKeyAuth": []
  1740. }
  1741. ],
  1742. "produces": [
  1743. "application/json"
  1744. ],
  1745. "tags": [
  1746. "企业风险管理(app)"
  1747. ],
  1748. "summary": "查询变更记录",
  1749. "parameters": [
  1750. {
  1751. "type": "string",
  1752. "description": "合同ID",
  1753. "name": "RelatedId",
  1754. "in": "query",
  1755. "required": true
  1756. }
  1757. ],
  1758. "responses": {
  1759. "200": {
  1760. "description": "OK",
  1761. "schema": {
  1762. "type": "array",
  1763. "items": {
  1764. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1765. }
  1766. }
  1767. },
  1768. "500": {
  1769. "description": "Internal Server Error",
  1770. "schema": {
  1771. "$ref": "#/definitions/app.Response"
  1772. }
  1773. }
  1774. }
  1775. }
  1776. },
  1777. "/Ermcp/QueryErmcpHisOrderDetails": {
  1778. "get": {
  1779. "security": [
  1780. {
  1781. "ApiKeyAuth": []
  1782. }
  1783. ],
  1784. "produces": [
  1785. "application/json"
  1786. ],
  1787. "tags": [
  1788. "企业风险管理(app)"
  1789. ],
  1790. "summary": "获取企业风管期货历史委托单信息",
  1791. "parameters": [
  1792. {
  1793. "type": "integer",
  1794. "description": "资金账户ID",
  1795. "name": "accountID",
  1796. "in": "query",
  1797. "required": true
  1798. },
  1799. {
  1800. "type": "string",
  1801. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1802. "name": "startDate",
  1803. "in": "query"
  1804. },
  1805. {
  1806. "type": "string",
  1807. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1808. "name": "endDate",
  1809. "in": "query"
  1810. }
  1811. ],
  1812. "responses": {
  1813. "200": {
  1814. "description": "OK",
  1815. "schema": {
  1816. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1817. }
  1818. },
  1819. "500": {
  1820. "description": "Internal Server Error",
  1821. "schema": {
  1822. "$ref": "#/definitions/app.Response"
  1823. }
  1824. }
  1825. }
  1826. }
  1827. },
  1828. "/Ermcp/QueryErmcpHisTradeDetails": {
  1829. "get": {
  1830. "security": [
  1831. {
  1832. "ApiKeyAuth": []
  1833. }
  1834. ],
  1835. "produces": [
  1836. "application/json"
  1837. ],
  1838. "tags": [
  1839. "企业风险管理(app)"
  1840. ],
  1841. "summary": "获取企业风管期货历史成交单信息",
  1842. "parameters": [
  1843. {
  1844. "type": "integer",
  1845. "description": "资金账户ID",
  1846. "name": "accountID",
  1847. "in": "query",
  1848. "required": true
  1849. },
  1850. {
  1851. "type": "integer",
  1852. "description": "商品ID",
  1853. "name": "goodsID",
  1854. "in": "query"
  1855. },
  1856. {
  1857. "type": "integer",
  1858. "description": "买卖方向,0:买 1:卖",
  1859. "name": "buyOrSell",
  1860. "in": "query"
  1861. },
  1862. {
  1863. "type": "integer",
  1864. "description": "关联委托单号",
  1865. "name": "orderID",
  1866. "in": "query"
  1867. },
  1868. {
  1869. "type": "string",
  1870. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1871. "name": "startDate",
  1872. "in": "query"
  1873. },
  1874. {
  1875. "type": "string",
  1876. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1877. "name": "endDate",
  1878. "in": "query"
  1879. }
  1880. ],
  1881. "responses": {
  1882. "200": {
  1883. "description": "OK",
  1884. "schema": {
  1885. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1886. }
  1887. },
  1888. "500": {
  1889. "description": "Internal Server Error",
  1890. "schema": {
  1891. "$ref": "#/definitions/app.Response"
  1892. }
  1893. }
  1894. }
  1895. }
  1896. },
  1897. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1898. "get": {
  1899. "security": [
  1900. {
  1901. "ApiKeyAuth": []
  1902. }
  1903. ],
  1904. "produces": [
  1905. "application/json"
  1906. ],
  1907. "tags": [
  1908. "企业风险管理(app)"
  1909. ],
  1910. "summary": "获取企业风管期货内部持仓单信息",
  1911. "parameters": [
  1912. {
  1913. "type": "integer",
  1914. "description": "资金账户ID",
  1915. "name": "accountID",
  1916. "in": "query",
  1917. "required": true
  1918. },
  1919. {
  1920. "type": "integer",
  1921. "description": "商品ID",
  1922. "name": "goodsID",
  1923. "in": "query"
  1924. },
  1925. {
  1926. "type": "integer",
  1927. "description": "买卖方向,0:买 1:卖",
  1928. "name": "buyOrSell",
  1929. "in": "query"
  1930. }
  1931. ],
  1932. "responses": {
  1933. "200": {
  1934. "description": "OK",
  1935. "schema": {
  1936. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1937. }
  1938. },
  1939. "500": {
  1940. "description": "Internal Server Error",
  1941. "schema": {
  1942. "$ref": "#/definitions/app.Response"
  1943. }
  1944. }
  1945. }
  1946. }
  1947. },
  1948. "/Ermcp/QueryErmcpOrderDetails": {
  1949. "get": {
  1950. "security": [
  1951. {
  1952. "ApiKeyAuth": []
  1953. }
  1954. ],
  1955. "produces": [
  1956. "application/json"
  1957. ],
  1958. "tags": [
  1959. "企业风险管理(app)"
  1960. ],
  1961. "summary": "获取企业风管期货委托单信息",
  1962. "parameters": [
  1963. {
  1964. "type": "integer",
  1965. "description": "资金账户ID",
  1966. "name": "accountID",
  1967. "in": "query",
  1968. "required": true
  1969. }
  1970. ],
  1971. "responses": {
  1972. "200": {
  1973. "description": "OK",
  1974. "schema": {
  1975. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1976. }
  1977. },
  1978. "500": {
  1979. "description": "Internal Server Error",
  1980. "schema": {
  1981. "$ref": "#/definitions/app.Response"
  1982. }
  1983. }
  1984. }
  1985. }
  1986. },
  1987. "/Ermcp/QueryErmcpTradeDetails": {
  1988. "get": {
  1989. "security": [
  1990. {
  1991. "ApiKeyAuth": []
  1992. }
  1993. ],
  1994. "produces": [
  1995. "application/json"
  1996. ],
  1997. "tags": [
  1998. "企业风险管理(app)"
  1999. ],
  2000. "summary": "获取企业风管期货成交单信息",
  2001. "parameters": [
  2002. {
  2003. "type": "integer",
  2004. "description": "资金账户ID",
  2005. "name": "accountID",
  2006. "in": "query",
  2007. "required": true
  2008. },
  2009. {
  2010. "type": "integer",
  2011. "description": "商品ID",
  2012. "name": "goodsID",
  2013. "in": "query"
  2014. },
  2015. {
  2016. "type": "integer",
  2017. "description": "买卖方向,0:买 1:卖",
  2018. "name": "buyOrSell",
  2019. "in": "query"
  2020. },
  2021. {
  2022. "type": "integer",
  2023. "description": "关联委托单号",
  2024. "name": "orderID",
  2025. "in": "query"
  2026. }
  2027. ],
  2028. "responses": {
  2029. "200": {
  2030. "description": "OK",
  2031. "schema": {
  2032. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2033. }
  2034. },
  2035. "500": {
  2036. "description": "Internal Server Error",
  2037. "schema": {
  2038. "$ref": "#/definitions/app.Response"
  2039. }
  2040. }
  2041. }
  2042. }
  2043. },
  2044. "/Ermcp/QueryErmcpTradePosition": {
  2045. "get": {
  2046. "security": [
  2047. {
  2048. "ApiKeyAuth": []
  2049. }
  2050. ],
  2051. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2052. "produces": [
  2053. "application/json"
  2054. ],
  2055. "tags": [
  2056. "企业风险管理(app)"
  2057. ],
  2058. "summary": "获取企业风管期货持仓头寸信息",
  2059. "parameters": [
  2060. {
  2061. "type": "integer",
  2062. "description": "资金账户ID",
  2063. "name": "accountID",
  2064. "in": "query",
  2065. "required": true
  2066. },
  2067. {
  2068. "type": "integer",
  2069. "description": "所属市场ID",
  2070. "name": "marketID",
  2071. "in": "query"
  2072. }
  2073. ],
  2074. "responses": {
  2075. "200": {
  2076. "description": "OK",
  2077. "schema": {
  2078. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2079. }
  2080. },
  2081. "500": {
  2082. "description": "Internal Server Error",
  2083. "schema": {
  2084. "$ref": "#/definitions/app.Response"
  2085. }
  2086. }
  2087. }
  2088. }
  2089. },
  2090. "/Ermcp/QueryExposureDetail": {
  2091. "get": {
  2092. "security": [
  2093. {
  2094. "ApiKeyAuth": []
  2095. }
  2096. ],
  2097. "produces": [
  2098. "application/json"
  2099. ],
  2100. "tags": [
  2101. "企业风险管理(app)"
  2102. ],
  2103. "summary": "查询敞口现货明细",
  2104. "parameters": [
  2105. {
  2106. "type": "integer",
  2107. "description": "所属机构ID",
  2108. "name": "areaUserId",
  2109. "in": "query",
  2110. "required": true
  2111. },
  2112. {
  2113. "type": "integer",
  2114. "description": "套保商品",
  2115. "name": "middleGoodsId",
  2116. "in": "query",
  2117. "required": true
  2118. }
  2119. ],
  2120. "responses": {
  2121. "200": {
  2122. "description": "OK",
  2123. "schema": {
  2124. "type": "array",
  2125. "items": {
  2126. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2127. }
  2128. }
  2129. },
  2130. "500": {
  2131. "description": "Internal Server Error",
  2132. "schema": {
  2133. "$ref": "#/definitions/app.Response"
  2134. }
  2135. }
  2136. }
  2137. }
  2138. },
  2139. "/Ermcp/QueryExposureGoods": {
  2140. "get": {
  2141. "security": [
  2142. {
  2143. "ApiKeyAuth": []
  2144. }
  2145. ],
  2146. "produces": [
  2147. "application/json"
  2148. ],
  2149. "tags": [
  2150. "企业风险管理(app)"
  2151. ],
  2152. "summary": "查询敞口主力合约",
  2153. "parameters": [
  2154. {
  2155. "type": "integer",
  2156. "description": "套保商品id",
  2157. "name": "middlegoodsid",
  2158. "in": "query",
  2159. "required": true
  2160. }
  2161. ],
  2162. "responses": {
  2163. "200": {
  2164. "description": "OK",
  2165. "schema": {
  2166. "type": "array",
  2167. "items": {
  2168. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2169. }
  2170. }
  2171. },
  2172. "500": {
  2173. "description": "Internal Server Error",
  2174. "schema": {
  2175. "$ref": "#/definitions/app.Response"
  2176. }
  2177. }
  2178. }
  2179. }
  2180. },
  2181. "/Ermcp/QueryExposureHedgePosition": {
  2182. "get": {
  2183. "security": [
  2184. {
  2185. "ApiKeyAuth": []
  2186. }
  2187. ],
  2188. "produces": [
  2189. "application/json"
  2190. ],
  2191. "tags": [
  2192. "企业风险管理(app)"
  2193. ],
  2194. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2195. "parameters": [
  2196. {
  2197. "type": "integer",
  2198. "description": "用户id",
  2199. "name": "userid",
  2200. "in": "query",
  2201. "required": true
  2202. }
  2203. ],
  2204. "responses": {
  2205. "200": {
  2206. "description": "OK",
  2207. "schema": {
  2208. "type": "array",
  2209. "items": {
  2210. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2211. }
  2212. }
  2213. },
  2214. "500": {
  2215. "description": "Internal Server Error",
  2216. "schema": {
  2217. "$ref": "#/definitions/app.Response"
  2218. }
  2219. }
  2220. }
  2221. }
  2222. },
  2223. "/Ermcp/QueryExposureHedgePositionDetail": {
  2224. "get": {
  2225. "security": [
  2226. {
  2227. "ApiKeyAuth": []
  2228. }
  2229. ],
  2230. "produces": [
  2231. "application/json"
  2232. ],
  2233. "tags": [
  2234. "企业风险管理(app)"
  2235. ],
  2236. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2237. "parameters": [
  2238. {
  2239. "type": "integer",
  2240. "description": "所属机构ID",
  2241. "name": "userid",
  2242. "in": "query",
  2243. "required": true
  2244. },
  2245. {
  2246. "type": "integer",
  2247. "description": "商品id",
  2248. "name": "goodsId",
  2249. "in": "query",
  2250. "required": true
  2251. }
  2252. ],
  2253. "responses": {
  2254. "200": {
  2255. "description": "OK",
  2256. "schema": {
  2257. "type": "array",
  2258. "items": {
  2259. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2260. }
  2261. }
  2262. },
  2263. "500": {
  2264. "description": "Internal Server Error",
  2265. "schema": {
  2266. "$ref": "#/definitions/app.Response"
  2267. }
  2268. }
  2269. }
  2270. }
  2271. },
  2272. "/Ermcp/QueryExposureSpot": {
  2273. "get": {
  2274. "security": [
  2275. {
  2276. "ApiKeyAuth": []
  2277. }
  2278. ],
  2279. "produces": [
  2280. "application/json"
  2281. ],
  2282. "tags": [
  2283. "企业风险管理(app)"
  2284. ],
  2285. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2286. "parameters": [
  2287. {
  2288. "type": "integer",
  2289. "description": "所属机构ID",
  2290. "name": "areaUserId",
  2291. "in": "query",
  2292. "required": true
  2293. }
  2294. ],
  2295. "responses": {
  2296. "200": {
  2297. "description": "OK",
  2298. "schema": {
  2299. "type": "array",
  2300. "items": {
  2301. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2302. }
  2303. }
  2304. },
  2305. "500": {
  2306. "description": "Internal Server Error",
  2307. "schema": {
  2308. "$ref": "#/definitions/app.Response"
  2309. }
  2310. }
  2311. }
  2312. }
  2313. },
  2314. "/Ermcp/QueryExposureSpotDetail": {
  2315. "get": {
  2316. "security": [
  2317. {
  2318. "ApiKeyAuth": []
  2319. }
  2320. ],
  2321. "produces": [
  2322. "application/json"
  2323. ],
  2324. "tags": [
  2325. "企业风险管理(app)"
  2326. ],
  2327. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2328. "parameters": [
  2329. {
  2330. "type": "integer",
  2331. "description": "所属机构ID",
  2332. "name": "areaUserId",
  2333. "in": "query",
  2334. "required": true
  2335. },
  2336. {
  2337. "type": "integer",
  2338. "description": "现货品种ID",
  2339. "name": "wrstandardId",
  2340. "in": "query",
  2341. "required": true
  2342. }
  2343. ],
  2344. "responses": {
  2345. "200": {
  2346. "description": "OK",
  2347. "schema": {
  2348. "type": "array",
  2349. "items": {
  2350. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2351. }
  2352. }
  2353. },
  2354. "500": {
  2355. "description": "Internal Server Error",
  2356. "schema": {
  2357. "$ref": "#/definitions/app.Response"
  2358. }
  2359. }
  2360. }
  2361. }
  2362. },
  2363. "/Ermcp/QueryFuturesCompany": {
  2364. "get": {
  2365. "security": [
  2366. {
  2367. "ApiKeyAuth": []
  2368. }
  2369. ],
  2370. "produces": [
  2371. "application/json"
  2372. ],
  2373. "tags": [
  2374. "企业风险管理(app)"
  2375. ],
  2376. "summary": "查询期货公司",
  2377. "responses": {
  2378. "200": {
  2379. "description": "OK",
  2380. "schema": {
  2381. "type": "array",
  2382. "items": {
  2383. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2384. }
  2385. }
  2386. },
  2387. "500": {
  2388. "description": "Internal Server Error",
  2389. "schema": {
  2390. "$ref": "#/definitions/app.Response"
  2391. }
  2392. }
  2393. }
  2394. }
  2395. },
  2396. "/Ermcp/QueryGGConvertConfig": {
  2397. "get": {
  2398. "security": [
  2399. {
  2400. "ApiKeyAuth": []
  2401. }
  2402. ],
  2403. "produces": [
  2404. "application/json"
  2405. ],
  2406. "tags": [
  2407. "企业风险管理(app)"
  2408. ],
  2409. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2410. "parameters": [
  2411. {
  2412. "type": "integer",
  2413. "description": "品种id(不填则查所有)",
  2414. "name": "goodsgroupid",
  2415. "in": "query"
  2416. }
  2417. ],
  2418. "responses": {
  2419. "200": {
  2420. "description": "OK",
  2421. "schema": {
  2422. "type": "array",
  2423. "items": {
  2424. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2425. }
  2426. }
  2427. },
  2428. "500": {
  2429. "description": "Internal Server Error",
  2430. "schema": {
  2431. "$ref": "#/definitions/app.Response"
  2432. }
  2433. }
  2434. }
  2435. }
  2436. },
  2437. "/Ermcp/QueryGoodsBrand": {
  2438. "get": {
  2439. "security": [
  2440. {
  2441. "ApiKeyAuth": []
  2442. }
  2443. ],
  2444. "produces": [
  2445. "application/json"
  2446. ],
  2447. "tags": [
  2448. "企业风险管理(app)"
  2449. ],
  2450. "summary": "查询商品品牌",
  2451. "parameters": [
  2452. {
  2453. "type": "integer",
  2454. "description": "用户ID",
  2455. "name": "userid",
  2456. "in": "query",
  2457. "required": true
  2458. },
  2459. {
  2460. "type": "integer",
  2461. "description": "现货商品ID",
  2462. "name": "wrstandardid",
  2463. "in": "query"
  2464. }
  2465. ],
  2466. "responses": {
  2467. "200": {
  2468. "description": "OK",
  2469. "schema": {
  2470. "type": "array",
  2471. "items": {
  2472. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2473. }
  2474. }
  2475. },
  2476. "500": {
  2477. "description": "Internal Server Error",
  2478. "schema": {
  2479. "$ref": "#/definitions/app.Response"
  2480. }
  2481. }
  2482. }
  2483. }
  2484. },
  2485. "/Ermcp/QueryGoodsModel": {
  2486. "get": {
  2487. "security": [
  2488. {
  2489. "ApiKeyAuth": []
  2490. }
  2491. ],
  2492. "produces": [
  2493. "application/json"
  2494. ],
  2495. "tags": [
  2496. "企业风险管理(app)"
  2497. ],
  2498. "summary": "查询商品型号",
  2499. "parameters": [
  2500. {
  2501. "type": "integer",
  2502. "description": "用户ID",
  2503. "name": "userid",
  2504. "in": "query",
  2505. "required": true
  2506. }
  2507. ],
  2508. "responses": {
  2509. "200": {
  2510. "description": "OK",
  2511. "schema": {
  2512. "type": "array",
  2513. "items": {
  2514. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2515. }
  2516. }
  2517. },
  2518. "500": {
  2519. "description": "Internal Server Error",
  2520. "schema": {
  2521. "$ref": "#/definitions/app.Response"
  2522. }
  2523. }
  2524. }
  2525. }
  2526. },
  2527. "/Ermcp/QueryHisExposure": {
  2528. "get": {
  2529. "security": [
  2530. {
  2531. "ApiKeyAuth": []
  2532. }
  2533. ],
  2534. "produces": [
  2535. "application/json"
  2536. ],
  2537. "tags": [
  2538. "企业风险管理(app)"
  2539. ],
  2540. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2541. "parameters": [
  2542. {
  2543. "type": "integer",
  2544. "description": "用户id",
  2545. "name": "userid",
  2546. "in": "query",
  2547. "required": true
  2548. },
  2549. {
  2550. "type": "integer",
  2551. "description": "每个品种记录数",
  2552. "name": "lastNum",
  2553. "in": "query",
  2554. "required": true
  2555. }
  2556. ],
  2557. "responses": {
  2558. "200": {
  2559. "description": "OK",
  2560. "schema": {
  2561. "type": "array",
  2562. "items": {
  2563. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2564. }
  2565. }
  2566. },
  2567. "500": {
  2568. "description": "Internal Server Error",
  2569. "schema": {
  2570. "$ref": "#/definitions/app.Response"
  2571. }
  2572. }
  2573. }
  2574. }
  2575. },
  2576. "/Ermcp/QueryMiddleGoods": {
  2577. "get": {
  2578. "security": [
  2579. {
  2580. "ApiKeyAuth": []
  2581. }
  2582. ],
  2583. "produces": [
  2584. "application/json"
  2585. ],
  2586. "tags": [
  2587. "企业风险管理(app)"
  2588. ],
  2589. "summary": "查询套保品种(菜单:套保品种)",
  2590. "parameters": [
  2591. {
  2592. "type": "integer",
  2593. "description": "所属机构ID",
  2594. "name": "userid",
  2595. "in": "query",
  2596. "required": true
  2597. },
  2598. {
  2599. "type": "integer",
  2600. "description": "状态 0-停用 1-正常",
  2601. "name": "status",
  2602. "in": "query",
  2603. "required": true
  2604. }
  2605. ],
  2606. "responses": {
  2607. "200": {
  2608. "description": "OK",
  2609. "schema": {
  2610. "type": "array",
  2611. "items": {
  2612. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2613. }
  2614. }
  2615. },
  2616. "500": {
  2617. "description": "Internal Server Error",
  2618. "schema": {
  2619. "$ref": "#/definitions/app.Response"
  2620. }
  2621. }
  2622. }
  2623. }
  2624. },
  2625. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2626. "get": {
  2627. "security": [
  2628. {
  2629. "ApiKeyAuth": []
  2630. }
  2631. ],
  2632. "produces": [
  2633. "application/json"
  2634. ],
  2635. "tags": [
  2636. "企业风险管理(app)"
  2637. ],
  2638. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2639. "parameters": [
  2640. {
  2641. "type": "integer",
  2642. "description": "所属机构ID",
  2643. "name": "userid",
  2644. "in": "query",
  2645. "required": true
  2646. },
  2647. {
  2648. "type": "integer",
  2649. "description": "套保品种id",
  2650. "name": "middlegoodsid",
  2651. "in": "query",
  2652. "required": true
  2653. }
  2654. ],
  2655. "responses": {
  2656. "200": {
  2657. "description": "OK",
  2658. "schema": {
  2659. "type": "array",
  2660. "items": {
  2661. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2662. }
  2663. }
  2664. },
  2665. "500": {
  2666. "description": "Internal Server Error",
  2667. "schema": {
  2668. "$ref": "#/definitions/app.Response"
  2669. }
  2670. }
  2671. }
  2672. }
  2673. },
  2674. "/Ermcp/QueryMiddleGoodsDetail": {
  2675. "get": {
  2676. "security": [
  2677. {
  2678. "ApiKeyAuth": []
  2679. }
  2680. ],
  2681. "produces": [
  2682. "application/json"
  2683. ],
  2684. "tags": [
  2685. "企业风险管理(app)"
  2686. ],
  2687. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2688. "parameters": [
  2689. {
  2690. "type": "integer",
  2691. "description": "所属机构ID",
  2692. "name": "userid",
  2693. "in": "query",
  2694. "required": true
  2695. },
  2696. {
  2697. "type": "integer",
  2698. "description": "套保品种id",
  2699. "name": "middlegoodsid",
  2700. "in": "query"
  2701. }
  2702. ],
  2703. "responses": {
  2704. "200": {
  2705. "description": "OK",
  2706. "schema": {
  2707. "type": "array",
  2708. "items": {
  2709. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2710. }
  2711. }
  2712. },
  2713. "500": {
  2714. "description": "Internal Server Error",
  2715. "schema": {
  2716. "$ref": "#/definitions/app.Response"
  2717. }
  2718. }
  2719. }
  2720. }
  2721. },
  2722. "/Ermcp/QueryPendingAuditInfo": {
  2723. "get": {
  2724. "security": [
  2725. {
  2726. "ApiKeyAuth": []
  2727. }
  2728. ],
  2729. "produces": [
  2730. "application/json"
  2731. ],
  2732. "tags": [
  2733. "企业风险管理(app)"
  2734. ],
  2735. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2736. "parameters": [
  2737. {
  2738. "type": "integer",
  2739. "description": "用户ID",
  2740. "name": "UserId",
  2741. "in": "query",
  2742. "required": true
  2743. }
  2744. ],
  2745. "responses": {
  2746. "200": {
  2747. "description": "OK",
  2748. "schema": {
  2749. "type": "array",
  2750. "items": {
  2751. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2752. }
  2753. }
  2754. },
  2755. "500": {
  2756. "description": "Internal Server Error",
  2757. "schema": {
  2758. "$ref": "#/definitions/app.Response"
  2759. }
  2760. }
  2761. }
  2762. }
  2763. },
  2764. "/Ermcp/QueryRealtimeExposure": {
  2765. "get": {
  2766. "security": [
  2767. {
  2768. "ApiKeyAuth": []
  2769. }
  2770. ],
  2771. "produces": [
  2772. "application/json"
  2773. ],
  2774. "tags": [
  2775. "企业风险管理(app)"
  2776. ],
  2777. "summary": "查询实时敞口",
  2778. "parameters": [
  2779. {
  2780. "type": "integer",
  2781. "description": "所属机构ID",
  2782. "name": "userid",
  2783. "in": "query",
  2784. "required": true
  2785. }
  2786. ],
  2787. "responses": {
  2788. "200": {
  2789. "description": "OK",
  2790. "schema": {
  2791. "type": "array",
  2792. "items": {
  2793. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2794. }
  2795. }
  2796. },
  2797. "500": {
  2798. "description": "Internal Server Error",
  2799. "schema": {
  2800. "$ref": "#/definitions/app.Response"
  2801. }
  2802. }
  2803. }
  2804. }
  2805. },
  2806. "/Ermcp/QueryRealtimeExposurePosition": {
  2807. "get": {
  2808. "security": [
  2809. {
  2810. "ApiKeyAuth": []
  2811. }
  2812. ],
  2813. "produces": [
  2814. "application/json"
  2815. ],
  2816. "tags": [
  2817. "企业风险管理(app)"
  2818. ],
  2819. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2820. "parameters": [
  2821. {
  2822. "type": "integer",
  2823. "description": "用户id",
  2824. "name": "userid",
  2825. "in": "query",
  2826. "required": true
  2827. },
  2828. {
  2829. "type": "integer",
  2830. "description": "套保商品ID",
  2831. "name": "middleGoodsId",
  2832. "in": "query",
  2833. "required": true
  2834. }
  2835. ],
  2836. "responses": {
  2837. "200": {
  2838. "description": "OK",
  2839. "schema": {
  2840. "type": "array",
  2841. "items": {
  2842. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2843. }
  2844. }
  2845. },
  2846. "500": {
  2847. "description": "Internal Server Error",
  2848. "schema": {
  2849. "$ref": "#/definitions/app.Response"
  2850. }
  2851. }
  2852. }
  2853. }
  2854. },
  2855. "/Ermcp/QueryRoleMenu": {
  2856. "get": {
  2857. "security": [
  2858. {
  2859. "ApiKeyAuth": []
  2860. }
  2861. ],
  2862. "produces": [
  2863. "application/json"
  2864. ],
  2865. "tags": [
  2866. "企业风险管理(app)"
  2867. ],
  2868. "summary": "查询角色菜单和权限",
  2869. "parameters": [
  2870. {
  2871. "type": "integer",
  2872. "description": "登录ID",
  2873. "name": "loginid",
  2874. "in": "query",
  2875. "required": true
  2876. },
  2877. {
  2878. "type": "integer",
  2879. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2880. "name": "menutype",
  2881. "in": "query"
  2882. }
  2883. ],
  2884. "responses": {
  2885. "200": {
  2886. "description": "OK",
  2887. "schema": {
  2888. "type": "array",
  2889. "items": {
  2890. "$ref": "#/definitions/models.RoleMenu"
  2891. }
  2892. }
  2893. },
  2894. "500": {
  2895. "description": "Internal Server Error",
  2896. "schema": {
  2897. "$ref": "#/definitions/app.Response"
  2898. }
  2899. }
  2900. }
  2901. }
  2902. },
  2903. "/Ermcp/QueryTradeConfigTMP": {
  2904. "get": {
  2905. "security": [
  2906. {
  2907. "ApiKeyAuth": []
  2908. }
  2909. ],
  2910. "produces": [
  2911. "application/json"
  2912. ],
  2913. "tags": [
  2914. "企业风险管理(app)"
  2915. ],
  2916. "summary": "查询交易模板配置",
  2917. "parameters": [
  2918. {
  2919. "type": "integer",
  2920. "description": "所属机构id",
  2921. "name": "areauserid",
  2922. "in": "query"
  2923. }
  2924. ],
  2925. "responses": {
  2926. "200": {
  2927. "description": "OK",
  2928. "schema": {
  2929. "type": "array",
  2930. "items": {
  2931. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2932. }
  2933. }
  2934. },
  2935. "500": {
  2936. "description": "Internal Server Error",
  2937. "schema": {
  2938. "$ref": "#/definitions/app.Response"
  2939. }
  2940. }
  2941. }
  2942. }
  2943. },
  2944. "/Ermcp/QueryUserInfo": {
  2945. "get": {
  2946. "security": [
  2947. {
  2948. "ApiKeyAuth": []
  2949. }
  2950. ],
  2951. "produces": [
  2952. "application/json"
  2953. ],
  2954. "tags": [
  2955. "企业风险管理(app)"
  2956. ],
  2957. "summary": "查询客户资料",
  2958. "parameters": [
  2959. {
  2960. "type": "integer",
  2961. "description": "所属机构用户ID",
  2962. "name": "MemberUserID",
  2963. "in": "query",
  2964. "required": true
  2965. },
  2966. {
  2967. "type": "integer",
  2968. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2969. "name": "queryType",
  2970. "in": "query",
  2971. "required": true
  2972. }
  2973. ],
  2974. "responses": {
  2975. "200": {
  2976. "description": "OK",
  2977. "schema": {
  2978. "type": "array",
  2979. "items": {
  2980. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2981. }
  2982. }
  2983. },
  2984. "500": {
  2985. "description": "Internal Server Error",
  2986. "schema": {
  2987. "$ref": "#/definitions/app.Response"
  2988. }
  2989. }
  2990. }
  2991. }
  2992. },
  2993. "/Ermcp/QueryWarehouseInfo": {
  2994. "get": {
  2995. "security": [
  2996. {
  2997. "ApiKeyAuth": []
  2998. }
  2999. ],
  3000. "produces": [
  3001. "application/json"
  3002. ],
  3003. "tags": [
  3004. "企业风险管理(app)"
  3005. ],
  3006. "summary": "查询仓库信息",
  3007. "parameters": [
  3008. {
  3009. "type": "integer",
  3010. "description": "用户ID",
  3011. "name": "userid",
  3012. "in": "query",
  3013. "required": true
  3014. },
  3015. {
  3016. "type": "string",
  3017. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3018. "name": "status",
  3019. "in": "query"
  3020. }
  3021. ],
  3022. "responses": {
  3023. "200": {
  3024. "description": "OK",
  3025. "schema": {
  3026. "type": "array",
  3027. "items": {
  3028. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3029. }
  3030. }
  3031. },
  3032. "500": {
  3033. "description": "Internal Server Error",
  3034. "schema": {
  3035. "$ref": "#/definitions/app.Response"
  3036. }
  3037. }
  3038. }
  3039. }
  3040. },
  3041. "/Ermcp3/QryAreaExpourseContractDetail": {
  3042. "get": {
  3043. "security": [
  3044. {
  3045. "ApiKeyAuth": []
  3046. }
  3047. ],
  3048. "produces": [
  3049. "application/json"
  3050. ],
  3051. "tags": [
  3052. "企业风险管理v3(app)"
  3053. ],
  3054. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3055. "parameters": [
  3056. {
  3057. "type": "integer",
  3058. "description": "用户ID",
  3059. "name": "userid",
  3060. "in": "query",
  3061. "required": true
  3062. },
  3063. {
  3064. "type": "integer",
  3065. "description": "套保商品id",
  3066. "name": "middlegoodsid",
  3067. "in": "query",
  3068. "required": true
  3069. },
  3070. {
  3071. "type": "integer",
  3072. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3073. "name": "cycletype",
  3074. "in": "query",
  3075. "required": true
  3076. },
  3077. {
  3078. "type": "string",
  3079. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3080. "name": "cycletime",
  3081. "in": "query",
  3082. "required": true
  3083. }
  3084. ],
  3085. "responses": {
  3086. "200": {
  3087. "description": "OK",
  3088. "schema": {
  3089. "type": "array",
  3090. "items": {
  3091. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3092. }
  3093. }
  3094. },
  3095. "500": {
  3096. "description": "Internal Server Error",
  3097. "schema": {
  3098. "$ref": "#/definitions/app.Response"
  3099. }
  3100. }
  3101. }
  3102. }
  3103. },
  3104. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3105. "get": {
  3106. "security": [
  3107. {
  3108. "ApiKeyAuth": []
  3109. }
  3110. ],
  3111. "produces": [
  3112. "application/json"
  3113. ],
  3114. "tags": [
  3115. "企业风险管理v3(app)"
  3116. ],
  3117. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3118. "parameters": [
  3119. {
  3120. "type": "integer",
  3121. "description": "用户ID",
  3122. "name": "userid",
  3123. "in": "query",
  3124. "required": true
  3125. },
  3126. {
  3127. "type": "integer",
  3128. "description": "套保商品id",
  3129. "name": "middlegoodsid",
  3130. "in": "query",
  3131. "required": true
  3132. },
  3133. {
  3134. "type": "integer",
  3135. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3136. "name": "cycletype",
  3137. "in": "query",
  3138. "required": true
  3139. },
  3140. {
  3141. "type": "string",
  3142. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3143. "name": "cycletime",
  3144. "in": "query",
  3145. "required": true
  3146. }
  3147. ],
  3148. "responses": {
  3149. "200": {
  3150. "description": "OK",
  3151. "schema": {
  3152. "type": "array",
  3153. "items": {
  3154. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3155. }
  3156. }
  3157. },
  3158. "500": {
  3159. "description": "Internal Server Error",
  3160. "schema": {
  3161. "$ref": "#/definitions/app.Response"
  3162. }
  3163. }
  3164. }
  3165. }
  3166. },
  3167. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3168. "get": {
  3169. "security": [
  3170. {
  3171. "ApiKeyAuth": []
  3172. }
  3173. ],
  3174. "produces": [
  3175. "application/json"
  3176. ],
  3177. "tags": [
  3178. "企业风险管理v3(app)"
  3179. ],
  3180. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3181. "parameters": [
  3182. {
  3183. "type": "integer",
  3184. "description": "用户ID",
  3185. "name": "userid",
  3186. "in": "query",
  3187. "required": true
  3188. },
  3189. {
  3190. "type": "integer",
  3191. "description": "套保商品id",
  3192. "name": "middlegoodsid",
  3193. "in": "query",
  3194. "required": true
  3195. },
  3196. {
  3197. "type": "integer",
  3198. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3199. "name": "cycletype",
  3200. "in": "query",
  3201. "required": true
  3202. },
  3203. {
  3204. "type": "string",
  3205. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3206. "name": "cycletime",
  3207. "in": "query",
  3208. "required": true
  3209. }
  3210. ],
  3211. "responses": {
  3212. "200": {
  3213. "description": "OK",
  3214. "schema": {
  3215. "type": "array",
  3216. "items": {
  3217. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3218. }
  3219. }
  3220. },
  3221. "500": {
  3222. "description": "Internal Server Error",
  3223. "schema": {
  3224. "$ref": "#/definitions/app.Response"
  3225. }
  3226. }
  3227. }
  3228. }
  3229. },
  3230. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3231. "get": {
  3232. "security": [
  3233. {
  3234. "ApiKeyAuth": []
  3235. }
  3236. ],
  3237. "produces": [
  3238. "application/json"
  3239. ],
  3240. "tags": [
  3241. "企业风险管理v3(app)"
  3242. ],
  3243. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3244. "parameters": [
  3245. {
  3246. "type": "integer",
  3247. "description": "用户ID",
  3248. "name": "userid",
  3249. "in": "query",
  3250. "required": true
  3251. },
  3252. {
  3253. "type": "integer",
  3254. "description": "套保商品id",
  3255. "name": "middlegoodsid",
  3256. "in": "query",
  3257. "required": true
  3258. },
  3259. {
  3260. "type": "integer",
  3261. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3262. "name": "cycletype",
  3263. "in": "query",
  3264. "required": true
  3265. },
  3266. {
  3267. "type": "string",
  3268. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3269. "name": "cycletime",
  3270. "in": "query",
  3271. "required": true
  3272. }
  3273. ],
  3274. "responses": {
  3275. "200": {
  3276. "description": "OK",
  3277. "schema": {
  3278. "type": "array",
  3279. "items": {
  3280. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3281. }
  3282. }
  3283. },
  3284. "500": {
  3285. "description": "Internal Server Error",
  3286. "schema": {
  3287. "$ref": "#/definitions/app.Response"
  3288. }
  3289. }
  3290. }
  3291. }
  3292. },
  3293. "/Ermcp3/QryAreaExpourseReport": {
  3294. "get": {
  3295. "security": [
  3296. {
  3297. "ApiKeyAuth": []
  3298. }
  3299. ],
  3300. "produces": [
  3301. "application/json"
  3302. ],
  3303. "tags": [
  3304. "企业风险管理v3(app)"
  3305. ],
  3306. "summary": "查询敞口报表",
  3307. "parameters": [
  3308. {
  3309. "type": "integer",
  3310. "description": "用户ID",
  3311. "name": "userid",
  3312. "in": "query",
  3313. "required": true
  3314. },
  3315. {
  3316. "type": "integer",
  3317. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3318. "name": "querytype",
  3319. "in": "query",
  3320. "required": true
  3321. },
  3322. {
  3323. "type": "integer",
  3324. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3325. "name": "cycletype",
  3326. "in": "query",
  3327. "required": true
  3328. },
  3329. {
  3330. "type": "string",
  3331. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3332. "name": "cycletime",
  3333. "in": "query",
  3334. "required": true
  3335. }
  3336. ],
  3337. "responses": {
  3338. "200": {
  3339. "description": "OK",
  3340. "schema": {
  3341. "type": "array",
  3342. "items": {
  3343. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3344. }
  3345. }
  3346. },
  3347. "500": {
  3348. "description": "Internal Server Error",
  3349. "schema": {
  3350. "$ref": "#/definitions/app.Response"
  3351. }
  3352. }
  3353. }
  3354. }
  3355. },
  3356. "/Ermcp3/QryAreaSpotplReport": {
  3357. "get": {
  3358. "security": [
  3359. {
  3360. "ApiKeyAuth": []
  3361. }
  3362. ],
  3363. "produces": [
  3364. "application/json"
  3365. ],
  3366. "tags": [
  3367. "企业风险管理v3(app)"
  3368. ],
  3369. "summary": "查询现货报表",
  3370. "parameters": [
  3371. {
  3372. "type": "integer",
  3373. "description": "用户ID",
  3374. "name": "userid",
  3375. "in": "query",
  3376. "required": true
  3377. },
  3378. {
  3379. "type": "integer",
  3380. "description": "查询类型 1-报表 2-报表明细",
  3381. "name": "querytype",
  3382. "in": "query",
  3383. "required": true
  3384. },
  3385. {
  3386. "type": "integer",
  3387. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3388. "name": "cycletype",
  3389. "in": "query",
  3390. "required": true
  3391. },
  3392. {
  3393. "type": "string",
  3394. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3395. "name": "cycletime",
  3396. "in": "query",
  3397. "required": true
  3398. },
  3399. {
  3400. "type": "integer",
  3401. "description": "现货品种id(明细必填)",
  3402. "name": "deliverygoodsid",
  3403. "in": "query"
  3404. },
  3405. {
  3406. "type": "integer",
  3407. "description": "币种id(明细必填)",
  3408. "name": "currencyid",
  3409. "in": "query"
  3410. }
  3411. ],
  3412. "responses": {
  3413. "200": {
  3414. "description": "OK",
  3415. "schema": {
  3416. "type": "array",
  3417. "items": {
  3418. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3419. }
  3420. }
  3421. },
  3422. "500": {
  3423. "description": "Internal Server Error",
  3424. "schema": {
  3425. "$ref": "#/definitions/app.Response"
  3426. }
  3427. }
  3428. }
  3429. }
  3430. },
  3431. "/Ermcp3/QryAreaStockReport": {
  3432. "get": {
  3433. "security": [
  3434. {
  3435. "ApiKeyAuth": []
  3436. }
  3437. ],
  3438. "produces": [
  3439. "application/json"
  3440. ],
  3441. "tags": [
  3442. "企业风险管理v3(app)"
  3443. ],
  3444. "summary": "查询库存报表",
  3445. "parameters": [
  3446. {
  3447. "type": "integer",
  3448. "description": "用户ID",
  3449. "name": "userid",
  3450. "in": "query",
  3451. "required": true
  3452. },
  3453. {
  3454. "type": "integer",
  3455. "description": "查询类型 1-报表 2-报表明细",
  3456. "name": "querytype",
  3457. "in": "query",
  3458. "required": true
  3459. },
  3460. {
  3461. "type": "integer",
  3462. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3463. "name": "cycletype",
  3464. "in": "query",
  3465. "required": true
  3466. },
  3467. {
  3468. "type": "string",
  3469. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3470. "name": "cycletime",
  3471. "in": "query",
  3472. "required": true
  3473. },
  3474. {
  3475. "type": "string",
  3476. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3477. "name": "sumfields",
  3478. "in": "query"
  3479. },
  3480. {
  3481. "type": "integer",
  3482. "description": "品种ID",
  3483. "name": "deliverygoodsid",
  3484. "in": "query"
  3485. },
  3486. {
  3487. "type": "integer",
  3488. "description": "品类ID",
  3489. "name": "wrstandardid",
  3490. "in": "query"
  3491. },
  3492. {
  3493. "type": "integer",
  3494. "description": "品牌ID",
  3495. "name": "spotgoodsbrandid",
  3496. "in": "query"
  3497. },
  3498. {
  3499. "type": "integer",
  3500. "description": "仓库ID",
  3501. "name": "warehouseinfoid",
  3502. "in": "query"
  3503. }
  3504. ],
  3505. "responses": {
  3506. "200": {
  3507. "description": "OK",
  3508. "schema": {
  3509. "type": "array",
  3510. "items": {
  3511. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3512. }
  3513. }
  3514. },
  3515. "500": {
  3516. "description": "Internal Server Error",
  3517. "schema": {
  3518. "$ref": "#/definitions/app.Response"
  3519. }
  3520. }
  3521. }
  3522. }
  3523. },
  3524. "/Ermcp3/QryAreaSumPL": {
  3525. "get": {
  3526. "security": [
  3527. {
  3528. "ApiKeyAuth": []
  3529. }
  3530. ],
  3531. "produces": [
  3532. "application/json"
  3533. ],
  3534. "tags": [
  3535. "企业风险管理v3(app)"
  3536. ],
  3537. "summary": "查询汇总损益表",
  3538. "parameters": [
  3539. {
  3540. "type": "integer",
  3541. "description": "用户ID",
  3542. "name": "userid",
  3543. "in": "query",
  3544. "required": true
  3545. },
  3546. {
  3547. "type": "integer",
  3548. "description": "查询类型 1-报表 2-报表明细",
  3549. "name": "querytype",
  3550. "in": "query",
  3551. "required": true
  3552. },
  3553. {
  3554. "type": "integer",
  3555. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3556. "name": "cycletype",
  3557. "in": "query",
  3558. "required": true
  3559. },
  3560. {
  3561. "type": "string",
  3562. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3563. "name": "cycletime",
  3564. "in": "query",
  3565. "required": true
  3566. },
  3567. {
  3568. "type": "integer",
  3569. "description": "币种id(明细必填)",
  3570. "name": "currencyid",
  3571. "in": "query"
  3572. }
  3573. ],
  3574. "responses": {
  3575. "200": {
  3576. "description": "OK",
  3577. "schema": {
  3578. "type": "array",
  3579. "items": {
  3580. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3581. }
  3582. }
  3583. },
  3584. "500": {
  3585. "description": "Internal Server Error",
  3586. "schema": {
  3587. "$ref": "#/definitions/app.Response"
  3588. }
  3589. }
  3590. }
  3591. }
  3592. },
  3593. "/Ermcp3/QryFinanceReport": {
  3594. "get": {
  3595. "security": [
  3596. {
  3597. "ApiKeyAuth": []
  3598. }
  3599. ],
  3600. "produces": [
  3601. "application/json"
  3602. ],
  3603. "tags": [
  3604. "企业风险管理v3(app)"
  3605. ],
  3606. "summary": "查询财务报表",
  3607. "parameters": [
  3608. {
  3609. "type": "integer",
  3610. "description": "用户ID",
  3611. "name": "userid",
  3612. "in": "query",
  3613. "required": true
  3614. },
  3615. {
  3616. "type": "integer",
  3617. "description": "查询类型 1-报表 2-报表明细",
  3618. "name": "querytype",
  3619. "in": "query",
  3620. "required": true
  3621. },
  3622. {
  3623. "type": "integer",
  3624. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3625. "name": "cycletype",
  3626. "in": "query",
  3627. "required": true
  3628. },
  3629. {
  3630. "type": "string",
  3631. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3632. "name": "cycletime",
  3633. "in": "query",
  3634. "required": true
  3635. },
  3636. {
  3637. "type": "integer",
  3638. "description": "币种id(报表明细必填)",
  3639. "name": "currencyid",
  3640. "in": "query"
  3641. },
  3642. {
  3643. "type": "string",
  3644. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3645. "name": "sumfields",
  3646. "in": "query"
  3647. }
  3648. ],
  3649. "responses": {
  3650. "200": {
  3651. "description": "OK",
  3652. "schema": {
  3653. "type": "array",
  3654. "items": {
  3655. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3656. }
  3657. }
  3658. },
  3659. "500": {
  3660. "description": "Internal Server Error",
  3661. "schema": {
  3662. "$ref": "#/definitions/app.Response"
  3663. }
  3664. }
  3665. }
  3666. }
  3667. },
  3668. "/Ermcp3/QrySCMiddleGoodsReport": {
  3669. "get": {
  3670. "security": [
  3671. {
  3672. "ApiKeyAuth": []
  3673. }
  3674. ],
  3675. "produces": [
  3676. "application/json"
  3677. ],
  3678. "tags": [
  3679. "企业风险管理v3(app)"
  3680. ],
  3681. "summary": "查询定价报表",
  3682. "parameters": [
  3683. {
  3684. "type": "integer",
  3685. "description": "用户ID",
  3686. "name": "userid",
  3687. "in": "query",
  3688. "required": true
  3689. },
  3690. {
  3691. "type": "integer",
  3692. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3693. "name": "cycletype",
  3694. "in": "query",
  3695. "required": true
  3696. },
  3697. {
  3698. "type": "string",
  3699. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3700. "name": "cycletime",
  3701. "in": "query",
  3702. "required": true
  3703. },
  3704. {
  3705. "type": "integer",
  3706. "description": "合同id",
  3707. "name": "spotcontractid",
  3708. "in": "query"
  3709. },
  3710. {
  3711. "type": "integer",
  3712. "description": "套保品种id",
  3713. "name": "middlegoodsid",
  3714. "in": "query"
  3715. },
  3716. {
  3717. "type": "integer",
  3718. "description": "现货品种id",
  3719. "name": "deliverygoodsid",
  3720. "in": "query"
  3721. },
  3722. {
  3723. "type": "integer",
  3724. "description": "现货商品id",
  3725. "name": "wrstandardid",
  3726. "in": "query"
  3727. },
  3728. {
  3729. "type": "string",
  3730. "description": "合同编号(模糊匹配)",
  3731. "name": "contractno",
  3732. "in": "query"
  3733. }
  3734. ],
  3735. "responses": {
  3736. "200": {
  3737. "description": "OK",
  3738. "schema": {
  3739. "type": "array",
  3740. "items": {
  3741. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  3742. }
  3743. }
  3744. },
  3745. "500": {
  3746. "description": "Internal Server Error",
  3747. "schema": {
  3748. "$ref": "#/definitions/app.Response"
  3749. }
  3750. }
  3751. }
  3752. }
  3753. },
  3754. "/Ermcp3/QryTaFutureDataReport": {
  3755. "get": {
  3756. "security": [
  3757. {
  3758. "ApiKeyAuth": []
  3759. }
  3760. ],
  3761. "produces": [
  3762. "application/json"
  3763. ],
  3764. "tags": [
  3765. "企业风险管理v3(app)"
  3766. ],
  3767. "summary": "查询期货报表",
  3768. "parameters": [
  3769. {
  3770. "type": "integer",
  3771. "description": "用户ID",
  3772. "name": "userid",
  3773. "in": "query",
  3774. "required": true
  3775. },
  3776. {
  3777. "type": "integer",
  3778. "description": "查询类型 1-报表 2-报表明细",
  3779. "name": "querytype",
  3780. "in": "query",
  3781. "required": true
  3782. },
  3783. {
  3784. "type": "integer",
  3785. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3786. "name": "cycletype",
  3787. "in": "query",
  3788. "required": true
  3789. },
  3790. {
  3791. "type": "string",
  3792. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3793. "name": "cycletime",
  3794. "in": "query",
  3795. "required": true
  3796. },
  3797. {
  3798. "type": "integer",
  3799. "description": "币种id(查明细必填)",
  3800. "name": "currencyid",
  3801. "in": "query"
  3802. },
  3803. {
  3804. "type": "integer",
  3805. "description": "品种id(查明细必填)",
  3806. "name": "goodsgroupid",
  3807. "in": "query"
  3808. },
  3809. {
  3810. "type": "integer",
  3811. "description": "商品id(查明细必填)",
  3812. "name": "goodsid",
  3813. "in": "query"
  3814. },
  3815. {
  3816. "type": "integer",
  3817. "description": "买卖方向(查明细必填)",
  3818. "name": "buyorsell",
  3819. "in": "query"
  3820. }
  3821. ],
  3822. "responses": {
  3823. "200": {
  3824. "description": "OK",
  3825. "schema": {
  3826. "type": "array",
  3827. "items": {
  3828. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3829. }
  3830. }
  3831. },
  3832. "500": {
  3833. "description": "Internal Server Error",
  3834. "schema": {
  3835. "$ref": "#/definitions/app.Response"
  3836. }
  3837. }
  3838. }
  3839. }
  3840. },
  3841. "/Ermcp3/QueryAreaStock": {
  3842. "get": {
  3843. "security": [
  3844. {
  3845. "ApiKeyAuth": []
  3846. }
  3847. ],
  3848. "produces": [
  3849. "application/json"
  3850. ],
  3851. "tags": [
  3852. "企业风险管理v3(app)"
  3853. ],
  3854. "summary": "查询机构库存(库存管理/当前库存)",
  3855. "parameters": [
  3856. {
  3857. "type": "integer",
  3858. "description": "用户ID",
  3859. "name": "userid",
  3860. "in": "query",
  3861. "required": true
  3862. }
  3863. ],
  3864. "responses": {
  3865. "200": {
  3866. "description": "OK",
  3867. "schema": {
  3868. "type": "array",
  3869. "items": {
  3870. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3871. }
  3872. }
  3873. },
  3874. "500": {
  3875. "description": "Internal Server Error",
  3876. "schema": {
  3877. "$ref": "#/definitions/app.Response"
  3878. }
  3879. }
  3880. }
  3881. }
  3882. },
  3883. "/Ermcp3/QueryAreaStockApply": {
  3884. "get": {
  3885. "security": [
  3886. {
  3887. "ApiKeyAuth": []
  3888. }
  3889. ],
  3890. "produces": [
  3891. "application/json"
  3892. ],
  3893. "tags": [
  3894. "企业风险管理v3(app)"
  3895. ],
  3896. "summary": "查询库存申请(出入库记录|库存审核)",
  3897. "parameters": [
  3898. {
  3899. "type": "integer",
  3900. "description": "用户ID",
  3901. "name": "userid",
  3902. "in": "query",
  3903. "required": true
  3904. },
  3905. {
  3906. "type": "integer",
  3907. "description": "用户类型 2-机构 7-企业成员",
  3908. "name": "usertype",
  3909. "in": "query"
  3910. },
  3911. {
  3912. "type": "integer",
  3913. "description": "现货商品ID",
  3914. "name": "deliverygoodsid",
  3915. "in": "query"
  3916. },
  3917. {
  3918. "type": "string",
  3919. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3920. "name": "inouttype",
  3921. "in": "query"
  3922. },
  3923. {
  3924. "type": "integer",
  3925. "description": "合同ID",
  3926. "name": "spotcontractid",
  3927. "in": "query"
  3928. },
  3929. {
  3930. "type": "integer",
  3931. "description": "品类ID",
  3932. "name": "wrstandardid",
  3933. "in": "query"
  3934. },
  3935. {
  3936. "type": "integer",
  3937. "description": "品牌ID",
  3938. "name": "spotgoodsbrandid",
  3939. "in": "query"
  3940. },
  3941. {
  3942. "type": "integer",
  3943. "description": "仓库ID",
  3944. "name": "warehouseinfoid",
  3945. "in": "query"
  3946. },
  3947. {
  3948. "type": "string",
  3949. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3950. "name": "applystatus",
  3951. "in": "query"
  3952. }
  3953. ],
  3954. "responses": {
  3955. "200": {
  3956. "description": "OK",
  3957. "schema": {
  3958. "type": "array",
  3959. "items": {
  3960. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3961. }
  3962. }
  3963. },
  3964. "500": {
  3965. "description": "Internal Server Error",
  3966. "schema": {
  3967. "$ref": "#/definitions/app.Response"
  3968. }
  3969. }
  3970. }
  3971. }
  3972. },
  3973. "/Ermcp3/QueryAreaStockApplySum": {
  3974. "get": {
  3975. "security": [
  3976. {
  3977. "ApiKeyAuth": []
  3978. }
  3979. ],
  3980. "produces": [
  3981. "application/json"
  3982. ],
  3983. "tags": [
  3984. "企业风险管理v3(app)"
  3985. ],
  3986. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3987. "parameters": [
  3988. {
  3989. "type": "integer",
  3990. "description": "合同ID",
  3991. "name": "spotcontractid",
  3992. "in": "query",
  3993. "required": true
  3994. }
  3995. ],
  3996. "responses": {
  3997. "200": {
  3998. "description": "OK",
  3999. "schema": {
  4000. "type": "array",
  4001. "items": {
  4002. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4003. }
  4004. }
  4005. },
  4006. "500": {
  4007. "description": "Internal Server Error",
  4008. "schema": {
  4009. "$ref": "#/definitions/app.Response"
  4010. }
  4011. }
  4012. }
  4013. }
  4014. },
  4015. "/Ermcp3/QueryDGFactoryItem": {
  4016. "get": {
  4017. "security": [
  4018. {
  4019. "ApiKeyAuth": []
  4020. }
  4021. ],
  4022. "produces": [
  4023. "application/json"
  4024. ],
  4025. "tags": [
  4026. "企业风险管理v3(app)"
  4027. ],
  4028. "summary": "查询品种要素定义项",
  4029. "parameters": [
  4030. {
  4031. "type": "integer",
  4032. "description": "用户id",
  4033. "name": "userid",
  4034. "in": "query"
  4035. },
  4036. {
  4037. "type": "integer",
  4038. "description": "用户类型 2-机构 7-企业成员",
  4039. "name": "usertype",
  4040. "in": "query"
  4041. },
  4042. {
  4043. "type": "integer",
  4044. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4045. "name": "dgfactoryitemid",
  4046. "in": "query"
  4047. },
  4048. {
  4049. "type": "integer",
  4050. "description": "现货品种ID",
  4051. "name": "deliverygoodsid",
  4052. "in": "query"
  4053. },
  4054. {
  4055. "type": "integer",
  4056. "description": "要素项类型",
  4057. "name": "dgfactoryitemtypeid",
  4058. "in": "query"
  4059. },
  4060. {
  4061. "type": "integer",
  4062. "description": "顺序",
  4063. "name": "orderindex",
  4064. "in": "query"
  4065. }
  4066. ],
  4067. "responses": {
  4068. "200": {
  4069. "description": "OK",
  4070. "schema": {
  4071. "type": "array",
  4072. "items": {
  4073. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4074. }
  4075. }
  4076. },
  4077. "500": {
  4078. "description": "Internal Server Error",
  4079. "schema": {
  4080. "$ref": "#/definitions/app.Response"
  4081. }
  4082. }
  4083. }
  4084. }
  4085. },
  4086. "/Ermcp3/QueryDeliveryGoods": {
  4087. "get": {
  4088. "security": [
  4089. {
  4090. "ApiKeyAuth": []
  4091. }
  4092. ],
  4093. "produces": [
  4094. "application/json"
  4095. ],
  4096. "tags": [
  4097. "企业风险管理v3(app)"
  4098. ],
  4099. "summary": "查询现货商品",
  4100. "parameters": [
  4101. {
  4102. "type": "integer",
  4103. "description": "用户id",
  4104. "name": "userid",
  4105. "in": "query",
  4106. "required": true
  4107. },
  4108. {
  4109. "type": "integer",
  4110. "description": "用户类型 2-机构 7-企业成员",
  4111. "name": "usertype",
  4112. "in": "query"
  4113. },
  4114. {
  4115. "type": "integer",
  4116. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4117. "name": "excludecfg",
  4118. "in": "query"
  4119. }
  4120. ],
  4121. "responses": {
  4122. "200": {
  4123. "description": "OK",
  4124. "schema": {
  4125. "type": "array",
  4126. "items": {
  4127. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4128. }
  4129. }
  4130. },
  4131. "500": {
  4132. "description": "Internal Server Error",
  4133. "schema": {
  4134. "$ref": "#/definitions/app.Response"
  4135. }
  4136. }
  4137. }
  4138. }
  4139. },
  4140. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4141. "get": {
  4142. "security": [
  4143. {
  4144. "ApiKeyAuth": []
  4145. }
  4146. ],
  4147. "produces": [
  4148. "application/json"
  4149. ],
  4150. "tags": [
  4151. "企业风险管理v3(app)"
  4152. ],
  4153. "summary": "查询现货商品详情",
  4154. "parameters": [
  4155. {
  4156. "type": "integer",
  4157. "description": "用户id",
  4158. "name": "userid",
  4159. "in": "query",
  4160. "required": true
  4161. },
  4162. {
  4163. "type": "integer",
  4164. "description": "用户类型 2-机构 7-企业成员",
  4165. "name": "usertype",
  4166. "in": "query"
  4167. },
  4168. {
  4169. "type": "integer",
  4170. "description": "现货商品id",
  4171. "name": "deliverygoodsid",
  4172. "in": "query"
  4173. }
  4174. ],
  4175. "responses": {
  4176. "200": {
  4177. "description": "OK",
  4178. "schema": {
  4179. "type": "array",
  4180. "items": {
  4181. "$ref": "#/definitions/models.XHDeliveryGoods"
  4182. }
  4183. }
  4184. },
  4185. "500": {
  4186. "description": "Internal Server Error",
  4187. "schema": {
  4188. "$ref": "#/definitions/app.Response"
  4189. }
  4190. }
  4191. }
  4192. }
  4193. },
  4194. "/Ermcp3/QueryExposureDetail": {
  4195. "get": {
  4196. "security": [
  4197. {
  4198. "ApiKeyAuth": []
  4199. }
  4200. ],
  4201. "produces": [
  4202. "application/json"
  4203. ],
  4204. "tags": [
  4205. "企业风险管理v3(app)"
  4206. ],
  4207. "summary": "查询敞口现货明细",
  4208. "parameters": [
  4209. {
  4210. "type": "integer",
  4211. "description": "用户id",
  4212. "name": "userid",
  4213. "in": "query",
  4214. "required": true
  4215. },
  4216. {
  4217. "type": "integer",
  4218. "description": "用户类型 2-机构 7-企业成员",
  4219. "name": "usertype",
  4220. "in": "query"
  4221. },
  4222. {
  4223. "type": "integer",
  4224. "description": "套保商品",
  4225. "name": "middlegoodsid",
  4226. "in": "query",
  4227. "required": true
  4228. }
  4229. ],
  4230. "responses": {
  4231. "200": {
  4232. "description": "OK",
  4233. "schema": {
  4234. "type": "array",
  4235. "items": {
  4236. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4237. }
  4238. }
  4239. },
  4240. "500": {
  4241. "description": "Internal Server Error",
  4242. "schema": {
  4243. "$ref": "#/definitions/app.Response"
  4244. }
  4245. }
  4246. }
  4247. }
  4248. },
  4249. "/Ermcp3/QueryExposureSpot": {
  4250. "get": {
  4251. "security": [
  4252. {
  4253. "ApiKeyAuth": []
  4254. }
  4255. ],
  4256. "produces": [
  4257. "application/json"
  4258. ],
  4259. "tags": [
  4260. "企业风险管理v3(app)"
  4261. ],
  4262. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4263. "parameters": [
  4264. {
  4265. "type": "integer",
  4266. "description": "用户id",
  4267. "name": "userid",
  4268. "in": "query",
  4269. "required": true
  4270. },
  4271. {
  4272. "type": "integer",
  4273. "description": "用户类型 2-机构 7-企业成员",
  4274. "name": "usertype",
  4275. "in": "query"
  4276. }
  4277. ],
  4278. "responses": {
  4279. "200": {
  4280. "description": "OK",
  4281. "schema": {
  4282. "type": "array",
  4283. "items": {
  4284. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4285. }
  4286. }
  4287. },
  4288. "500": {
  4289. "description": "Internal Server Error",
  4290. "schema": {
  4291. "$ref": "#/definitions/app.Response"
  4292. }
  4293. }
  4294. }
  4295. }
  4296. },
  4297. "/Ermcp3/QueryExposureSpotDetail": {
  4298. "get": {
  4299. "security": [
  4300. {
  4301. "ApiKeyAuth": []
  4302. }
  4303. ],
  4304. "produces": [
  4305. "application/json"
  4306. ],
  4307. "tags": [
  4308. "企业风险管理v3(app)"
  4309. ],
  4310. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4311. "parameters": [
  4312. {
  4313. "type": "integer",
  4314. "description": "用户id",
  4315. "name": "userid",
  4316. "in": "query",
  4317. "required": true
  4318. },
  4319. {
  4320. "type": "integer",
  4321. "description": "用户类型 2-机构 7-企业成员",
  4322. "name": "usertype",
  4323. "in": "query"
  4324. },
  4325. {
  4326. "type": "integer",
  4327. "description": "现货商品ID",
  4328. "name": "wrstandardid",
  4329. "in": "query",
  4330. "required": true
  4331. }
  4332. ],
  4333. "responses": {
  4334. "200": {
  4335. "description": "OK",
  4336. "schema": {
  4337. "type": "array",
  4338. "items": {
  4339. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4340. }
  4341. }
  4342. },
  4343. "500": {
  4344. "description": "Internal Server Error",
  4345. "schema": {
  4346. "$ref": "#/definitions/app.Response"
  4347. }
  4348. }
  4349. }
  4350. }
  4351. },
  4352. "/Ermcp3/QueryGoodsGroup": {
  4353. "get": {
  4354. "security": [
  4355. {
  4356. "ApiKeyAuth": []
  4357. }
  4358. ],
  4359. "produces": [
  4360. "application/json"
  4361. ],
  4362. "tags": [
  4363. "企业风险管理v3(app)"
  4364. ],
  4365. "summary": "查询期货商品组",
  4366. "parameters": [
  4367. {
  4368. "type": "integer",
  4369. "description": "用户id",
  4370. "name": "userid",
  4371. "in": "query",
  4372. "required": true
  4373. },
  4374. {
  4375. "type": "integer",
  4376. "description": "用户类型 2-机构 7-企业成员",
  4377. "name": "usertype",
  4378. "in": "query"
  4379. },
  4380. {
  4381. "type": "integer",
  4382. "description": "排除套保品中已关联的商品组 1-排除",
  4383. "name": "excludecfg",
  4384. "in": "query"
  4385. }
  4386. ],
  4387. "responses": {
  4388. "200": {
  4389. "description": "OK",
  4390. "schema": {
  4391. "type": "array",
  4392. "items": {
  4393. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4394. }
  4395. }
  4396. },
  4397. "500": {
  4398. "description": "Internal Server Error",
  4399. "schema": {
  4400. "$ref": "#/definitions/app.Response"
  4401. }
  4402. }
  4403. }
  4404. }
  4405. },
  4406. "/Ermcp3/QueryGoodsWrstandard": {
  4407. "get": {
  4408. "security": [
  4409. {
  4410. "ApiKeyAuth": []
  4411. }
  4412. ],
  4413. "produces": [
  4414. "application/json"
  4415. ],
  4416. "tags": [
  4417. "企业风险管理v3(app)"
  4418. ],
  4419. "summary": "查询商品品类",
  4420. "parameters": [
  4421. {
  4422. "type": "integer",
  4423. "description": "用户id",
  4424. "name": "userid",
  4425. "in": "query",
  4426. "required": true
  4427. },
  4428. {
  4429. "type": "integer",
  4430. "description": "用户类型 2-机构 7-企业成员",
  4431. "name": "usertype",
  4432. "in": "query"
  4433. },
  4434. {
  4435. "type": "integer",
  4436. "description": "现货商品id",
  4437. "name": "deliverygoodsid",
  4438. "in": "query"
  4439. }
  4440. ],
  4441. "responses": {
  4442. "200": {
  4443. "description": "OK",
  4444. "schema": {
  4445. "type": "array",
  4446. "items": {
  4447. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4448. }
  4449. }
  4450. },
  4451. "500": {
  4452. "description": "Internal Server Error",
  4453. "schema": {
  4454. "$ref": "#/definitions/app.Response"
  4455. }
  4456. }
  4457. }
  4458. }
  4459. },
  4460. "/Ermcp3/QueryGoodsbrand": {
  4461. "get": {
  4462. "security": [
  4463. {
  4464. "ApiKeyAuth": []
  4465. }
  4466. ],
  4467. "produces": [
  4468. "application/json"
  4469. ],
  4470. "tags": [
  4471. "企业风险管理v3(app)"
  4472. ],
  4473. "summary": "查询商品品牌",
  4474. "parameters": [
  4475. {
  4476. "type": "integer",
  4477. "description": "用户id",
  4478. "name": "userid",
  4479. "in": "query",
  4480. "required": true
  4481. },
  4482. {
  4483. "type": "integer",
  4484. "description": "用户类型 2-机构 7-企业成员",
  4485. "name": "usertype",
  4486. "in": "query"
  4487. }
  4488. ],
  4489. "responses": {
  4490. "200": {
  4491. "description": "OK",
  4492. "schema": {
  4493. "type": "array",
  4494. "items": {
  4495. "$ref": "#/definitions/models.Ermcp3Brand"
  4496. }
  4497. }
  4498. },
  4499. "500": {
  4500. "description": "Internal Server Error",
  4501. "schema": {
  4502. "$ref": "#/definitions/app.Response"
  4503. }
  4504. }
  4505. }
  4506. }
  4507. },
  4508. "/Ermcp3/QueryHedgePlan": {
  4509. "get": {
  4510. "security": [
  4511. {
  4512. "ApiKeyAuth": []
  4513. }
  4514. ],
  4515. "produces": [
  4516. "application/json"
  4517. ],
  4518. "tags": [
  4519. "企业风险管理v3(app)"
  4520. ],
  4521. "summary": "查询套保计划",
  4522. "parameters": [
  4523. {
  4524. "type": "integer",
  4525. "description": "用户ID",
  4526. "name": "userid",
  4527. "in": "query",
  4528. "required": true
  4529. },
  4530. {
  4531. "type": "integer",
  4532. "description": "用户类型 2-机构 7-企业成员",
  4533. "name": "usertype",
  4534. "in": "query"
  4535. },
  4536. {
  4537. "type": "string",
  4538. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4539. "name": "hedgeplanstatus",
  4540. "in": "query",
  4541. "required": true
  4542. }
  4543. ],
  4544. "responses": {
  4545. "200": {
  4546. "description": "OK",
  4547. "schema": {
  4548. "type": "array",
  4549. "items": {
  4550. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4551. }
  4552. }
  4553. },
  4554. "500": {
  4555. "description": "Internal Server Error",
  4556. "schema": {
  4557. "$ref": "#/definitions/app.Response"
  4558. }
  4559. }
  4560. }
  4561. }
  4562. },
  4563. "/Ermcp3/QueryInnerTradeLink": {
  4564. "get": {
  4565. "security": [
  4566. {
  4567. "ApiKeyAuth": []
  4568. }
  4569. ],
  4570. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4571. "produces": [
  4572. "application/json"
  4573. ],
  4574. "tags": [
  4575. "企业风险管理v3(app)"
  4576. ],
  4577. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  4578. "parameters": [
  4579. {
  4580. "type": "integer",
  4581. "description": "外部成交单号",
  4582. "name": "outtradeid",
  4583. "in": "query",
  4584. "required": true
  4585. }
  4586. ],
  4587. "responses": {
  4588. "200": {
  4589. "description": "OK",
  4590. "schema": {
  4591. "type": "array",
  4592. "items": {
  4593. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  4594. }
  4595. }
  4596. },
  4597. "500": {
  4598. "description": "Internal Server Error",
  4599. "schema": {
  4600. "$ref": "#/definitions/app.Response"
  4601. }
  4602. }
  4603. }
  4604. }
  4605. },
  4606. "/Ermcp3/QueryMiddleGoodsDetail": {
  4607. "get": {
  4608. "security": [
  4609. {
  4610. "ApiKeyAuth": []
  4611. }
  4612. ],
  4613. "produces": [
  4614. "application/json"
  4615. ],
  4616. "tags": [
  4617. "企业风险管理v3(app)"
  4618. ],
  4619. "summary": "查询套保品种详情(套保品种/商品详情)",
  4620. "parameters": [
  4621. {
  4622. "type": "integer",
  4623. "description": "用户id",
  4624. "name": "userid",
  4625. "in": "query",
  4626. "required": true
  4627. },
  4628. {
  4629. "type": "integer",
  4630. "description": "用户类型 2-机构 7-企业成员",
  4631. "name": "usertype",
  4632. "in": "query"
  4633. },
  4634. {
  4635. "type": "integer",
  4636. "description": "套保品种id",
  4637. "name": "middlegoodsid",
  4638. "in": "query"
  4639. }
  4640. ],
  4641. "responses": {
  4642. "200": {
  4643. "description": "OK",
  4644. "schema": {
  4645. "type": "array",
  4646. "items": {
  4647. "$ref": "#/definitions/models.TBMiddleGoods"
  4648. }
  4649. }
  4650. },
  4651. "500": {
  4652. "description": "Internal Server Error",
  4653. "schema": {
  4654. "$ref": "#/definitions/app.Response"
  4655. }
  4656. }
  4657. }
  4658. }
  4659. },
  4660. "/Ermcp3/QueryOutTradeLink": {
  4661. "get": {
  4662. "security": [
  4663. {
  4664. "ApiKeyAuth": []
  4665. }
  4666. ],
  4667. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  4668. "produces": [
  4669. "application/json"
  4670. ],
  4671. "tags": [
  4672. "企业风险管理v3(app)"
  4673. ],
  4674. "summary": "查询外部成交单关联",
  4675. "parameters": [
  4676. {
  4677. "type": "integer",
  4678. "description": "用户ID(填登录用户的userid)",
  4679. "name": "userid",
  4680. "in": "query",
  4681. "required": true
  4682. },
  4683. {
  4684. "type": "string",
  4685. "description": "外部订单号(模糊匹配)",
  4686. "name": "outtradeid",
  4687. "in": "query"
  4688. },
  4689. {
  4690. "type": "string",
  4691. "description": "合约名称/代码(模糊匹配)",
  4692. "name": "goodsname",
  4693. "in": "query"
  4694. },
  4695. {
  4696. "type": "integer",
  4697. "description": "关联状态 0-未关联 1-已关联",
  4698. "name": "hasinnerorder",
  4699. "in": "query"
  4700. }
  4701. ],
  4702. "responses": {
  4703. "200": {
  4704. "description": "OK",
  4705. "schema": {
  4706. "type": "array",
  4707. "items": {
  4708. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  4709. }
  4710. }
  4711. },
  4712. "500": {
  4713. "description": "Internal Server Error",
  4714. "schema": {
  4715. "$ref": "#/definitions/app.Response"
  4716. }
  4717. }
  4718. }
  4719. }
  4720. },
  4721. "/Ermcp3/QueryPaAreaAuditCfg": {
  4722. "get": {
  4723. "security": [
  4724. {
  4725. "ApiKeyAuth": []
  4726. }
  4727. ],
  4728. "produces": [
  4729. "application/json"
  4730. ],
  4731. "tags": [
  4732. "企业风险管理v3(app)"
  4733. ],
  4734. "summary": "查询审核设置",
  4735. "parameters": [
  4736. {
  4737. "type": "integer",
  4738. "description": "用户id",
  4739. "name": "userid",
  4740. "in": "query",
  4741. "required": true
  4742. }
  4743. ],
  4744. "responses": {
  4745. "200": {
  4746. "description": "OK",
  4747. "schema": {
  4748. "type": "array",
  4749. "items": {
  4750. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4751. }
  4752. }
  4753. },
  4754. "500": {
  4755. "description": "Internal Server Error",
  4756. "schema": {
  4757. "$ref": "#/definitions/app.Response"
  4758. }
  4759. }
  4760. }
  4761. }
  4762. },
  4763. "/Ermcp3/QueryPaAreaSubject": {
  4764. "get": {
  4765. "security": [
  4766. {
  4767. "ApiKeyAuth": []
  4768. }
  4769. ],
  4770. "produces": [
  4771. "application/json"
  4772. ],
  4773. "tags": [
  4774. "企业风险管理v3(app)"
  4775. ],
  4776. "summary": "查询交易主体",
  4777. "parameters": [
  4778. {
  4779. "type": "integer",
  4780. "description": "用户id",
  4781. "name": "userid",
  4782. "in": "query",
  4783. "required": true
  4784. },
  4785. {
  4786. "type": "integer",
  4787. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4788. "name": "subjectid",
  4789. "in": "query"
  4790. },
  4791. {
  4792. "type": "integer",
  4793. "description": "主体类型 - 1:交易主体 2:业务部门",
  4794. "name": "subjecttype",
  4795. "in": "query"
  4796. },
  4797. {
  4798. "type": "integer",
  4799. "description": "主体状态 - 1:正常 2: 停用",
  4800. "name": "subjectstatus",
  4801. "in": "query"
  4802. }
  4803. ],
  4804. "responses": {
  4805. "200": {
  4806. "description": "OK",
  4807. "schema": {
  4808. "type": "array",
  4809. "items": {
  4810. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4811. }
  4812. }
  4813. },
  4814. "500": {
  4815. "description": "Internal Server Error",
  4816. "schema": {
  4817. "$ref": "#/definitions/app.Response"
  4818. }
  4819. }
  4820. }
  4821. }
  4822. },
  4823. "/Ermcp3/QueryPaTradeLink": {
  4824. "get": {
  4825. "security": [
  4826. {
  4827. "ApiKeyAuth": []
  4828. }
  4829. ],
  4830. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  4831. "produces": [
  4832. "application/json"
  4833. ],
  4834. "tags": [
  4835. "企业风险管理v3(app)"
  4836. ],
  4837. "summary": "查询期现单据关联",
  4838. "parameters": [
  4839. {
  4840. "type": "integer",
  4841. "description": "用户ID",
  4842. "name": "userid",
  4843. "in": "query",
  4844. "required": true
  4845. }
  4846. ],
  4847. "responses": {
  4848. "200": {
  4849. "description": "OK",
  4850. "schema": {
  4851. "type": "array",
  4852. "items": {
  4853. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  4854. }
  4855. }
  4856. },
  4857. "500": {
  4858. "description": "Internal Server Error",
  4859. "schema": {
  4860. "$ref": "#/definitions/app.Response"
  4861. }
  4862. }
  4863. }
  4864. }
  4865. },
  4866. "/Ermcp3/QueryPaTradeLinkDetail": {
  4867. "get": {
  4868. "security": [
  4869. {
  4870. "ApiKeyAuth": []
  4871. }
  4872. ],
  4873. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  4874. "produces": [
  4875. "application/json"
  4876. ],
  4877. "tags": [
  4878. "企业风险管理v3(app)"
  4879. ],
  4880. "summary": "查询期现关联记录",
  4881. "parameters": [
  4882. {
  4883. "type": "integer",
  4884. "description": "用户ID(填登录用户的userid)",
  4885. "name": "userid",
  4886. "in": "query",
  4887. "required": true
  4888. },
  4889. {
  4890. "type": "integer",
  4891. "description": "关联状态 1:成功 2:失败",
  4892. "name": "linkstatus",
  4893. "in": "query"
  4894. },
  4895. {
  4896. "type": "string",
  4897. "description": "期货订单号(模糊匹配)",
  4898. "name": "tradeid",
  4899. "in": "query"
  4900. },
  4901. {
  4902. "type": "string",
  4903. "description": "现货编号(模糊匹配)",
  4904. "name": "contractno",
  4905. "in": "query"
  4906. },
  4907. {
  4908. "type": "string",
  4909. "description": "期货账户(模糊匹配)",
  4910. "name": "taname",
  4911. "in": "query"
  4912. }
  4913. ],
  4914. "responses": {
  4915. "200": {
  4916. "description": "OK",
  4917. "schema": {
  4918. "type": "array",
  4919. "items": {
  4920. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  4921. }
  4922. }
  4923. },
  4924. "500": {
  4925. "description": "Internal Server Error",
  4926. "schema": {
  4927. "$ref": "#/definitions/app.Response"
  4928. }
  4929. }
  4930. }
  4931. }
  4932. },
  4933. "/Ermcp3/QueryParamChangeApp": {
  4934. "get": {
  4935. "security": [
  4936. {
  4937. "ApiKeyAuth": []
  4938. }
  4939. ],
  4940. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  4941. "produces": [
  4942. "application/json"
  4943. ],
  4944. "tags": [
  4945. "企业风险管理v3(app)"
  4946. ],
  4947. "summary": "查询现货商品参数变更申请(流水)",
  4948. "parameters": [
  4949. {
  4950. "type": "integer",
  4951. "description": "用户ID",
  4952. "name": "userid",
  4953. "in": "query",
  4954. "required": true
  4955. },
  4956. {
  4957. "type": "integer",
  4958. "description": "现货品种id",
  4959. "name": "deliverygoodsid",
  4960. "in": "query"
  4961. },
  4962. {
  4963. "type": "integer",
  4964. "description": "现货商品id",
  4965. "name": "wrstandardid",
  4966. "in": "query"
  4967. },
  4968. {
  4969. "type": "integer",
  4970. "description": "套保商品id",
  4971. "name": "middlegoodsid",
  4972. "in": "query"
  4973. },
  4974. {
  4975. "type": "integer",
  4976. "description": "操作类型 1:新增 2:修改",
  4977. "name": "operatetype",
  4978. "in": "query"
  4979. },
  4980. {
  4981. "type": "integer",
  4982. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  4983. "name": "paramchangetype",
  4984. "in": "query"
  4985. },
  4986. {
  4987. "type": "string",
  4988. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4989. "name": "ftstatus",
  4990. "in": "query"
  4991. }
  4992. ],
  4993. "responses": {
  4994. "200": {
  4995. "description": "OK",
  4996. "schema": {
  4997. "type": "array",
  4998. "items": {
  4999. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5000. }
  5001. }
  5002. },
  5003. "500": {
  5004. "description": "Internal Server Error",
  5005. "schema": {
  5006. "$ref": "#/definitions/app.Response"
  5007. }
  5008. }
  5009. }
  5010. }
  5011. },
  5012. "/Ermcp3/QueryRootUserAccount": {
  5013. "get": {
  5014. "security": [
  5015. {
  5016. "ApiKeyAuth": []
  5017. }
  5018. ],
  5019. "produces": [
  5020. "application/json"
  5021. ],
  5022. "tags": [
  5023. "企业风险管理v3(app)"
  5024. ],
  5025. "summary": "查询顶级用户信息",
  5026. "parameters": [
  5027. {
  5028. "type": "integer",
  5029. "description": "用户ID",
  5030. "name": "userid",
  5031. "in": "query",
  5032. "required": true
  5033. }
  5034. ],
  5035. "responses": {
  5036. "200": {
  5037. "description": "OK",
  5038. "schema": {
  5039. "type": "array",
  5040. "items": {
  5041. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5042. }
  5043. }
  5044. },
  5045. "500": {
  5046. "description": "Internal Server Error",
  5047. "schema": {
  5048. "$ref": "#/definitions/app.Response"
  5049. }
  5050. }
  5051. }
  5052. }
  5053. },
  5054. "/Ermcp3/QuerySCMiddleGoods": {
  5055. "get": {
  5056. "security": [
  5057. {
  5058. "ApiKeyAuth": []
  5059. }
  5060. ],
  5061. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5062. "produces": [
  5063. "application/json"
  5064. ],
  5065. "tags": [
  5066. "企业风险管理v3(app)"
  5067. ],
  5068. "summary": "查询现货订单",
  5069. "parameters": [
  5070. {
  5071. "type": "integer",
  5072. "description": "用户ID(填登录用户的userid)",
  5073. "name": "userid",
  5074. "in": "query",
  5075. "required": true
  5076. },
  5077. {
  5078. "type": "integer",
  5079. "description": "买卖方向 0-买 1-卖",
  5080. "name": "buyorsell",
  5081. "in": "query",
  5082. "required": true
  5083. },
  5084. {
  5085. "type": "integer",
  5086. "description": "商品组id",
  5087. "name": "goodsgroupid",
  5088. "in": "query",
  5089. "required": true
  5090. },
  5091. {
  5092. "type": "integer",
  5093. "description": "业务类型 1:套保 2:套利",
  5094. "name": "biztype",
  5095. "in": "query"
  5096. },
  5097. {
  5098. "type": "string",
  5099. "description": "现货编号(模糊匹配)",
  5100. "name": "contractno",
  5101. "in": "query"
  5102. },
  5103. {
  5104. "type": "string",
  5105. "description": "对手方(模糊匹配)",
  5106. "name": "customername",
  5107. "in": "query"
  5108. },
  5109. {
  5110. "type": "string",
  5111. "description": "现货商品名称(模糊匹配)",
  5112. "name": "wrstandardname",
  5113. "in": "query"
  5114. }
  5115. ],
  5116. "responses": {
  5117. "200": {
  5118. "description": "OK",
  5119. "schema": {
  5120. "type": "array",
  5121. "items": {
  5122. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5123. }
  5124. }
  5125. },
  5126. "500": {
  5127. "description": "Internal Server Error",
  5128. "schema": {
  5129. "$ref": "#/definitions/app.Response"
  5130. }
  5131. }
  5132. }
  5133. }
  5134. },
  5135. "/Ermcp3/QuerySpotContract": {
  5136. "get": {
  5137. "security": [
  5138. {
  5139. "ApiKeyAuth": []
  5140. }
  5141. ],
  5142. "produces": [
  5143. "application/json"
  5144. ],
  5145. "tags": [
  5146. "企业风险管理v3(app)"
  5147. ],
  5148. "summary": "查询现货合同",
  5149. "parameters": [
  5150. {
  5151. "type": "integer",
  5152. "description": "用户id(当指定contractid, userid可不填)",
  5153. "name": "userid",
  5154. "in": "query",
  5155. "required": true
  5156. },
  5157. {
  5158. "type": "integer",
  5159. "description": "用户类型 2-机构 7-企业成员",
  5160. "name": "usertype",
  5161. "in": "query"
  5162. },
  5163. {
  5164. "type": "integer",
  5165. "description": "合同类型 1-采购, -1-销售",
  5166. "name": "contracttype",
  5167. "in": "query"
  5168. },
  5169. {
  5170. "type": "string",
  5171. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5172. "name": "querytype",
  5173. "in": "query"
  5174. },
  5175. {
  5176. "type": "string",
  5177. "description": "合同ID(SpotContractId)",
  5178. "name": "contractid",
  5179. "in": "query"
  5180. },
  5181. {
  5182. "type": "string",
  5183. "description": "合同编号(模糊匹配)",
  5184. "name": "contractno",
  5185. "in": "query"
  5186. },
  5187. {
  5188. "type": "string",
  5189. "description": "商品名称(模糊匹配)",
  5190. "name": "wrstandardname",
  5191. "in": "query"
  5192. }
  5193. ],
  5194. "responses": {
  5195. "200": {
  5196. "description": "OK",
  5197. "schema": {
  5198. "type": "array",
  5199. "items": {
  5200. "$ref": "#/definitions/models.Ermcp3Contract"
  5201. }
  5202. }
  5203. },
  5204. "500": {
  5205. "description": "Internal Server Error",
  5206. "schema": {
  5207. "$ref": "#/definitions/app.Response"
  5208. }
  5209. }
  5210. }
  5211. }
  5212. },
  5213. "/Ermcp3/QuerySpotContractBS": {
  5214. "get": {
  5215. "security": [
  5216. {
  5217. "ApiKeyAuth": []
  5218. }
  5219. ],
  5220. "produces": [
  5221. "application/json"
  5222. ],
  5223. "tags": [
  5224. "企业风险管理v3(app)"
  5225. ],
  5226. "summary": "查询合同(采购/销售)",
  5227. "parameters": [
  5228. {
  5229. "type": "integer",
  5230. "description": "用户id",
  5231. "name": "userid",
  5232. "in": "query",
  5233. "required": true
  5234. },
  5235. {
  5236. "type": "integer",
  5237. "description": "用户类型 2-机构 7-企业成员",
  5238. "name": "usertype",
  5239. "in": "query"
  5240. },
  5241. {
  5242. "type": "integer",
  5243. "description": "合同类型 1-采购, -1-销售",
  5244. "name": "contracttype",
  5245. "in": "query",
  5246. "required": true
  5247. },
  5248. {
  5249. "type": "integer",
  5250. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5251. "name": "querytype",
  5252. "in": "query",
  5253. "required": true
  5254. },
  5255. {
  5256. "type": "string",
  5257. "description": "合同ID(SpotContractId)",
  5258. "name": "contractid",
  5259. "in": "query"
  5260. }
  5261. ],
  5262. "responses": {
  5263. "200": {
  5264. "description": "OK",
  5265. "schema": {
  5266. "type": "array",
  5267. "items": {
  5268. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5269. }
  5270. }
  5271. },
  5272. "500": {
  5273. "description": "Internal Server Error",
  5274. "schema": {
  5275. "$ref": "#/definitions/app.Response"
  5276. }
  5277. }
  5278. }
  5279. }
  5280. },
  5281. "/Ermcp3/QuerySpotGoodsPrice": {
  5282. "get": {
  5283. "security": [
  5284. {
  5285. "ApiKeyAuth": []
  5286. }
  5287. ],
  5288. "produces": [
  5289. "application/json"
  5290. ],
  5291. "tags": [
  5292. "企业风险管理v3(app)"
  5293. ],
  5294. "summary": "查询现货市价(现货市价)",
  5295. "parameters": [
  5296. {
  5297. "type": "integer",
  5298. "description": "用户ID",
  5299. "name": "userid",
  5300. "in": "query",
  5301. "required": true
  5302. }
  5303. ],
  5304. "responses": {
  5305. "200": {
  5306. "description": "OK",
  5307. "schema": {
  5308. "type": "array",
  5309. "items": {
  5310. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5311. }
  5312. }
  5313. },
  5314. "500": {
  5315. "description": "Internal Server Error",
  5316. "schema": {
  5317. "$ref": "#/definitions/app.Response"
  5318. }
  5319. }
  5320. }
  5321. }
  5322. },
  5323. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5324. "get": {
  5325. "security": [
  5326. {
  5327. "ApiKeyAuth": []
  5328. }
  5329. ],
  5330. "produces": [
  5331. "application/json"
  5332. ],
  5333. "tags": [
  5334. "企业风险管理v3(app)"
  5335. ],
  5336. "summary": "查询现货市价详情(现货市价/详情)",
  5337. "parameters": [
  5338. {
  5339. "type": "integer",
  5340. "description": "用户ID",
  5341. "name": "userid",
  5342. "in": "query",
  5343. "required": true
  5344. },
  5345. {
  5346. "type": "integer",
  5347. "description": "现货商品ID",
  5348. "name": "deliverygoodsid",
  5349. "in": "query",
  5350. "required": true
  5351. },
  5352. {
  5353. "type": "integer",
  5354. "description": "品牌ID",
  5355. "name": "brandid",
  5356. "in": "query"
  5357. },
  5358. {
  5359. "type": "integer",
  5360. "description": "品类ID",
  5361. "name": "wrstandardid",
  5362. "in": "query"
  5363. }
  5364. ],
  5365. "responses": {
  5366. "200": {
  5367. "description": "OK",
  5368. "schema": {
  5369. "type": "array",
  5370. "items": {
  5371. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5372. }
  5373. }
  5374. },
  5375. "500": {
  5376. "description": "Internal Server Error",
  5377. "schema": {
  5378. "$ref": "#/definitions/app.Response"
  5379. }
  5380. }
  5381. }
  5382. }
  5383. },
  5384. "/Ermcp3/QuerySubTaaccount": {
  5385. "get": {
  5386. "security": [
  5387. {
  5388. "ApiKeyAuth": []
  5389. }
  5390. ],
  5391. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5392. "produces": [
  5393. "application/json"
  5394. ],
  5395. "tags": [
  5396. "企业风险管理v3(app)"
  5397. ],
  5398. "summary": "查询期货子账户",
  5399. "parameters": [
  5400. {
  5401. "type": "integer",
  5402. "description": "母账号id",
  5403. "name": "parentaccountid",
  5404. "in": "query"
  5405. },
  5406. {
  5407. "type": "string",
  5408. "description": "母账号代码",
  5409. "name": "parentaccountcode",
  5410. "in": "query"
  5411. }
  5412. ],
  5413. "responses": {
  5414. "200": {
  5415. "description": "OK",
  5416. "schema": {
  5417. "type": "array",
  5418. "items": {
  5419. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5420. }
  5421. }
  5422. },
  5423. "500": {
  5424. "description": "Internal Server Error",
  5425. "schema": {
  5426. "$ref": "#/definitions/app.Response"
  5427. }
  5428. }
  5429. }
  5430. }
  5431. },
  5432. "/Erms2/QueryArbitrageStrategy": {
  5433. "get": {
  5434. "security": [
  5435. {
  5436. "ApiKeyAuth": []
  5437. }
  5438. ],
  5439. "produces": [
  5440. "application/json"
  5441. ],
  5442. "tags": [
  5443. "风险管理"
  5444. ],
  5445. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5446. "parameters": [
  5447. {
  5448. "type": "integer",
  5449. "description": "账户ID",
  5450. "name": "userid",
  5451. "in": "query",
  5452. "required": true
  5453. },
  5454. {
  5455. "type": "string",
  5456. "description": "商品组ID(品种ID)",
  5457. "name": "goodsgroupid",
  5458. "in": "query"
  5459. }
  5460. ],
  5461. "responses": {
  5462. "200": {
  5463. "description": "OK",
  5464. "schema": {
  5465. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5466. }
  5467. },
  5468. "500": {
  5469. "description": "Internal Server Error",
  5470. "schema": {
  5471. "$ref": "#/definitions/app.Response"
  5472. }
  5473. }
  5474. }
  5475. }
  5476. },
  5477. "/Erms2/QueryInnerTradeDetail": {
  5478. "get": {
  5479. "security": [
  5480. {
  5481. "ApiKeyAuth": []
  5482. }
  5483. ],
  5484. "produces": [
  5485. "application/json"
  5486. ],
  5487. "tags": [
  5488. "风险管理"
  5489. ],
  5490. "summary": "查询内部成交单信息",
  5491. "parameters": [
  5492. {
  5493. "type": "integer",
  5494. "description": "资金账户",
  5495. "name": "accountid",
  5496. "in": "query",
  5497. "required": true
  5498. }
  5499. ],
  5500. "responses": {
  5501. "200": {
  5502. "description": "OK",
  5503. "schema": {
  5504. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5505. }
  5506. },
  5507. "500": {
  5508. "description": "Internal Server Error",
  5509. "schema": {
  5510. "$ref": "#/definitions/app.Response"
  5511. }
  5512. }
  5513. }
  5514. }
  5515. },
  5516. "/Erms2/QuerySpotContract": {
  5517. "get": {
  5518. "security": [
  5519. {
  5520. "ApiKeyAuth": []
  5521. }
  5522. ],
  5523. "produces": [
  5524. "application/json"
  5525. ],
  5526. "tags": [
  5527. "风险管理"
  5528. ],
  5529. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5530. "parameters": [
  5531. {
  5532. "type": "integer",
  5533. "description": "策略申请ID",
  5534. "name": "asapplyid",
  5535. "in": "query",
  5536. "required": true
  5537. },
  5538. {
  5539. "type": "integer",
  5540. "description": "现货合同ID",
  5541. "name": "spotcontractid",
  5542. "in": "query"
  5543. }
  5544. ],
  5545. "responses": {
  5546. "200": {
  5547. "description": "OK",
  5548. "schema": {
  5549. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5550. }
  5551. },
  5552. "500": {
  5553. "description": "Internal Server Error",
  5554. "schema": {
  5555. "$ref": "#/definitions/app.Response"
  5556. }
  5557. }
  5558. }
  5559. }
  5560. },
  5561. "/Erms3/AddErms2ASApply": {
  5562. "post": {
  5563. "security": [
  5564. {
  5565. "ApiKeyAuth": []
  5566. }
  5567. ],
  5568. "produces": [
  5569. "application/json"
  5570. ],
  5571. "tags": [
  5572. "风险管理v3"
  5573. ],
  5574. "summary": "新增期现套利业务申请",
  5575. "parameters": [
  5576. {
  5577. "description": "申请参数",
  5578. "name": "jsonBody",
  5579. "in": "body",
  5580. "required": true,
  5581. "schema": {
  5582. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5583. }
  5584. }
  5585. ],
  5586. "responses": {
  5587. "200": {
  5588. "description": "OK",
  5589. "schema": {
  5590. "$ref": "#/definitions/app.Response"
  5591. }
  5592. },
  5593. "500": {
  5594. "description": "Internal Server Error",
  5595. "schema": {
  5596. "$ref": "#/definitions/app.Response"
  5597. }
  5598. }
  5599. }
  5600. }
  5601. },
  5602. "/Erms3/AddErms2SpotTradeApply": {
  5603. "post": {
  5604. "security": [
  5605. {
  5606. "ApiKeyAuth": []
  5607. }
  5608. ],
  5609. "produces": [
  5610. "application/json"
  5611. ],
  5612. "tags": [
  5613. "风险管理v3"
  5614. ],
  5615. "summary": "新增现货贸易业务申请",
  5616. "parameters": [
  5617. {
  5618. "description": "申请参数",
  5619. "name": "jsonBody",
  5620. "in": "body",
  5621. "required": true,
  5622. "schema": {
  5623. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5624. }
  5625. }
  5626. ],
  5627. "responses": {
  5628. "200": {
  5629. "description": "OK",
  5630. "schema": {
  5631. "$ref": "#/definitions/app.Response"
  5632. }
  5633. },
  5634. "500": {
  5635. "description": "Internal Server Error",
  5636. "schema": {
  5637. "$ref": "#/definitions/app.Response"
  5638. }
  5639. }
  5640. }
  5641. }
  5642. },
  5643. "/Erms3/AddSpotContractApply": {
  5644. "post": {
  5645. "security": [
  5646. {
  5647. "ApiKeyAuth": []
  5648. }
  5649. ],
  5650. "produces": [
  5651. "application/json"
  5652. ],
  5653. "tags": [
  5654. "风险管理v3"
  5655. ],
  5656. "summary": "新增现货合同申请",
  5657. "parameters": [
  5658. {
  5659. "description": "申请参数",
  5660. "name": "jsonBody",
  5661. "in": "body",
  5662. "required": true,
  5663. "schema": {
  5664. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5665. }
  5666. }
  5667. ],
  5668. "responses": {
  5669. "200": {
  5670. "description": "OK",
  5671. "schema": {
  5672. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5673. }
  5674. },
  5675. "500": {
  5676. "description": "Internal Server Error",
  5677. "schema": {
  5678. "$ref": "#/definitions/app.Response"
  5679. }
  5680. }
  5681. }
  5682. }
  5683. },
  5684. "/Erms3/AddUserInfoApply": {
  5685. "post": {
  5686. "security": [
  5687. {
  5688. "ApiKeyAuth": []
  5689. }
  5690. ],
  5691. "produces": [
  5692. "application/json"
  5693. ],
  5694. "tags": [
  5695. "风险管理v3"
  5696. ],
  5697. "summary": "新增客户申请",
  5698. "parameters": [
  5699. {
  5700. "description": "用户信息",
  5701. "name": "jsonBody",
  5702. "in": "body",
  5703. "required": true,
  5704. "schema": {
  5705. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5706. }
  5707. }
  5708. ],
  5709. "responses": {
  5710. "200": {
  5711. "description": "OK",
  5712. "schema": {
  5713. "$ref": "#/definitions/app.Response"
  5714. }
  5715. },
  5716. "500": {
  5717. "description": "Internal Server Error",
  5718. "schema": {
  5719. "$ref": "#/definitions/app.Response"
  5720. }
  5721. }
  5722. }
  5723. }
  5724. },
  5725. "/Erms3/DeleteUserInfoApply": {
  5726. "get": {
  5727. "security": [
  5728. {
  5729. "ApiKeyAuth": []
  5730. }
  5731. ],
  5732. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5733. "produces": [
  5734. "application/json"
  5735. ],
  5736. "tags": [
  5737. "风险管理v3"
  5738. ],
  5739. "summary": "删除客户申请",
  5740. "parameters": [
  5741. {
  5742. "type": "integer",
  5743. "description": "用户ID",
  5744. "name": "userID",
  5745. "in": "query",
  5746. "required": true
  5747. }
  5748. ],
  5749. "responses": {
  5750. "200": {
  5751. "description": "OK",
  5752. "schema": {
  5753. "$ref": "#/definitions/app.Response"
  5754. }
  5755. },
  5756. "500": {
  5757. "description": "Internal Server Error",
  5758. "schema": {
  5759. "$ref": "#/definitions/app.Response"
  5760. }
  5761. }
  5762. }
  5763. }
  5764. },
  5765. "/Erms3/ModifyUserInfoApply": {
  5766. "post": {
  5767. "security": [
  5768. {
  5769. "ApiKeyAuth": []
  5770. }
  5771. ],
  5772. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5773. "produces": [
  5774. "application/json"
  5775. ],
  5776. "tags": [
  5777. "风险管理v3"
  5778. ],
  5779. "summary": "修改客户申请",
  5780. "parameters": [
  5781. {
  5782. "description": "用户信息",
  5783. "name": "jsonBody",
  5784. "in": "body",
  5785. "required": true,
  5786. "schema": {
  5787. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5788. }
  5789. }
  5790. ],
  5791. "responses": {
  5792. "200": {
  5793. "description": "OK",
  5794. "schema": {
  5795. "$ref": "#/definitions/app.Response"
  5796. }
  5797. },
  5798. "500": {
  5799. "description": "Internal Server Error",
  5800. "schema": {
  5801. "$ref": "#/definitions/app.Response"
  5802. }
  5803. }
  5804. }
  5805. }
  5806. },
  5807. "/Erms3/QueryBusinessInfo": {
  5808. "get": {
  5809. "security": [
  5810. {
  5811. "ApiKeyAuth": []
  5812. }
  5813. ],
  5814. "produces": [
  5815. "application/json"
  5816. ],
  5817. "tags": [
  5818. "风险管理v3"
  5819. ],
  5820. "summary": "查询业务表单数据",
  5821. "parameters": [
  5822. {
  5823. "type": "string",
  5824. "description": "资金账号ID列表,用逗号分隔",
  5825. "name": "accountids",
  5826. "in": "query",
  5827. "required": true
  5828. },
  5829. {
  5830. "type": "integer",
  5831. "description": "状态,0为未结束 1为已结束",
  5832. "name": "status",
  5833. "in": "query",
  5834. "required": true
  5835. }
  5836. ],
  5837. "responses": {
  5838. "200": {
  5839. "description": "OK",
  5840. "schema": {
  5841. "type": "array",
  5842. "items": {
  5843. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5844. }
  5845. }
  5846. },
  5847. "500": {
  5848. "description": "Internal Server Error",
  5849. "schema": {
  5850. "$ref": "#/definitions/app.Response"
  5851. }
  5852. }
  5853. }
  5854. }
  5855. },
  5856. "/Erms3/QueryPendingAuditContract": {
  5857. "get": {
  5858. "security": [
  5859. {
  5860. "ApiKeyAuth": []
  5861. }
  5862. ],
  5863. "produces": [
  5864. "application/json"
  5865. ],
  5866. "tags": [
  5867. "风险管理v3"
  5868. ],
  5869. "summary": "查询待审核合同",
  5870. "parameters": [
  5871. {
  5872. "type": "string",
  5873. "description": "资金账号ID列表,逗号隔开",
  5874. "name": "accountids",
  5875. "in": "query",
  5876. "required": true
  5877. },
  5878. {
  5879. "type": "integer",
  5880. "description": "合同类型 1-采购 -1-销售",
  5881. "name": "contracttype",
  5882. "in": "query",
  5883. "required": true
  5884. },
  5885. {
  5886. "type": "integer",
  5887. "description": "合同模式 1-普通 2-回购",
  5888. "name": "contractmode",
  5889. "in": "query",
  5890. "required": true
  5891. }
  5892. ],
  5893. "responses": {
  5894. "200": {
  5895. "description": "OK",
  5896. "schema": {
  5897. "type": "array",
  5898. "items": {
  5899. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5900. }
  5901. }
  5902. },
  5903. "500": {
  5904. "description": "Internal Server Error",
  5905. "schema": {
  5906. "$ref": "#/definitions/app.Response"
  5907. }
  5908. }
  5909. }
  5910. }
  5911. },
  5912. "/Erms3/QueryPendingBusiness": {
  5913. "get": {
  5914. "security": [
  5915. {
  5916. "ApiKeyAuth": []
  5917. }
  5918. ],
  5919. "produces": [
  5920. "application/json"
  5921. ],
  5922. "tags": [
  5923. "风险管理v3"
  5924. ],
  5925. "summary": "查询待审核基差贸易业务",
  5926. "parameters": [
  5927. {
  5928. "type": "string",
  5929. "description": "资金账号ID列表,逗号隔开",
  5930. "name": "accountids",
  5931. "in": "query",
  5932. "required": true
  5933. }
  5934. ],
  5935. "responses": {
  5936. "200": {
  5937. "description": "OK",
  5938. "schema": {
  5939. "type": "array",
  5940. "items": {
  5941. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5942. }
  5943. }
  5944. },
  5945. "500": {
  5946. "description": "Internal Server Error",
  5947. "schema": {
  5948. "$ref": "#/definitions/app.Response"
  5949. }
  5950. }
  5951. }
  5952. }
  5953. },
  5954. "/Erms3/QuerySpotContractAppleForm": {
  5955. "get": {
  5956. "security": [
  5957. {
  5958. "ApiKeyAuth": []
  5959. }
  5960. ],
  5961. "produces": [
  5962. "application/json"
  5963. ],
  5964. "tags": [
  5965. "风险管理v3"
  5966. ],
  5967. "summary": "查询合同申请表单数据",
  5968. "parameters": [
  5969. {
  5970. "type": "integer",
  5971. "description": "登录账号",
  5972. "name": "loginID",
  5973. "in": "query",
  5974. "required": true
  5975. }
  5976. ],
  5977. "responses": {
  5978. "200": {
  5979. "description": "OK",
  5980. "schema": {
  5981. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5982. }
  5983. },
  5984. "500": {
  5985. "description": "Internal Server Error",
  5986. "schema": {
  5987. "$ref": "#/definitions/app.Response"
  5988. }
  5989. }
  5990. }
  5991. }
  5992. },
  5993. "/Erms3/QuerySpotContractDetail": {
  5994. "get": {
  5995. "security": [
  5996. {
  5997. "ApiKeyAuth": []
  5998. }
  5999. ],
  6000. "produces": [
  6001. "application/json"
  6002. ],
  6003. "tags": [
  6004. "风险管理v3"
  6005. ],
  6006. "summary": "查询合同详细信息",
  6007. "parameters": [
  6008. {
  6009. "type": "string",
  6010. "description": "资金账号ID列表,用逗号分隔",
  6011. "name": "accountids",
  6012. "in": "query",
  6013. "required": true
  6014. },
  6015. {
  6016. "type": "integer",
  6017. "description": "合同类型,1为采购合同 -1为销售合同",
  6018. "name": "contracttype",
  6019. "in": "query",
  6020. "required": true
  6021. },
  6022. {
  6023. "type": "integer",
  6024. "description": "合同模式,1为普通合同 2为回购销售合同",
  6025. "name": "contractmode",
  6026. "in": "query",
  6027. "required": true
  6028. },
  6029. {
  6030. "type": "integer",
  6031. "description": "状态,0为履约中 1为已完成",
  6032. "name": "status",
  6033. "in": "query",
  6034. "required": true
  6035. }
  6036. ],
  6037. "responses": {
  6038. "200": {
  6039. "description": "OK",
  6040. "schema": {
  6041. "type": "array",
  6042. "items": {
  6043. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  6044. }
  6045. }
  6046. },
  6047. "500": {
  6048. "description": "Internal Server Error",
  6049. "schema": {
  6050. "$ref": "#/definitions/app.Response"
  6051. }
  6052. }
  6053. }
  6054. }
  6055. },
  6056. "/Erms3/QueryUserInfoApplies": {
  6057. "get": {
  6058. "security": [
  6059. {
  6060. "ApiKeyAuth": []
  6061. }
  6062. ],
  6063. "produces": [
  6064. "application/json"
  6065. ],
  6066. "tags": [
  6067. "风险管理v3"
  6068. ],
  6069. "summary": "客户申请信息查询",
  6070. "parameters": [
  6071. {
  6072. "type": "integer",
  6073. "description": "页码",
  6074. "name": "page",
  6075. "in": "query"
  6076. },
  6077. {
  6078. "type": "integer",
  6079. "description": "每页条数",
  6080. "name": "pagesize",
  6081. "in": "query"
  6082. },
  6083. {
  6084. "type": "string",
  6085. "description": "客户名称,支持模糊查询",
  6086. "name": "userName",
  6087. "in": "query"
  6088. }
  6089. ],
  6090. "responses": {
  6091. "200": {
  6092. "description": "OK",
  6093. "schema": {
  6094. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6095. }
  6096. },
  6097. "500": {
  6098. "description": "Internal Server Error",
  6099. "schema": {
  6100. "$ref": "#/definitions/app.Response"
  6101. }
  6102. }
  6103. }
  6104. }
  6105. },
  6106. "/Erms3/QueryUserInfos": {
  6107. "get": {
  6108. "security": [
  6109. {
  6110. "ApiKeyAuth": []
  6111. }
  6112. ],
  6113. "produces": [
  6114. "application/json"
  6115. ],
  6116. "tags": [
  6117. "风险管理v3"
  6118. ],
  6119. "summary": "客户信息查询",
  6120. "parameters": [
  6121. {
  6122. "type": "integer",
  6123. "description": "页码",
  6124. "name": "page",
  6125. "in": "query"
  6126. },
  6127. {
  6128. "type": "integer",
  6129. "description": "每页条数",
  6130. "name": "pagesize",
  6131. "in": "query"
  6132. },
  6133. {
  6134. "type": "string",
  6135. "description": "客户名称,支持模糊查询",
  6136. "name": "userName",
  6137. "in": "query"
  6138. }
  6139. ],
  6140. "responses": {
  6141. "200": {
  6142. "description": "OK",
  6143. "schema": {
  6144. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6145. }
  6146. },
  6147. "500": {
  6148. "description": "Internal Server Error",
  6149. "schema": {
  6150. "$ref": "#/definitions/app.Response"
  6151. }
  6152. }
  6153. }
  6154. }
  6155. },
  6156. "/HSBY/GetHsbyMyCount": {
  6157. "get": {
  6158. "security": [
  6159. {
  6160. "ApiKeyAuth": []
  6161. }
  6162. ],
  6163. "description": "说明: 不包括已完成的数量。",
  6164. "produces": [
  6165. "application/json"
  6166. ],
  6167. "tags": [
  6168. "定制【海商报业】"
  6169. ],
  6170. "summary": "获取我的订单与包裹数量",
  6171. "parameters": [
  6172. {
  6173. "type": "string",
  6174. "description": "资金账户列表,格式:1,2,3",
  6175. "name": "accountIDs",
  6176. "in": "query",
  6177. "required": true
  6178. }
  6179. ],
  6180. "responses": {
  6181. "200": {
  6182. "description": "OK",
  6183. "schema": {
  6184. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6185. }
  6186. },
  6187. "500": {
  6188. "description": "Internal Server Error",
  6189. "schema": {
  6190. "$ref": "#/definitions/app.Response"
  6191. }
  6192. }
  6193. }
  6194. }
  6195. },
  6196. "/HSBY/QueryClientFixedADConfigs": {
  6197. "get": {
  6198. "security": [
  6199. {
  6200. "ApiKeyAuth": []
  6201. }
  6202. ],
  6203. "produces": [
  6204. "application/json"
  6205. ],
  6206. "tags": [
  6207. "定制【海商报业】"
  6208. ],
  6209. "summary": "获取终端固定广告配置",
  6210. "responses": {
  6211. "200": {
  6212. "description": "OK",
  6213. "schema": {
  6214. "$ref": "#/definitions/models.Clientfixedadconfig"
  6215. }
  6216. },
  6217. "500": {
  6218. "description": "Internal Server Error",
  6219. "schema": {
  6220. "$ref": "#/definitions/app.Response"
  6221. }
  6222. }
  6223. }
  6224. }
  6225. },
  6226. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6227. "get": {
  6228. "security": [
  6229. {
  6230. "ApiKeyAuth": []
  6231. }
  6232. ],
  6233. "produces": [
  6234. "application/json"
  6235. ],
  6236. "tags": [
  6237. "定制【海商报业】"
  6238. ],
  6239. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6240. "parameters": [
  6241. {
  6242. "type": "integer",
  6243. "description": "页码",
  6244. "name": "page",
  6245. "in": "query"
  6246. },
  6247. {
  6248. "type": "integer",
  6249. "description": "每页条数",
  6250. "name": "pagesize",
  6251. "in": "query"
  6252. },
  6253. {
  6254. "type": "string",
  6255. "description": "资金账户列表,格式:1,2,3",
  6256. "name": "accountIDs",
  6257. "in": "query",
  6258. "required": true
  6259. }
  6260. ],
  6261. "responses": {
  6262. "200": {
  6263. "description": "OK",
  6264. "schema": {
  6265. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6266. }
  6267. },
  6268. "500": {
  6269. "description": "Internal Server Error",
  6270. "schema": {
  6271. "$ref": "#/definitions/app.Response"
  6272. }
  6273. }
  6274. }
  6275. }
  6276. },
  6277. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6278. "get": {
  6279. "security": [
  6280. {
  6281. "ApiKeyAuth": []
  6282. }
  6283. ],
  6284. "description": "说明:查询结果已按委托价格和委托时间排序",
  6285. "produces": [
  6286. "application/json"
  6287. ],
  6288. "tags": [
  6289. "定制【海商报业】"
  6290. ],
  6291. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6292. "parameters": [
  6293. {
  6294. "type": "integer",
  6295. "description": "商品ID",
  6296. "name": "goodsID",
  6297. "in": "query",
  6298. "required": true
  6299. },
  6300. {
  6301. "type": "string",
  6302. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6303. "name": "accountIDs",
  6304. "in": "query"
  6305. },
  6306. {
  6307. "type": "integer",
  6308. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6309. "name": "buyOrSell",
  6310. "in": "query"
  6311. },
  6312. {
  6313. "type": "number",
  6314. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6315. "name": "price",
  6316. "in": "query"
  6317. },
  6318. {
  6319. "type": "integer",
  6320. "description": "档位,不传则默认为3档",
  6321. "name": "speed",
  6322. "in": "query"
  6323. }
  6324. ],
  6325. "responses": {
  6326. "200": {
  6327. "description": "OK",
  6328. "schema": {
  6329. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6330. }
  6331. },
  6332. "500": {
  6333. "description": "Internal Server Error",
  6334. "schema": {
  6335. "$ref": "#/definitions/app.Response"
  6336. }
  6337. }
  6338. }
  6339. }
  6340. },
  6341. "/HSBY/QueryHsbyListingGoodsDetail": {
  6342. "get": {
  6343. "security": [
  6344. {
  6345. "ApiKeyAuth": []
  6346. }
  6347. ],
  6348. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6349. "produces": [
  6350. "application/json"
  6351. ],
  6352. "tags": [
  6353. "定制【海商报业】"
  6354. ],
  6355. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6356. "parameters": [
  6357. {
  6358. "type": "integer",
  6359. "description": "商品ID",
  6360. "name": "goodsID",
  6361. "in": "query",
  6362. "required": true
  6363. },
  6364. {
  6365. "type": "integer",
  6366. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6367. "name": "accountID",
  6368. "in": "query"
  6369. }
  6370. ],
  6371. "responses": {
  6372. "200": {
  6373. "description": "OK",
  6374. "schema": {
  6375. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6376. }
  6377. },
  6378. "500": {
  6379. "description": "Internal Server Error",
  6380. "schema": {
  6381. "$ref": "#/definitions/app.Response"
  6382. }
  6383. }
  6384. }
  6385. }
  6386. },
  6387. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6388. "get": {
  6389. "security": [
  6390. {
  6391. "ApiKeyAuth": []
  6392. }
  6393. ],
  6394. "produces": [
  6395. "application/json"
  6396. ],
  6397. "tags": [
  6398. "定制【海商报业】"
  6399. ],
  6400. "summary": "查询三级市场(商城)商品信息详情",
  6401. "parameters": [
  6402. {
  6403. "type": "integer",
  6404. "description": "委托单号",
  6405. "name": "orderID",
  6406. "in": "query",
  6407. "required": true
  6408. },
  6409. {
  6410. "type": "integer",
  6411. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6412. "name": "accountID",
  6413. "in": "query"
  6414. }
  6415. ],
  6416. "responses": {
  6417. "200": {
  6418. "description": "OK",
  6419. "schema": {
  6420. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6421. }
  6422. },
  6423. "500": {
  6424. "description": "Internal Server Error",
  6425. "schema": {
  6426. "$ref": "#/definitions/app.Response"
  6427. }
  6428. }
  6429. }
  6430. }
  6431. },
  6432. "/HSBY/QueryHsbyMarketGoodses": {
  6433. "get": {
  6434. "security": [
  6435. {
  6436. "ApiKeyAuth": []
  6437. }
  6438. ],
  6439. "produces": [
  6440. "application/json"
  6441. ],
  6442. "tags": [
  6443. "定制【海商报业】"
  6444. ],
  6445. "summary": "查询特卖商品列表(三级商城)",
  6446. "parameters": [
  6447. {
  6448. "type": "integer",
  6449. "description": "页码",
  6450. "name": "page",
  6451. "in": "query"
  6452. },
  6453. {
  6454. "type": "integer",
  6455. "description": "每页条数",
  6456. "name": "pagesize",
  6457. "in": "query"
  6458. },
  6459. {
  6460. "type": "string",
  6461. "description": "市场ID列表,格式:1,2,3",
  6462. "name": "marketIDs",
  6463. "in": "query",
  6464. "required": true
  6465. },
  6466. {
  6467. "type": "integer",
  6468. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6469. "name": "accountID",
  6470. "in": "query",
  6471. "required": true
  6472. },
  6473. {
  6474. "type": "integer",
  6475. "description": "类别ID",
  6476. "name": "categoryID",
  6477. "in": "query"
  6478. },
  6479. {
  6480. "type": "string",
  6481. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6482. "name": "goodsIDs",
  6483. "in": "query"
  6484. },
  6485. {
  6486. "type": "integer",
  6487. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6488. "name": "couponTypeID",
  6489. "in": "query"
  6490. }
  6491. ],
  6492. "responses": {
  6493. "200": {
  6494. "description": "OK",
  6495. "schema": {
  6496. "$ref": "#/definitions/models.HsbyMarketGoods"
  6497. }
  6498. },
  6499. "500": {
  6500. "description": "Internal Server Error",
  6501. "schema": {
  6502. "$ref": "#/definitions/app.Response"
  6503. }
  6504. }
  6505. }
  6506. }
  6507. },
  6508. "/HSBY/QueryHsbyMarkets": {
  6509. "get": {
  6510. "security": [
  6511. {
  6512. "ApiKeyAuth": []
  6513. }
  6514. ],
  6515. "produces": [
  6516. "application/json"
  6517. ],
  6518. "tags": [
  6519. "定制【海商报业】"
  6520. ],
  6521. "summary": "查询海商报业相关市场信息",
  6522. "responses": {
  6523. "200": {
  6524. "description": "OK",
  6525. "schema": {
  6526. "$ref": "#/definitions/models.HsbyMarketInfo"
  6527. }
  6528. },
  6529. "500": {
  6530. "description": "Internal Server Error",
  6531. "schema": {
  6532. "$ref": "#/definitions/app.Response"
  6533. }
  6534. }
  6535. }
  6536. }
  6537. },
  6538. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6539. "get": {
  6540. "security": [
  6541. {
  6542. "ApiKeyAuth": []
  6543. }
  6544. ],
  6545. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6546. "produces": [
  6547. "application/json"
  6548. ],
  6549. "tags": [
  6550. "定制【海商报业】"
  6551. ],
  6552. "summary": "查询“我的订单”信息",
  6553. "parameters": [
  6554. {
  6555. "type": "string",
  6556. "description": "资金账户列表,格式:1,2,3",
  6557. "name": "accountIDs",
  6558. "in": "query",
  6559. "required": true
  6560. }
  6561. ],
  6562. "responses": {
  6563. "200": {
  6564. "description": "OK",
  6565. "schema": {
  6566. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6567. }
  6568. },
  6569. "500": {
  6570. "description": "Internal Server Error",
  6571. "schema": {
  6572. "$ref": "#/definitions/app.Response"
  6573. }
  6574. }
  6575. }
  6576. }
  6577. },
  6578. "/HSBY/QueryHsbyMyGoods": {
  6579. "get": {
  6580. "security": [
  6581. {
  6582. "ApiKeyAuth": []
  6583. }
  6584. ],
  6585. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6586. "produces": [
  6587. "application/json"
  6588. ],
  6589. "tags": [
  6590. "定制【海商报业】"
  6591. ],
  6592. "summary": "查询“我的商品”信息",
  6593. "parameters": [
  6594. {
  6595. "type": "string",
  6596. "description": "资金账户列表,格式:1,2,3",
  6597. "name": "accountIDs",
  6598. "in": "query",
  6599. "required": true
  6600. }
  6601. ],
  6602. "responses": {
  6603. "200": {
  6604. "description": "OK",
  6605. "schema": {
  6606. "$ref": "#/definitions/models.HsbyMyGoods"
  6607. }
  6608. },
  6609. "500": {
  6610. "description": "Internal Server Error",
  6611. "schema": {
  6612. "$ref": "#/definitions/app.Response"
  6613. }
  6614. }
  6615. }
  6616. }
  6617. },
  6618. "/HSBY/QueryHsbyMyPackages": {
  6619. "get": {
  6620. "security": [
  6621. {
  6622. "ApiKeyAuth": []
  6623. }
  6624. ],
  6625. "produces": [
  6626. "application/json"
  6627. ],
  6628. "tags": [
  6629. "定制【海商报业】"
  6630. ],
  6631. "summary": "查询我的包裹信息",
  6632. "parameters": [
  6633. {
  6634. "type": "string",
  6635. "description": "资金账户列表,格式:1,2,3",
  6636. "name": "accountIDs",
  6637. "in": "query",
  6638. "required": true
  6639. },
  6640. {
  6641. "type": "integer",
  6642. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6643. "name": "takeOrderStatus",
  6644. "in": "query"
  6645. }
  6646. ],
  6647. "responses": {
  6648. "200": {
  6649. "description": "OK",
  6650. "schema": {
  6651. "$ref": "#/definitions/models.HsbyMyPackage"
  6652. }
  6653. },
  6654. "500": {
  6655. "description": "Internal Server Error",
  6656. "schema": {
  6657. "$ref": "#/definitions/app.Response"
  6658. }
  6659. }
  6660. }
  6661. }
  6662. },
  6663. "/HSBY/QueryHsbyPreGoodsDetail": {
  6664. "get": {
  6665. "security": [
  6666. {
  6667. "ApiKeyAuth": []
  6668. }
  6669. ],
  6670. "produces": [
  6671. "application/json"
  6672. ],
  6673. "tags": [
  6674. "定制【海商报业】"
  6675. ],
  6676. "summary": "查询一级市场(预售)商品信息详情",
  6677. "parameters": [
  6678. {
  6679. "type": "integer",
  6680. "description": "商品ID",
  6681. "name": "goodsID",
  6682. "in": "query",
  6683. "required": true
  6684. },
  6685. {
  6686. "type": "integer",
  6687. "description": "资金账户,主要用于获取预售商品购买上限",
  6688. "name": "accountID",
  6689. "in": "query"
  6690. }
  6691. ],
  6692. "responses": {
  6693. "200": {
  6694. "description": "OK",
  6695. "schema": {
  6696. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6697. }
  6698. },
  6699. "500": {
  6700. "description": "Internal Server Error",
  6701. "schema": {
  6702. "$ref": "#/definitions/app.Response"
  6703. }
  6704. }
  6705. }
  6706. }
  6707. },
  6708. "/HSBY/QueryHsbyPreGoodses": {
  6709. "get": {
  6710. "security": [
  6711. {
  6712. "ApiKeyAuth": []
  6713. }
  6714. ],
  6715. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6716. "produces": [
  6717. "application/json"
  6718. ],
  6719. "tags": [
  6720. "定制【海商报业】"
  6721. ],
  6722. "summary": "查询新品上市商品列表(一级市场预售)",
  6723. "parameters": [
  6724. {
  6725. "type": "integer",
  6726. "description": "页码",
  6727. "name": "page",
  6728. "in": "query"
  6729. },
  6730. {
  6731. "type": "integer",
  6732. "description": "每页条数",
  6733. "name": "pagesize",
  6734. "in": "query"
  6735. },
  6736. {
  6737. "type": "string",
  6738. "description": "市场ID列表,格式:1,2,3",
  6739. "name": "marketIDs",
  6740. "in": "query",
  6741. "required": true
  6742. },
  6743. {
  6744. "type": "integer",
  6745. "description": "目的地(省)ID",
  6746. "name": "descProvinceID",
  6747. "in": "query"
  6748. },
  6749. {
  6750. "type": "integer",
  6751. "description": "目的地(市)ID",
  6752. "name": "descCityID",
  6753. "in": "query"
  6754. }
  6755. ],
  6756. "responses": {
  6757. "200": {
  6758. "description": "OK",
  6759. "schema": {
  6760. "$ref": "#/definitions/models.HsbyPreGoods"
  6761. }
  6762. },
  6763. "500": {
  6764. "description": "Internal Server Error",
  6765. "schema": {
  6766. "$ref": "#/definitions/app.Response"
  6767. }
  6768. }
  6769. }
  6770. }
  6771. },
  6772. "/HSBY/QueryHsbySellMyDetails": {
  6773. "get": {
  6774. "security": [
  6775. {
  6776. "ApiKeyAuth": []
  6777. }
  6778. ],
  6779. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6780. "produces": [
  6781. "application/json"
  6782. ],
  6783. "tags": [
  6784. "定制【海商报业】"
  6785. ],
  6786. "summary": "查询\"我的闲置\"单据信息",
  6787. "parameters": [
  6788. {
  6789. "type": "integer",
  6790. "description": "页码",
  6791. "name": "page",
  6792. "in": "query"
  6793. },
  6794. {
  6795. "type": "integer",
  6796. "description": "每页条数",
  6797. "name": "pagesize",
  6798. "in": "query"
  6799. },
  6800. {
  6801. "type": "string",
  6802. "description": "资金账户列表,格式:1,2,3",
  6803. "name": "accountIDs",
  6804. "in": "query",
  6805. "required": true
  6806. },
  6807. {
  6808. "type": "integer",
  6809. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6810. "name": "orderType",
  6811. "in": "query"
  6812. }
  6813. ],
  6814. "responses": {
  6815. "200": {
  6816. "description": "OK",
  6817. "schema": {
  6818. "$ref": "#/definitions/models.HsbySellMyDetail"
  6819. }
  6820. },
  6821. "500": {
  6822. "description": "Internal Server Error",
  6823. "schema": {
  6824. "$ref": "#/definitions/app.Response"
  6825. }
  6826. }
  6827. }
  6828. }
  6829. },
  6830. "/HSBY/QueryHsbyTopGoodses": {
  6831. "get": {
  6832. "security": [
  6833. {
  6834. "ApiKeyAuth": []
  6835. }
  6836. ],
  6837. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6838. "produces": [
  6839. "application/json"
  6840. ],
  6841. "tags": [
  6842. "定制【海商报业】"
  6843. ],
  6844. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6845. "parameters": [
  6846. {
  6847. "type": "integer",
  6848. "description": "页码",
  6849. "name": "page",
  6850. "in": "query"
  6851. },
  6852. {
  6853. "type": "integer",
  6854. "description": "每页条数",
  6855. "name": "pagesize",
  6856. "in": "query"
  6857. },
  6858. {
  6859. "type": "string",
  6860. "description": "市场ID列表,格式:1,2,3",
  6861. "name": "marketIDs",
  6862. "in": "query",
  6863. "required": true
  6864. },
  6865. {
  6866. "type": "integer",
  6867. "description": "目的地(省)ID",
  6868. "name": "descProvinceID",
  6869. "in": "query"
  6870. },
  6871. {
  6872. "type": "integer",
  6873. "description": "目的地(市)ID",
  6874. "name": "descCityID",
  6875. "in": "query"
  6876. }
  6877. ],
  6878. "responses": {
  6879. "200": {
  6880. "description": "OK",
  6881. "schema": {
  6882. "$ref": "#/definitions/models.HsbyTopGoods"
  6883. }
  6884. },
  6885. "500": {
  6886. "description": "Internal Server Error",
  6887. "schema": {
  6888. "$ref": "#/definitions/app.Response"
  6889. }
  6890. }
  6891. }
  6892. }
  6893. },
  6894. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6895. "get": {
  6896. "security": [
  6897. {
  6898. "ApiKeyAuth": []
  6899. }
  6900. ],
  6901. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6902. "produces": [
  6903. "application/json"
  6904. ],
  6905. "tags": [
  6906. "定制【海商报业】"
  6907. ],
  6908. "summary": "查询游客三级市场(商城)商品信息详情",
  6909. "parameters": [
  6910. {
  6911. "type": "integer",
  6912. "description": "商品ID",
  6913. "name": "goodsID",
  6914. "in": "query",
  6915. "required": true
  6916. }
  6917. ],
  6918. "responses": {
  6919. "200": {
  6920. "description": "OK",
  6921. "schema": {
  6922. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6923. }
  6924. },
  6925. "500": {
  6926. "description": "Internal Server Error",
  6927. "schema": {
  6928. "$ref": "#/definitions/app.Response"
  6929. }
  6930. }
  6931. }
  6932. }
  6933. },
  6934. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6935. "get": {
  6936. "security": [
  6937. {
  6938. "ApiKeyAuth": []
  6939. }
  6940. ],
  6941. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6942. "produces": [
  6943. "application/json"
  6944. ],
  6945. "tags": [
  6946. "定制【海商报业】"
  6947. ],
  6948. "summary": "查询游客特卖商品列表(三级商城)",
  6949. "parameters": [
  6950. {
  6951. "type": "integer",
  6952. "description": "页码",
  6953. "name": "page",
  6954. "in": "query"
  6955. },
  6956. {
  6957. "type": "integer",
  6958. "description": "每页条数",
  6959. "name": "pagesize",
  6960. "in": "query"
  6961. },
  6962. {
  6963. "type": "string",
  6964. "description": "市场ID列表,格式:1,2,3",
  6965. "name": "marketIDs",
  6966. "in": "query",
  6967. "required": true
  6968. },
  6969. {
  6970. "type": "integer",
  6971. "description": "类别ID",
  6972. "name": "categoryID",
  6973. "in": "query"
  6974. },
  6975. {
  6976. "type": "string",
  6977. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6978. "name": "goodsIDs",
  6979. "in": "query"
  6980. }
  6981. ],
  6982. "responses": {
  6983. "200": {
  6984. "description": "OK",
  6985. "schema": {
  6986. "$ref": "#/definitions/models.HsbyMarketGoods"
  6987. }
  6988. },
  6989. "500": {
  6990. "description": "Internal Server Error",
  6991. "schema": {
  6992. "$ref": "#/definitions/app.Response"
  6993. }
  6994. }
  6995. }
  6996. }
  6997. },
  6998. "/HSBY/QueryMyCollectionOrders": {
  6999. "get": {
  7000. "security": [
  7001. {
  7002. "ApiKeyAuth": []
  7003. }
  7004. ],
  7005. "produces": [
  7006. "application/json"
  7007. ],
  7008. "tags": [
  7009. "定制【海商报业】"
  7010. ],
  7011. "summary": "我的闲置中收款信息查询",
  7012. "parameters": [
  7013. {
  7014. "type": "integer",
  7015. "description": "页码",
  7016. "name": "page",
  7017. "in": "query"
  7018. },
  7019. {
  7020. "type": "integer",
  7021. "description": "每页条数",
  7022. "name": "pagesize",
  7023. "in": "query"
  7024. },
  7025. {
  7026. "type": "string",
  7027. "description": "资金账户,格式:1,2,3",
  7028. "name": "accountIDs",
  7029. "in": "query",
  7030. "required": true
  7031. }
  7032. ],
  7033. "responses": {
  7034. "200": {
  7035. "description": "OK",
  7036. "schema": {
  7037. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  7038. }
  7039. },
  7040. "500": {
  7041. "description": "Internal Server Error",
  7042. "schema": {
  7043. "$ref": "#/definitions/app.Response"
  7044. }
  7045. }
  7046. }
  7047. }
  7048. },
  7049. "/HSBY/QueryMyCouponHolds": {
  7050. "get": {
  7051. "security": [
  7052. {
  7053. "ApiKeyAuth": []
  7054. }
  7055. ],
  7056. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  7057. "produces": [
  7058. "application/json"
  7059. ],
  7060. "tags": [
  7061. "定制【海商报业】"
  7062. ],
  7063. "summary": "我的优惠卷持仓查询",
  7064. "parameters": [
  7065. {
  7066. "type": "string",
  7067. "description": "资金账户列表,格式:1,2,3",
  7068. "name": "accountIDs",
  7069. "in": "query",
  7070. "required": true
  7071. },
  7072. {
  7073. "type": "string",
  7074. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  7075. "name": "holdStatus",
  7076. "in": "query"
  7077. }
  7078. ],
  7079. "responses": {
  7080. "200": {
  7081. "description": "OK",
  7082. "schema": {
  7083. "$ref": "#/definitions/models.MyCouponHold"
  7084. }
  7085. },
  7086. "500": {
  7087. "description": "Internal Server Error",
  7088. "schema": {
  7089. "$ref": "#/definitions/app.Response"
  7090. }
  7091. }
  7092. }
  7093. }
  7094. },
  7095. "/HSBY/QueryMyCoupons": {
  7096. "get": {
  7097. "security": [
  7098. {
  7099. "ApiKeyAuth": []
  7100. }
  7101. ],
  7102. "produces": [
  7103. "application/json"
  7104. ],
  7105. "tags": [
  7106. "定制【海商报业】"
  7107. ],
  7108. "summary": "我的优惠卷查询",
  7109. "parameters": [
  7110. {
  7111. "type": "string",
  7112. "description": "资金账户列表,格式:1,2,3",
  7113. "name": "accountIDs",
  7114. "in": "query",
  7115. "required": true
  7116. },
  7117. {
  7118. "type": "integer",
  7119. "description": "商品ID, 一般与sellUserID配套传入",
  7120. "name": "goodsID",
  7121. "in": "query"
  7122. },
  7123. {
  7124. "type": "integer",
  7125. "description": "卖方UserID",
  7126. "name": "sellUserID",
  7127. "in": "query"
  7128. }
  7129. ],
  7130. "responses": {
  7131. "200": {
  7132. "description": "OK",
  7133. "schema": {
  7134. "$ref": "#/definitions/models.MyCoupon"
  7135. }
  7136. },
  7137. "500": {
  7138. "description": "Internal Server Error",
  7139. "schema": {
  7140. "$ref": "#/definitions/app.Response"
  7141. }
  7142. }
  7143. }
  7144. }
  7145. },
  7146. "/HSBY/QueryMyPayOrders": {
  7147. "get": {
  7148. "security": [
  7149. {
  7150. "ApiKeyAuth": []
  7151. }
  7152. ],
  7153. "produces": [
  7154. "application/json"
  7155. ],
  7156. "tags": [
  7157. "定制【海商报业】"
  7158. ],
  7159. "summary": "获取我的订单中待付款信息",
  7160. "parameters": [
  7161. {
  7162. "type": "integer",
  7163. "description": "页码",
  7164. "name": "page",
  7165. "in": "query"
  7166. },
  7167. {
  7168. "type": "integer",
  7169. "description": "每页条数",
  7170. "name": "pagesize",
  7171. "in": "query"
  7172. },
  7173. {
  7174. "type": "string",
  7175. "description": "资金账户列表,格式:1,2,3",
  7176. "name": "accountIDs",
  7177. "in": "query",
  7178. "required": true
  7179. },
  7180. {
  7181. "type": "integer",
  7182. "description": "买方委托单号",
  7183. "name": "buyOrderID",
  7184. "in": "query"
  7185. },
  7186. {
  7187. "type": "integer",
  7188. "description": "卖方委托单号",
  7189. "name": "sellOrderID",
  7190. "in": "query"
  7191. }
  7192. ],
  7193. "responses": {
  7194. "200": {
  7195. "description": "OK",
  7196. "schema": {
  7197. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7198. }
  7199. },
  7200. "500": {
  7201. "description": "Internal Server Error",
  7202. "schema": {
  7203. "$ref": "#/definitions/app.Response"
  7204. }
  7205. }
  7206. }
  7207. }
  7208. },
  7209. "/HSBY/QueryMyUsedCoupon": {
  7210. "get": {
  7211. "security": [
  7212. {
  7213. "ApiKeyAuth": []
  7214. }
  7215. ],
  7216. "produces": [
  7217. "application/json"
  7218. ],
  7219. "tags": [
  7220. "定制【海商报业】"
  7221. ],
  7222. "summary": "已使用优惠卷查询",
  7223. "parameters": [
  7224. {
  7225. "type": "string",
  7226. "description": "资金账户列表,格式:1,2,3",
  7227. "name": "accountIDs",
  7228. "in": "query",
  7229. "required": true
  7230. }
  7231. ],
  7232. "responses": {
  7233. "200": {
  7234. "description": "OK",
  7235. "schema": {
  7236. "$ref": "#/definitions/models.MyUsedCoupon"
  7237. }
  7238. },
  7239. "500": {
  7240. "description": "Internal Server Error",
  7241. "schema": {
  7242. "$ref": "#/definitions/app.Response"
  7243. }
  7244. }
  7245. }
  7246. }
  7247. },
  7248. "/HSBY/QueryProvincesAndCities": {
  7249. "get": {
  7250. "security": [
  7251. {
  7252. "ApiKeyAuth": []
  7253. }
  7254. ],
  7255. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7256. "produces": [
  7257. "application/json"
  7258. ],
  7259. "tags": [
  7260. "定制【海商报业】"
  7261. ],
  7262. "summary": "查询省市信息(不包括区)",
  7263. "parameters": [
  7264. {
  7265. "type": "integer",
  7266. "description": "省ID",
  7267. "name": "provinceID",
  7268. "in": "query"
  7269. }
  7270. ],
  7271. "responses": {
  7272. "200": {
  7273. "description": "OK",
  7274. "schema": {
  7275. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7276. }
  7277. },
  7278. "500": {
  7279. "description": "Internal Server Error",
  7280. "schema": {
  7281. "$ref": "#/definitions/app.Response"
  7282. }
  7283. }
  7284. }
  7285. }
  7286. },
  7287. "/HSBY/SetHsbyMyPackagesStatus": {
  7288. "post": {
  7289. "security": [
  7290. {
  7291. "ApiKeyAuth": []
  7292. }
  7293. ],
  7294. "produces": [
  7295. "application/json"
  7296. ],
  7297. "tags": [
  7298. "定制【海商报业】"
  7299. ],
  7300. "summary": "设置我的包裹已收货状态",
  7301. "parameters": [
  7302. {
  7303. "type": "string",
  7304. "description": "提货单号",
  7305. "name": "takeOrderID",
  7306. "in": "query",
  7307. "required": true
  7308. },
  7309. {
  7310. "type": "integer",
  7311. "description": "资金账号",
  7312. "name": "accountID",
  7313. "in": "query",
  7314. "required": true
  7315. }
  7316. ],
  7317. "responses": {
  7318. "200": {
  7319. "description": "OK",
  7320. "schema": {
  7321. "$ref": "#/definitions/app.Response"
  7322. }
  7323. },
  7324. "500": {
  7325. "description": "Internal Server Error",
  7326. "schema": {
  7327. "$ref": "#/definitions/app.Response"
  7328. }
  7329. }
  7330. }
  7331. }
  7332. },
  7333. "/Market/GetAllExExchanges": {
  7334. "get": {
  7335. "security": [
  7336. {
  7337. "ApiKeyAuth": []
  7338. }
  7339. ],
  7340. "produces": [
  7341. "application/json"
  7342. ],
  7343. "tags": [
  7344. "通用市场"
  7345. ],
  7346. "summary": "获取所有外部交易所信息",
  7347. "responses": {
  7348. "200": {
  7349. "description": "OK",
  7350. "schema": {
  7351. "$ref": "#/definitions/models.Goods"
  7352. }
  7353. },
  7354. "500": {
  7355. "description": "Internal Server Error",
  7356. "schema": {
  7357. "$ref": "#/definitions/app.Response"
  7358. }
  7359. }
  7360. }
  7361. }
  7362. },
  7363. "/Market/QueryGoodsesByLoginID": {
  7364. "get": {
  7365. "security": [
  7366. {
  7367. "ApiKeyAuth": []
  7368. }
  7369. ],
  7370. "produces": [
  7371. "application/json"
  7372. ],
  7373. "tags": [
  7374. "通用市场"
  7375. ],
  7376. "summary": "获取登录账号有权限的商品信息",
  7377. "parameters": [
  7378. {
  7379. "type": "integer",
  7380. "description": "登录账号",
  7381. "name": "loginID",
  7382. "in": "query",
  7383. "required": true
  7384. },
  7385. {
  7386. "type": "string",
  7387. "description": "市场ID列表,格式:1,2,3",
  7388. "name": "marketIDs",
  7389. "in": "query"
  7390. }
  7391. ],
  7392. "responses": {
  7393. "200": {
  7394. "description": "OK",
  7395. "schema": {
  7396. "$ref": "#/definitions/models.Goods"
  7397. }
  7398. },
  7399. "500": {
  7400. "description": "Internal Server Error",
  7401. "schema": {
  7402. "$ref": "#/definitions/app.Response"
  7403. }
  7404. }
  7405. }
  7406. }
  7407. },
  7408. "/Market/QueryMarketRun": {
  7409. "get": {
  7410. "security": [
  7411. {
  7412. "ApiKeyAuth": []
  7413. }
  7414. ],
  7415. "produces": [
  7416. "application/json"
  7417. ],
  7418. "tags": [
  7419. "通用市场"
  7420. ],
  7421. "summary": "查询市场运行信息",
  7422. "parameters": [
  7423. {
  7424. "type": "integer",
  7425. "description": "市场ID,不传返回所有",
  7426. "name": "marketID",
  7427. "in": "query"
  7428. }
  7429. ],
  7430. "responses": {
  7431. "200": {
  7432. "description": "OK",
  7433. "schema": {
  7434. "$ref": "#/definitions/models.Marketrun"
  7435. }
  7436. },
  7437. "500": {
  7438. "description": "Internal Server Error",
  7439. "schema": {
  7440. "$ref": "#/definitions/app.Response"
  7441. }
  7442. }
  7443. }
  7444. }
  7445. },
  7446. "/Market/QueryMarketsByLoginID": {
  7447. "get": {
  7448. "security": [
  7449. {
  7450. "ApiKeyAuth": []
  7451. }
  7452. ],
  7453. "produces": [
  7454. "application/json"
  7455. ],
  7456. "tags": [
  7457. "通用市场"
  7458. ],
  7459. "summary": "获取登录账号有权限的市场信息",
  7460. "parameters": [
  7461. {
  7462. "type": "integer",
  7463. "description": "登录账号",
  7464. "name": "loginID",
  7465. "in": "query",
  7466. "required": true
  7467. }
  7468. ],
  7469. "responses": {
  7470. "200": {
  7471. "description": "OK",
  7472. "schema": {
  7473. "$ref": "#/definitions/models.Market"
  7474. }
  7475. },
  7476. "500": {
  7477. "description": "Internal Server Error",
  7478. "schema": {
  7479. "$ref": "#/definitions/app.Response"
  7480. }
  7481. }
  7482. }
  7483. }
  7484. },
  7485. "/Order/QueryHisTradeDetail": {
  7486. "get": {
  7487. "security": [
  7488. {
  7489. "ApiKeyAuth": []
  7490. }
  7491. ],
  7492. "produces": [
  7493. "application/json"
  7494. ],
  7495. "tags": [
  7496. "通用单据"
  7497. ],
  7498. "summary": "历史成交单查询(合约市场)",
  7499. "parameters": [
  7500. {
  7501. "type": "string",
  7502. "description": "资金账户 - 格式:1,2,3",
  7503. "name": "accountID",
  7504. "in": "query",
  7505. "required": true
  7506. },
  7507. {
  7508. "type": "integer",
  7509. "description": "成交单号",
  7510. "name": "tradeID",
  7511. "in": "query"
  7512. },
  7513. {
  7514. "type": "integer",
  7515. "description": "委托单号",
  7516. "name": "orderID",
  7517. "in": "query"
  7518. },
  7519. {
  7520. "type": "integer",
  7521. "description": "商品ID",
  7522. "name": "goodsID",
  7523. "in": "query"
  7524. },
  7525. {
  7526. "type": "string",
  7527. "description": "交易模式 - 格式:1,2,3",
  7528. "name": "tradeMode",
  7529. "in": "query"
  7530. },
  7531. {
  7532. "type": "integer",
  7533. "description": "委托单据类型",
  7534. "name": "buildType",
  7535. "in": "query"
  7536. },
  7537. {
  7538. "type": "string",
  7539. "description": "成交类别 - 格式:1,2,3",
  7540. "name": "tradeType",
  7541. "in": "query"
  7542. },
  7543. {
  7544. "type": "string",
  7545. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7546. "name": "startDate",
  7547. "in": "query"
  7548. },
  7549. {
  7550. "type": "string",
  7551. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7552. "name": "endDate",
  7553. "in": "query"
  7554. }
  7555. ],
  7556. "responses": {
  7557. "200": {
  7558. "description": "OK",
  7559. "schema": {
  7560. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7561. }
  7562. },
  7563. "500": {
  7564. "description": "Internal Server Error",
  7565. "schema": {
  7566. "$ref": "#/definitions/app.Response"
  7567. }
  7568. }
  7569. }
  7570. }
  7571. },
  7572. "/Order/QueryHisTradeOrderDetail": {
  7573. "get": {
  7574. "security": [
  7575. {
  7576. "ApiKeyAuth": []
  7577. }
  7578. ],
  7579. "produces": [
  7580. "application/json"
  7581. ],
  7582. "tags": [
  7583. "通用单据"
  7584. ],
  7585. "summary": "历史委托单查询请求(合约市场)",
  7586. "parameters": [
  7587. {
  7588. "type": "string",
  7589. "description": "资金账户 - 格式:1,2,3",
  7590. "name": "accountID",
  7591. "in": "query",
  7592. "required": true
  7593. },
  7594. {
  7595. "type": "string",
  7596. "description": "交易模式 - 格式:1,2,3",
  7597. "name": "tradeMode",
  7598. "in": "query"
  7599. },
  7600. {
  7601. "type": "string",
  7602. "description": "委托状态 - 格式:1,2,3",
  7603. "name": "orderStatus",
  7604. "in": "query"
  7605. },
  7606. {
  7607. "type": "integer",
  7608. "description": "委托单号",
  7609. "name": "orderID",
  7610. "in": "query"
  7611. },
  7612. {
  7613. "type": "string",
  7614. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7615. "name": "startDate",
  7616. "in": "query"
  7617. },
  7618. {
  7619. "type": "string",
  7620. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7621. "name": "endDate",
  7622. "in": "query"
  7623. }
  7624. ],
  7625. "responses": {
  7626. "200": {
  7627. "description": "OK",
  7628. "schema": {
  7629. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7630. }
  7631. },
  7632. "500": {
  7633. "description": "Internal Server Error",
  7634. "schema": {
  7635. "$ref": "#/definitions/app.Response"
  7636. }
  7637. }
  7638. }
  7639. }
  7640. },
  7641. "/Order/QueryTradeDetail": {
  7642. "get": {
  7643. "security": [
  7644. {
  7645. "ApiKeyAuth": []
  7646. }
  7647. ],
  7648. "produces": [
  7649. "application/json"
  7650. ],
  7651. "tags": [
  7652. "通用单据"
  7653. ],
  7654. "summary": "成交单查询(合约市场)",
  7655. "parameters": [
  7656. {
  7657. "type": "string",
  7658. "description": "资金账户 - 格式:1,2,3",
  7659. "name": "accountID",
  7660. "in": "query",
  7661. "required": true
  7662. },
  7663. {
  7664. "type": "integer",
  7665. "description": "成交单号",
  7666. "name": "tradeID",
  7667. "in": "query"
  7668. },
  7669. {
  7670. "type": "integer",
  7671. "description": "委托单号",
  7672. "name": "orderID",
  7673. "in": "query"
  7674. },
  7675. {
  7676. "type": "string",
  7677. "description": "交易模式 - 格式:1,2,3",
  7678. "name": "tradeMode",
  7679. "in": "query"
  7680. },
  7681. {
  7682. "type": "integer",
  7683. "description": "委托单据类型",
  7684. "name": "buildType",
  7685. "in": "query"
  7686. },
  7687. {
  7688. "type": "string",
  7689. "description": "成交类别 - 格式:1,2,3",
  7690. "name": "tradeType",
  7691. "in": "query"
  7692. },
  7693. {
  7694. "type": "integer",
  7695. "description": "商品ID",
  7696. "name": "goodsID",
  7697. "in": "query"
  7698. }
  7699. ],
  7700. "responses": {
  7701. "200": {
  7702. "description": "OK",
  7703. "schema": {
  7704. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7705. }
  7706. },
  7707. "500": {
  7708. "description": "Internal Server Error",
  7709. "schema": {
  7710. "$ref": "#/definitions/app.Response"
  7711. }
  7712. }
  7713. }
  7714. }
  7715. },
  7716. "/Order/QueryTradeHolderDetail": {
  7717. "get": {
  7718. "security": [
  7719. {
  7720. "ApiKeyAuth": []
  7721. }
  7722. ],
  7723. "produces": [
  7724. "application/json"
  7725. ],
  7726. "tags": [
  7727. "通用单据"
  7728. ],
  7729. "summary": "查询持仓明细",
  7730. "parameters": [
  7731. {
  7732. "type": "integer",
  7733. "description": "用户id",
  7734. "name": "userid",
  7735. "in": "query"
  7736. },
  7737. {
  7738. "type": "string",
  7739. "description": "资金账号, 格式 1,2,3",
  7740. "name": "accids",
  7741. "in": "query"
  7742. },
  7743. {
  7744. "type": "string",
  7745. "description": "交易模式, 格式 1,2,3",
  7746. "name": "trademodes",
  7747. "in": "query"
  7748. },
  7749. {
  7750. "type": "string",
  7751. "description": "市场id, 格式 1,2,3",
  7752. "name": "marketids",
  7753. "in": "query"
  7754. },
  7755. {
  7756. "type": "integer",
  7757. "description": "商品id",
  7758. "name": "goodsid",
  7759. "in": "query"
  7760. },
  7761. {
  7762. "type": "integer",
  7763. "description": "买卖方向 0-买 1-卖",
  7764. "name": "buyorsell",
  7765. "in": "query"
  7766. }
  7767. ],
  7768. "responses": {
  7769. "200": {
  7770. "description": "OK",
  7771. "schema": {
  7772. "type": "array",
  7773. "items": {
  7774. "$ref": "#/definitions/models.TradeHolderDetail"
  7775. }
  7776. }
  7777. },
  7778. "500": {
  7779. "description": "Internal Server Error",
  7780. "schema": {
  7781. "$ref": "#/definitions/app.Response"
  7782. }
  7783. }
  7784. }
  7785. }
  7786. },
  7787. "/Order/QueryTradeOrderDetail": {
  7788. "get": {
  7789. "security": [
  7790. {
  7791. "ApiKeyAuth": []
  7792. }
  7793. ],
  7794. "produces": [
  7795. "application/json"
  7796. ],
  7797. "tags": [
  7798. "通用单据"
  7799. ],
  7800. "summary": "委托单查询请求(合约市场)",
  7801. "parameters": [
  7802. {
  7803. "type": "string",
  7804. "description": "资金账户 - 格式:1,2,3",
  7805. "name": "accountID",
  7806. "in": "query",
  7807. "required": true
  7808. },
  7809. {
  7810. "type": "string",
  7811. "description": "交易模式 - 格式:1,2,3",
  7812. "name": "tradeMode",
  7813. "in": "query"
  7814. },
  7815. {
  7816. "type": "string",
  7817. "description": "委托状态 - 格式:1,2,3",
  7818. "name": "orderStatus",
  7819. "in": "query"
  7820. },
  7821. {
  7822. "type": "integer",
  7823. "description": "委托单号",
  7824. "name": "orderID",
  7825. "in": "query"
  7826. }
  7827. ],
  7828. "responses": {
  7829. "200": {
  7830. "description": "OK",
  7831. "schema": {
  7832. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7833. }
  7834. },
  7835. "500": {
  7836. "description": "Internal Server Error",
  7837. "schema": {
  7838. "$ref": "#/definitions/app.Response"
  7839. }
  7840. }
  7841. }
  7842. }
  7843. },
  7844. "/Order/QueryTradePosition": {
  7845. "get": {
  7846. "security": [
  7847. {
  7848. "ApiKeyAuth": []
  7849. }
  7850. ],
  7851. "produces": [
  7852. "application/json"
  7853. ],
  7854. "tags": [
  7855. "通用单据"
  7856. ],
  7857. "summary": "持仓汇总查询(合约市场)",
  7858. "parameters": [
  7859. {
  7860. "type": "string",
  7861. "description": "资金账户 - 格式:1,2,3",
  7862. "name": "accountID",
  7863. "in": "query",
  7864. "required": true
  7865. },
  7866. {
  7867. "type": "string",
  7868. "description": "交易模式 - 格式:1,2,3",
  7869. "name": "tradeMode",
  7870. "in": "query"
  7871. }
  7872. ],
  7873. "responses": {
  7874. "200": {
  7875. "description": "OK",
  7876. "schema": {
  7877. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7878. }
  7879. },
  7880. "500": {
  7881. "description": "Internal Server Error",
  7882. "schema": {
  7883. "$ref": "#/definitions/app.Response"
  7884. }
  7885. }
  7886. }
  7887. }
  7888. },
  7889. "/Qhj/QueryAccountInOutApply": {
  7890. "get": {
  7891. "security": [
  7892. {
  7893. "ApiKeyAuth": []
  7894. }
  7895. ],
  7896. "produces": [
  7897. "application/json"
  7898. ],
  7899. "tags": [
  7900. "大连千海金"
  7901. ],
  7902. "summary": "查询充值提现",
  7903. "parameters": [
  7904. {
  7905. "type": "integer",
  7906. "description": "用户ID",
  7907. "name": "userid",
  7908. "in": "query",
  7909. "required": true
  7910. },
  7911. {
  7912. "type": "string",
  7913. "description": "申请起始日期(格式yyyymmdd)",
  7914. "name": "begindate",
  7915. "in": "query"
  7916. },
  7917. {
  7918. "type": "string",
  7919. "description": "申请截止日期(格式yyyymmdd)",
  7920. "name": "enddate",
  7921. "in": "query"
  7922. },
  7923. {
  7924. "type": "string",
  7925. "description": "模糊搜索名称",
  7926. "name": "likename",
  7927. "in": "query"
  7928. }
  7929. ],
  7930. "responses": {
  7931. "200": {
  7932. "description": "OK",
  7933. "schema": {
  7934. "type": "array",
  7935. "items": {
  7936. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7937. }
  7938. }
  7939. },
  7940. "500": {
  7941. "description": "Internal Server Error",
  7942. "schema": {
  7943. "$ref": "#/definitions/app.Response"
  7944. }
  7945. }
  7946. }
  7947. }
  7948. },
  7949. "/Qhj/QueryAreaFinanceConfig": {
  7950. "get": {
  7951. "security": [
  7952. {
  7953. "ApiKeyAuth": []
  7954. }
  7955. ],
  7956. "produces": [
  7957. "application/json"
  7958. ],
  7959. "tags": [
  7960. "大连千海金"
  7961. ],
  7962. "summary": "查询企业配置表",
  7963. "parameters": [
  7964. {
  7965. "type": "integer",
  7966. "description": "机构用户ID 其他做市关系,都设置为 1",
  7967. "name": "userid",
  7968. "in": "query"
  7969. }
  7970. ],
  7971. "responses": {
  7972. "200": {
  7973. "description": "OK",
  7974. "schema": {
  7975. "type": "array",
  7976. "items": {
  7977. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  7978. }
  7979. }
  7980. },
  7981. "500": {
  7982. "description": "Internal Server Error",
  7983. "schema": {
  7984. "$ref": "#/definitions/app.Response"
  7985. }
  7986. }
  7987. }
  7988. }
  7989. },
  7990. "/Qhj/QueryBankAccountSign": {
  7991. "get": {
  7992. "security": [
  7993. {
  7994. "ApiKeyAuth": []
  7995. }
  7996. ],
  7997. "produces": [
  7998. "application/json"
  7999. ],
  8000. "tags": [
  8001. "大连千海金"
  8002. ],
  8003. "summary": "查询签约银行信息(提现账户管理)",
  8004. "parameters": [
  8005. {
  8006. "type": "integer",
  8007. "description": "用户ID",
  8008. "name": "userid",
  8009. "in": "query",
  8010. "required": true
  8011. }
  8012. ],
  8013. "responses": {
  8014. "200": {
  8015. "description": "OK",
  8016. "schema": {
  8017. "type": "array",
  8018. "items": {
  8019. "$ref": "#/definitions/models.QhjBankAccountSign"
  8020. }
  8021. }
  8022. },
  8023. "500": {
  8024. "description": "Internal Server Error",
  8025. "schema": {
  8026. "$ref": "#/definitions/app.Response"
  8027. }
  8028. }
  8029. }
  8030. }
  8031. },
  8032. "/Qhj/QueryBankInfo": {
  8033. "get": {
  8034. "security": [
  8035. {
  8036. "ApiKeyAuth": []
  8037. }
  8038. ],
  8039. "produces": [
  8040. "application/json"
  8041. ],
  8042. "tags": [
  8043. "大连千海金"
  8044. ],
  8045. "summary": "查询开户行",
  8046. "responses": {
  8047. "200": {
  8048. "description": "OK",
  8049. "schema": {
  8050. "type": "array",
  8051. "items": {
  8052. "$ref": "#/definitions/models.QhjBankInfo"
  8053. }
  8054. }
  8055. },
  8056. "500": {
  8057. "description": "Internal Server Error",
  8058. "schema": {
  8059. "$ref": "#/definitions/app.Response"
  8060. }
  8061. }
  8062. }
  8063. }
  8064. },
  8065. "/Qhj/QueryBrokerApply": {
  8066. "get": {
  8067. "security": [
  8068. {
  8069. "ApiKeyAuth": []
  8070. }
  8071. ],
  8072. "produces": [
  8073. "application/json"
  8074. ],
  8075. "tags": [
  8076. "大连千海金"
  8077. ],
  8078. "summary": "查询经纪人申请",
  8079. "parameters": [
  8080. {
  8081. "type": "integer",
  8082. "description": "所属机构ID",
  8083. "name": "userid",
  8084. "in": "query"
  8085. },
  8086. {
  8087. "type": "string",
  8088. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8089. "name": "filterstatus",
  8090. "in": "query"
  8091. }
  8092. ],
  8093. "responses": {
  8094. "200": {
  8095. "description": "OK",
  8096. "schema": {
  8097. "type": "array",
  8098. "items": {
  8099. "$ref": "#/definitions/models.QhjBrokerApply"
  8100. }
  8101. }
  8102. },
  8103. "500": {
  8104. "description": "Internal Server Error",
  8105. "schema": {
  8106. "$ref": "#/definitions/app.Response"
  8107. }
  8108. }
  8109. }
  8110. }
  8111. },
  8112. "/Qhj/QueryBrokerApplyEx": {
  8113. "get": {
  8114. "security": [
  8115. {
  8116. "ApiKeyAuth": []
  8117. }
  8118. ],
  8119. "produces": [
  8120. "application/json"
  8121. ],
  8122. "tags": [
  8123. "大连千海金"
  8124. ],
  8125. "summary": "查询经纪人信息和申请记录",
  8126. "parameters": [
  8127. {
  8128. "type": "integer",
  8129. "description": "所属机构ID",
  8130. "name": "userid",
  8131. "in": "query"
  8132. }
  8133. ],
  8134. "responses": {
  8135. "200": {
  8136. "description": "OK",
  8137. "schema": {
  8138. "type": "array",
  8139. "items": {
  8140. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  8141. }
  8142. }
  8143. },
  8144. "500": {
  8145. "description": "Internal Server Error",
  8146. "schema": {
  8147. "$ref": "#/definitions/app.Response"
  8148. }
  8149. }
  8150. }
  8151. }
  8152. },
  8153. "/Qhj/QueryBrokerRewardLog": {
  8154. "get": {
  8155. "security": [
  8156. {
  8157. "ApiKeyAuth": []
  8158. }
  8159. ],
  8160. "produces": [
  8161. "application/json"
  8162. ],
  8163. "tags": [
  8164. "大连千海金"
  8165. ],
  8166. "summary": "查询奖励流水(我的奖励)",
  8167. "parameters": [
  8168. {
  8169. "type": "integer",
  8170. "description": "用户ID",
  8171. "name": "userid",
  8172. "in": "query",
  8173. "required": true
  8174. },
  8175. {
  8176. "type": "string",
  8177. "description": "开始交易日(yyyymmdd)",
  8178. "name": "begindate",
  8179. "in": "query"
  8180. },
  8181. {
  8182. "type": "string",
  8183. "description": "结束交易日(yyyymmdd)",
  8184. "name": "enddate",
  8185. "in": "query"
  8186. }
  8187. ],
  8188. "responses": {
  8189. "200": {
  8190. "description": "OK",
  8191. "schema": {
  8192. "type": "array",
  8193. "items": {
  8194. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  8195. }
  8196. }
  8197. },
  8198. "500": {
  8199. "description": "Internal Server Error",
  8200. "schema": {
  8201. "$ref": "#/definitions/app.Response"
  8202. }
  8203. }
  8204. }
  8205. }
  8206. },
  8207. "/Qhj/QueryContract": {
  8208. "get": {
  8209. "security": [
  8210. {
  8211. "ApiKeyAuth": []
  8212. }
  8213. ],
  8214. "produces": [
  8215. "application/json"
  8216. ],
  8217. "tags": [
  8218. "大连千海金"
  8219. ],
  8220. "summary": "查询融资明细(合同)",
  8221. "parameters": [
  8222. {
  8223. "type": "integer",
  8224. "description": "用户ID",
  8225. "name": "userid",
  8226. "in": "query"
  8227. },
  8228. {
  8229. "type": "integer",
  8230. "description": "scf合同id",
  8231. "name": "scfcontractid",
  8232. "in": "query"
  8233. }
  8234. ],
  8235. "responses": {
  8236. "200": {
  8237. "description": "OK",
  8238. "schema": {
  8239. "type": "array",
  8240. "items": {
  8241. "$ref": "#/definitions/models.QhjContract"
  8242. }
  8243. }
  8244. },
  8245. "500": {
  8246. "description": "Internal Server Error",
  8247. "schema": {
  8248. "$ref": "#/definitions/app.Response"
  8249. }
  8250. }
  8251. }
  8252. }
  8253. },
  8254. "/Qhj/QueryContractLog": {
  8255. "get": {
  8256. "security": [
  8257. {
  8258. "ApiKeyAuth": []
  8259. }
  8260. ],
  8261. "produces": [
  8262. "application/json"
  8263. ],
  8264. "tags": [
  8265. "大连千海金"
  8266. ],
  8267. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  8268. "parameters": [
  8269. {
  8270. "type": "integer",
  8271. "description": "scf合同id",
  8272. "name": "scfcontractid",
  8273. "in": "query",
  8274. "required": true
  8275. },
  8276. {
  8277. "type": "string",
  8278. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  8279. "name": "amounttype",
  8280. "in": "query"
  8281. }
  8282. ],
  8283. "responses": {
  8284. "200": {
  8285. "description": "OK",
  8286. "schema": {
  8287. "type": "array",
  8288. "items": {
  8289. "$ref": "#/definitions/models.QhjContractLog"
  8290. }
  8291. }
  8292. },
  8293. "500": {
  8294. "description": "Internal Server Error",
  8295. "schema": {
  8296. "$ref": "#/definitions/app.Response"
  8297. }
  8298. }
  8299. }
  8300. }
  8301. },
  8302. "/Qhj/QueryCusBankSignBank": {
  8303. "get": {
  8304. "security": [
  8305. {
  8306. "ApiKeyAuth": []
  8307. }
  8308. ],
  8309. "produces": [
  8310. "application/json"
  8311. ],
  8312. "tags": [
  8313. "大连千海金"
  8314. ],
  8315. "summary": "查询托管银行",
  8316. "responses": {
  8317. "200": {
  8318. "description": "OK",
  8319. "schema": {
  8320. "type": "array",
  8321. "items": {
  8322. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  8323. }
  8324. }
  8325. },
  8326. "500": {
  8327. "description": "Internal Server Error",
  8328. "schema": {
  8329. "$ref": "#/definitions/app.Response"
  8330. }
  8331. }
  8332. }
  8333. }
  8334. },
  8335. "/Qhj/QueryCustomerInfo": {
  8336. "get": {
  8337. "security": [
  8338. {
  8339. "ApiKeyAuth": []
  8340. }
  8341. ],
  8342. "produces": [
  8343. "application/json"
  8344. ],
  8345. "tags": [
  8346. "大连千海金"
  8347. ],
  8348. "summary": "查询客户资料",
  8349. "parameters": [
  8350. {
  8351. "type": "integer",
  8352. "description": "用户ID",
  8353. "name": "userid",
  8354. "in": "query",
  8355. "required": true
  8356. },
  8357. {
  8358. "type": "integer",
  8359. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8360. "name": "querytype",
  8361. "in": "query",
  8362. "required": true
  8363. },
  8364. {
  8365. "type": "integer",
  8366. "description": "客户类型 1-个人 2-企业",
  8367. "name": "userinfotype",
  8368. "in": "query"
  8369. },
  8370. {
  8371. "type": "string",
  8372. "description": "客户名称(模糊匹配)",
  8373. "name": "customername",
  8374. "in": "query"
  8375. },
  8376. {
  8377. "type": "string",
  8378. "description": "昵称(模糊匹配)",
  8379. "name": "nickname",
  8380. "in": "query"
  8381. },
  8382. {
  8383. "type": "integer",
  8384. "description": "是否包含子级 1-包含",
  8385. "name": "includesub",
  8386. "in": "query"
  8387. }
  8388. ],
  8389. "responses": {
  8390. "200": {
  8391. "description": "OK",
  8392. "schema": {
  8393. "type": "array",
  8394. "items": {
  8395. "$ref": "#/definitions/models.QhjCustomer"
  8396. }
  8397. }
  8398. },
  8399. "500": {
  8400. "description": "Internal Server Error",
  8401. "schema": {
  8402. "$ref": "#/definitions/app.Response"
  8403. }
  8404. }
  8405. }
  8406. }
  8407. },
  8408. "/Qhj/QueryGoodsEx": {
  8409. "get": {
  8410. "security": [
  8411. {
  8412. "ApiKeyAuth": []
  8413. }
  8414. ],
  8415. "produces": [
  8416. "application/json"
  8417. ],
  8418. "tags": [
  8419. "大连千海金"
  8420. ],
  8421. "summary": "交易商品扩展表",
  8422. "parameters": [
  8423. {
  8424. "type": "integer",
  8425. "description": "商品id",
  8426. "name": "goodsid",
  8427. "in": "query"
  8428. }
  8429. ],
  8430. "responses": {
  8431. "200": {
  8432. "description": "OK",
  8433. "schema": {
  8434. "type": "array",
  8435. "items": {
  8436. "$ref": "#/definitions/models.Qhjgoodsex"
  8437. }
  8438. }
  8439. },
  8440. "500": {
  8441. "description": "Internal Server Error",
  8442. "schema": {
  8443. "$ref": "#/definitions/app.Response"
  8444. }
  8445. }
  8446. }
  8447. }
  8448. },
  8449. "/Qhj/QueryMyTeam": {
  8450. "get": {
  8451. "security": [
  8452. {
  8453. "ApiKeyAuth": []
  8454. }
  8455. ],
  8456. "produces": [
  8457. "application/json"
  8458. ],
  8459. "tags": [
  8460. "大连千海金"
  8461. ],
  8462. "summary": "查询我的团队",
  8463. "parameters": [
  8464. {
  8465. "type": "integer",
  8466. "description": "用户ID",
  8467. "name": "userid",
  8468. "in": "query",
  8469. "required": true
  8470. }
  8471. ],
  8472. "responses": {
  8473. "200": {
  8474. "description": "OK",
  8475. "schema": {
  8476. "type": "array",
  8477. "items": {
  8478. "$ref": "#/definitions/models.QhjMyTeamEx"
  8479. }
  8480. }
  8481. },
  8482. "500": {
  8483. "description": "Internal Server Error",
  8484. "schema": {
  8485. "$ref": "#/definitions/app.Response"
  8486. }
  8487. }
  8488. }
  8489. }
  8490. },
  8491. "/Qhj/QueryMyTeamOrder": {
  8492. "get": {
  8493. "security": [
  8494. {
  8495. "ApiKeyAuth": []
  8496. }
  8497. ],
  8498. "produces": [
  8499. "application/json"
  8500. ],
  8501. "tags": [
  8502. "大连千海金"
  8503. ],
  8504. "summary": "查询团队订单(我的团队/团队订单)",
  8505. "parameters": [
  8506. {
  8507. "type": "integer",
  8508. "description": "页码",
  8509. "name": "page",
  8510. "in": "query"
  8511. },
  8512. {
  8513. "type": "integer",
  8514. "description": "每页条数",
  8515. "name": "pagesize",
  8516. "in": "query"
  8517. },
  8518. {
  8519. "type": "integer",
  8520. "description": "用户ID",
  8521. "name": "userid",
  8522. "in": "query",
  8523. "required": true
  8524. },
  8525. {
  8526. "type": "integer",
  8527. "description": "交易模式",
  8528. "name": "trademode",
  8529. "in": "query"
  8530. },
  8531. {
  8532. "type": "string",
  8533. "description": "名称(模糊搜索账户)",
  8534. "name": "filtername",
  8535. "in": "query"
  8536. }
  8537. ],
  8538. "responses": {
  8539. "200": {
  8540. "description": "OK",
  8541. "schema": {
  8542. "type": "array",
  8543. "items": {
  8544. "$ref": "#/definitions/models.QhjTeamOrder"
  8545. }
  8546. }
  8547. },
  8548. "500": {
  8549. "description": "Internal Server Error",
  8550. "schema": {
  8551. "$ref": "#/definitions/app.Response"
  8552. }
  8553. }
  8554. }
  8555. }
  8556. },
  8557. "/Qhj/QueryParentAreaList": {
  8558. "get": {
  8559. "security": [
  8560. {
  8561. "ApiKeyAuth": []
  8562. }
  8563. ],
  8564. "produces": [
  8565. "application/json"
  8566. ],
  8567. "tags": [
  8568. "大连千海金"
  8569. ],
  8570. "summary": "查询所属机构列表",
  8571. "parameters": [
  8572. {
  8573. "type": "integer",
  8574. "description": "用户ID",
  8575. "name": "userid",
  8576. "in": "query",
  8577. "required": true
  8578. }
  8579. ],
  8580. "responses": {
  8581. "200": {
  8582. "description": "OK",
  8583. "schema": {
  8584. "type": "array",
  8585. "items": {
  8586. "$ref": "#/definitions/models.QhjParentAreaList"
  8587. }
  8588. }
  8589. },
  8590. "500": {
  8591. "description": "Internal Server Error",
  8592. "schema": {
  8593. "$ref": "#/definitions/app.Response"
  8594. }
  8595. }
  8596. }
  8597. }
  8598. },
  8599. "/Qhj/QueryPayOrder": {
  8600. "get": {
  8601. "security": [
  8602. {
  8603. "ApiKeyAuth": []
  8604. }
  8605. ],
  8606. "produces": [
  8607. "application/json"
  8608. ],
  8609. "tags": [
  8610. "大连千海金"
  8611. ],
  8612. "summary": "查询待付款单据",
  8613. "parameters": [
  8614. {
  8615. "type": "integer",
  8616. "description": "资金账号id",
  8617. "name": "accountid",
  8618. "in": "query",
  8619. "required": true
  8620. },
  8621. {
  8622. "type": "integer",
  8623. "description": "成交单号",
  8624. "name": "tradeid",
  8625. "in": "query"
  8626. },
  8627. {
  8628. "type": "string",
  8629. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8630. "name": "payflag",
  8631. "in": "query"
  8632. }
  8633. ],
  8634. "responses": {
  8635. "200": {
  8636. "description": "OK",
  8637. "schema": {
  8638. "type": "array",
  8639. "items": {
  8640. "$ref": "#/definitions/models.QhjPayOrder"
  8641. }
  8642. }
  8643. },
  8644. "500": {
  8645. "description": "Internal Server Error",
  8646. "schema": {
  8647. "$ref": "#/definitions/app.Response"
  8648. }
  8649. }
  8650. }
  8651. }
  8652. },
  8653. "/Qhj/QueryPickArea": {
  8654. "get": {
  8655. "security": [
  8656. {
  8657. "ApiKeyAuth": []
  8658. }
  8659. ],
  8660. "produces": [
  8661. "application/json"
  8662. ],
  8663. "tags": [
  8664. "大连千海金"
  8665. ],
  8666. "summary": "查询提货门店",
  8667. "parameters": [
  8668. {
  8669. "type": "integer",
  8670. "description": "用户ID",
  8671. "name": "userid",
  8672. "in": "query"
  8673. }
  8674. ],
  8675. "responses": {
  8676. "200": {
  8677. "description": "OK",
  8678. "schema": {
  8679. "type": "array",
  8680. "items": {
  8681. "$ref": "#/definitions/models.QhjPickArea"
  8682. }
  8683. }
  8684. },
  8685. "500": {
  8686. "description": "Internal Server Error",
  8687. "schema": {
  8688. "$ref": "#/definitions/app.Response"
  8689. }
  8690. }
  8691. }
  8692. }
  8693. },
  8694. "/Qhj/QueryPickGoods": {
  8695. "get": {
  8696. "security": [
  8697. {
  8698. "ApiKeyAuth": []
  8699. }
  8700. ],
  8701. "produces": [
  8702. "application/json"
  8703. ],
  8704. "tags": [
  8705. "大连千海金"
  8706. ],
  8707. "summary": "查询提货商品",
  8708. "parameters": [
  8709. {
  8710. "type": "integer",
  8711. "description": "交易商品id",
  8712. "name": "goodsid",
  8713. "in": "query",
  8714. "required": true
  8715. },
  8716. {
  8717. "type": "string",
  8718. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8719. "name": "status",
  8720. "in": "query"
  8721. }
  8722. ],
  8723. "responses": {
  8724. "200": {
  8725. "description": "OK",
  8726. "schema": {
  8727. "type": "array",
  8728. "items": {
  8729. "$ref": "#/definitions/models.QhjPickGoods"
  8730. }
  8731. }
  8732. },
  8733. "500": {
  8734. "description": "Internal Server Error",
  8735. "schema": {
  8736. "$ref": "#/definitions/app.Response"
  8737. }
  8738. }
  8739. }
  8740. }
  8741. },
  8742. "/Qhj/QueryRSTriggerLog": {
  8743. "get": {
  8744. "security": [
  8745. {
  8746. "ApiKeyAuth": []
  8747. }
  8748. ],
  8749. "produces": [
  8750. "application/json"
  8751. ],
  8752. "tags": [
  8753. "大连千海金"
  8754. ],
  8755. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8756. "parameters": [
  8757. {
  8758. "type": "integer",
  8759. "description": "用户ID",
  8760. "name": "userid",
  8761. "in": "query"
  8762. },
  8763. {
  8764. "type": "integer",
  8765. "description": "定投策略id",
  8766. "name": "regularlystrategyid",
  8767. "in": "query"
  8768. },
  8769. {
  8770. "type": "integer",
  8771. "description": "商品id",
  8772. "name": "goodsid",
  8773. "in": "query"
  8774. },
  8775. {
  8776. "type": "string",
  8777. "description": "开始交易日(yyyymmdd)",
  8778. "name": "begindate",
  8779. "in": "query"
  8780. },
  8781. {
  8782. "type": "string",
  8783. "description": "结束交易日(yyyymmdd)",
  8784. "name": "enddate",
  8785. "in": "query"
  8786. },
  8787. {
  8788. "type": "string",
  8789. "description": "名称(模糊搜索账户)",
  8790. "name": "filtername",
  8791. "in": "query"
  8792. }
  8793. ],
  8794. "responses": {
  8795. "200": {
  8796. "description": "OK",
  8797. "schema": {
  8798. "type": "array",
  8799. "items": {
  8800. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8801. }
  8802. }
  8803. },
  8804. "500": {
  8805. "description": "Internal Server Error",
  8806. "schema": {
  8807. "$ref": "#/definitions/app.Response"
  8808. }
  8809. }
  8810. }
  8811. }
  8812. },
  8813. "/Qhj/QueryRStrategy": {
  8814. "get": {
  8815. "security": [
  8816. {
  8817. "ApiKeyAuth": []
  8818. }
  8819. ],
  8820. "produces": [
  8821. "application/json"
  8822. ],
  8823. "tags": [
  8824. "大连千海金"
  8825. ],
  8826. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8827. "parameters": [
  8828. {
  8829. "type": "integer",
  8830. "description": "用户ID",
  8831. "name": "userid",
  8832. "in": "query"
  8833. },
  8834. {
  8835. "type": "integer",
  8836. "description": "商品id",
  8837. "name": "goodsid",
  8838. "in": "query"
  8839. },
  8840. {
  8841. "type": "string",
  8842. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8843. "name": "status",
  8844. "in": "query"
  8845. },
  8846. {
  8847. "type": "string",
  8848. "description": "名称(模糊搜索账户)",
  8849. "name": "filtername",
  8850. "in": "query"
  8851. }
  8852. ],
  8853. "responses": {
  8854. "200": {
  8855. "description": "OK",
  8856. "schema": {
  8857. "type": "array",
  8858. "items": {
  8859. "$ref": "#/definitions/models.QhjRStrategy"
  8860. }
  8861. }
  8862. },
  8863. "500": {
  8864. "description": "Internal Server Error",
  8865. "schema": {
  8866. "$ref": "#/definitions/app.Response"
  8867. }
  8868. }
  8869. }
  8870. }
  8871. },
  8872. "/Qhj/QueryReckonPriceLog": {
  8873. "get": {
  8874. "security": [
  8875. {
  8876. "ApiKeyAuth": []
  8877. }
  8878. ],
  8879. "produces": [
  8880. "application/json"
  8881. ],
  8882. "tags": [
  8883. "大连千海金"
  8884. ],
  8885. "summary": "查询定投价(结算价)",
  8886. "parameters": [
  8887. {
  8888. "type": "integer",
  8889. "description": "商品ID",
  8890. "name": "goodsid",
  8891. "in": "query"
  8892. },
  8893. {
  8894. "type": "string",
  8895. "description": "交易日 格式(yyyymmdd)",
  8896. "name": "tradedate",
  8897. "in": "query"
  8898. }
  8899. ],
  8900. "responses": {
  8901. "200": {
  8902. "description": "OK",
  8903. "schema": {
  8904. "type": "array",
  8905. "items": {
  8906. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8907. }
  8908. }
  8909. },
  8910. "500": {
  8911. "description": "Internal Server Error",
  8912. "schema": {
  8913. "$ref": "#/definitions/app.Response"
  8914. }
  8915. }
  8916. }
  8917. }
  8918. },
  8919. "/Qhj/QueryScoreLog": {
  8920. "get": {
  8921. "security": [
  8922. {
  8923. "ApiKeyAuth": []
  8924. }
  8925. ],
  8926. "produces": [
  8927. "application/json"
  8928. ],
  8929. "tags": [
  8930. "大连千海金"
  8931. ],
  8932. "summary": "查询积分流水(我的积分)",
  8933. "parameters": [
  8934. {
  8935. "type": "integer",
  8936. "description": "用户ID",
  8937. "name": "userid",
  8938. "in": "query",
  8939. "required": true
  8940. },
  8941. {
  8942. "type": "string",
  8943. "description": "开始交易日(yyyymmdd)",
  8944. "name": "begindate",
  8945. "in": "query"
  8946. },
  8947. {
  8948. "type": "string",
  8949. "description": "结束交易日(yyyymmdd)",
  8950. "name": "enddate",
  8951. "in": "query"
  8952. },
  8953. {
  8954. "type": "integer",
  8955. "description": "最近多少条",
  8956. "name": "lastnum",
  8957. "in": "query"
  8958. }
  8959. ],
  8960. "responses": {
  8961. "200": {
  8962. "description": "OK",
  8963. "schema": {
  8964. "type": "array",
  8965. "items": {
  8966. "$ref": "#/definitions/models.QhjScoreLog"
  8967. }
  8968. }
  8969. },
  8970. "500": {
  8971. "description": "Internal Server Error",
  8972. "schema": {
  8973. "$ref": "#/definitions/app.Response"
  8974. }
  8975. }
  8976. }
  8977. }
  8978. },
  8979. "/Qhj/QuerySiteColumnDetail": {
  8980. "get": {
  8981. "security": [
  8982. {
  8983. "ApiKeyAuth": []
  8984. }
  8985. ],
  8986. "produces": [
  8987. "application/json"
  8988. ],
  8989. "tags": [
  8990. "大连千海金"
  8991. ],
  8992. "summary": "查询资讯",
  8993. "parameters": [
  8994. {
  8995. "type": "integer",
  8996. "description": "用户ID",
  8997. "name": "userid",
  8998. "in": "query",
  8999. "required": true
  9000. }
  9001. ],
  9002. "responses": {
  9003. "200": {
  9004. "description": "OK",
  9005. "schema": {
  9006. "type": "array",
  9007. "items": {
  9008. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  9009. }
  9010. }
  9011. },
  9012. "500": {
  9013. "description": "Internal Server Error",
  9014. "schema": {
  9015. "$ref": "#/definitions/app.Response"
  9016. }
  9017. }
  9018. }
  9019. }
  9020. },
  9021. "/Qhj/QueryTradeGoodsPickup": {
  9022. "get": {
  9023. "security": [
  9024. {
  9025. "ApiKeyAuth": []
  9026. }
  9027. ],
  9028. "produces": [
  9029. "application/json"
  9030. ],
  9031. "tags": [
  9032. "大连千海金"
  9033. ],
  9034. "summary": "查询提货",
  9035. "parameters": [
  9036. {
  9037. "type": "integer",
  9038. "description": "用户ID",
  9039. "name": "userid",
  9040. "in": "query",
  9041. "required": true
  9042. },
  9043. {
  9044. "type": "integer",
  9045. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  9046. "name": "takeorderstatus",
  9047. "in": "query"
  9048. }
  9049. ],
  9050. "responses": {
  9051. "200": {
  9052. "description": "OK",
  9053. "schema": {
  9054. "type": "array",
  9055. "items": {
  9056. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  9057. }
  9058. }
  9059. },
  9060. "500": {
  9061. "description": "Internal Server Error",
  9062. "schema": {
  9063. "$ref": "#/definitions/app.Response"
  9064. }
  9065. }
  9066. }
  9067. }
  9068. },
  9069. "/Qhj/QueryUserCollectConfig": {
  9070. "get": {
  9071. "security": [
  9072. {
  9073. "ApiKeyAuth": []
  9074. }
  9075. ],
  9076. "produces": [
  9077. "application/json"
  9078. ],
  9079. "tags": [
  9080. "大连千海金"
  9081. ],
  9082. "summary": "查询提现账户设置",
  9083. "parameters": [
  9084. {
  9085. "type": "integer",
  9086. "description": "用户ID",
  9087. "name": "userid",
  9088. "in": "query",
  9089. "required": true
  9090. }
  9091. ],
  9092. "responses": {
  9093. "200": {
  9094. "description": "OK",
  9095. "schema": {
  9096. "type": "array",
  9097. "items": {
  9098. "$ref": "#/definitions/models.UserCollectConfig"
  9099. }
  9100. }
  9101. },
  9102. "500": {
  9103. "description": "Internal Server Error",
  9104. "schema": {
  9105. "$ref": "#/definitions/app.Response"
  9106. }
  9107. }
  9108. }
  9109. }
  9110. },
  9111. "/Qhj/QueryUserReceiveInfo": {
  9112. "get": {
  9113. "security": [
  9114. {
  9115. "ApiKeyAuth": []
  9116. }
  9117. ],
  9118. "produces": [
  9119. "application/json"
  9120. ],
  9121. "tags": [
  9122. "大连千海金"
  9123. ],
  9124. "summary": "查询收货地址信息",
  9125. "parameters": [
  9126. {
  9127. "type": "integer",
  9128. "description": "用户ID",
  9129. "name": "userid",
  9130. "in": "query",
  9131. "required": true
  9132. }
  9133. ],
  9134. "responses": {
  9135. "200": {
  9136. "description": "OK",
  9137. "schema": {
  9138. "type": "array",
  9139. "items": {
  9140. "$ref": "#/definitions/models.UserReceiveInfo"
  9141. }
  9142. }
  9143. },
  9144. "500": {
  9145. "description": "Internal Server Error",
  9146. "schema": {
  9147. "$ref": "#/definitions/app.Response"
  9148. }
  9149. }
  9150. }
  9151. }
  9152. },
  9153. "/QhjMgr/QueryAccountInOutApply": {
  9154. "get": {
  9155. "security": [
  9156. {
  9157. "ApiKeyAuth": []
  9158. }
  9159. ],
  9160. "produces": [
  9161. "application/json"
  9162. ],
  9163. "tags": [
  9164. "大连千海金(PCWeb)"
  9165. ],
  9166. "summary": "查询充值提现",
  9167. "parameters": [
  9168. {
  9169. "type": "integer",
  9170. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9171. "name": "querytype",
  9172. "in": "query",
  9173. "required": true
  9174. },
  9175. {
  9176. "type": "integer",
  9177. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9178. "name": "applystatus",
  9179. "in": "query"
  9180. },
  9181. {
  9182. "type": "string",
  9183. "description": "申请起始日期(格式yyyymmdd)",
  9184. "name": "begindate",
  9185. "in": "query"
  9186. },
  9187. {
  9188. "type": "string",
  9189. "description": "申请截止日期(格式yyyymmdd)",
  9190. "name": "enddate",
  9191. "in": "query"
  9192. },
  9193. {
  9194. "type": "string",
  9195. "description": "模糊搜索名称",
  9196. "name": "likename",
  9197. "in": "query"
  9198. }
  9199. ],
  9200. "responses": {
  9201. "200": {
  9202. "description": "OK",
  9203. "schema": {
  9204. "type": "array",
  9205. "items": {
  9206. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  9207. }
  9208. }
  9209. },
  9210. "500": {
  9211. "description": "Internal Server Error",
  9212. "schema": {
  9213. "$ref": "#/definitions/app.Response"
  9214. }
  9215. }
  9216. }
  9217. }
  9218. },
  9219. "/QhjMgr/QueryBrokerApply": {
  9220. "get": {
  9221. "security": [
  9222. {
  9223. "ApiKeyAuth": []
  9224. }
  9225. ],
  9226. "produces": [
  9227. "application/json"
  9228. ],
  9229. "tags": [
  9230. "大连千海金(PCWeb)"
  9231. ],
  9232. "summary": "查询经纪人申请",
  9233. "parameters": [
  9234. {
  9235. "type": "integer",
  9236. "description": "所属机构ID",
  9237. "name": "userid",
  9238. "in": "query"
  9239. },
  9240. {
  9241. "type": "string",
  9242. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9243. "name": "filterstatus",
  9244. "in": "query"
  9245. },
  9246. {
  9247. "type": "string",
  9248. "description": "名称(模糊匹配)",
  9249. "name": "filtername",
  9250. "in": "query"
  9251. },
  9252. {
  9253. "type": "integer",
  9254. "description": "是否包含子级 1-包含",
  9255. "name": "includesub",
  9256. "in": "query"
  9257. }
  9258. ],
  9259. "responses": {
  9260. "200": {
  9261. "description": "OK",
  9262. "schema": {
  9263. "type": "array",
  9264. "items": {
  9265. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  9266. }
  9267. }
  9268. },
  9269. "500": {
  9270. "description": "Internal Server Error",
  9271. "schema": {
  9272. "$ref": "#/definitions/app.Response"
  9273. }
  9274. }
  9275. }
  9276. }
  9277. },
  9278. "/QhjMgr/QueryBrokerRewardReport": {
  9279. "get": {
  9280. "security": [
  9281. {
  9282. "ApiKeyAuth": []
  9283. }
  9284. ],
  9285. "produces": [
  9286. "application/json"
  9287. ],
  9288. "tags": [
  9289. "大连千海金(PCWeb)"
  9290. ],
  9291. "summary": "查询经纪人奖励报表(废弃)",
  9292. "parameters": [
  9293. {
  9294. "type": "integer",
  9295. "description": "所属机构ID",
  9296. "name": "userid",
  9297. "in": "query",
  9298. "required": true
  9299. },
  9300. {
  9301. "type": "integer",
  9302. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9303. "name": "cycletype",
  9304. "in": "query",
  9305. "required": true
  9306. },
  9307. {
  9308. "type": "string",
  9309. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  9310. "name": "cycletime",
  9311. "in": "query",
  9312. "required": true
  9313. },
  9314. {
  9315. "type": "string",
  9316. "description": "名称(模糊匹配)",
  9317. "name": "filtername",
  9318. "in": "query"
  9319. },
  9320. {
  9321. "type": "integer",
  9322. "description": "是否包含子级 1-包含",
  9323. "name": "includesub",
  9324. "in": "query"
  9325. }
  9326. ],
  9327. "responses": {
  9328. "200": {
  9329. "description": "OK",
  9330. "schema": {
  9331. "type": "array",
  9332. "items": {
  9333. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  9334. }
  9335. }
  9336. },
  9337. "500": {
  9338. "description": "Internal Server Error",
  9339. "schema": {
  9340. "$ref": "#/definitions/app.Response"
  9341. }
  9342. }
  9343. }
  9344. }
  9345. },
  9346. "/QhjMgr/QueryContract": {
  9347. "get": {
  9348. "security": [
  9349. {
  9350. "ApiKeyAuth": []
  9351. }
  9352. ],
  9353. "produces": [
  9354. "application/json"
  9355. ],
  9356. "tags": [
  9357. "大连千海金(PCWeb)"
  9358. ],
  9359. "summary": "查询融资信息(合同)",
  9360. "parameters": [
  9361. {
  9362. "type": "integer",
  9363. "description": "用户ID",
  9364. "name": "userid",
  9365. "in": "query"
  9366. },
  9367. {
  9368. "type": "integer",
  9369. "description": "商品id",
  9370. "name": "goodsid",
  9371. "in": "query"
  9372. },
  9373. {
  9374. "type": "string",
  9375. "description": "名称(模糊搜索账户)",
  9376. "name": "filtername",
  9377. "in": "query"
  9378. },
  9379. {
  9380. "type": "string",
  9381. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  9382. "name": "risklevel",
  9383. "in": "query"
  9384. },
  9385. {
  9386. "type": "string",
  9387. "description": "开始交易日(yyyymmdd)",
  9388. "name": "begindate",
  9389. "in": "query"
  9390. },
  9391. {
  9392. "type": "string",
  9393. "description": "结束交易日(yyyymmdd)",
  9394. "name": "enddate",
  9395. "in": "query"
  9396. }
  9397. ],
  9398. "responses": {
  9399. "200": {
  9400. "description": "OK",
  9401. "schema": {
  9402. "type": "array",
  9403. "items": {
  9404. "$ref": "#/definitions/models.QhjMgrContract"
  9405. }
  9406. }
  9407. },
  9408. "500": {
  9409. "description": "Internal Server Error",
  9410. "schema": {
  9411. "$ref": "#/definitions/app.Response"
  9412. }
  9413. }
  9414. }
  9415. }
  9416. },
  9417. "/QhjMgr/QueryCustomerInfo": {
  9418. "get": {
  9419. "security": [
  9420. {
  9421. "ApiKeyAuth": []
  9422. }
  9423. ],
  9424. "produces": [
  9425. "application/json"
  9426. ],
  9427. "tags": [
  9428. "大连千海金(PCWeb)"
  9429. ],
  9430. "summary": "查询客户资料",
  9431. "parameters": [
  9432. {
  9433. "type": "integer",
  9434. "description": "用户ID",
  9435. "name": "userid",
  9436. "in": "query",
  9437. "required": true
  9438. },
  9439. {
  9440. "type": "integer",
  9441. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9442. "name": "querytype",
  9443. "in": "query",
  9444. "required": true
  9445. },
  9446. {
  9447. "type": "integer",
  9448. "description": "客户类型 1-个人 2-企业",
  9449. "name": "userinfotype",
  9450. "in": "query"
  9451. },
  9452. {
  9453. "type": "string",
  9454. "description": "客户名称(模糊匹配)",
  9455. "name": "customername",
  9456. "in": "query"
  9457. },
  9458. {
  9459. "type": "string",
  9460. "description": "昵称(模糊匹配)",
  9461. "name": "nickname",
  9462. "in": "query"
  9463. },
  9464. {
  9465. "type": "string",
  9466. "description": "所属客户经理(模糊匹配)",
  9467. "name": "brokername",
  9468. "in": "query"
  9469. },
  9470. {
  9471. "type": "string",
  9472. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  9473. "name": "birthday",
  9474. "in": "query"
  9475. },
  9476. {
  9477. "type": "integer",
  9478. "description": "是否包含子级 1-包含",
  9479. "name": "includesub",
  9480. "in": "query"
  9481. }
  9482. ],
  9483. "responses": {
  9484. "200": {
  9485. "description": "OK",
  9486. "schema": {
  9487. "type": "array",
  9488. "items": {
  9489. "$ref": "#/definitions/models.QhjMgrCustomer"
  9490. }
  9491. }
  9492. },
  9493. "500": {
  9494. "description": "Internal Server Error",
  9495. "schema": {
  9496. "$ref": "#/definitions/app.Response"
  9497. }
  9498. }
  9499. }
  9500. }
  9501. },
  9502. "/QhjMgr/QueryPickGoods": {
  9503. "get": {
  9504. "security": [
  9505. {
  9506. "ApiKeyAuth": []
  9507. }
  9508. ],
  9509. "produces": [
  9510. "application/json"
  9511. ],
  9512. "tags": [
  9513. "大连千海金(PCWeb)"
  9514. ],
  9515. "summary": "查询提货商品",
  9516. "parameters": [
  9517. {
  9518. "type": "string",
  9519. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9520. "name": "status",
  9521. "in": "query"
  9522. }
  9523. ],
  9524. "responses": {
  9525. "200": {
  9526. "description": "OK",
  9527. "schema": {
  9528. "type": "array",
  9529. "items": {
  9530. "$ref": "#/definitions/models.QhjMgrPickGoods"
  9531. }
  9532. }
  9533. },
  9534. "500": {
  9535. "description": "Internal Server Error",
  9536. "schema": {
  9537. "$ref": "#/definitions/app.Response"
  9538. }
  9539. }
  9540. }
  9541. }
  9542. },
  9543. "/QhjMgr/QuerySubArea": {
  9544. "get": {
  9545. "security": [
  9546. {
  9547. "ApiKeyAuth": []
  9548. }
  9549. ],
  9550. "produces": [
  9551. "application/json"
  9552. ],
  9553. "tags": [
  9554. "大连千海金(PCWeb)"
  9555. ],
  9556. "summary": "查询子机构列表",
  9557. "parameters": [
  9558. {
  9559. "type": "integer",
  9560. "description": "用户ID",
  9561. "name": "userid",
  9562. "in": "query",
  9563. "required": true
  9564. }
  9565. ],
  9566. "responses": {
  9567. "200": {
  9568. "description": "OK",
  9569. "schema": {
  9570. "type": "array",
  9571. "items": {
  9572. "$ref": "#/definitions/models.QhjMgrSubArea"
  9573. }
  9574. }
  9575. },
  9576. "500": {
  9577. "description": "Internal Server Error",
  9578. "schema": {
  9579. "$ref": "#/definitions/app.Response"
  9580. }
  9581. }
  9582. }
  9583. }
  9584. },
  9585. "/QhjMgr/QueryTradeDetail": {
  9586. "get": {
  9587. "security": [
  9588. {
  9589. "ApiKeyAuth": []
  9590. }
  9591. ],
  9592. "produces": [
  9593. "application/json"
  9594. ],
  9595. "tags": [
  9596. "大连千海金(PCWeb)"
  9597. ],
  9598. "summary": "查询成交明细",
  9599. "parameters": [
  9600. {
  9601. "type": "integer",
  9602. "description": "用户ID",
  9603. "name": "userid",
  9604. "in": "query",
  9605. "required": true
  9606. },
  9607. {
  9608. "type": "integer",
  9609. "description": "用户类型 1-个人 2-企业",
  9610. "name": "userinfotype",
  9611. "in": "query"
  9612. },
  9613. {
  9614. "type": "integer",
  9615. "description": "交易模式",
  9616. "name": "trademode",
  9617. "in": "query"
  9618. },
  9619. {
  9620. "type": "integer",
  9621. "description": "商品id",
  9622. "name": "goodsid",
  9623. "in": "query"
  9624. },
  9625. {
  9626. "type": "string",
  9627. "description": "名称(模糊搜索账户)",
  9628. "name": "filtername",
  9629. "in": "query"
  9630. },
  9631. {
  9632. "type": "string",
  9633. "description": "开始交易日(yyyymmdd)",
  9634. "name": "begindate",
  9635. "in": "query"
  9636. },
  9637. {
  9638. "type": "string",
  9639. "description": "结束交易日(yyyymmdd)",
  9640. "name": "enddate",
  9641. "in": "query"
  9642. },
  9643. {
  9644. "type": "integer",
  9645. "description": "是否包含子级 1-包含",
  9646. "name": "includesub",
  9647. "in": "query"
  9648. }
  9649. ],
  9650. "responses": {
  9651. "200": {
  9652. "description": "OK",
  9653. "schema": {
  9654. "type": "array",
  9655. "items": {
  9656. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9657. }
  9658. }
  9659. },
  9660. "500": {
  9661. "description": "Internal Server Error",
  9662. "schema": {
  9663. "$ref": "#/definitions/app.Response"
  9664. }
  9665. }
  9666. }
  9667. }
  9668. },
  9669. "/QhjMgr/QueryTradeOrderDetail": {
  9670. "get": {
  9671. "security": [
  9672. {
  9673. "ApiKeyAuth": []
  9674. }
  9675. ],
  9676. "produces": [
  9677. "application/json"
  9678. ],
  9679. "tags": [
  9680. "大连千海金(PCWeb)"
  9681. ],
  9682. "summary": "查询委托明细",
  9683. "parameters": [
  9684. {
  9685. "type": "integer",
  9686. "description": "用户ID",
  9687. "name": "userid",
  9688. "in": "query",
  9689. "required": true
  9690. },
  9691. {
  9692. "type": "integer",
  9693. "description": "用户类型 1-个人 2-企业",
  9694. "name": "userinfotype",
  9695. "in": "query"
  9696. },
  9697. {
  9698. "type": "integer",
  9699. "description": "交易模式",
  9700. "name": "trademode",
  9701. "in": "query"
  9702. },
  9703. {
  9704. "type": "integer",
  9705. "description": "商品id",
  9706. "name": "goodsid",
  9707. "in": "query"
  9708. },
  9709. {
  9710. "type": "string",
  9711. "description": "名称(模糊搜索账户)",
  9712. "name": "filtername",
  9713. "in": "query"
  9714. },
  9715. {
  9716. "type": "string",
  9717. "description": "开始交易日(yyyymmdd)",
  9718. "name": "begindate",
  9719. "in": "query"
  9720. },
  9721. {
  9722. "type": "string",
  9723. "description": "结束交易日(yyyymmdd)",
  9724. "name": "enddate",
  9725. "in": "query"
  9726. },
  9727. {
  9728. "type": "integer",
  9729. "description": "是否包含子级 1-包含",
  9730. "name": "includesub",
  9731. "in": "query"
  9732. }
  9733. ],
  9734. "responses": {
  9735. "200": {
  9736. "description": "OK",
  9737. "schema": {
  9738. "type": "array",
  9739. "items": {
  9740. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9741. }
  9742. }
  9743. },
  9744. "500": {
  9745. "description": "Internal Server Error",
  9746. "schema": {
  9747. "$ref": "#/definitions/app.Response"
  9748. }
  9749. }
  9750. }
  9751. }
  9752. },
  9753. "/QhjMgr/QueryTradePayOrder": {
  9754. "get": {
  9755. "security": [
  9756. {
  9757. "ApiKeyAuth": []
  9758. }
  9759. ],
  9760. "produces": [
  9761. "application/json"
  9762. ],
  9763. "tags": [
  9764. "大连千海金(PCWeb)"
  9765. ],
  9766. "summary": "查询待付款单",
  9767. "parameters": [
  9768. {
  9769. "type": "integer",
  9770. "description": "用户ID",
  9771. "name": "userid",
  9772. "in": "query",
  9773. "required": true
  9774. },
  9775. {
  9776. "type": "string",
  9777. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9778. "name": "payflag",
  9779. "in": "query"
  9780. },
  9781. {
  9782. "type": "integer",
  9783. "description": "用户类型 1-个人 2-企业",
  9784. "name": "userinfotype",
  9785. "in": "query"
  9786. },
  9787. {
  9788. "type": "integer",
  9789. "description": "交易模式",
  9790. "name": "trademode",
  9791. "in": "query"
  9792. },
  9793. {
  9794. "type": "integer",
  9795. "description": "商品id",
  9796. "name": "goodsid",
  9797. "in": "query"
  9798. },
  9799. {
  9800. "type": "string",
  9801. "description": "名称(模糊搜索账户)",
  9802. "name": "filtername",
  9803. "in": "query"
  9804. },
  9805. {
  9806. "type": "string",
  9807. "description": "开始交易日(yyyymmdd)",
  9808. "name": "begindate",
  9809. "in": "query"
  9810. },
  9811. {
  9812. "type": "string",
  9813. "description": "结束交易日(yyyymmdd)",
  9814. "name": "enddate",
  9815. "in": "query"
  9816. },
  9817. {
  9818. "type": "integer",
  9819. "description": "是否包含子级 1-包含",
  9820. "name": "includesub",
  9821. "in": "query"
  9822. }
  9823. ],
  9824. "responses": {
  9825. "200": {
  9826. "description": "OK",
  9827. "schema": {
  9828. "type": "array",
  9829. "items": {
  9830. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9831. }
  9832. }
  9833. },
  9834. "500": {
  9835. "description": "Internal Server Error",
  9836. "schema": {
  9837. "$ref": "#/definitions/app.Response"
  9838. }
  9839. }
  9840. }
  9841. }
  9842. },
  9843. "/QhjMgr/QueryTradePosition": {
  9844. "get": {
  9845. "security": [
  9846. {
  9847. "ApiKeyAuth": []
  9848. }
  9849. ],
  9850. "produces": [
  9851. "application/json"
  9852. ],
  9853. "tags": [
  9854. "大连千海金(PCWeb)"
  9855. ],
  9856. "summary": "查询持仓汇总",
  9857. "parameters": [
  9858. {
  9859. "type": "integer",
  9860. "description": "用户ID",
  9861. "name": "userid",
  9862. "in": "query",
  9863. "required": true
  9864. },
  9865. {
  9866. "type": "integer",
  9867. "description": "用户类型 1-个人 2-企业",
  9868. "name": "userinfotype",
  9869. "in": "query"
  9870. },
  9871. {
  9872. "type": "integer",
  9873. "description": "交易模式",
  9874. "name": "trademode",
  9875. "in": "query"
  9876. },
  9877. {
  9878. "type": "integer",
  9879. "description": "商品id",
  9880. "name": "goodsid",
  9881. "in": "query"
  9882. },
  9883. {
  9884. "type": "string",
  9885. "description": "名称(模糊搜索账户)",
  9886. "name": "filtername",
  9887. "in": "query"
  9888. },
  9889. {
  9890. "type": "integer",
  9891. "description": "是否包含子级 1-包含",
  9892. "name": "includesub",
  9893. "in": "query"
  9894. }
  9895. ],
  9896. "responses": {
  9897. "200": {
  9898. "description": "OK",
  9899. "schema": {
  9900. "type": "array",
  9901. "items": {
  9902. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9903. }
  9904. }
  9905. },
  9906. "500": {
  9907. "description": "Internal Server Error",
  9908. "schema": {
  9909. "$ref": "#/definitions/app.Response"
  9910. }
  9911. }
  9912. }
  9913. }
  9914. },
  9915. "/QhjSys/QueryAgreementChangeLog": {
  9916. "get": {
  9917. "security": [
  9918. {
  9919. "ApiKeyAuth": []
  9920. }
  9921. ],
  9922. "produces": [
  9923. "application/json"
  9924. ],
  9925. "tags": [
  9926. "大连千海金(协议和签约信息)"
  9927. ],
  9928. "summary": "查询协议配置变更流水",
  9929. "parameters": [
  9930. {
  9931. "type": "integer",
  9932. "description": "协议ID",
  9933. "name": "agreementid",
  9934. "in": "query"
  9935. },
  9936. {
  9937. "type": "integer",
  9938. "description": "协议版本号",
  9939. "name": "agreementversion",
  9940. "in": "query"
  9941. },
  9942. {
  9943. "type": "integer",
  9944. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9945. "name": "agreementtype",
  9946. "in": "query"
  9947. },
  9948. {
  9949. "type": "string",
  9950. "description": "协议编号(模糊匹配)",
  9951. "name": "agreementno",
  9952. "in": "query"
  9953. },
  9954. {
  9955. "type": "string",
  9956. "description": "协议名称(模糊匹配)",
  9957. "name": "agreementname",
  9958. "in": "query"
  9959. }
  9960. ],
  9961. "responses": {
  9962. "200": {
  9963. "description": "OK",
  9964. "schema": {
  9965. "type": "array",
  9966. "items": {
  9967. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9968. }
  9969. }
  9970. },
  9971. "500": {
  9972. "description": "Internal Server Error",
  9973. "schema": {
  9974. "$ref": "#/definitions/app.Response"
  9975. }
  9976. }
  9977. }
  9978. }
  9979. },
  9980. "/QhjSys/QueryAgreementConfig": {
  9981. "get": {
  9982. "security": [
  9983. {
  9984. "ApiKeyAuth": []
  9985. }
  9986. ],
  9987. "produces": [
  9988. "application/json"
  9989. ],
  9990. "tags": [
  9991. "大连千海金(协议和签约信息)"
  9992. ],
  9993. "summary": "查询协议配置",
  9994. "parameters": [
  9995. {
  9996. "type": "integer",
  9997. "description": "协议ID",
  9998. "name": "agreementid",
  9999. "in": "query"
  10000. },
  10001. {
  10002. "type": "integer",
  10003. "description": "协议版本号",
  10004. "name": "agreementversion",
  10005. "in": "query"
  10006. },
  10007. {
  10008. "type": "integer",
  10009. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10010. "name": "agreementtype",
  10011. "in": "query"
  10012. },
  10013. {
  10014. "type": "integer",
  10015. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  10016. "name": "isvalid",
  10017. "in": "query"
  10018. },
  10019. {
  10020. "type": "string",
  10021. "description": "协议编号(模糊匹配)",
  10022. "name": "agreementno",
  10023. "in": "query"
  10024. },
  10025. {
  10026. "type": "string",
  10027. "description": "协议名称(模糊匹配)",
  10028. "name": "agreementname",
  10029. "in": "query"
  10030. }
  10031. ],
  10032. "responses": {
  10033. "200": {
  10034. "description": "OK",
  10035. "schema": {
  10036. "type": "array",
  10037. "items": {
  10038. "$ref": "#/definitions/models.QhjAgreementConfig"
  10039. }
  10040. }
  10041. },
  10042. "500": {
  10043. "description": "Internal Server Error",
  10044. "schema": {
  10045. "$ref": "#/definitions/app.Response"
  10046. }
  10047. }
  10048. }
  10049. }
  10050. },
  10051. "/QhjSys/QueryCustomerSignStatus": {
  10052. "get": {
  10053. "security": [
  10054. {
  10055. "ApiKeyAuth": []
  10056. }
  10057. ],
  10058. "produces": [
  10059. "application/json"
  10060. ],
  10061. "tags": [
  10062. "大连千海金(协议和签约信息)"
  10063. ],
  10064. "summary": "查询客户协议签约状态",
  10065. "parameters": [
  10066. {
  10067. "type": "integer",
  10068. "description": "客户ID",
  10069. "name": "userid",
  10070. "in": "query"
  10071. },
  10072. {
  10073. "type": "integer",
  10074. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  10075. "name": "nodetype",
  10076. "in": "query"
  10077. },
  10078. {
  10079. "type": "integer",
  10080. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10081. "name": "goodsid",
  10082. "in": "query"
  10083. },
  10084. {
  10085. "type": "string",
  10086. "description": "创建交易日(yyyyMMdd)",
  10087. "name": "tradedate",
  10088. "in": "query"
  10089. },
  10090. {
  10091. "type": "string",
  10092. "description": "用户名称(模糊匹配)",
  10093. "name": "username",
  10094. "in": "query"
  10095. }
  10096. ],
  10097. "responses": {
  10098. "200": {
  10099. "description": "OK",
  10100. "schema": {
  10101. "type": "array",
  10102. "items": {
  10103. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  10104. }
  10105. }
  10106. },
  10107. "500": {
  10108. "description": "Internal Server Error",
  10109. "schema": {
  10110. "$ref": "#/definitions/app.Response"
  10111. }
  10112. }
  10113. }
  10114. }
  10115. },
  10116. "/QhjSys/QueryNodeAgreementConfig": {
  10117. "get": {
  10118. "security": [
  10119. {
  10120. "ApiKeyAuth": []
  10121. }
  10122. ],
  10123. "produces": [
  10124. "application/json"
  10125. ],
  10126. "tags": [
  10127. "大连千海金(协议和签约信息)"
  10128. ],
  10129. "summary": "查询协议节点配置",
  10130. "parameters": [
  10131. {
  10132. "type": "integer",
  10133. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10134. "name": "configid",
  10135. "in": "query"
  10136. },
  10137. {
  10138. "type": "integer",
  10139. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10140. "name": "nodetype",
  10141. "in": "query"
  10142. },
  10143. {
  10144. "type": "integer",
  10145. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10146. "name": "goodsid",
  10147. "in": "query"
  10148. },
  10149. {
  10150. "type": "integer",
  10151. "description": "协议ID",
  10152. "name": "agreementid",
  10153. "in": "query"
  10154. },
  10155. {
  10156. "type": "integer",
  10157. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10158. "name": "agreementtype",
  10159. "in": "query"
  10160. },
  10161. {
  10162. "type": "integer",
  10163. "description": "协议版本号",
  10164. "name": "agreementversion",
  10165. "in": "query"
  10166. },
  10167. {
  10168. "type": "string",
  10169. "description": "协议编号(模糊匹配)",
  10170. "name": "agreementno",
  10171. "in": "query"
  10172. },
  10173. {
  10174. "type": "string",
  10175. "description": "协议名称(模糊匹配)",
  10176. "name": "agreementname",
  10177. "in": "query"
  10178. }
  10179. ],
  10180. "responses": {
  10181. "200": {
  10182. "description": "OK",
  10183. "schema": {
  10184. "type": "array",
  10185. "items": {
  10186. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  10187. }
  10188. }
  10189. },
  10190. "500": {
  10191. "description": "Internal Server Error",
  10192. "schema": {
  10193. "$ref": "#/definitions/app.Response"
  10194. }
  10195. }
  10196. }
  10197. }
  10198. },
  10199. "/QhjSys/QueryQhjCustomerSignLog": {
  10200. "get": {
  10201. "security": [
  10202. {
  10203. "ApiKeyAuth": []
  10204. }
  10205. ],
  10206. "produces": [
  10207. "application/json"
  10208. ],
  10209. "tags": [
  10210. "大连千海金(协议和签约信息)"
  10211. ],
  10212. "summary": "查询客户协议签约流水",
  10213. "parameters": [
  10214. {
  10215. "type": "integer",
  10216. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  10217. "name": "logid",
  10218. "in": "query"
  10219. },
  10220. {
  10221. "type": "integer",
  10222. "description": "客户ID",
  10223. "name": "userid",
  10224. "in": "query"
  10225. },
  10226. {
  10227. "type": "integer",
  10228. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10229. "name": "nodetype",
  10230. "in": "query"
  10231. },
  10232. {
  10233. "type": "integer",
  10234. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10235. "name": "goodsid",
  10236. "in": "query"
  10237. },
  10238. {
  10239. "type": "integer",
  10240. "description": "协议ID",
  10241. "name": "agreementid",
  10242. "in": "query"
  10243. },
  10244. {
  10245. "type": "string",
  10246. "description": "用户名称(模糊匹配)",
  10247. "name": "username",
  10248. "in": "query"
  10249. },
  10250. {
  10251. "type": "string",
  10252. "description": "协议编号(模糊匹配)",
  10253. "name": "agreementno",
  10254. "in": "query"
  10255. },
  10256. {
  10257. "type": "string",
  10258. "description": "协议名称(模糊匹配)",
  10259. "name": "agreementname",
  10260. "in": "query"
  10261. }
  10262. ],
  10263. "responses": {
  10264. "200": {
  10265. "description": "OK",
  10266. "schema": {
  10267. "type": "array",
  10268. "items": {
  10269. "$ref": "#/definitions/models.QhjCustomerSignLog"
  10270. }
  10271. }
  10272. },
  10273. "500": {
  10274. "description": "Internal Server Error",
  10275. "schema": {
  10276. "$ref": "#/definitions/app.Response"
  10277. }
  10278. }
  10279. }
  10280. }
  10281. },
  10282. "/QhjSys/QueryUserNodeCfgAndStatus": {
  10283. "get": {
  10284. "security": [
  10285. {
  10286. "ApiKeyAuth": []
  10287. }
  10288. ],
  10289. "produces": [
  10290. "application/json"
  10291. ],
  10292. "tags": [
  10293. "大连千海金(协议和签约信息)"
  10294. ],
  10295. "summary": "查询用户协议节点配置和状态",
  10296. "parameters": [
  10297. {
  10298. "type": "integer",
  10299. "description": "客户ID",
  10300. "name": "userid",
  10301. "in": "query"
  10302. },
  10303. {
  10304. "type": "integer",
  10305. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10306. "name": "configid",
  10307. "in": "query"
  10308. },
  10309. {
  10310. "type": "string",
  10311. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10312. "name": "nodetype",
  10313. "in": "query"
  10314. },
  10315. {
  10316. "type": "integer",
  10317. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10318. "name": "goodsid",
  10319. "in": "query"
  10320. },
  10321. {
  10322. "type": "integer",
  10323. "description": "协议ID",
  10324. "name": "agreementid",
  10325. "in": "query"
  10326. },
  10327. {
  10328. "type": "integer",
  10329. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10330. "name": "agreementtype",
  10331. "in": "query"
  10332. },
  10333. {
  10334. "type": "integer",
  10335. "description": "协议版本号",
  10336. "name": "agreementversion",
  10337. "in": "query"
  10338. },
  10339. {
  10340. "type": "string",
  10341. "description": "协议编号(模糊匹配)",
  10342. "name": "agreementno",
  10343. "in": "query"
  10344. },
  10345. {
  10346. "type": "string",
  10347. "description": "协议名称(模糊匹配)",
  10348. "name": "agreementname",
  10349. "in": "query"
  10350. }
  10351. ],
  10352. "responses": {
  10353. "200": {
  10354. "description": "OK",
  10355. "schema": {
  10356. "type": "array",
  10357. "items": {
  10358. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  10359. }
  10360. }
  10361. },
  10362. "500": {
  10363. "description": "Internal Server Error",
  10364. "schema": {
  10365. "$ref": "#/definitions/app.Response"
  10366. }
  10367. }
  10368. }
  10369. }
  10370. },
  10371. "/Quote/QueryHistoryDatas": {
  10372. "get": {
  10373. "security": [
  10374. {
  10375. "ApiKeyAuth": []
  10376. }
  10377. ],
  10378. "produces": [
  10379. "application/json"
  10380. ],
  10381. "tags": [
  10382. "行情服务"
  10383. ],
  10384. "summary": "查询行情历史数据",
  10385. "parameters": [
  10386. {
  10387. "type": "integer",
  10388. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  10389. "name": "cycleType",
  10390. "in": "query",
  10391. "required": true
  10392. },
  10393. {
  10394. "type": "string",
  10395. "description": "商品代码",
  10396. "name": "goodsCode",
  10397. "in": "query",
  10398. "required": true
  10399. },
  10400. {
  10401. "type": "string",
  10402. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10403. "name": "startTime",
  10404. "in": "query"
  10405. },
  10406. {
  10407. "type": "string",
  10408. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10409. "name": "endTime",
  10410. "in": "query"
  10411. },
  10412. {
  10413. "type": "integer",
  10414. "description": "条数",
  10415. "name": "count",
  10416. "in": "query"
  10417. },
  10418. {
  10419. "type": "boolean",
  10420. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10421. "name": "isAsc",
  10422. "in": "query"
  10423. }
  10424. ],
  10425. "responses": {
  10426. "200": {
  10427. "description": "OK",
  10428. "schema": {
  10429. "$ref": "#/definitions/quote.HistoryData"
  10430. }
  10431. },
  10432. "500": {
  10433. "description": "Internal Server Error",
  10434. "schema": {
  10435. "$ref": "#/definitions/app.Response"
  10436. }
  10437. }
  10438. }
  10439. }
  10440. },
  10441. "/Quote/QueryHistoryTikDatas": {
  10442. "get": {
  10443. "security": [
  10444. {
  10445. "ApiKeyAuth": []
  10446. }
  10447. ],
  10448. "produces": [
  10449. "application/json"
  10450. ],
  10451. "tags": [
  10452. "行情服务"
  10453. ],
  10454. "summary": "查询行情Tik数据",
  10455. "parameters": [
  10456. {
  10457. "type": "string",
  10458. "description": "商品代码",
  10459. "name": "goodsCode",
  10460. "in": "query",
  10461. "required": true
  10462. },
  10463. {
  10464. "type": "string",
  10465. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10466. "name": "startTime",
  10467. "in": "query"
  10468. },
  10469. {
  10470. "type": "string",
  10471. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10472. "name": "endTime",
  10473. "in": "query"
  10474. },
  10475. {
  10476. "type": "integer",
  10477. "description": "条数",
  10478. "name": "count",
  10479. "in": "query"
  10480. },
  10481. {
  10482. "type": "boolean",
  10483. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10484. "name": "isAsc",
  10485. "in": "query"
  10486. }
  10487. ],
  10488. "responses": {
  10489. "200": {
  10490. "description": "OK",
  10491. "schema": {
  10492. "$ref": "#/definitions/quote.HistoryTikData"
  10493. }
  10494. },
  10495. "500": {
  10496. "description": "Internal Server Error",
  10497. "schema": {
  10498. "$ref": "#/definitions/app.Response"
  10499. }
  10500. }
  10501. }
  10502. }
  10503. },
  10504. "/Quote/QueryQuoteDay": {
  10505. "get": {
  10506. "security": [
  10507. {
  10508. "ApiKeyAuth": []
  10509. }
  10510. ],
  10511. "produces": [
  10512. "application/json"
  10513. ],
  10514. "tags": [
  10515. "行情服务"
  10516. ],
  10517. "summary": "获取商品盘面信息",
  10518. "parameters": [
  10519. {
  10520. "type": "string",
  10521. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  10522. "name": "goodsCodes",
  10523. "in": "query",
  10524. "required": true
  10525. }
  10526. ],
  10527. "responses": {
  10528. "200": {
  10529. "description": "OK",
  10530. "schema": {
  10531. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  10532. }
  10533. },
  10534. "500": {
  10535. "description": "Internal Server Error",
  10536. "schema": {
  10537. "$ref": "#/definitions/app.Response"
  10538. }
  10539. }
  10540. }
  10541. }
  10542. },
  10543. "/Quote/QueryTSData": {
  10544. "get": {
  10545. "security": [
  10546. {
  10547. "ApiKeyAuth": []
  10548. }
  10549. ],
  10550. "produces": [
  10551. "application/json"
  10552. ],
  10553. "tags": [
  10554. "行情服务"
  10555. ],
  10556. "summary": "分时图数据查询",
  10557. "parameters": [
  10558. {
  10559. "type": "string",
  10560. "description": "商品代码",
  10561. "name": "goodsCode",
  10562. "in": "query",
  10563. "required": true
  10564. }
  10565. ],
  10566. "responses": {
  10567. "200": {
  10568. "description": "OK",
  10569. "schema": {
  10570. "$ref": "#/definitions/quote.QueryTSDataRsp"
  10571. }
  10572. },
  10573. "500": {
  10574. "description": "Internal Server Error",
  10575. "schema": {
  10576. "$ref": "#/definitions/app.Response"
  10577. }
  10578. }
  10579. }
  10580. }
  10581. },
  10582. "/SZDZ/QueryConvertConfig": {
  10583. "get": {
  10584. "security": [
  10585. {
  10586. "ApiKeyAuth": []
  10587. }
  10588. ],
  10589. "produces": [
  10590. "application/json"
  10591. ],
  10592. "tags": [
  10593. "定制【尚志大宗】"
  10594. ],
  10595. "summary": "查询交易系统转换设置",
  10596. "parameters": [
  10597. {
  10598. "type": "integer",
  10599. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10600. "name": "convertType",
  10601. "in": "query"
  10602. },
  10603. {
  10604. "type": "string",
  10605. "description": "外部商品代码[JD\\PD]",
  10606. "name": "outerGoodsCode",
  10607. "in": "query"
  10608. },
  10609. {
  10610. "type": "string",
  10611. "description": "内部商品ID列表[交易],格式:1,2,3",
  10612. "name": "innerGoodsIDs",
  10613. "in": "query"
  10614. }
  10615. ],
  10616. "responses": {
  10617. "200": {
  10618. "description": "OK",
  10619. "schema": {
  10620. "$ref": "#/definitions/models.Szdz3convertconfig"
  10621. }
  10622. },
  10623. "500": {
  10624. "description": "Internal Server Error",
  10625. "schema": {
  10626. "$ref": "#/definitions/app.Response"
  10627. }
  10628. }
  10629. }
  10630. }
  10631. },
  10632. "/SZDZ/QueryConvertLog": {
  10633. "get": {
  10634. "security": [
  10635. {
  10636. "ApiKeyAuth": []
  10637. }
  10638. ],
  10639. "produces": [
  10640. "application/json"
  10641. ],
  10642. "tags": [
  10643. "定制【尚志大宗】"
  10644. ],
  10645. "summary": "交易系统转换流水查询",
  10646. "parameters": [
  10647. {
  10648. "type": "string",
  10649. "description": "资金账户 - 格式:1,2,3",
  10650. "name": "accountID",
  10651. "in": "query",
  10652. "required": true
  10653. },
  10654. {
  10655. "type": "string",
  10656. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10657. "name": "startDate",
  10658. "in": "query"
  10659. },
  10660. {
  10661. "type": "string",
  10662. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10663. "name": "endDate",
  10664. "in": "query"
  10665. }
  10666. ],
  10667. "responses": {
  10668. "200": {
  10669. "description": "OK",
  10670. "schema": {
  10671. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10672. }
  10673. },
  10674. "500": {
  10675. "description": "Internal Server Error",
  10676. "schema": {
  10677. "$ref": "#/definitions/app.Response"
  10678. }
  10679. }
  10680. }
  10681. }
  10682. },
  10683. "/SZDZ/QueryGoodsPickup": {
  10684. "get": {
  10685. "security": [
  10686. {
  10687. "ApiKeyAuth": []
  10688. }
  10689. ],
  10690. "produces": [
  10691. "application/json"
  10692. ],
  10693. "tags": [
  10694. "定制【尚志大宗】"
  10695. ],
  10696. "summary": "商品提货单查询",
  10697. "parameters": [
  10698. {
  10699. "type": "string",
  10700. "description": "资金账户 - 格式:1,2,3",
  10701. "name": "accountID",
  10702. "in": "query",
  10703. "required": true
  10704. },
  10705. {
  10706. "type": "integer",
  10707. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10708. "name": "takeOrderStatus",
  10709. "in": "query"
  10710. }
  10711. ],
  10712. "responses": {
  10713. "200": {
  10714. "description": "OK",
  10715. "schema": {
  10716. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10717. }
  10718. },
  10719. "500": {
  10720. "description": "Internal Server Error",
  10721. "schema": {
  10722. "$ref": "#/definitions/app.Response"
  10723. }
  10724. }
  10725. }
  10726. }
  10727. },
  10728. "/SZDZ/QueryRecieptOrder": {
  10729. "get": {
  10730. "security": [
  10731. {
  10732. "ApiKeyAuth": []
  10733. }
  10734. ],
  10735. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10736. "produces": [
  10737. "application/json"
  10738. ],
  10739. "tags": [
  10740. "定制【尚志大宗】"
  10741. ],
  10742. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10743. "parameters": [
  10744. {
  10745. "type": "integer",
  10746. "description": "页码",
  10747. "name": "page",
  10748. "in": "query"
  10749. },
  10750. {
  10751. "type": "integer",
  10752. "description": "每页条数",
  10753. "name": "pagesize",
  10754. "in": "query"
  10755. },
  10756. {
  10757. "type": "integer",
  10758. "description": "商品ID",
  10759. "name": "goodsID",
  10760. "in": "query",
  10761. "required": true
  10762. },
  10763. {
  10764. "type": "string",
  10765. "description": "所属账户名称",
  10766. "name": "accountName",
  10767. "in": "query"
  10768. },
  10769. {
  10770. "type": "integer",
  10771. "description": "市场ID",
  10772. "name": "marketID",
  10773. "in": "query"
  10774. },
  10775. {
  10776. "type": "integer",
  10777. "description": "方向 - 0:买 1:卖",
  10778. "name": "buyorsell",
  10779. "in": "query",
  10780. "required": true
  10781. }
  10782. ],
  10783. "responses": {
  10784. "200": {
  10785. "description": "OK",
  10786. "schema": {
  10787. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10788. }
  10789. },
  10790. "500": {
  10791. "description": "Internal Server Error",
  10792. "schema": {
  10793. "$ref": "#/definitions/app.Response"
  10794. }
  10795. }
  10796. }
  10797. }
  10798. },
  10799. "/SZDZ/QuerySZDZTradePosition": {
  10800. "get": {
  10801. "security": [
  10802. {
  10803. "ApiKeyAuth": []
  10804. }
  10805. ],
  10806. "produces": [
  10807. "application/json"
  10808. ],
  10809. "tags": [
  10810. "定制【尚志大宗】"
  10811. ],
  10812. "summary": "持仓汇总查询(尚志大宗)",
  10813. "parameters": [
  10814. {
  10815. "type": "integer",
  10816. "description": "资金账户",
  10817. "name": "accountID",
  10818. "in": "query",
  10819. "required": true
  10820. }
  10821. ],
  10822. "responses": {
  10823. "200": {
  10824. "description": "OK",
  10825. "schema": {
  10826. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10827. }
  10828. },
  10829. "500": {
  10830. "description": "Internal Server Error",
  10831. "schema": {
  10832. "$ref": "#/definitions/app.Response"
  10833. }
  10834. }
  10835. }
  10836. }
  10837. },
  10838. "/SZDZ/SearchWhite": {
  10839. "get": {
  10840. "security": [
  10841. {
  10842. "ApiKeyAuth": []
  10843. }
  10844. ],
  10845. "produces": [
  10846. "application/json"
  10847. ],
  10848. "tags": [
  10849. "定制【尚志大宗】"
  10850. ],
  10851. "summary": "搜索白名单",
  10852. "parameters": [
  10853. {
  10854. "type": "integer",
  10855. "description": "用户ID",
  10856. "name": "userID",
  10857. "in": "query",
  10858. "required": true
  10859. }
  10860. ],
  10861. "responses": {
  10862. "200": {
  10863. "description": "OK",
  10864. "schema": {
  10865. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10866. }
  10867. },
  10868. "500": {
  10869. "description": "Internal Server Error",
  10870. "schema": {
  10871. "$ref": "#/definitions/app.Response"
  10872. }
  10873. }
  10874. }
  10875. }
  10876. },
  10877. "/Search/SearchGoodses": {
  10878. "get": {
  10879. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10880. "produces": [
  10881. "application/json"
  10882. ],
  10883. "tags": [
  10884. "检索服务"
  10885. ],
  10886. "summary": "检索商品信息",
  10887. "parameters": [
  10888. {
  10889. "type": "string",
  10890. "description": "检索内容",
  10891. "name": "content",
  10892. "in": "query",
  10893. "required": true
  10894. },
  10895. {
  10896. "type": "string",
  10897. "description": "交易模式,格式:1,2,3",
  10898. "name": "tradeModes",
  10899. "in": "query"
  10900. }
  10901. ],
  10902. "responses": {
  10903. "200": {
  10904. "description": "OK",
  10905. "schema": {
  10906. "$ref": "#/definitions/models.SearchGoods"
  10907. }
  10908. },
  10909. "500": {
  10910. "description": "Internal Server Error",
  10911. "schema": {
  10912. "$ref": "#/definitions/app.Response"
  10913. }
  10914. }
  10915. }
  10916. }
  10917. },
  10918. "/TaAccount/GetTaAccounts": {
  10919. "get": {
  10920. "security": [
  10921. {
  10922. "ApiKeyAuth": []
  10923. }
  10924. ],
  10925. "produces": [
  10926. "application/json"
  10927. ],
  10928. "tags": [
  10929. "资金账户"
  10930. ],
  10931. "summary": "获取资金账户信息",
  10932. "parameters": [
  10933. {
  10934. "type": "integer",
  10935. "description": "登录账户",
  10936. "name": "loginID",
  10937. "in": "query",
  10938. "required": true
  10939. },
  10940. {
  10941. "type": "integer",
  10942. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10943. "name": "taAccountType",
  10944. "in": "query"
  10945. }
  10946. ],
  10947. "responses": {
  10948. "200": {
  10949. "description": "OK",
  10950. "schema": {
  10951. "$ref": "#/definitions/models.Taaccount"
  10952. }
  10953. },
  10954. "500": {
  10955. "description": "Internal Server Error",
  10956. "schema": {
  10957. "$ref": "#/definitions/app.Response"
  10958. }
  10959. }
  10960. }
  10961. }
  10962. },
  10963. "/TaAccount/QueryAmountLog": {
  10964. "get": {
  10965. "security": [
  10966. {
  10967. "ApiKeyAuth": []
  10968. }
  10969. ],
  10970. "produces": [
  10971. "application/json"
  10972. ],
  10973. "tags": [
  10974. "资金账户"
  10975. ],
  10976. "summary": "资金流水查询(当前)",
  10977. "parameters": [
  10978. {
  10979. "type": "integer",
  10980. "description": "页码",
  10981. "name": "page",
  10982. "in": "query"
  10983. },
  10984. {
  10985. "type": "integer",
  10986. "description": "每页条数",
  10987. "name": "pagesize",
  10988. "in": "query"
  10989. },
  10990. {
  10991. "type": "string",
  10992. "description": "资金账户 - 格式:1,2,3",
  10993. "name": "accountID",
  10994. "in": "query",
  10995. "required": true
  10996. },
  10997. {
  10998. "type": "string",
  10999. "description": "资金操作类型 - 格式:1,2,3",
  11000. "name": "OperateType",
  11001. "in": "query"
  11002. }
  11003. ],
  11004. "responses": {
  11005. "200": {
  11006. "description": "OK",
  11007. "schema": {
  11008. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  11009. }
  11010. },
  11011. "500": {
  11012. "description": "Internal Server Error",
  11013. "schema": {
  11014. "$ref": "#/definitions/app.Response"
  11015. }
  11016. }
  11017. }
  11018. }
  11019. },
  11020. "/TaAccount/QueryHisAmountLog": {
  11021. "get": {
  11022. "security": [
  11023. {
  11024. "ApiKeyAuth": []
  11025. }
  11026. ],
  11027. "produces": [
  11028. "application/json"
  11029. ],
  11030. "tags": [
  11031. "资金账户"
  11032. ],
  11033. "summary": "资金流水查询(历史)",
  11034. "parameters": [
  11035. {
  11036. "type": "integer",
  11037. "description": "页码",
  11038. "name": "page",
  11039. "in": "query"
  11040. },
  11041. {
  11042. "type": "integer",
  11043. "description": "每页条数",
  11044. "name": "pagesize",
  11045. "in": "query"
  11046. },
  11047. {
  11048. "type": "string",
  11049. "description": "资金账户 - 格式:1,2,3",
  11050. "name": "accountID",
  11051. "in": "query",
  11052. "required": true
  11053. },
  11054. {
  11055. "type": "string",
  11056. "description": "资金操作类型 - 格式:1,2,3",
  11057. "name": "OperateType",
  11058. "in": "query"
  11059. },
  11060. {
  11061. "type": "string",
  11062. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  11063. "name": "startDate",
  11064. "in": "query"
  11065. },
  11066. {
  11067. "type": "string",
  11068. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  11069. "name": "endDate",
  11070. "in": "query"
  11071. }
  11072. ],
  11073. "responses": {
  11074. "200": {
  11075. "description": "OK",
  11076. "schema": {
  11077. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  11078. }
  11079. },
  11080. "500": {
  11081. "description": "Internal Server Error",
  11082. "schema": {
  11083. "$ref": "#/definitions/app.Response"
  11084. }
  11085. }
  11086. }
  11087. }
  11088. },
  11089. "/Tjmd/QueryQuoteGoodsList": {
  11090. "get": {
  11091. "security": [
  11092. {
  11093. "ApiKeyAuth": []
  11094. }
  11095. ],
  11096. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  11097. "produces": [
  11098. "application/json"
  11099. ],
  11100. "tags": [
  11101. "天津麦顿"
  11102. ],
  11103. "summary": "查询掉期报价列表",
  11104. "parameters": [
  11105. {
  11106. "type": "integer",
  11107. "description": "用户类型",
  11108. "name": "usertype",
  11109. "in": "query",
  11110. "required": true
  11111. },
  11112. {
  11113. "type": "string",
  11114. "description": "市场id, 格式 1,2,3",
  11115. "name": "marketids",
  11116. "in": "query"
  11117. },
  11118. {
  11119. "type": "integer",
  11120. "description": "商品组id",
  11121. "name": "goodsgroupid",
  11122. "in": "query"
  11123. },
  11124. {
  11125. "type": "integer",
  11126. "description": "商品id",
  11127. "name": "goodsid",
  11128. "in": "query"
  11129. }
  11130. ],
  11131. "responses": {
  11132. "200": {
  11133. "description": "OK",
  11134. "schema": {
  11135. "type": "array",
  11136. "items": {
  11137. "$ref": "#/definitions/models.TjmdQuoteGoods"
  11138. }
  11139. }
  11140. },
  11141. "500": {
  11142. "description": "Internal Server Error",
  11143. "schema": {
  11144. "$ref": "#/definitions/app.Response"
  11145. }
  11146. }
  11147. }
  11148. }
  11149. },
  11150. "/Tjmd/QueryTjmdTodayAccountMargin": {
  11151. "get": {
  11152. "security": [
  11153. {
  11154. "ApiKeyAuth": []
  11155. }
  11156. ],
  11157. "produces": [
  11158. "application/json"
  11159. ],
  11160. "tags": [
  11161. "天津麦顿"
  11162. ],
  11163. "summary": "查询今日账户保证金配置",
  11164. "parameters": [
  11165. {
  11166. "type": "string",
  11167. "description": "市场id",
  11168. "name": "marketid",
  11169. "in": "query"
  11170. },
  11171. {
  11172. "type": "string",
  11173. "description": "商品id",
  11174. "name": "goodsid",
  11175. "in": "query"
  11176. },
  11177. {
  11178. "type": "string",
  11179. "description": "资金账号",
  11180. "name": "accountid",
  11181. "in": "query"
  11182. }
  11183. ],
  11184. "responses": {
  11185. "200": {
  11186. "description": "OK",
  11187. "schema": {
  11188. "type": "array",
  11189. "items": {
  11190. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  11191. }
  11192. }
  11193. },
  11194. "500": {
  11195. "description": "Internal Server Error",
  11196. "schema": {
  11197. "$ref": "#/definitions/app.Response"
  11198. }
  11199. }
  11200. }
  11201. }
  11202. },
  11203. "/Tjmd/QueryTjmdTradeOrderDetail": {
  11204. "get": {
  11205. "security": [
  11206. {
  11207. "ApiKeyAuth": []
  11208. }
  11209. ],
  11210. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  11211. "produces": [
  11212. "application/json"
  11213. ],
  11214. "tags": [
  11215. "天津麦顿"
  11216. ],
  11217. "summary": "查询掉期买卖大厅",
  11218. "parameters": [
  11219. {
  11220. "type": "integer",
  11221. "description": "页码",
  11222. "name": "page",
  11223. "in": "query"
  11224. },
  11225. {
  11226. "type": "integer",
  11227. "description": "每页条数",
  11228. "name": "pagesize",
  11229. "in": "query"
  11230. },
  11231. {
  11232. "type": "integer",
  11233. "description": "用户id",
  11234. "name": "userid",
  11235. "in": "query",
  11236. "required": true
  11237. },
  11238. {
  11239. "type": "integer",
  11240. "description": "用户类型",
  11241. "name": "usertype",
  11242. "in": "query",
  11243. "required": true
  11244. },
  11245. {
  11246. "type": "string",
  11247. "description": "市场id, 格式 1,2,3",
  11248. "name": "marketids",
  11249. "in": "query"
  11250. },
  11251. {
  11252. "type": "integer",
  11253. "description": "商品id",
  11254. "name": "goodsid",
  11255. "in": "query",
  11256. "required": true
  11257. },
  11258. {
  11259. "type": "integer",
  11260. "description": "买卖方向 0-买 1-卖",
  11261. "name": "buyorsell",
  11262. "in": "query",
  11263. "required": true
  11264. }
  11265. ],
  11266. "responses": {
  11267. "200": {
  11268. "description": "OK",
  11269. "schema": {
  11270. "type": "array",
  11271. "items": {
  11272. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  11273. }
  11274. }
  11275. },
  11276. "500": {
  11277. "description": "Internal Server Error",
  11278. "schema": {
  11279. "$ref": "#/definitions/app.Response"
  11280. }
  11281. }
  11282. }
  11283. }
  11284. },
  11285. "/Tjmd/QueryTjmdTransferApply": {
  11286. "get": {
  11287. "security": [
  11288. {
  11289. "ApiKeyAuth": []
  11290. }
  11291. ],
  11292. "produces": [
  11293. "application/json"
  11294. ],
  11295. "tags": [
  11296. "天津麦顿"
  11297. ],
  11298. "summary": "查询掉期协议单",
  11299. "parameters": [
  11300. {
  11301. "type": "integer",
  11302. "description": "类型 1-我的申请 2-对方申请",
  11303. "name": "applytype",
  11304. "in": "query",
  11305. "required": true
  11306. },
  11307. {
  11308. "type": "string",
  11309. "description": "市场id, 格式 1,2,3",
  11310. "name": "marketids",
  11311. "in": "query"
  11312. },
  11313. {
  11314. "type": "string",
  11315. "description": "资金账号, 格式 25000000001,25000000003",
  11316. "name": "accountids",
  11317. "in": "query"
  11318. }
  11319. ],
  11320. "responses": {
  11321. "200": {
  11322. "description": "OK",
  11323. "schema": {
  11324. "type": "array",
  11325. "items": {
  11326. "$ref": "#/definitions/models.TjmdTransferApply"
  11327. }
  11328. }
  11329. },
  11330. "500": {
  11331. "description": "Internal Server Error",
  11332. "schema": {
  11333. "$ref": "#/definitions/app.Response"
  11334. }
  11335. }
  11336. }
  11337. }
  11338. },
  11339. "/Trade/QueryRecieptOrder": {
  11340. "get": {
  11341. "security": [
  11342. {
  11343. "ApiKeyAuth": []
  11344. }
  11345. ],
  11346. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11347. "produces": [
  11348. "application/json"
  11349. ],
  11350. "tags": [
  11351. "通用交易"
  11352. ],
  11353. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  11354. "parameters": [
  11355. {
  11356. "type": "integer",
  11357. "description": "页码",
  11358. "name": "page",
  11359. "in": "query"
  11360. },
  11361. {
  11362. "type": "integer",
  11363. "description": "每页条数",
  11364. "name": "pagesize",
  11365. "in": "query"
  11366. },
  11367. {
  11368. "type": "integer",
  11369. "description": "商品ID",
  11370. "name": "goodsID",
  11371. "in": "query",
  11372. "required": true
  11373. },
  11374. {
  11375. "type": "string",
  11376. "description": "所属账户名称",
  11377. "name": "accountName",
  11378. "in": "query"
  11379. },
  11380. {
  11381. "type": "integer",
  11382. "description": "市场ID",
  11383. "name": "marketID",
  11384. "in": "query"
  11385. },
  11386. {
  11387. "type": "integer",
  11388. "description": "方向 - 0:买 1:卖",
  11389. "name": "buyorsell",
  11390. "in": "query",
  11391. "required": true
  11392. }
  11393. ],
  11394. "responses": {
  11395. "200": {
  11396. "description": "OK",
  11397. "schema": {
  11398. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  11399. }
  11400. },
  11401. "500": {
  11402. "description": "Internal Server Error",
  11403. "schema": {
  11404. "$ref": "#/definitions/app.Response"
  11405. }
  11406. }
  11407. }
  11408. }
  11409. },
  11410. "/User/AddMessageBoard": {
  11411. "post": {
  11412. "security": [
  11413. {
  11414. "ApiKeyAuth": []
  11415. }
  11416. ],
  11417. "produces": [
  11418. "application/json"
  11419. ],
  11420. "tags": [
  11421. "用户信息"
  11422. ],
  11423. "summary": "添加用户留言板信息",
  11424. "parameters": [
  11425. {
  11426. "type": "integer",
  11427. "description": "用户ID",
  11428. "name": "userID",
  11429. "in": "query",
  11430. "required": true
  11431. },
  11432. {
  11433. "type": "string",
  11434. "description": "留言信息",
  11435. "name": "message",
  11436. "in": "query",
  11437. "required": true
  11438. },
  11439. {
  11440. "type": "string",
  11441. "description": "联系电话",
  11442. "name": "contactNum",
  11443. "in": "query",
  11444. "required": true
  11445. }
  11446. ],
  11447. "responses": {
  11448. "200": {
  11449. "description": "OK",
  11450. "schema": {
  11451. "$ref": "#/definitions/app.Response"
  11452. }
  11453. },
  11454. "500": {
  11455. "description": "Internal Server Error",
  11456. "schema": {
  11457. "$ref": "#/definitions/app.Response"
  11458. }
  11459. }
  11460. }
  11461. }
  11462. },
  11463. "/User/AddUserFavoriteGoods": {
  11464. "post": {
  11465. "security": [
  11466. {
  11467. "ApiKeyAuth": []
  11468. }
  11469. ],
  11470. "produces": [
  11471. "application/json"
  11472. ],
  11473. "tags": [
  11474. "用户信息"
  11475. ],
  11476. "summary": "添加用户商品收藏信息",
  11477. "parameters": [
  11478. {
  11479. "type": "integer",
  11480. "description": "用户ID",
  11481. "name": "userID",
  11482. "in": "query",
  11483. "required": true
  11484. },
  11485. {
  11486. "type": "integer",
  11487. "description": "商品ID",
  11488. "name": "goodsID",
  11489. "in": "query",
  11490. "required": true
  11491. }
  11492. ],
  11493. "responses": {
  11494. "200": {
  11495. "description": "OK",
  11496. "schema": {
  11497. "$ref": "#/definitions/app.Response"
  11498. }
  11499. },
  11500. "500": {
  11501. "description": "Internal Server Error",
  11502. "schema": {
  11503. "$ref": "#/definitions/app.Response"
  11504. }
  11505. }
  11506. }
  11507. }
  11508. },
  11509. "/User/GetLoginID": {
  11510. "get": {
  11511. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  11512. "produces": [
  11513. "application/json"
  11514. ],
  11515. "tags": [
  11516. "用户信息"
  11517. ],
  11518. "summary": "获取登录ID",
  11519. "parameters": [
  11520. {
  11521. "type": "string",
  11522. "description": "登录代码",
  11523. "name": "username",
  11524. "in": "query",
  11525. "required": true
  11526. }
  11527. ],
  11528. "responses": {
  11529. "200": {
  11530. "description": "OK",
  11531. "schema": {
  11532. "$ref": "#/definitions/app.Response"
  11533. }
  11534. },
  11535. "500": {
  11536. "description": "Internal Server Error",
  11537. "schema": {
  11538. "$ref": "#/definitions/app.Response"
  11539. }
  11540. }
  11541. }
  11542. }
  11543. },
  11544. "/User/GetUserAccount": {
  11545. "get": {
  11546. "security": [
  11547. {
  11548. "ApiKeyAuth": []
  11549. }
  11550. ],
  11551. "produces": [
  11552. "application/json"
  11553. ],
  11554. "tags": [
  11555. "用户信息"
  11556. ],
  11557. "summary": "获取用户账号信息",
  11558. "parameters": [
  11559. {
  11560. "type": "integer",
  11561. "description": "用户ID",
  11562. "name": "userID",
  11563. "in": "query",
  11564. "required": true
  11565. }
  11566. ],
  11567. "responses": {
  11568. "200": {
  11569. "description": "OK",
  11570. "schema": {
  11571. "$ref": "#/definitions/models.Useraccount"
  11572. }
  11573. },
  11574. "500": {
  11575. "description": "Internal Server Error",
  11576. "schema": {
  11577. "$ref": "#/definitions/app.Response"
  11578. }
  11579. }
  11580. }
  11581. }
  11582. },
  11583. "/User/GetUserAuthStatus": {
  11584. "get": {
  11585. "security": [
  11586. {
  11587. "ApiKeyAuth": []
  11588. }
  11589. ],
  11590. "produces": [
  11591. "application/json"
  11592. ],
  11593. "tags": [
  11594. "用户信息"
  11595. ],
  11596. "summary": "获取用户实名认证状态",
  11597. "parameters": [
  11598. {
  11599. "type": "integer",
  11600. "description": "用户ID",
  11601. "name": "userID",
  11602. "in": "query",
  11603. "required": true
  11604. }
  11605. ],
  11606. "responses": {
  11607. "200": {
  11608. "description": "OK",
  11609. "schema": {
  11610. "$ref": "#/definitions/app.Response"
  11611. }
  11612. },
  11613. "500": {
  11614. "description": "Internal Server Error",
  11615. "schema": {
  11616. "$ref": "#/definitions/app.Response"
  11617. }
  11618. }
  11619. }
  11620. }
  11621. },
  11622. "/User/LoginQuery": {
  11623. "get": {
  11624. "security": [
  11625. {
  11626. "ApiKeyAuth": []
  11627. }
  11628. ],
  11629. "produces": [
  11630. "application/json"
  11631. ],
  11632. "tags": [
  11633. "用户信息"
  11634. ],
  11635. "summary": "账户登录后信息查询",
  11636. "parameters": [
  11637. {
  11638. "type": "integer",
  11639. "description": "登录账号",
  11640. "name": "loginID",
  11641. "in": "query",
  11642. "required": true
  11643. }
  11644. ],
  11645. "responses": {
  11646. "200": {
  11647. "description": "OK",
  11648. "schema": {
  11649. "$ref": "#/definitions/user.LoginQueryRsp"
  11650. }
  11651. },
  11652. "500": {
  11653. "description": "Internal Server Error",
  11654. "schema": {
  11655. "$ref": "#/definitions/app.Response"
  11656. }
  11657. }
  11658. }
  11659. }
  11660. },
  11661. "/User/QueryMessageBoard": {
  11662. "get": {
  11663. "security": [
  11664. {
  11665. "ApiKeyAuth": []
  11666. }
  11667. ],
  11668. "produces": [
  11669. "application/json"
  11670. ],
  11671. "tags": [
  11672. "用户信息"
  11673. ],
  11674. "summary": "获取用户留言板信息",
  11675. "parameters": [
  11676. {
  11677. "type": "integer",
  11678. "description": "用户ID",
  11679. "name": "userID",
  11680. "in": "query",
  11681. "required": true
  11682. }
  11683. ],
  11684. "responses": {
  11685. "200": {
  11686. "description": "OK",
  11687. "schema": {
  11688. "$ref": "#/definitions/models.Messageboard"
  11689. }
  11690. },
  11691. "500": {
  11692. "description": "Internal Server Error",
  11693. "schema": {
  11694. "$ref": "#/definitions/app.Response"
  11695. }
  11696. }
  11697. }
  11698. }
  11699. },
  11700. "/User/QueryUserFavoriteGoodses": {
  11701. "get": {
  11702. "security": [
  11703. {
  11704. "ApiKeyAuth": []
  11705. }
  11706. ],
  11707. "produces": [
  11708. "application/json"
  11709. ],
  11710. "tags": [
  11711. "用户信息"
  11712. ],
  11713. "summary": "获取用户商品收藏信息",
  11714. "parameters": [
  11715. {
  11716. "type": "integer",
  11717. "description": "用户ID",
  11718. "name": "userID",
  11719. "in": "query",
  11720. "required": true
  11721. }
  11722. ],
  11723. "responses": {
  11724. "200": {
  11725. "description": "OK",
  11726. "schema": {
  11727. "$ref": "#/definitions/models.Userfavoritegoods"
  11728. }
  11729. },
  11730. "500": {
  11731. "description": "Internal Server Error",
  11732. "schema": {
  11733. "$ref": "#/definitions/app.Response"
  11734. }
  11735. }
  11736. }
  11737. }
  11738. },
  11739. "/User/QueryUserInfo": {
  11740. "get": {
  11741. "security": [
  11742. {
  11743. "ApiKeyAuth": []
  11744. }
  11745. ],
  11746. "produces": [
  11747. "application/json"
  11748. ],
  11749. "tags": [
  11750. "用户信息"
  11751. ],
  11752. "summary": "获取用户信息",
  11753. "parameters": [
  11754. {
  11755. "type": "integer",
  11756. "description": "用户ID",
  11757. "name": "userID",
  11758. "in": "query",
  11759. "required": true
  11760. },
  11761. {
  11762. "type": "boolean",
  11763. "description": "是否解密",
  11764. "name": "isDecrypt",
  11765. "in": "query"
  11766. }
  11767. ],
  11768. "responses": {
  11769. "200": {
  11770. "description": "OK",
  11771. "schema": {
  11772. "$ref": "#/definitions/models.Userinfo"
  11773. }
  11774. },
  11775. "500": {
  11776. "description": "Internal Server Error",
  11777. "schema": {
  11778. "$ref": "#/definitions/app.Response"
  11779. }
  11780. }
  11781. }
  11782. }
  11783. },
  11784. "/User/QueryUserReferNum": {
  11785. "get": {
  11786. "produces": [
  11787. "application/json"
  11788. ],
  11789. "tags": [
  11790. "用户信息"
  11791. ],
  11792. "summary": "获取用户邀请码",
  11793. "parameters": [
  11794. {
  11795. "type": "integer",
  11796. "description": "用户ID",
  11797. "name": "userID",
  11798. "in": "query",
  11799. "required": true
  11800. }
  11801. ],
  11802. "responses": {
  11803. "200": {
  11804. "description": "OK",
  11805. "schema": {
  11806. "$ref": "#/definitions/app.Response"
  11807. }
  11808. },
  11809. "500": {
  11810. "description": "Internal Server Error",
  11811. "schema": {
  11812. "$ref": "#/definitions/app.Response"
  11813. }
  11814. }
  11815. }
  11816. }
  11817. },
  11818. "/User/RemoveUserFavoriteGoods": {
  11819. "post": {
  11820. "security": [
  11821. {
  11822. "ApiKeyAuth": []
  11823. }
  11824. ],
  11825. "produces": [
  11826. "application/json"
  11827. ],
  11828. "tags": [
  11829. "用户信息"
  11830. ],
  11831. "summary": "移除用户商品收藏信息",
  11832. "parameters": [
  11833. {
  11834. "type": "integer",
  11835. "description": "用户ID",
  11836. "name": "userID",
  11837. "in": "query",
  11838. "required": true
  11839. },
  11840. {
  11841. "type": "integer",
  11842. "description": "商品ID",
  11843. "name": "goodsID",
  11844. "in": "query",
  11845. "required": true
  11846. }
  11847. ],
  11848. "responses": {
  11849. "200": {
  11850. "description": "OK",
  11851. "schema": {
  11852. "$ref": "#/definitions/app.Response"
  11853. }
  11854. },
  11855. "500": {
  11856. "description": "Internal Server Error",
  11857. "schema": {
  11858. "$ref": "#/definitions/app.Response"
  11859. }
  11860. }
  11861. }
  11862. }
  11863. },
  11864. "/User/UpdateUserAccountStatus": {
  11865. "post": {
  11866. "security": [
  11867. {
  11868. "ApiKeyAuth": []
  11869. }
  11870. ],
  11871. "produces": [
  11872. "application/json"
  11873. ],
  11874. "tags": [
  11875. "用户信息"
  11876. ],
  11877. "summary": "更新用户状态",
  11878. "parameters": [
  11879. {
  11880. "type": "integer",
  11881. "description": "用户ID",
  11882. "name": "userID",
  11883. "in": "query",
  11884. "required": true
  11885. },
  11886. {
  11887. "type": "integer",
  11888. "description": "账户状态 - 4:正常 6:注销(停用)",
  11889. "name": "accountStatus",
  11890. "in": "query",
  11891. "required": true
  11892. }
  11893. ],
  11894. "responses": {
  11895. "200": {
  11896. "description": "OK",
  11897. "schema": {
  11898. "$ref": "#/definitions/app.Response"
  11899. }
  11900. },
  11901. "500": {
  11902. "description": "Internal Server Error",
  11903. "schema": {
  11904. "$ref": "#/definitions/app.Response"
  11905. }
  11906. }
  11907. }
  11908. }
  11909. },
  11910. "/WRTrade/GetAllDeliveryGoods": {
  11911. "get": {
  11912. "security": [
  11913. {
  11914. "ApiKeyAuth": []
  11915. },
  11916. {
  11917. "ApiKeyAuth": []
  11918. }
  11919. ],
  11920. "produces": [
  11921. "application/json",
  11922. "application/json"
  11923. ],
  11924. "tags": [
  11925. "仓单贸易",
  11926. "仓单贸易"
  11927. ],
  11928. "summary": "获取带仓单分类的种类信息",
  11929. "responses": {
  11930. "200": {
  11931. "description": "OK",
  11932. "schema": {
  11933. "$ref": "#/definitions/app.Response"
  11934. }
  11935. },
  11936. "500": {
  11937. "description": "Internal Server Error",
  11938. "schema": {
  11939. "$ref": "#/definitions/app.Response"
  11940. }
  11941. }
  11942. }
  11943. }
  11944. },
  11945. "/WrTrade2/QueryDeliveryGoodsSection": {
  11946. "get": {
  11947. "security": [
  11948. {
  11949. "ApiKeyAuth": []
  11950. }
  11951. ],
  11952. "produces": [
  11953. "application/json"
  11954. ],
  11955. "tags": [
  11956. "仓单贸易v2"
  11957. ],
  11958. "summary": "查询板块(分类)",
  11959. "responses": {
  11960. "200": {
  11961. "description": "OK",
  11962. "schema": {
  11963. "type": "array",
  11964. "items": {
  11965. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  11966. }
  11967. }
  11968. },
  11969. "500": {
  11970. "description": "Internal Server Error",
  11971. "schema": {
  11972. "$ref": "#/definitions/app.Response"
  11973. }
  11974. }
  11975. }
  11976. }
  11977. },
  11978. "/WrTrade2/QueryFaProductDetail": {
  11979. "get": {
  11980. "security": [
  11981. {
  11982. "ApiKeyAuth": []
  11983. }
  11984. ],
  11985. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  11986. "produces": [
  11987. "application/json"
  11988. ],
  11989. "tags": [
  11990. "仓单贸易v2"
  11991. ],
  11992. "summary": "查询融资产品列表",
  11993. "parameters": [
  11994. {
  11995. "type": "integer",
  11996. "description": "仓单要素id",
  11997. "name": "wrfactortypeid",
  11998. "in": "query",
  11999. "required": true
  12000. }
  12001. ],
  12002. "responses": {
  12003. "200": {
  12004. "description": "OK",
  12005. "schema": {
  12006. "type": "array",
  12007. "items": {
  12008. "$ref": "#/definitions/models.WrFAProductDetail"
  12009. }
  12010. }
  12011. },
  12012. "500": {
  12013. "description": "Internal Server Error",
  12014. "schema": {
  12015. "$ref": "#/definitions/app.Response"
  12016. }
  12017. }
  12018. }
  12019. }
  12020. },
  12021. "/WrTrade2/QueryFilterItem": {
  12022. "get": {
  12023. "security": [
  12024. {
  12025. "ApiKeyAuth": []
  12026. }
  12027. ],
  12028. "produces": [
  12029. "application/json"
  12030. ],
  12031. "tags": [
  12032. "仓单贸易v2"
  12033. ],
  12034. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  12035. "parameters": [
  12036. {
  12037. "type": "string",
  12038. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  12039. "name": "itype",
  12040. "in": "query",
  12041. "required": true
  12042. }
  12043. ],
  12044. "responses": {
  12045. "200": {
  12046. "description": "OK",
  12047. "schema": {
  12048. "type": "array",
  12049. "items": {
  12050. "$ref": "#/definitions/models.WrFilterItem"
  12051. }
  12052. }
  12053. },
  12054. "500": {
  12055. "description": "Internal Server Error",
  12056. "schema": {
  12057. "$ref": "#/definitions/app.Response"
  12058. }
  12059. }
  12060. }
  12061. }
  12062. },
  12063. "/WrTrade2/QueryFtDeliveryGoods": {
  12064. "get": {
  12065. "security": [
  12066. {
  12067. "ApiKeyAuth": []
  12068. }
  12069. ],
  12070. "produces": [
  12071. "application/json"
  12072. ],
  12073. "tags": [
  12074. "仓单贸易v2"
  12075. ],
  12076. "summary": "查询品种品类筛选框列表",
  12077. "responses": {
  12078. "200": {
  12079. "description": "OK",
  12080. "schema": {
  12081. "type": "array",
  12082. "items": {
  12083. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  12084. }
  12085. }
  12086. },
  12087. "500": {
  12088. "description": "Internal Server Error",
  12089. "schema": {
  12090. "$ref": "#/definitions/app.Response"
  12091. }
  12092. }
  12093. }
  12094. }
  12095. },
  12096. "/WrTrade2/QueryHoldLB": {
  12097. "get": {
  12098. "security": [
  12099. {
  12100. "ApiKeyAuth": []
  12101. }
  12102. ],
  12103. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  12104. "produces": [
  12105. "application/json"
  12106. ],
  12107. "tags": [
  12108. "仓单贸易v2"
  12109. ],
  12110. "summary": "查询仓单持有记录",
  12111. "parameters": [
  12112. {
  12113. "type": "integer",
  12114. "description": "资金账号",
  12115. "name": "accountid",
  12116. "in": "query",
  12117. "required": true
  12118. },
  12119. {
  12120. "type": "integer",
  12121. "description": "仓库id",
  12122. "name": "warehouseid",
  12123. "in": "query"
  12124. },
  12125. {
  12126. "type": "integer",
  12127. "description": "品种id",
  12128. "name": "deliverygoodsid",
  12129. "in": "query"
  12130. },
  12131. {
  12132. "type": "integer",
  12133. "description": "品类id",
  12134. "name": "wrstandardid",
  12135. "in": "query"
  12136. },
  12137. {
  12138. "type": "integer",
  12139. "description": "仓单要素id",
  12140. "name": "wrfactortypeid",
  12141. "in": "query"
  12142. },
  12143. {
  12144. "type": "string",
  12145. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12146. "name": "dgitemname",
  12147. "in": "query"
  12148. }
  12149. ],
  12150. "responses": {
  12151. "200": {
  12152. "description": "OK",
  12153. "schema": {
  12154. "type": "array",
  12155. "items": {
  12156. "$ref": "#/definitions/models.WrHoldLB"
  12157. }
  12158. }
  12159. },
  12160. "500": {
  12161. "description": "Internal Server Error",
  12162. "schema": {
  12163. "$ref": "#/definitions/app.Response"
  12164. }
  12165. }
  12166. }
  12167. }
  12168. },
  12169. "/WrTrade2/QueryOrderQuote": {
  12170. "get": {
  12171. "security": [
  12172. {
  12173. "ApiKeyAuth": []
  12174. }
  12175. ],
  12176. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  12177. "produces": [
  12178. "application/json"
  12179. ],
  12180. "tags": [
  12181. "仓单贸易v2"
  12182. ],
  12183. "summary": "查询大厅行情列表",
  12184. "parameters": [
  12185. {
  12186. "type": "integer",
  12187. "description": "页码",
  12188. "name": "page",
  12189. "in": "query"
  12190. },
  12191. {
  12192. "type": "integer",
  12193. "description": "每页条数",
  12194. "name": "pagesize",
  12195. "in": "query"
  12196. },
  12197. {
  12198. "type": "integer",
  12199. "description": "仓单贸易市场id",
  12200. "name": "marketid",
  12201. "in": "query"
  12202. },
  12203. {
  12204. "type": "integer",
  12205. "description": "价格方式 - 1:固定价 2-浮动价",
  12206. "name": "wrpricetype",
  12207. "in": "query",
  12208. "required": true
  12209. },
  12210. {
  12211. "type": "integer",
  12212. "description": "0:仓单预售 1:仓单贸易",
  12213. "name": "haswr",
  12214. "in": "query",
  12215. "required": true
  12216. },
  12217. {
  12218. "type": "string",
  12219. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12220. "name": "dgitemname",
  12221. "in": "query"
  12222. },
  12223. {
  12224. "type": "integer",
  12225. "description": "仓库id(筛选条件)",
  12226. "name": "warehouseid",
  12227. "in": "query"
  12228. },
  12229. {
  12230. "type": "integer",
  12231. "description": "品种id",
  12232. "name": "deliverygoodsid",
  12233. "in": "query"
  12234. },
  12235. {
  12236. "type": "integer",
  12237. "description": "品类id",
  12238. "name": "wrstandardid",
  12239. "in": "query"
  12240. },
  12241. {
  12242. "type": "integer",
  12243. "description": "仓单要素id",
  12244. "name": "wrfactortypeid",
  12245. "in": "query"
  12246. },
  12247. {
  12248. "type": "string",
  12249. "description": "交收月(yyyy-mm) 仓单预售填写",
  12250. "name": "deliverymonth",
  12251. "in": "query"
  12252. }
  12253. ],
  12254. "responses": {
  12255. "200": {
  12256. "description": "OK",
  12257. "schema": {
  12258. "type": "array",
  12259. "items": {
  12260. "$ref": "#/definitions/models.WrOrderQuote"
  12261. }
  12262. }
  12263. },
  12264. "500": {
  12265. "description": "Internal Server Error",
  12266. "schema": {
  12267. "$ref": "#/definitions/app.Response"
  12268. }
  12269. }
  12270. }
  12271. }
  12272. },
  12273. "/WrTrade2/QueryOrderQuoteDetail": {
  12274. "get": {
  12275. "security": [
  12276. {
  12277. "ApiKeyAuth": []
  12278. }
  12279. ],
  12280. "produces": [
  12281. "application/json"
  12282. ],
  12283. "tags": [
  12284. "仓单贸易v2"
  12285. ],
  12286. "summary": "查询买卖大厅",
  12287. "parameters": [
  12288. {
  12289. "type": "integer",
  12290. "description": "页码",
  12291. "name": "page",
  12292. "in": "query"
  12293. },
  12294. {
  12295. "type": "integer",
  12296. "description": "每页条数",
  12297. "name": "pagesize",
  12298. "in": "query"
  12299. },
  12300. {
  12301. "type": "integer",
  12302. "description": "仓单贸易市场id",
  12303. "name": "marketid",
  12304. "in": "query"
  12305. },
  12306. {
  12307. "type": "integer",
  12308. "description": "价格方式 - 1:固定价 2-浮动价",
  12309. "name": "wrpricetype",
  12310. "in": "query",
  12311. "required": true
  12312. },
  12313. {
  12314. "type": "integer",
  12315. "description": "0:仓单预售 1:仓单贸易",
  12316. "name": "haswr",
  12317. "in": "query",
  12318. "required": true
  12319. },
  12320. {
  12321. "type": "integer",
  12322. "description": "仓单要素id",
  12323. "name": "wrfactortypeid",
  12324. "in": "query",
  12325. "required": true
  12326. },
  12327. {
  12328. "type": "integer",
  12329. "description": "期货商品id(浮动价方式时填)",
  12330. "name": "goodsid",
  12331. "in": "query"
  12332. },
  12333. {
  12334. "type": "integer",
  12335. "description": "买卖方向 0-买 1-卖",
  12336. "name": "buyorsell",
  12337. "in": "query",
  12338. "required": true
  12339. },
  12340. {
  12341. "type": "string",
  12342. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  12343. "name": "deliverymonth",
  12344. "in": "query"
  12345. }
  12346. ],
  12347. "responses": {
  12348. "200": {
  12349. "description": "OK",
  12350. "schema": {
  12351. "type": "array",
  12352. "items": {
  12353. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  12354. }
  12355. }
  12356. },
  12357. "500": {
  12358. "description": "Internal Server Error",
  12359. "schema": {
  12360. "$ref": "#/definitions/app.Response"
  12361. }
  12362. }
  12363. }
  12364. }
  12365. },
  12366. "/WrTrade2/QueryOrderQuoteMyq": {
  12367. "get": {
  12368. "security": [
  12369. {
  12370. "ApiKeyAuth": []
  12371. }
  12372. ],
  12373. "produces": [
  12374. "application/json"
  12375. ],
  12376. "tags": [
  12377. "仓单贸易v2"
  12378. ],
  12379. "summary": "查询贸易圈挂牌大厅",
  12380. "parameters": [
  12381. {
  12382. "type": "integer",
  12383. "description": "页码",
  12384. "name": "page",
  12385. "in": "query"
  12386. },
  12387. {
  12388. "type": "integer",
  12389. "description": "每页条数",
  12390. "name": "pagesize",
  12391. "in": "query"
  12392. },
  12393. {
  12394. "type": "integer",
  12395. "description": "用户id",
  12396. "name": "userid",
  12397. "in": "query",
  12398. "required": true
  12399. },
  12400. {
  12401. "type": "integer",
  12402. "description": "仓单贸易市场id",
  12403. "name": "marketid",
  12404. "in": "query"
  12405. },
  12406. {
  12407. "type": "integer",
  12408. "description": "0:仓单预售 1:仓单贸易",
  12409. "name": "haswr",
  12410. "in": "query",
  12411. "required": true
  12412. },
  12413. {
  12414. "type": "integer",
  12415. "description": "买卖方向 0-买 1-卖",
  12416. "name": "buyorsell",
  12417. "in": "query",
  12418. "required": true
  12419. },
  12420. {
  12421. "type": "integer",
  12422. "description": "品种id",
  12423. "name": "deliverygoodsid",
  12424. "in": "query"
  12425. },
  12426. {
  12427. "type": "integer",
  12428. "description": "品类id",
  12429. "name": "wrstandardid",
  12430. "in": "query"
  12431. },
  12432. {
  12433. "type": "string",
  12434. "description": "交收月(yyyy-mm) 仓单预售填写",
  12435. "name": "deliverymonth",
  12436. "in": "query"
  12437. },
  12438. {
  12439. "type": "string",
  12440. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12441. "name": "dgitemname",
  12442. "in": "query"
  12443. }
  12444. ],
  12445. "responses": {
  12446. "200": {
  12447. "description": "OK",
  12448. "schema": {
  12449. "type": "array",
  12450. "items": {
  12451. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  12452. }
  12453. }
  12454. },
  12455. "500": {
  12456. "description": "Internal Server Error",
  12457. "schema": {
  12458. "$ref": "#/definitions/app.Response"
  12459. }
  12460. }
  12461. }
  12462. }
  12463. },
  12464. "/WrTrade2/QueryPerformancePlan": {
  12465. "get": {
  12466. "security": [
  12467. {
  12468. "ApiKeyAuth": []
  12469. }
  12470. ],
  12471. "produces": [
  12472. "application/json"
  12473. ],
  12474. "tags": [
  12475. "仓单贸易v2"
  12476. ],
  12477. "summary": "查询履约信息",
  12478. "parameters": [
  12479. {
  12480. "type": "integer",
  12481. "description": "用户id",
  12482. "name": "userid",
  12483. "in": "query",
  12484. "required": true
  12485. },
  12486. {
  12487. "type": "integer",
  12488. "description": "买卖方向 0-买 1-卖",
  12489. "name": "buyorsell",
  12490. "in": "query",
  12491. "required": true
  12492. }
  12493. ],
  12494. "responses": {
  12495. "200": {
  12496. "description": "OK",
  12497. "schema": {
  12498. "type": "array",
  12499. "items": {
  12500. "$ref": "#/definitions/models.WrPerformancePlan"
  12501. }
  12502. }
  12503. },
  12504. "500": {
  12505. "description": "Internal Server Error",
  12506. "schema": {
  12507. "$ref": "#/definitions/app.Response"
  12508. }
  12509. }
  12510. }
  12511. }
  12512. },
  12513. "/WrTrade2/QueryPermancePlanTmp": {
  12514. "get": {
  12515. "security": [
  12516. {
  12517. "ApiKeyAuth": []
  12518. }
  12519. ],
  12520. "description": "返回指定用户的模板和公共模板(用户id为空)",
  12521. "produces": [
  12522. "application/json"
  12523. ],
  12524. "tags": [
  12525. "仓单贸易v2"
  12526. ],
  12527. "summary": "查询履约模板",
  12528. "parameters": [
  12529. {
  12530. "type": "integer",
  12531. "description": "用户id",
  12532. "name": "userid",
  12533. "in": "query"
  12534. },
  12535. {
  12536. "type": "string",
  12537. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  12538. "name": "tmptype",
  12539. "in": "query"
  12540. },
  12541. {
  12542. "type": "integer",
  12543. "description": "是否包含公共模板(用户id为空的) 1-包含",
  12544. "name": "includepub",
  12545. "in": "query"
  12546. }
  12547. ],
  12548. "responses": {
  12549. "200": {
  12550. "description": "OK",
  12551. "schema": {
  12552. "type": "array",
  12553. "items": {
  12554. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  12555. }
  12556. }
  12557. },
  12558. "500": {
  12559. "description": "Internal Server Error",
  12560. "schema": {
  12561. "$ref": "#/definitions/app.Response"
  12562. }
  12563. }
  12564. }
  12565. }
  12566. },
  12567. "/WrTrade2/QuerySiteColumnDetail": {
  12568. "get": {
  12569. "security": [
  12570. {
  12571. "ApiKeyAuth": []
  12572. }
  12573. ],
  12574. "produces": [
  12575. "application/json"
  12576. ],
  12577. "tags": [
  12578. "仓单贸易v2"
  12579. ],
  12580. "summary": "查询资讯",
  12581. "parameters": [
  12582. {
  12583. "type": "integer",
  12584. "description": "页码",
  12585. "name": "page",
  12586. "in": "query"
  12587. },
  12588. {
  12589. "type": "integer",
  12590. "description": "每页条数",
  12591. "name": "pagesize",
  12592. "in": "query"
  12593. }
  12594. ],
  12595. "responses": {
  12596. "200": {
  12597. "description": "OK",
  12598. "schema": {
  12599. "type": "array",
  12600. "items": {
  12601. "$ref": "#/definitions/models.WrSiteColumnDetail"
  12602. }
  12603. }
  12604. },
  12605. "500": {
  12606. "description": "Internal Server Error",
  12607. "schema": {
  12608. "$ref": "#/definitions/app.Response"
  12609. }
  12610. }
  12611. }
  12612. }
  12613. },
  12614. "/WrTrade2/QuerySpotGroupTradeSum": {
  12615. "get": {
  12616. "security": [
  12617. {
  12618. "ApiKeyAuth": []
  12619. }
  12620. ],
  12621. "produces": [
  12622. "application/json"
  12623. ],
  12624. "tags": [
  12625. "仓单贸易v2"
  12626. ],
  12627. "summary": "查询指数",
  12628. "responses": {
  12629. "200": {
  12630. "description": "OK",
  12631. "schema": {
  12632. "type": "array",
  12633. "items": {
  12634. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  12635. }
  12636. }
  12637. },
  12638. "500": {
  12639. "description": "Internal Server Error",
  12640. "schema": {
  12641. "$ref": "#/definitions/app.Response"
  12642. }
  12643. }
  12644. }
  12645. }
  12646. },
  12647. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  12648. "get": {
  12649. "security": [
  12650. {
  12651. "ApiKeyAuth": []
  12652. }
  12653. ],
  12654. "description": "查询的结果将会按日期 从小到大 排序",
  12655. "produces": [
  12656. "application/json"
  12657. ],
  12658. "tags": [
  12659. "仓单贸易v2"
  12660. ],
  12661. "summary": "查询指数详细(价格走势图)",
  12662. "parameters": [
  12663. {
  12664. "type": "integer",
  12665. "description": "现货商品id",
  12666. "name": "deliverygoodsid",
  12667. "in": "query",
  12668. "required": true
  12669. },
  12670. {
  12671. "type": "integer",
  12672. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  12673. "name": "lastnum",
  12674. "in": "query"
  12675. }
  12676. ],
  12677. "responses": {
  12678. "200": {
  12679. "description": "OK",
  12680. "schema": {
  12681. "type": "array",
  12682. "items": {
  12683. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  12684. }
  12685. }
  12686. },
  12687. "500": {
  12688. "description": "Internal Server Error",
  12689. "schema": {
  12690. "$ref": "#/definitions/app.Response"
  12691. }
  12692. }
  12693. }
  12694. }
  12695. },
  12696. "/WrTrade2/QueryWrAverageTradePrice": {
  12697. "get": {
  12698. "security": [
  12699. {
  12700. "ApiKeyAuth": []
  12701. }
  12702. ],
  12703. "produces": [
  12704. "application/json"
  12705. ],
  12706. "tags": [
  12707. "仓单贸易v2"
  12708. ],
  12709. "summary": "查询成交价(历史走势)",
  12710. "parameters": [
  12711. {
  12712. "type": "integer",
  12713. "description": "页码",
  12714. "name": "page",
  12715. "in": "query"
  12716. },
  12717. {
  12718. "type": "integer",
  12719. "description": "每页条数",
  12720. "name": "pagesize",
  12721. "in": "query"
  12722. },
  12723. {
  12724. "type": "integer",
  12725. "description": "0:仓单预售 1:仓单贸易",
  12726. "name": "haswr",
  12727. "in": "query",
  12728. "required": true
  12729. },
  12730. {
  12731. "type": "integer",
  12732. "description": "仓单要素id",
  12733. "name": "wrfactortypeid",
  12734. "in": "query",
  12735. "required": true
  12736. }
  12737. ],
  12738. "responses": {
  12739. "200": {
  12740. "description": "OK",
  12741. "schema": {
  12742. "type": "array",
  12743. "items": {
  12744. "$ref": "#/definitions/models.WrAverageTradePrice"
  12745. }
  12746. }
  12747. },
  12748. "500": {
  12749. "description": "Internal Server Error",
  12750. "schema": {
  12751. "$ref": "#/definitions/app.Response"
  12752. }
  12753. }
  12754. }
  12755. }
  12756. },
  12757. "/WrTrade2/QueryWrBsGoodsInfo": {
  12758. "get": {
  12759. "security": [
  12760. {
  12761. "ApiKeyAuth": []
  12762. }
  12763. ],
  12764. "description": "合约交易/买卖大厅/详情",
  12765. "produces": [
  12766. "application/json"
  12767. ],
  12768. "tags": [
  12769. "仓单贸易v2"
  12770. ],
  12771. "summary": "查询合约交易买卖大厅详情",
  12772. "parameters": [
  12773. {
  12774. "type": "integer",
  12775. "description": "商品id",
  12776. "name": "goodsid",
  12777. "in": "query",
  12778. "required": true
  12779. }
  12780. ],
  12781. "responses": {
  12782. "200": {
  12783. "description": "OK",
  12784. "schema": {
  12785. "type": "array",
  12786. "items": {
  12787. "$ref": "#/definitions/models.WrBsGoodsInfo"
  12788. }
  12789. }
  12790. },
  12791. "500": {
  12792. "description": "Internal Server Error",
  12793. "schema": {
  12794. "$ref": "#/definitions/app.Response"
  12795. }
  12796. }
  12797. }
  12798. }
  12799. },
  12800. "/WrTrade2/QueryWrBuybackDetail": {
  12801. "get": {
  12802. "security": [
  12803. {
  12804. "ApiKeyAuth": []
  12805. }
  12806. ],
  12807. "produces": [
  12808. "application/json"
  12809. ],
  12810. "tags": [
  12811. "仓单贸易v2"
  12812. ],
  12813. "summary": "查询仓单回购明细",
  12814. "parameters": [
  12815. {
  12816. "type": "integer",
  12817. "description": "融资合同id",
  12818. "name": "scfcontractid",
  12819. "in": "query"
  12820. }
  12821. ],
  12822. "responses": {
  12823. "200": {
  12824. "description": "OK",
  12825. "schema": {
  12826. "type": "array",
  12827. "items": {
  12828. "$ref": "#/definitions/models.WrBuybackDetail"
  12829. }
  12830. }
  12831. },
  12832. "500": {
  12833. "description": "Internal Server Error",
  12834. "schema": {
  12835. "$ref": "#/definitions/app.Response"
  12836. }
  12837. }
  12838. }
  12839. }
  12840. },
  12841. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  12842. "get": {
  12843. "security": [
  12844. {
  12845. "ApiKeyAuth": []
  12846. }
  12847. ],
  12848. "produces": [
  12849. "application/json"
  12850. ],
  12851. "tags": [
  12852. "仓单贸易v2"
  12853. ],
  12854. "summary": "查询合约交收可点选仓单",
  12855. "parameters": [
  12856. {
  12857. "type": "integer",
  12858. "description": "资金账号",
  12859. "name": "accountid",
  12860. "in": "query",
  12861. "required": true
  12862. },
  12863. {
  12864. "type": "integer",
  12865. "description": "商品id",
  12866. "name": "goodsid",
  12867. "in": "query",
  12868. "required": true
  12869. }
  12870. ],
  12871. "responses": {
  12872. "200": {
  12873. "description": "OK",
  12874. "schema": {
  12875. "type": "array",
  12876. "items": {
  12877. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  12878. }
  12879. }
  12880. },
  12881. "500": {
  12882. "description": "Internal Server Error",
  12883. "schema": {
  12884. "$ref": "#/definitions/app.Response"
  12885. }
  12886. }
  12887. }
  12888. }
  12889. },
  12890. "/WrTrade2/QueryWrDeliveryDetail": {
  12891. "get": {
  12892. "security": [
  12893. {
  12894. "ApiKeyAuth": []
  12895. }
  12896. ],
  12897. "produces": [
  12898. "application/json"
  12899. ],
  12900. "tags": [
  12901. "仓单贸易v2"
  12902. ],
  12903. "summary": "查询交收",
  12904. "parameters": [
  12905. {
  12906. "type": "integer",
  12907. "description": "用户id",
  12908. "name": "userid",
  12909. "in": "query",
  12910. "required": true
  12911. },
  12912. {
  12913. "type": "integer",
  12914. "description": "资金账号id",
  12915. "name": "accountid",
  12916. "in": "query"
  12917. }
  12918. ],
  12919. "responses": {
  12920. "200": {
  12921. "description": "OK",
  12922. "schema": {
  12923. "type": "array",
  12924. "items": {
  12925. "$ref": "#/definitions/models.WrDeliveryDetail"
  12926. }
  12927. }
  12928. },
  12929. "500": {
  12930. "description": "Internal Server Error",
  12931. "schema": {
  12932. "$ref": "#/definitions/app.Response"
  12933. }
  12934. }
  12935. }
  12936. }
  12937. },
  12938. "/WrTrade2/QueryWrFactorTypeInfo": {
  12939. "get": {
  12940. "security": [
  12941. {
  12942. "ApiKeyAuth": []
  12943. }
  12944. ],
  12945. "produces": [
  12946. "application/json"
  12947. ],
  12948. "tags": [
  12949. "仓单贸易v2"
  12950. ],
  12951. "summary": "查询仓单要素详细信息",
  12952. "parameters": [
  12953. {
  12954. "type": "integer",
  12955. "description": "仓单要素id",
  12956. "name": "wrfactortypeid",
  12957. "in": "query",
  12958. "required": true
  12959. }
  12960. ],
  12961. "responses": {
  12962. "200": {
  12963. "description": "OK",
  12964. "schema": {
  12965. "type": "array",
  12966. "items": {
  12967. "$ref": "#/definitions/models.WrFactorTypeInfo"
  12968. }
  12969. }
  12970. },
  12971. "500": {
  12972. "description": "Internal Server Error",
  12973. "schema": {
  12974. "$ref": "#/definitions/app.Response"
  12975. }
  12976. }
  12977. }
  12978. }
  12979. },
  12980. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  12981. "get": {
  12982. "security": [
  12983. {
  12984. "ApiKeyAuth": []
  12985. }
  12986. ],
  12987. "produces": [
  12988. "application/json"
  12989. ],
  12990. "tags": [
  12991. "仓单贸易v2"
  12992. ],
  12993. "summary": "查询仓单要素详细信息列表项",
  12994. "parameters": [
  12995. {
  12996. "type": "integer",
  12997. "description": "仓单要素id",
  12998. "name": "wrfactortypeid",
  12999. "in": "query",
  13000. "required": true
  13001. }
  13002. ],
  13003. "responses": {
  13004. "200": {
  13005. "description": "OK",
  13006. "schema": {
  13007. "type": "array",
  13008. "items": {
  13009. "$ref": "#/definitions/models.WrTypeItem"
  13010. }
  13011. }
  13012. },
  13013. "500": {
  13014. "description": "Internal Server Error",
  13015. "schema": {
  13016. "$ref": "#/definitions/app.Response"
  13017. }
  13018. }
  13019. }
  13020. }
  13021. },
  13022. "/WrTrade2/QueryWrFinanceBuyApply": {
  13023. "get": {
  13024. "security": [
  13025. {
  13026. "ApiKeyAuth": []
  13027. }
  13028. ],
  13029. "description": "页面 融资信息+ / 申请单",
  13030. "produces": [
  13031. "application/json"
  13032. ],
  13033. "tags": [
  13034. "仓单贸易v2"
  13035. ],
  13036. "summary": "查询融资购买申请",
  13037. "parameters": [
  13038. {
  13039. "type": "integer",
  13040. "description": "用户id",
  13041. "name": "userid",
  13042. "in": "query",
  13043. "required": true
  13044. }
  13045. ],
  13046. "responses": {
  13047. "200": {
  13048. "description": "OK",
  13049. "schema": {
  13050. "type": "array",
  13051. "items": {
  13052. "$ref": "#/definitions/models.WrFinanceBuyApply"
  13053. }
  13054. }
  13055. },
  13056. "500": {
  13057. "description": "Internal Server Error",
  13058. "schema": {
  13059. "$ref": "#/definitions/app.Response"
  13060. }
  13061. }
  13062. }
  13063. }
  13064. },
  13065. "/WrTrade2/QueryWrFriendApply": {
  13066. "get": {
  13067. "security": [
  13068. {
  13069. "ApiKeyAuth": []
  13070. }
  13071. ],
  13072. "produces": [
  13073. "application/json"
  13074. ],
  13075. "tags": [
  13076. "仓单贸易v2"
  13077. ],
  13078. "summary": "查询好友申请记录",
  13079. "parameters": [
  13080. {
  13081. "type": "integer",
  13082. "description": "用户id",
  13083. "name": "userid",
  13084. "in": "query",
  13085. "required": true
  13086. }
  13087. ],
  13088. "responses": {
  13089. "200": {
  13090. "description": "OK",
  13091. "schema": {
  13092. "type": "array",
  13093. "items": {
  13094. "$ref": "#/definitions/models.WrFriendApply"
  13095. }
  13096. }
  13097. },
  13098. "500": {
  13099. "description": "Internal Server Error",
  13100. "schema": {
  13101. "$ref": "#/definitions/app.Response"
  13102. }
  13103. }
  13104. }
  13105. }
  13106. },
  13107. "/WrTrade2/QueryWrGoodsInfo": {
  13108. "get": {
  13109. "security": [
  13110. {
  13111. "ApiKeyAuth": []
  13112. }
  13113. ],
  13114. "produces": [
  13115. "application/json"
  13116. ],
  13117. "tags": [
  13118. "仓单贸易v2"
  13119. ],
  13120. "summary": "查询仓单商品信息",
  13121. "parameters": [
  13122. {
  13123. "type": "integer",
  13124. "description": "仓单贸易市场id",
  13125. "name": "marketid",
  13126. "in": "query"
  13127. },
  13128. {
  13129. "type": "integer",
  13130. "description": "0:仓单预售 1:仓单贸易",
  13131. "name": "haswr",
  13132. "in": "query",
  13133. "required": true
  13134. },
  13135. {
  13136. "type": "integer",
  13137. "description": "仓单要素id",
  13138. "name": "wrfactortypeid",
  13139. "in": "query",
  13140. "required": true
  13141. },
  13142. {
  13143. "type": "integer",
  13144. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  13145. "name": "tmplateid",
  13146. "in": "query"
  13147. }
  13148. ],
  13149. "responses": {
  13150. "200": {
  13151. "description": "OK",
  13152. "schema": {
  13153. "type": "array",
  13154. "items": {
  13155. "$ref": "#/definitions/models.WrGoodsInfo"
  13156. }
  13157. }
  13158. },
  13159. "500": {
  13160. "description": "Internal Server Error",
  13161. "schema": {
  13162. "$ref": "#/definitions/app.Response"
  13163. }
  13164. }
  13165. }
  13166. }
  13167. },
  13168. "/WrTrade2/QueryWrMarketTradeConfig": {
  13169. "get": {
  13170. "security": [
  13171. {
  13172. "ApiKeyAuth": []
  13173. }
  13174. ],
  13175. "produces": [
  13176. "application/json"
  13177. ],
  13178. "tags": [
  13179. "仓单贸易v2"
  13180. ],
  13181. "summary": "查询市场交易参数配置",
  13182. "parameters": [
  13183. {
  13184. "type": "integer",
  13185. "description": "市场id",
  13186. "name": "marketid",
  13187. "in": "query"
  13188. }
  13189. ],
  13190. "responses": {
  13191. "200": {
  13192. "description": "OK",
  13193. "schema": {
  13194. "type": "array",
  13195. "items": {
  13196. "$ref": "#/definitions/models.WrMarketTradeConfig"
  13197. }
  13198. }
  13199. },
  13200. "500": {
  13201. "description": "Internal Server Error",
  13202. "schema": {
  13203. "$ref": "#/definitions/app.Response"
  13204. }
  13205. }
  13206. }
  13207. }
  13208. },
  13209. "/WrTrade2/QueryWrOrderDetail": {
  13210. "get": {
  13211. "security": [
  13212. {
  13213. "ApiKeyAuth": []
  13214. }
  13215. ],
  13216. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  13217. "produces": [
  13218. "application/json"
  13219. ],
  13220. "tags": [
  13221. "仓单贸易v2"
  13222. ],
  13223. "summary": "查询仓单委托单(挂单)",
  13224. "parameters": [
  13225. {
  13226. "type": "integer",
  13227. "description": "页码",
  13228. "name": "page",
  13229. "in": "query"
  13230. },
  13231. {
  13232. "type": "integer",
  13233. "description": "每页条数",
  13234. "name": "pagesize",
  13235. "in": "query"
  13236. },
  13237. {
  13238. "type": "integer",
  13239. "description": "用户id",
  13240. "name": "userid",
  13241. "in": "query",
  13242. "required": true
  13243. },
  13244. {
  13245. "type": "integer",
  13246. "description": "仓单贸易市场id",
  13247. "name": "marketid",
  13248. "in": "query"
  13249. },
  13250. {
  13251. "type": "integer",
  13252. "description": "0:仓单预售 1:仓单贸易",
  13253. "name": "haswr",
  13254. "in": "query",
  13255. "required": true
  13256. }
  13257. ],
  13258. "responses": {
  13259. "200": {
  13260. "description": "OK",
  13261. "schema": {
  13262. "type": "array",
  13263. "items": {
  13264. "$ref": "#/definitions/models.WrOrderDetail"
  13265. }
  13266. }
  13267. },
  13268. "500": {
  13269. "description": "Internal Server Error",
  13270. "schema": {
  13271. "$ref": "#/definitions/app.Response"
  13272. }
  13273. }
  13274. }
  13275. }
  13276. },
  13277. "/WrTrade2/QueryWrOutInApply": {
  13278. "get": {
  13279. "security": [
  13280. {
  13281. "ApiKeyAuth": []
  13282. }
  13283. ],
  13284. "produces": [
  13285. "application/json"
  13286. ],
  13287. "tags": [
  13288. "仓单贸易v2"
  13289. ],
  13290. "summary": "查询提货申请",
  13291. "parameters": [
  13292. {
  13293. "type": "integer",
  13294. "description": "用户id",
  13295. "name": "userid",
  13296. "in": "query",
  13297. "required": true
  13298. }
  13299. ],
  13300. "responses": {
  13301. "200": {
  13302. "description": "OK",
  13303. "schema": {
  13304. "type": "array",
  13305. "items": {
  13306. "$ref": "#/definitions/models.WrOutInApply"
  13307. }
  13308. }
  13309. },
  13310. "500": {
  13311. "description": "Internal Server Error",
  13312. "schema": {
  13313. "$ref": "#/definitions/app.Response"
  13314. }
  13315. }
  13316. }
  13317. }
  13318. },
  13319. "/WrTrade2/QueryWrPerformancePlanStep": {
  13320. "get": {
  13321. "security": [
  13322. {
  13323. "ApiKeyAuth": []
  13324. }
  13325. ],
  13326. "produces": [
  13327. "application/json"
  13328. ],
  13329. "tags": [
  13330. "仓单贸易v2"
  13331. ],
  13332. "summary": "查询履约信息详情",
  13333. "parameters": [
  13334. {
  13335. "type": "integer",
  13336. "description": "履约计划id(performanceplanid)",
  13337. "name": "planid",
  13338. "in": "query",
  13339. "required": true
  13340. },
  13341. {
  13342. "type": "integer",
  13343. "description": "当前步骤id",
  13344. "name": "curstepid",
  13345. "in": "query"
  13346. }
  13347. ],
  13348. "responses": {
  13349. "200": {
  13350. "description": "OK",
  13351. "schema": {
  13352. "type": "array",
  13353. "items": {
  13354. "$ref": "#/definitions/models.WrPerformancePlanStep"
  13355. }
  13356. }
  13357. },
  13358. "500": {
  13359. "description": "Internal Server Error",
  13360. "schema": {
  13361. "$ref": "#/definitions/app.Response"
  13362. }
  13363. }
  13364. }
  13365. }
  13366. },
  13367. "/WrTrade2/QueryWrPerformanceStepType": {
  13368. "get": {
  13369. "security": [
  13370. {
  13371. "ApiKeyAuth": []
  13372. }
  13373. ],
  13374. "produces": [
  13375. "application/json"
  13376. ],
  13377. "tags": [
  13378. "仓单贸易v2"
  13379. ],
  13380. "summary": "查询履约步骤枚举",
  13381. "responses": {
  13382. "200": {
  13383. "description": "OK",
  13384. "schema": {
  13385. "type": "array",
  13386. "items": {
  13387. "$ref": "#/definitions/models.WrPerformanceStepType"
  13388. }
  13389. }
  13390. },
  13391. "500": {
  13392. "description": "Internal Server Error",
  13393. "schema": {
  13394. "$ref": "#/definitions/app.Response"
  13395. }
  13396. }
  13397. }
  13398. }
  13399. },
  13400. "/WrTrade2/QueryWrPosition": {
  13401. "get": {
  13402. "security": [
  13403. {
  13404. "ApiKeyAuth": []
  13405. }
  13406. ],
  13407. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  13408. "produces": [
  13409. "application/json"
  13410. ],
  13411. "tags": [
  13412. "仓单贸易v2"
  13413. ],
  13414. "summary": "查询现货(预售)仓单持仓",
  13415. "parameters": [
  13416. {
  13417. "type": "integer",
  13418. "description": "用户id",
  13419. "name": "userid",
  13420. "in": "query",
  13421. "required": true
  13422. },
  13423. {
  13424. "type": "integer",
  13425. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  13426. "name": "querytype",
  13427. "in": "query",
  13428. "required": true
  13429. },
  13430. {
  13431. "type": "integer",
  13432. "description": "0:仓单预售 1:仓单贸易",
  13433. "name": "haswr",
  13434. "in": "query",
  13435. "required": true
  13436. },
  13437. {
  13438. "type": "string",
  13439. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13440. "name": "dgitemname",
  13441. "in": "query"
  13442. },
  13443. {
  13444. "type": "integer",
  13445. "description": "仓库id(筛选条件)",
  13446. "name": "warehouseid",
  13447. "in": "query"
  13448. },
  13449. {
  13450. "type": "integer",
  13451. "description": "品种id",
  13452. "name": "deliverygoodsid",
  13453. "in": "query"
  13454. },
  13455. {
  13456. "type": "integer",
  13457. "description": "品类id",
  13458. "name": "wrstandardid",
  13459. "in": "query"
  13460. }
  13461. ],
  13462. "responses": {
  13463. "200": {
  13464. "description": "OK",
  13465. "schema": {
  13466. "type": "array",
  13467. "items": {
  13468. "$ref": "#/definitions/models.WrPosition"
  13469. }
  13470. }
  13471. },
  13472. "500": {
  13473. "description": "Internal Server Error",
  13474. "schema": {
  13475. "$ref": "#/definitions/app.Response"
  13476. }
  13477. }
  13478. }
  13479. }
  13480. },
  13481. "/WrTrade2/QueryWrScfContract": {
  13482. "get": {
  13483. "security": [
  13484. {
  13485. "ApiKeyAuth": []
  13486. }
  13487. ],
  13488. "produces": [
  13489. "application/json"
  13490. ],
  13491. "tags": [
  13492. "仓单贸易v2"
  13493. ],
  13494. "summary": "查询仓单贸易融资合同",
  13495. "parameters": [
  13496. {
  13497. "type": "integer",
  13498. "description": "用户id",
  13499. "name": "userid",
  13500. "in": "query",
  13501. "required": true
  13502. },
  13503. {
  13504. "type": "integer",
  13505. "description": "融资合同id",
  13506. "name": "scfcontractid",
  13507. "in": "query"
  13508. }
  13509. ],
  13510. "responses": {
  13511. "200": {
  13512. "description": "OK",
  13513. "schema": {
  13514. "type": "array",
  13515. "items": {
  13516. "$ref": "#/definitions/models.WrScfContract"
  13517. }
  13518. }
  13519. },
  13520. "500": {
  13521. "description": "Internal Server Error",
  13522. "schema": {
  13523. "$ref": "#/definitions/app.Response"
  13524. }
  13525. }
  13526. }
  13527. }
  13528. },
  13529. "/WrTrade2/QueryWrScfContractInterest": {
  13530. "get": {
  13531. "security": [
  13532. {
  13533. "ApiKeyAuth": []
  13534. }
  13535. ],
  13536. "produces": [
  13537. "application/json"
  13538. ],
  13539. "tags": [
  13540. "仓单贸易v2"
  13541. ],
  13542. "summary": "查询融资合同费用明细",
  13543. "parameters": [
  13544. {
  13545. "type": "integer",
  13546. "description": "融资合同id",
  13547. "name": "scfcontractid",
  13548. "in": "query"
  13549. }
  13550. ],
  13551. "responses": {
  13552. "200": {
  13553. "description": "OK",
  13554. "schema": {
  13555. "type": "array",
  13556. "items": {
  13557. "$ref": "#/definitions/models.WrScfContractInterest"
  13558. }
  13559. }
  13560. },
  13561. "500": {
  13562. "description": "Internal Server Error",
  13563. "schema": {
  13564. "$ref": "#/definitions/app.Response"
  13565. }
  13566. }
  13567. }
  13568. }
  13569. },
  13570. "/WrTrade2/QueryWrSpecialMatchOrder": {
  13571. "get": {
  13572. "security": [
  13573. {
  13574. "ApiKeyAuth": []
  13575. }
  13576. ],
  13577. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  13578. "produces": [
  13579. "application/json"
  13580. ],
  13581. "tags": [
  13582. "仓单贸易v2"
  13583. ],
  13584. "summary": "查询指定成交",
  13585. "parameters": [
  13586. {
  13587. "type": "integer",
  13588. "description": "页码",
  13589. "name": "page",
  13590. "in": "query"
  13591. },
  13592. {
  13593. "type": "integer",
  13594. "description": "每页条数",
  13595. "name": "pagesize",
  13596. "in": "query"
  13597. },
  13598. {
  13599. "type": "integer",
  13600. "description": "用户id",
  13601. "name": "userid",
  13602. "in": "query",
  13603. "required": true
  13604. },
  13605. {
  13606. "type": "integer",
  13607. "description": "仓单贸易市场id",
  13608. "name": "marketid",
  13609. "in": "query"
  13610. },
  13611. {
  13612. "type": "integer",
  13613. "description": "0:仓单预售 1:仓单贸易",
  13614. "name": "haswr",
  13615. "in": "query",
  13616. "required": true
  13617. }
  13618. ],
  13619. "responses": {
  13620. "200": {
  13621. "description": "OK",
  13622. "schema": {
  13623. "type": "array",
  13624. "items": {
  13625. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  13626. }
  13627. }
  13628. },
  13629. "500": {
  13630. "description": "Internal Server Error",
  13631. "schema": {
  13632. "$ref": "#/definitions/app.Response"
  13633. }
  13634. }
  13635. }
  13636. }
  13637. },
  13638. "/WrTrade2/QueryWrStandardFactoryItem": {
  13639. "get": {
  13640. "security": [
  13641. {
  13642. "ApiKeyAuth": []
  13643. }
  13644. ],
  13645. "produces": [
  13646. "application/json"
  13647. ],
  13648. "tags": [
  13649. "仓单贸易v2"
  13650. ],
  13651. "summary": "查询品类要素定义项",
  13652. "parameters": [
  13653. {
  13654. "type": "integer",
  13655. "description": "品类id",
  13656. "name": "wrstandardid",
  13657. "in": "query",
  13658. "required": true
  13659. }
  13660. ],
  13661. "responses": {
  13662. "200": {
  13663. "description": "OK",
  13664. "schema": {
  13665. "type": "array",
  13666. "items": {
  13667. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  13668. }
  13669. }
  13670. },
  13671. "500": {
  13672. "description": "Internal Server Error",
  13673. "schema": {
  13674. "$ref": "#/definitions/app.Response"
  13675. }
  13676. }
  13677. }
  13678. }
  13679. },
  13680. "/WrTrade2/QueryWrTradeBargainApply": {
  13681. "get": {
  13682. "security": [
  13683. {
  13684. "ApiKeyAuth": []
  13685. }
  13686. ],
  13687. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  13688. "produces": [
  13689. "application/json"
  13690. ],
  13691. "tags": [
  13692. "仓单贸易v2"
  13693. ],
  13694. "summary": "查询议价单",
  13695. "parameters": [
  13696. {
  13697. "type": "integer",
  13698. "description": "议价人id(摘牌方)",
  13699. "name": "userid",
  13700. "in": "query"
  13701. },
  13702. {
  13703. "type": "integer",
  13704. "description": "挂牌方id(查对方议价时,填写此项)",
  13705. "name": "matchuserid",
  13706. "in": "query"
  13707. },
  13708. {
  13709. "type": "integer",
  13710. "description": "关联委托单id",
  13711. "name": "wrtradeorderid",
  13712. "in": "query"
  13713. },
  13714. {
  13715. "type": "integer",
  13716. "description": "0:仓单预售 1:仓单贸易",
  13717. "name": "haswr",
  13718. "in": "query",
  13719. "required": true
  13720. }
  13721. ],
  13722. "responses": {
  13723. "200": {
  13724. "description": "OK",
  13725. "schema": {
  13726. "type": "array",
  13727. "items": {
  13728. "$ref": "#/definitions/models.WRTradeBargainApply"
  13729. }
  13730. }
  13731. },
  13732. "500": {
  13733. "description": "Internal Server Error",
  13734. "schema": {
  13735. "$ref": "#/definitions/app.Response"
  13736. }
  13737. }
  13738. }
  13739. }
  13740. },
  13741. "/WrTrade2/QueryWrTradeDetail": {
  13742. "get": {
  13743. "security": [
  13744. {
  13745. "ApiKeyAuth": []
  13746. }
  13747. ],
  13748. "produces": [
  13749. "application/json"
  13750. ],
  13751. "tags": [
  13752. "仓单贸易v2"
  13753. ],
  13754. "summary": "查询仓单成交明细",
  13755. "parameters": [
  13756. {
  13757. "type": "integer",
  13758. "description": "页码",
  13759. "name": "page",
  13760. "in": "query"
  13761. },
  13762. {
  13763. "type": "integer",
  13764. "description": "每页条数",
  13765. "name": "pagesize",
  13766. "in": "query"
  13767. },
  13768. {
  13769. "type": "integer",
  13770. "description": "用户id",
  13771. "name": "userid",
  13772. "in": "query",
  13773. "required": true
  13774. },
  13775. {
  13776. "type": "integer",
  13777. "description": "仓单贸易市场id",
  13778. "name": "marketid",
  13779. "in": "query"
  13780. },
  13781. {
  13782. "type": "integer",
  13783. "description": "0:仓单预售 1:仓单贸易",
  13784. "name": "haswr",
  13785. "in": "query",
  13786. "required": true
  13787. }
  13788. ],
  13789. "responses": {
  13790. "200": {
  13791. "description": "OK",
  13792. "schema": {
  13793. "type": "array",
  13794. "items": {
  13795. "$ref": "#/definitions/models.WrTradeDetail"
  13796. }
  13797. }
  13798. },
  13799. "500": {
  13800. "description": "Internal Server Error",
  13801. "schema": {
  13802. "$ref": "#/definitions/app.Response"
  13803. }
  13804. }
  13805. }
  13806. }
  13807. },
  13808. "/WrTrade2/QueryWrTradeOrderDetail": {
  13809. "get": {
  13810. "security": [
  13811. {
  13812. "ApiKeyAuth": []
  13813. }
  13814. ],
  13815. "produces": [
  13816. "application/json"
  13817. ],
  13818. "tags": [
  13819. "仓单贸易v2"
  13820. ],
  13821. "summary": "查询合约交易买卖大厅",
  13822. "parameters": [
  13823. {
  13824. "type": "integer",
  13825. "description": "页码",
  13826. "name": "page",
  13827. "in": "query"
  13828. },
  13829. {
  13830. "type": "integer",
  13831. "description": "每页条数",
  13832. "name": "pagesize",
  13833. "in": "query"
  13834. },
  13835. {
  13836. "type": "integer",
  13837. "description": "商品id",
  13838. "name": "goodsid",
  13839. "in": "query",
  13840. "required": true
  13841. },
  13842. {
  13843. "type": "integer",
  13844. "description": "买卖方向 0-买 1-卖",
  13845. "name": "buyorsell",
  13846. "in": "query",
  13847. "required": true
  13848. }
  13849. ],
  13850. "responses": {
  13851. "200": {
  13852. "description": "OK",
  13853. "schema": {
  13854. "type": "array",
  13855. "items": {
  13856. "$ref": "#/definitions/models.WrTradeOrderDetail"
  13857. }
  13858. }
  13859. },
  13860. "500": {
  13861. "description": "Internal Server Error",
  13862. "schema": {
  13863. "$ref": "#/definitions/app.Response"
  13864. }
  13865. }
  13866. }
  13867. }
  13868. },
  13869. "/WrTrade2/QueryWrUserFriend": {
  13870. "get": {
  13871. "security": [
  13872. {
  13873. "ApiKeyAuth": []
  13874. }
  13875. ],
  13876. "produces": [
  13877. "application/json"
  13878. ],
  13879. "tags": [
  13880. "仓单贸易v2"
  13881. ],
  13882. "summary": "查询我的朋友",
  13883. "parameters": [
  13884. {
  13885. "type": "integer",
  13886. "description": "用户id",
  13887. "name": "userid",
  13888. "in": "query",
  13889. "required": true
  13890. },
  13891. {
  13892. "type": "integer",
  13893. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  13894. "name": "newuserid",
  13895. "in": "query"
  13896. }
  13897. ],
  13898. "responses": {
  13899. "200": {
  13900. "description": "OK",
  13901. "schema": {
  13902. "type": "array",
  13903. "items": {
  13904. "$ref": "#/definitions/models.WrUserFriend"
  13905. }
  13906. }
  13907. },
  13908. "500": {
  13909. "description": "Internal Server Error",
  13910. "schema": {
  13911. "$ref": "#/definitions/app.Response"
  13912. }
  13913. }
  13914. }
  13915. }
  13916. },
  13917. "/WrTrade2/QueryWrUserReceiptInfo": {
  13918. "get": {
  13919. "security": [
  13920. {
  13921. "ApiKeyAuth": []
  13922. }
  13923. ],
  13924. "produces": [
  13925. "application/json"
  13926. ],
  13927. "tags": [
  13928. "仓单贸易v2"
  13929. ],
  13930. "summary": "查询发票信息",
  13931. "parameters": [
  13932. {
  13933. "type": "integer",
  13934. "description": "用户id",
  13935. "name": "userid",
  13936. "in": "query"
  13937. },
  13938. {
  13939. "type": "integer",
  13940. "description": "发票类型 - 1:个人 2:企业",
  13941. "name": "receipttype",
  13942. "in": "query"
  13943. }
  13944. ],
  13945. "responses": {
  13946. "200": {
  13947. "description": "OK",
  13948. "schema": {
  13949. "type": "array",
  13950. "items": {
  13951. "$ref": "#/definitions/models.WrUserReceiptInfo"
  13952. }
  13953. }
  13954. },
  13955. "500": {
  13956. "description": "Internal Server Error",
  13957. "schema": {
  13958. "$ref": "#/definitions/app.Response"
  13959. }
  13960. }
  13961. }
  13962. }
  13963. },
  13964. "/ZJ/GetBankTip": {
  13965. "get": {
  13966. "produces": [
  13967. "application/json"
  13968. ],
  13969. "tags": [
  13970. "中江"
  13971. ],
  13972. "summary": "获取中江网银端出入金提示信息",
  13973. "responses": {
  13974. "200": {
  13975. "description": "OK",
  13976. "schema": {
  13977. "type": "string"
  13978. }
  13979. },
  13980. "500": {
  13981. "description": "Internal Server Error",
  13982. "schema": {
  13983. "$ref": "#/definitions/app.Response"
  13984. }
  13985. }
  13986. }
  13987. }
  13988. },
  13989. "/ZJ/GetCusBankChannels": {
  13990. "get": {
  13991. "produces": [
  13992. "application/json"
  13993. ],
  13994. "tags": [
  13995. "中江"
  13996. ],
  13997. "summary": "获取中江出入金渠道显示列表",
  13998. "responses": {
  13999. "200": {
  14000. "description": "OK",
  14001. "schema": {
  14002. "type": "array",
  14003. "items": {
  14004. "type": "string"
  14005. }
  14006. }
  14007. },
  14008. "500": {
  14009. "description": "Internal Server Error",
  14010. "schema": {
  14011. "$ref": "#/definitions/app.Response"
  14012. }
  14013. }
  14014. }
  14015. }
  14016. }
  14017. },
  14018. "definitions": {
  14019. "app.Response": {
  14020. "type": "object",
  14021. "properties": {
  14022. "code": {
  14023. "type": "integer"
  14024. },
  14025. "data": {
  14026. "type": "object"
  14027. },
  14028. "msg": {
  14029. "type": "string"
  14030. },
  14031. "page": {
  14032. "description": "页码",
  14033. "type": "integer"
  14034. },
  14035. "pagesize": {
  14036. "description": "每页条数",
  14037. "type": "integer"
  14038. },
  14039. "total": {
  14040. "description": "总条数",
  14041. "type": "integer"
  14042. }
  14043. }
  14044. },
  14045. "common.ClientMenu": {
  14046. "type": "object",
  14047. "properties": {
  14048. "children": {
  14049. "description": "子菜单列表",
  14050. "type": "array",
  14051. "items": {
  14052. "$ref": "#/definitions/common.ClientMenu"
  14053. }
  14054. },
  14055. "code": {
  14056. "description": "ID",
  14057. "type": "string"
  14058. },
  14059. "isshow": {
  14060. "description": "是否显示",
  14061. "type": "boolean"
  14062. },
  14063. "remark": {
  14064. "description": "备注",
  14065. "type": "string"
  14066. },
  14067. "rulekey": {
  14068. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  14069. "type": "string"
  14070. },
  14071. "sort": {
  14072. "description": "排序",
  14073. "type": "integer"
  14074. },
  14075. "title": {
  14076. "description": "标题",
  14077. "type": "string"
  14078. },
  14079. "type": {
  14080. "description": "类型,1:菜单 2:按钮",
  14081. "type": "integer"
  14082. },
  14083. "url": {
  14084. "description": "URL",
  14085. "type": "string"
  14086. }
  14087. }
  14088. },
  14089. "common.PCWebMenu": {
  14090. "type": "object",
  14091. "properties": {
  14092. "auth": {
  14093. "description": "页面权限列表",
  14094. "type": "array",
  14095. "items": {
  14096. "$ref": "#/definitions/common.PCWebMenuAuth"
  14097. }
  14098. },
  14099. "children": {
  14100. "description": "子菜单列表",
  14101. "type": "array",
  14102. "items": {
  14103. "$ref": "#/definitions/common.PCWebMenu"
  14104. }
  14105. },
  14106. "code": {
  14107. "description": "ID,新版本中权限KEY也是这个字段",
  14108. "type": "string"
  14109. },
  14110. "component": {
  14111. "description": "路由组件",
  14112. "type": "string"
  14113. },
  14114. "isshow": {
  14115. "description": "是否显示",
  14116. "type": "boolean"
  14117. },
  14118. "path": {
  14119. "description": "路由路径",
  14120. "type": "string"
  14121. },
  14122. "remark": {
  14123. "description": "备注",
  14124. "type": "string"
  14125. },
  14126. "rulekey": {
  14127. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14128. "type": "string"
  14129. },
  14130. "sort": {
  14131. "description": "排序",
  14132. "type": "integer"
  14133. },
  14134. "title": {
  14135. "description": "标题",
  14136. "type": "string"
  14137. },
  14138. "url": {
  14139. "description": "URL",
  14140. "type": "string"
  14141. }
  14142. }
  14143. },
  14144. "common.PCWebMenuAuth": {
  14145. "type": "object",
  14146. "properties": {
  14147. "code": {
  14148. "description": "ID,新版本中权限KEY也是这个字段",
  14149. "type": "string"
  14150. },
  14151. "isshow": {
  14152. "description": "是否显示",
  14153. "type": "boolean"
  14154. },
  14155. "label": {
  14156. "description": "标题",
  14157. "type": "string"
  14158. },
  14159. "remark": {
  14160. "description": "备注",
  14161. "type": "string"
  14162. },
  14163. "rulekey": {
  14164. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14165. "type": "string"
  14166. }
  14167. }
  14168. },
  14169. "common.QueryImageConfigsRsp": {
  14170. "type": "object",
  14171. "required": [
  14172. "configid"
  14173. ],
  14174. "properties": {
  14175. "areauserid": {
  14176. "description": "所属机构ID",
  14177. "type": "integer"
  14178. },
  14179. "configid": {
  14180. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14181. "type": "integer"
  14182. },
  14183. "createdate": {
  14184. "description": "创建时间",
  14185. "type": "string"
  14186. },
  14187. "creatorid": {
  14188. "description": "创建人",
  14189. "type": "integer"
  14190. },
  14191. "imagepath": {
  14192. "description": "图片",
  14193. "type": "string"
  14194. },
  14195. "imagetype": {
  14196. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  14197. "type": "integer"
  14198. },
  14199. "isshow": {
  14200. "description": "是否展示 - 0:不展示 1:展示",
  14201. "type": "integer"
  14202. },
  14203. "marketid": {
  14204. "description": "市场ID",
  14205. "type": "integer"
  14206. },
  14207. "modifierid": {
  14208. "description": "操作人",
  14209. "type": "integer"
  14210. },
  14211. "sort": {
  14212. "description": "排序",
  14213. "type": "integer"
  14214. },
  14215. "title": {
  14216. "description": "标题",
  14217. "type": "string"
  14218. },
  14219. "trademode": {
  14220. "description": "交易模式",
  14221. "type": "integer"
  14222. },
  14223. "updatedate": {
  14224. "description": "修改时间",
  14225. "type": "string"
  14226. },
  14227. "url": {
  14228. "description": "链接(地址或商品ID)",
  14229. "type": "string"
  14230. },
  14231. "urltype": {
  14232. "description": "链接类型 - 1:直接地址 2:商品ID",
  14233. "type": "integer"
  14234. }
  14235. }
  14236. },
  14237. "common.QueryNoticeRsp": {
  14238. "type": "object",
  14239. "required": [
  14240. "autoid"
  14241. ],
  14242. "properties": {
  14243. "auditoruserid": {
  14244. "description": "审核人",
  14245. "type": "integer"
  14246. },
  14247. "auditremark": {
  14248. "description": "审核备注",
  14249. "type": "string"
  14250. },
  14251. "audittime": {
  14252. "description": "审核日期",
  14253. "type": "string"
  14254. },
  14255. "autoid": {
  14256. "description": "自增ID",
  14257. "type": "integer"
  14258. },
  14259. "content": {
  14260. "description": "内容",
  14261. "type": "string"
  14262. },
  14263. "createtime": {
  14264. "description": "创建时间",
  14265. "type": "string"
  14266. },
  14267. "creatorid": {
  14268. "description": "建仓人",
  14269. "type": "integer"
  14270. },
  14271. "endtime": {
  14272. "description": "结束时间",
  14273. "type": "string"
  14274. },
  14275. "istop": {
  14276. "description": "是否置顶 - 0:不置顶 1:置顶",
  14277. "type": "integer"
  14278. },
  14279. "msgiconurl": {
  14280. "description": "消息图标Url",
  14281. "type": "string"
  14282. },
  14283. "msgtype": {
  14284. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  14285. "type": "integer"
  14286. },
  14287. "publisher": {
  14288. "description": "消息发布者",
  14289. "type": "string"
  14290. },
  14291. "readed": {
  14292. "description": "是否已读",
  14293. "type": "boolean"
  14294. },
  14295. "scheduletime": {
  14296. "description": "计划发送时间",
  14297. "type": "string"
  14298. },
  14299. "sendtype": {
  14300. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  14301. "type": "integer"
  14302. },
  14303. "sentstatus": {
  14304. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  14305. "type": "integer"
  14306. },
  14307. "title": {
  14308. "description": "标题",
  14309. "type": "string"
  14310. },
  14311. "userid": {
  14312. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  14313. "type": "integer"
  14314. }
  14315. }
  14316. },
  14317. "common.QueryProvincesAndCitiesRsp": {
  14318. "type": "object",
  14319. "properties": {
  14320. "cities": {
  14321. "description": "市",
  14322. "type": "array",
  14323. "items": {
  14324. "$ref": "#/definitions/models.Division"
  14325. }
  14326. },
  14327. "province": {
  14328. "description": "省",
  14329. "$ref": "#/definitions/models.Division"
  14330. }
  14331. }
  14332. },
  14333. "common.QueryTableDefineRsp": {
  14334. "type": "object",
  14335. "required": [
  14336. "tablekey"
  14337. ],
  14338. "properties": {
  14339. "columns": {
  14340. "description": "列头信息数组",
  14341. "type": "array",
  14342. "items": {
  14343. "$ref": "#/definitions/models.Tablecolumnconfig"
  14344. }
  14345. },
  14346. "remark": {
  14347. "description": "Remark",
  14348. "type": "string"
  14349. },
  14350. "tabelmenu": {
  14351. "description": "列表菜单",
  14352. "type": "string"
  14353. },
  14354. "tablekey": {
  14355. "description": "列表Key",
  14356. "type": "string"
  14357. },
  14358. "tablename": {
  14359. "description": "列表名称",
  14360. "type": "string"
  14361. },
  14362. "tabletype": {
  14363. "description": "列表类型 - 1:管理端 2:终端",
  14364. "type": "integer"
  14365. }
  14366. }
  14367. },
  14368. "common.QueryTraderMenuRsp": {
  14369. "type": "object",
  14370. "properties": {
  14371. "OperationMenu": {
  14372. "description": "功能菜单",
  14373. "type": "array",
  14374. "items": {
  14375. "$ref": "#/definitions/models.OperationPrimaryMenu"
  14376. }
  14377. },
  14378. "QuoteMenu": {
  14379. "description": "报价牌分类菜单",
  14380. "type": "array",
  14381. "items": {
  14382. "$ref": "#/definitions/models.QuotePrimaryMenu"
  14383. }
  14384. }
  14385. }
  14386. },
  14387. "cptrade.Cptradepositioncancel": {
  14388. "type": "object",
  14389. "required": [
  14390. "cancelid"
  14391. ],
  14392. "properties": {
  14393. "accountid": {
  14394. "description": "申请人账户ID",
  14395. "type": "integer"
  14396. },
  14397. "applystatus": {
  14398. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14399. "type": "integer"
  14400. },
  14401. "applytime": {
  14402. "description": "申请时间",
  14403. "type": "string"
  14404. },
  14405. "cancelid": {
  14406. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  14407. "type": "integer"
  14408. },
  14409. "cancelqty": {
  14410. "description": "注销数量",
  14411. "type": "integer"
  14412. },
  14413. "createtime": {
  14414. "description": "创建时间",
  14415. "type": "string"
  14416. },
  14417. "creatorid": {
  14418. "description": "创建人ID",
  14419. "type": "integer"
  14420. },
  14421. "creatorname": {
  14422. "description": "创建人",
  14423. "type": "string"
  14424. },
  14425. "goodscode": {
  14426. "description": "订单商品代码",
  14427. "type": "string"
  14428. },
  14429. "goodsid": {
  14430. "description": "商品ID",
  14431. "type": "integer"
  14432. },
  14433. "goodsname": {
  14434. "description": "订单商品名称",
  14435. "type": "string"
  14436. },
  14437. "goodunit": {
  14438. "description": "报价单位",
  14439. "type": "string"
  14440. },
  14441. "handlestatus": {
  14442. "description": "处理状态",
  14443. "type": "integer"
  14444. },
  14445. "marketid": {
  14446. "description": "市场ID",
  14447. "type": "integer"
  14448. },
  14449. "marketname": {
  14450. "description": "市场名称",
  14451. "type": "string"
  14452. },
  14453. "tradedate": {
  14454. "description": "交易日(yyyyMMdd)",
  14455. "type": "string"
  14456. },
  14457. "userid": {
  14458. "description": "申请人ID",
  14459. "type": "integer"
  14460. }
  14461. }
  14462. },
  14463. "cptrade.Cptradepresaleapply": {
  14464. "type": "object",
  14465. "required": [
  14466. "applyid"
  14467. ],
  14468. "properties": {
  14469. "accountid": {
  14470. "description": "申请人账户ID",
  14471. "type": "integer"
  14472. },
  14473. "applyid": {
  14474. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  14475. "type": "integer"
  14476. },
  14477. "applyremark": {
  14478. "description": "申请备注",
  14479. "type": "string"
  14480. },
  14481. "applystatus": {
  14482. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14483. "type": "integer"
  14484. },
  14485. "applytime": {
  14486. "description": "申请时间",
  14487. "type": "string"
  14488. },
  14489. "attachmenturl": {
  14490. "description": "附件地址",
  14491. "type": "string"
  14492. },
  14493. "endtime": {
  14494. "description": "预售结束时间",
  14495. "type": "string"
  14496. },
  14497. "goodscode": {
  14498. "description": "商品代码",
  14499. "type": "string"
  14500. },
  14501. "goodsid": {
  14502. "description": "商品ID",
  14503. "type": "integer"
  14504. },
  14505. "goodsname": {
  14506. "description": "商品名称",
  14507. "type": "string"
  14508. },
  14509. "goodunit": {
  14510. "description": "报价单位",
  14511. "type": "string"
  14512. },
  14513. "handlestatus": {
  14514. "description": "处理状态",
  14515. "type": "integer"
  14516. },
  14517. "marketid": {
  14518. "description": "预售市场ID",
  14519. "type": "integer"
  14520. },
  14521. "marketname": {
  14522. "description": "预售市场名称",
  14523. "type": "string"
  14524. },
  14525. "presaleqty": {
  14526. "description": "预售数量",
  14527. "type": "integer"
  14528. },
  14529. "relatedgoodscode": {
  14530. "description": "关联交易合约代码",
  14531. "type": "string"
  14532. },
  14533. "relatedgoodsid": {
  14534. "description": "关联交易合约ID",
  14535. "type": "integer"
  14536. },
  14537. "relatedgoodsname": {
  14538. "description": "关联交易合约名称",
  14539. "type": "string"
  14540. },
  14541. "starttime": {
  14542. "description": "预售开始时间",
  14543. "type": "string"
  14544. },
  14545. "tradedate": {
  14546. "description": "交易日(yyyyMMdd)",
  14547. "type": "string"
  14548. },
  14549. "trademode": {
  14550. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  14551. "type": "integer"
  14552. },
  14553. "userid": {
  14554. "description": "申请人ID",
  14555. "type": "integer"
  14556. }
  14557. }
  14558. },
  14559. "cptrade.Cptradeusergoodsdata": {
  14560. "type": "object",
  14561. "required": [
  14562. "accountid",
  14563. "goodsid"
  14564. ],
  14565. "properties": {
  14566. "EnabledQty": {
  14567. "description": "可用量",
  14568. "type": "integer"
  14569. },
  14570. "GoodsCode": {
  14571. "description": "订单商品代码",
  14572. "type": "string"
  14573. },
  14574. "GoodsName": {
  14575. "description": "订单商品名称",
  14576. "type": "string"
  14577. },
  14578. "WRStandardCode": {
  14579. "description": "仓单标准代码",
  14580. "type": "string"
  14581. },
  14582. "WRStandardName": {
  14583. "description": "仓单标准名称",
  14584. "type": "string"
  14585. },
  14586. "accountid": {
  14587. "description": "账户ID",
  14588. "type": "integer"
  14589. },
  14590. "cancelqty": {
  14591. "description": "注销量",
  14592. "type": "integer"
  14593. },
  14594. "curpresaleqty": {
  14595. "description": "当前预售量",
  14596. "type": "integer"
  14597. },
  14598. "deliveryqty": {
  14599. "description": "交割量",
  14600. "type": "integer"
  14601. },
  14602. "freezeamount": {
  14603. "description": "冻结金额",
  14604. "type": "number"
  14605. },
  14606. "goodsid": {
  14607. "description": "商品ID",
  14608. "type": "integer"
  14609. },
  14610. "goodunit": {
  14611. "description": "报价单位",
  14612. "type": "string"
  14613. },
  14614. "hasspotfreeze": {
  14615. "description": "是否有现货冻结 - 0:否 1:有",
  14616. "type": "integer"
  14617. },
  14618. "inqty": {
  14619. "description": "转入量(总数量)",
  14620. "type": "integer"
  14621. },
  14622. "marketid": {
  14623. "description": "市场ID",
  14624. "type": "integer"
  14625. },
  14626. "presaledamount": {
  14627. "description": "已预售总金额",
  14628. "type": "integer"
  14629. },
  14630. "presaledqty": {
  14631. "description": "已预售量",
  14632. "type": "integer"
  14633. },
  14634. "userid": {
  14635. "description": "用户ID",
  14636. "type": "integer"
  14637. },
  14638. "wrstandardid": {
  14639. "description": "仓单标准ID",
  14640. "type": "integer"
  14641. }
  14642. }
  14643. },
  14644. "cptrade.QueryCPTradeMyBidRsp": {
  14645. "type": "object",
  14646. "required": [
  14647. "accountid",
  14648. "goodsid",
  14649. "marketid",
  14650. "orderid",
  14651. "orderqty",
  14652. "ordertime",
  14653. "tradeprice",
  14654. "tradeqty"
  14655. ],
  14656. "properties": {
  14657. "accountid": {
  14658. "description": "账户ID[报价币种]",
  14659. "type": "integer"
  14660. },
  14661. "goodsid": {
  14662. "description": "商品ID",
  14663. "type": "integer"
  14664. },
  14665. "goodunit": {
  14666. "description": "报价单位",
  14667. "type": "string"
  14668. },
  14669. "marketid": {
  14670. "description": "市场ID",
  14671. "type": "integer"
  14672. },
  14673. "orderid": {
  14674. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14675. "type": "integer"
  14676. },
  14677. "orderprice": {
  14678. "description": "委托价格",
  14679. "type": "number"
  14680. },
  14681. "orderqty": {
  14682. "description": "委托数量",
  14683. "type": "integer"
  14684. },
  14685. "ordertime": {
  14686. "description": "委托时间",
  14687. "type": "string"
  14688. },
  14689. "ordertotalprice": {
  14690. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  14691. "type": "number"
  14692. },
  14693. "ordertotalweight": {
  14694. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  14695. "type": "integer"
  14696. },
  14697. "totaltotalprice": {
  14698. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  14699. "type": "number"
  14700. },
  14701. "tradeprice": {
  14702. "description": "成交价格",
  14703. "type": "number"
  14704. },
  14705. "tradeqty": {
  14706. "description": "成交数量",
  14707. "type": "integer"
  14708. }
  14709. }
  14710. },
  14711. "cptrade.QueryCPTradeOrderDetailRsq": {
  14712. "type": "object",
  14713. "required": [
  14714. "accountid",
  14715. "buildtype",
  14716. "buyorsell",
  14717. "goodsid",
  14718. "marketid",
  14719. "memberuserid",
  14720. "operatetype",
  14721. "orderqty",
  14722. "ordertime",
  14723. "pricemode",
  14724. "strorderid",
  14725. "tradedate",
  14726. "validtype"
  14727. ],
  14728. "properties": {
  14729. "accountid": {
  14730. "description": "账户ID[报价币种]",
  14731. "type": "integer"
  14732. },
  14733. "buildtype": {
  14734. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  14735. "type": "integer"
  14736. },
  14737. "buyorsell": {
  14738. "description": "买卖 - 0:买 1:卖",
  14739. "type": "integer"
  14740. },
  14741. "cancelorderid": {
  14742. "description": "撤单单号(撤单时填写)",
  14743. "type": "integer"
  14744. },
  14745. "cancelqty": {
  14746. "description": "撤单数量",
  14747. "type": "integer"
  14748. },
  14749. "clientordertime": {
  14750. "description": "客户端委托时间",
  14751. "type": "string"
  14752. },
  14753. "clientticket": {
  14754. "description": "客户端流水号",
  14755. "type": "string"
  14756. },
  14757. "clienttype": {
  14758. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14759. "type": "integer"
  14760. },
  14761. "closeexchagechargevalue": {
  14762. "description": "平仓交易所手续费设置值",
  14763. "type": "number"
  14764. },
  14765. "closefeealgorithm": {
  14766. "description": "平仓手续费收取方式 1:比率 2:固定",
  14767. "type": "integer"
  14768. },
  14769. "closefreezecharge": {
  14770. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  14771. "type": "number"
  14772. },
  14773. "closememberchargevalue": {
  14774. "description": "平仓会员手续费设置值",
  14775. "type": "number"
  14776. },
  14777. "closeqty": {
  14778. "description": "平仓数量(先建后平操作 需要记录)",
  14779. "type": "integer"
  14780. },
  14781. "closetradeqty": {
  14782. "description": "平仓成交数量(先建后平操作,需要记录)",
  14783. "type": "integer"
  14784. },
  14785. "closeunfreezecharge": {
  14786. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  14787. "type": "number"
  14788. },
  14789. "delistingtype": {
  14790. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  14791. "type": "integer"
  14792. },
  14793. "freezecharge": {
  14794. "description": "冻结手续费",
  14795. "type": "number"
  14796. },
  14797. "freezemargin": {
  14798. "description": "冻结保证金(冻结交易金额)",
  14799. "type": "number"
  14800. },
  14801. "gcaccountid": {
  14802. "description": "账户ID[合约币种]",
  14803. "type": "integer"
  14804. },
  14805. "goodsid": {
  14806. "description": "商品ID",
  14807. "type": "integer"
  14808. },
  14809. "isconfirmexercise": {
  14810. "description": "是否确认行权- 0:否 1:是",
  14811. "type": "integer"
  14812. },
  14813. "ispreexercise": {
  14814. "description": "是否预申报- 0:否 1:是",
  14815. "type": "integer"
  14816. },
  14817. "listingselecttype": {
  14818. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14819. "type": "integer"
  14820. },
  14821. "marginalgorithm": {
  14822. "description": "保证金收取方式 1:比率 2:固定",
  14823. "type": "integer"
  14824. },
  14825. "marginvalue": {
  14826. "description": "即市保证金设置值",
  14827. "type": "number"
  14828. },
  14829. "marketid": {
  14830. "description": "市场ID",
  14831. "type": "integer"
  14832. },
  14833. "marketmaxsub": {
  14834. "description": "市价最大偏移范围",
  14835. "type": "number"
  14836. },
  14837. "memberuserid": {
  14838. "description": "所属会员UserID",
  14839. "type": "integer"
  14840. },
  14841. "openexchagechargevalue": {
  14842. "description": "建仓交易所手续费设置值",
  14843. "type": "number"
  14844. },
  14845. "openfeealgorithm": {
  14846. "description": "建仓手续费收取方式 1:比率 2:固定",
  14847. "type": "integer"
  14848. },
  14849. "openfreezecharge": {
  14850. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  14851. "type": "number"
  14852. },
  14853. "openmemberchargevalue": {
  14854. "description": "建仓会员手续费设置值",
  14855. "type": "number"
  14856. },
  14857. "openqty": {
  14858. "description": "开仓数量(先建后平操作,需要记录)",
  14859. "type": "integer"
  14860. },
  14861. "opentradeqty": {
  14862. "description": "开仓成交数量(先建后平操作,需要记录)",
  14863. "type": "integer"
  14864. },
  14865. "openunfreezecharge": {
  14866. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  14867. "type": "number"
  14868. },
  14869. "operatetype": {
  14870. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  14871. "type": "integer"
  14872. },
  14873. "operatorid": {
  14874. "description": "登录账号(LoginID)",
  14875. "type": "integer"
  14876. },
  14877. "optiontype": {
  14878. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  14879. "type": "integer"
  14880. },
  14881. "orderprice": {
  14882. "description": "委托价格",
  14883. "type": "number"
  14884. },
  14885. "orderqty": {
  14886. "description": "委托数量",
  14887. "type": "integer"
  14888. },
  14889. "ordersrc": {
  14890. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  14891. "type": "integer"
  14892. },
  14893. "orderstatus": {
  14894. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14895. "type": "integer"
  14896. },
  14897. "ordertime": {
  14898. "description": "委托时间",
  14899. "type": "string"
  14900. },
  14901. "preexerciseprice": {
  14902. "description": "预申报价格",
  14903. "type": "number"
  14904. },
  14905. "premium": {
  14906. "description": "权利金",
  14907. "type": "number"
  14908. },
  14909. "preorderid": {
  14910. "description": "关联预埋单号(止盈止损单时填写)",
  14911. "type": "integer"
  14912. },
  14913. "pricemode": {
  14914. "description": "取价方式 - 1:市价 2: 限价",
  14915. "type": "integer"
  14916. },
  14917. "quoteid": {
  14918. "description": "报价单ID",
  14919. "type": "integer"
  14920. },
  14921. "relatedid": {
  14922. "description": "关联单号(交割单)",
  14923. "type": "integer"
  14924. },
  14925. "retcode": {
  14926. "description": "错误代码",
  14927. "type": "integer"
  14928. },
  14929. "sessionid": {
  14930. "description": "会话ID",
  14931. "type": "integer"
  14932. },
  14933. "strorderid": {
  14934. "description": "委托单号",
  14935. "type": "string"
  14936. },
  14937. "tradedate": {
  14938. "description": "交易日(yyyyMMdd)",
  14939. "type": "string"
  14940. },
  14941. "tradeproperty": {
  14942. "description": "交易属性",
  14943. "type": "integer"
  14944. },
  14945. "tradeqty": {
  14946. "description": "成交数量",
  14947. "type": "integer"
  14948. },
  14949. "unfreezecharge": {
  14950. "description": "解冻手续费",
  14951. "type": "number"
  14952. },
  14953. "unfreezemargin": {
  14954. "description": "解冻保证金",
  14955. "type": "number"
  14956. },
  14957. "updatetime": {
  14958. "description": "更新时间",
  14959. "type": "string"
  14960. },
  14961. "uuid": {
  14962. "description": "发起端唯一id",
  14963. "type": "string"
  14964. },
  14965. "validtime": {
  14966. "description": "有效期限",
  14967. "type": "string"
  14968. },
  14969. "validtype": {
  14970. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  14971. "type": "integer"
  14972. },
  14973. "volumetype": {
  14974. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  14975. "type": "integer"
  14976. }
  14977. }
  14978. },
  14979. "cptrade.QueryMyCPTradeGoodsRsp": {
  14980. "type": "object",
  14981. "required": [
  14982. "goodscode",
  14983. "goodsid",
  14984. "goodsname",
  14985. "marketid",
  14986. "relatedgoodscode",
  14987. "relatedgoodsname"
  14988. ],
  14989. "properties": {
  14990. "accountid": {
  14991. "description": "卖方账户ID",
  14992. "type": "integer"
  14993. },
  14994. "agreeunit": {
  14995. "description": "合约单位",
  14996. "type": "number"
  14997. },
  14998. "applyid": {
  14999. "description": "关联申请ID",
  15000. "type": "integer"
  15001. },
  15002. "attachmenturl": {
  15003. "description": "附件地址",
  15004. "type": "string"
  15005. },
  15006. "createtime": {
  15007. "description": "创建时间",
  15008. "type": "string"
  15009. },
  15010. "currencyid": {
  15011. "description": "报价货币ID",
  15012. "type": "integer"
  15013. },
  15014. "decimalplace": {
  15015. "description": "报价小数位",
  15016. "type": "integer"
  15017. },
  15018. "endtime": {
  15019. "description": "预售结束时间",
  15020. "type": "string"
  15021. },
  15022. "floorprice": {
  15023. "description": "底价[大宗式竞拍]",
  15024. "type": "number"
  15025. },
  15026. "goodscode": {
  15027. "description": "商品代码(预售)",
  15028. "type": "string"
  15029. },
  15030. "goodsdetail": {
  15031. "description": "详情[大宗]",
  15032. "type": "string"
  15033. },
  15034. "goodsid": {
  15035. "description": "商品ID(自增ID SEQ_GOODS)",
  15036. "type": "integer"
  15037. },
  15038. "goodsname": {
  15039. "description": "商品名称(预售)",
  15040. "type": "string"
  15041. },
  15042. "goodunit": {
  15043. "description": "报价单位",
  15044. "type": "string"
  15045. },
  15046. "goodunitid": {
  15047. "description": "报价单位ID",
  15048. "type": "integer"
  15049. },
  15050. "marketid": {
  15051. "description": "所属市场ID",
  15052. "type": "integer"
  15053. },
  15054. "marketname": {
  15055. "description": "预售市场名称",
  15056. "type": "string"
  15057. },
  15058. "presaledamount": {
  15059. "description": "已预售总金额(预售结束时更新)",
  15060. "type": "number"
  15061. },
  15062. "presaledqty": {
  15063. "description": "已预售量(预售结束时更新)",
  15064. "type": "integer"
  15065. },
  15066. "presalemode": {
  15067. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15068. "type": "integer"
  15069. },
  15070. "presaleqty": {
  15071. "description": "预售数量",
  15072. "type": "integer"
  15073. },
  15074. "refprice": {
  15075. "description": "参考价格[一口价]",
  15076. "type": "number"
  15077. },
  15078. "relatedgoodscode": {
  15079. "description": "商品代码(订单)",
  15080. "type": "string"
  15081. },
  15082. "relatedgoodsid": {
  15083. "description": "关联交易合约ID",
  15084. "type": "integer"
  15085. },
  15086. "relatedgoodsname": {
  15087. "description": "商品名称(订单)",
  15088. "type": "string"
  15089. },
  15090. "relatedmarketid": {
  15091. "description": "关联交易合约市场ID",
  15092. "type": "integer"
  15093. },
  15094. "sellstatus": {
  15095. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15096. "type": "integer"
  15097. },
  15098. "startprice": {
  15099. "description": "起拍价[大宗式竞拍]",
  15100. "type": "number"
  15101. },
  15102. "starttime": {
  15103. "description": "预售开始时间",
  15104. "type": "string"
  15105. },
  15106. "tradedate": {
  15107. "description": "交易日(yyyyMMdd)",
  15108. "type": "string"
  15109. },
  15110. "tradeprice": {
  15111. "description": "成交价[大宗]",
  15112. "type": "number"
  15113. },
  15114. "userid": {
  15115. "description": "卖方用户ID",
  15116. "type": "integer"
  15117. }
  15118. }
  15119. },
  15120. "cptrade.QueryPresaleGoodsExRsp": {
  15121. "type": "object",
  15122. "required": [
  15123. "goodsid"
  15124. ],
  15125. "properties": {
  15126. "attachmenturl": {
  15127. "description": "附件地址",
  15128. "type": "string"
  15129. },
  15130. "createtime": {
  15131. "description": "创建时间",
  15132. "type": "string"
  15133. },
  15134. "endtime": {
  15135. "description": "预售结束时间",
  15136. "type": "string"
  15137. },
  15138. "floorprice": {
  15139. "description": "底价[大宗式竞拍]",
  15140. "type": "number"
  15141. },
  15142. "goodsdetail": {
  15143. "description": "详情[大宗]",
  15144. "type": "string"
  15145. },
  15146. "goodsid": {
  15147. "description": "商品ID(预售)",
  15148. "type": "integer"
  15149. },
  15150. "goodunit": {
  15151. "description": "报价单位",
  15152. "type": "string"
  15153. },
  15154. "marketid": {
  15155. "description": "预售市场ID - 根据预售模式选择市场",
  15156. "type": "integer"
  15157. },
  15158. "presaledamount": {
  15159. "description": "已预售总金额(预售结束时更新)",
  15160. "type": "number"
  15161. },
  15162. "presaledqty": {
  15163. "description": "已预售量(预售结束时更新)",
  15164. "type": "integer"
  15165. },
  15166. "presalemode": {
  15167. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15168. "type": "integer"
  15169. },
  15170. "presaleqty": {
  15171. "description": "预售数量",
  15172. "type": "integer"
  15173. },
  15174. "refprice": {
  15175. "description": "参考价格[一口价]",
  15176. "type": "number"
  15177. },
  15178. "relatedgoodsid": {
  15179. "description": "关联交易合约ID",
  15180. "type": "integer"
  15181. },
  15182. "relatedmarketid": {
  15183. "description": "关联交易合约市场ID",
  15184. "type": "integer"
  15185. },
  15186. "sellstatus": {
  15187. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15188. "type": "integer"
  15189. },
  15190. "startprice": {
  15191. "description": "起拍价[大宗式竞拍]",
  15192. "type": "number"
  15193. },
  15194. "starttime": {
  15195. "description": "预售开始时间",
  15196. "type": "string"
  15197. },
  15198. "tradedate": {
  15199. "description": "交易日(yyyyMMdd)",
  15200. "type": "string"
  15201. },
  15202. "tradeprice": {
  15203. "description": "成交价[大宗]",
  15204. "type": "number"
  15205. }
  15206. }
  15207. },
  15208. "delivery.QueryDeliveryRelationRsp": {
  15209. "type": "object",
  15210. "required": [
  15211. "begindate",
  15212. "enddate",
  15213. "goodsid",
  15214. "mindeliveryqty",
  15215. "xdeliveryratio"
  15216. ],
  15217. "properties": {
  15218. "begindate": {
  15219. "description": "起始日期(yyyyMMdd)",
  15220. "type": "string"
  15221. },
  15222. "buytemplateid": {
  15223. "description": "买履约计划模板ID",
  15224. "type": "integer"
  15225. },
  15226. "deliverygoodscode": {
  15227. "description": "品种代码",
  15228. "type": "string"
  15229. },
  15230. "deliverygoodsid": {
  15231. "description": "交割商品",
  15232. "type": "integer"
  15233. },
  15234. "deliverygoodsname": {
  15235. "description": "品种名称",
  15236. "type": "string"
  15237. },
  15238. "deliverymode": {
  15239. "description": "交割方式 - 1:点选式 2:申报式",
  15240. "type": "integer"
  15241. },
  15242. "deliverypricerule": {
  15243. "description": "交割价规则- 1:行情价 2:建仓价",
  15244. "type": "integer"
  15245. },
  15246. "deliverytype": {
  15247. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  15248. "type": "integer"
  15249. },
  15250. "enddate": {
  15251. "description": "结束日期(yyyyMMdd)",
  15252. "type": "string"
  15253. },
  15254. "enumdicname": {
  15255. "description": "品类单位名称",
  15256. "type": "string"
  15257. },
  15258. "goodscode": {
  15259. "description": "商品代码",
  15260. "type": "string"
  15261. },
  15262. "goodsid": {
  15263. "description": "交易合约ID",
  15264. "type": "integer"
  15265. },
  15266. "goodsname": {
  15267. "description": "商品名称",
  15268. "type": "string"
  15269. },
  15270. "marketid": {
  15271. "description": "市场ID",
  15272. "type": "integer"
  15273. },
  15274. "mindeliveryqty": {
  15275. "description": "最小交割系数(K)",
  15276. "type": "integer"
  15277. },
  15278. "p2deliveryprice": {
  15279. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  15280. "type": "number"
  15281. },
  15282. "p2deliveryratio": {
  15283. "description": "P2合约系数(p)",
  15284. "type": "integer"
  15285. },
  15286. "p2goodsid": {
  15287. "description": "P2合约ID",
  15288. "type": "integer"
  15289. },
  15290. "p2pricemode": {
  15291. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  15292. "type": "integer"
  15293. },
  15294. "pdeliveryprice": {
  15295. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  15296. "type": "number"
  15297. },
  15298. "pdeliveryratio": {
  15299. "description": "P合约系数(n)",
  15300. "type": "integer"
  15301. },
  15302. "pgoodscode": {
  15303. "description": "p合约代码",
  15304. "type": "string"
  15305. },
  15306. "pgoodsid": {
  15307. "description": "P合约ID",
  15308. "type": "integer"
  15309. },
  15310. "ppricemode": {
  15311. "description": "P合约价格方式 - 1:商品价 2:固定值",
  15312. "type": "integer"
  15313. },
  15314. "rratio": {
  15315. "description": "兑换系数(R)",
  15316. "type": "integer"
  15317. },
  15318. "rratio1": {
  15319. "description": "兑换系数(交易合约)(R1)",
  15320. "type": "integer"
  15321. },
  15322. "rratio2": {
  15323. "description": "兑换系数(仓单标准)(R2)",
  15324. "type": "integer"
  15325. },
  15326. "selltemplateid": {
  15327. "description": "卖履约计划模板ID",
  15328. "type": "integer"
  15329. },
  15330. "wrstandardid": {
  15331. "description": "仓单标准ID",
  15332. "type": "integer"
  15333. },
  15334. "xdeliveryratio": {
  15335. "description": "交易合约系数(m)",
  15336. "type": "integer"
  15337. }
  15338. }
  15339. },
  15340. "ermcp.ExposureDetailRsp": {
  15341. "type": "object",
  15342. "properties": {
  15343. "areauserid": {
  15344. "description": "机构ID",
  15345. "type": "integer"
  15346. },
  15347. "changeQty": {
  15348. "description": "套保变动量",
  15349. "type": "number"
  15350. },
  15351. "contracttype": {
  15352. "description": "现货合同类型 - 1:采购 -1:销售",
  15353. "type": "integer"
  15354. },
  15355. "convertfactor": {
  15356. "description": "标仓系数",
  15357. "type": "number"
  15358. },
  15359. "convertratio": {
  15360. "description": "套保系数",
  15361. "type": "number"
  15362. },
  15363. "createtime": {
  15364. "description": "时间",
  15365. "type": "string"
  15366. },
  15367. "enumdicname": {
  15368. "description": "现货商品单位名称",
  15369. "type": "string"
  15370. },
  15371. "logtype": {
  15372. "description": "类型 - 1:套保计划 2:现货合同",
  15373. "type": "integer"
  15374. },
  15375. "middlegoodsId": {
  15376. "description": "套保商品id",
  15377. "type": "integer"
  15378. },
  15379. "middlegoodscode": {
  15380. "description": "套保商品代码",
  15381. "type": "string"
  15382. },
  15383. "middlegoodsname": {
  15384. "description": "套保商品名称",
  15385. "type": "string"
  15386. },
  15387. "qty": {
  15388. "description": "数量",
  15389. "type": "number"
  15390. },
  15391. "relateNo": {
  15392. "description": "现货合同/套保计划编号",
  15393. "type": "string"
  15394. },
  15395. "wrstandardcode": {
  15396. "description": "现货商品代码",
  15397. "type": "string"
  15398. },
  15399. "wrstandardid": {
  15400. "description": "现货商品ID",
  15401. "type": "integer"
  15402. },
  15403. "wrstandardname": {
  15404. "description": "现货商品名称",
  15405. "type": "string"
  15406. }
  15407. }
  15408. },
  15409. "ermcp.ExposureHedgePosDetailRsp": {
  15410. "type": "object",
  15411. "properties": {
  15412. "buyorsell": {
  15413. "description": "买卖方向 0-买 1-卖",
  15414. "type": "integer"
  15415. },
  15416. "channelbuildtype": {
  15417. "description": "开平方向 1-建仓 2-平仓",
  15418. "type": "integer"
  15419. },
  15420. "goodscode": {
  15421. "description": "商品代码",
  15422. "type": "string"
  15423. },
  15424. "goodsname": {
  15425. "description": "商品名称",
  15426. "type": "string"
  15427. },
  15428. "hedgegoodsid": {
  15429. "description": "商品id",
  15430. "type": "integer"
  15431. },
  15432. "tradeqty": {
  15433. "description": "数量(成交数量)",
  15434. "type": "integer"
  15435. },
  15436. "tradetime": {
  15437. "description": "时间(成交时间)",
  15438. "type": "string"
  15439. }
  15440. }
  15441. },
  15442. "ermcp.ExposureHedgePositionRsp": {
  15443. "type": "object",
  15444. "properties": {
  15445. "accountid": {
  15446. "description": "资金账号[外部母账户]",
  15447. "type": "integer"
  15448. },
  15449. "curbuyposition": {
  15450. "description": "期末买头寸",
  15451. "type": "integer"
  15452. },
  15453. "cursellposition": {
  15454. "description": "期末卖头寸",
  15455. "type": "integer"
  15456. },
  15457. "curtdbuyposition": {
  15458. "description": "期末今日买头寸",
  15459. "type": "integer"
  15460. },
  15461. "curtdsellposition": {
  15462. "description": "期末今日卖头寸",
  15463. "type": "integer"
  15464. },
  15465. "curydbuyposition": {
  15466. "description": "期末上日买头寸",
  15467. "type": "integer"
  15468. },
  15469. "curydsellposition": {
  15470. "description": "期末上日卖头寸",
  15471. "type": "integer"
  15472. },
  15473. "decreaseqty": {
  15474. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15475. "type": "integer"
  15476. },
  15477. "fretdbuyposition": {
  15478. "description": "冻结今日买头寸",
  15479. "type": "integer"
  15480. },
  15481. "fretdsellposition": {
  15482. "description": "冻结今日卖头寸",
  15483. "type": "integer"
  15484. },
  15485. "freydbuyposition": {
  15486. "description": "冻结上日买头寸",
  15487. "type": "integer"
  15488. },
  15489. "freydsellposition": {
  15490. "description": "冻结上日卖头寸",
  15491. "type": "integer"
  15492. },
  15493. "goodscode": {
  15494. "description": "商品代码",
  15495. "type": "string"
  15496. },
  15497. "goodsid": {
  15498. "description": "商品id",
  15499. "type": "integer"
  15500. },
  15501. "goodsname": {
  15502. "description": "商品名称",
  15503. "type": "string"
  15504. },
  15505. "hedgeaccountcode": {
  15506. "description": "对冲账号",
  15507. "type": "string"
  15508. },
  15509. "hedgegoodsid": {
  15510. "description": "对冲合约ID",
  15511. "type": "integer"
  15512. },
  15513. "increaseqty": {
  15514. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15515. "type": "integer"
  15516. },
  15517. "marketid": {
  15518. "description": "市场ID",
  15519. "type": "integer"
  15520. },
  15521. "relateduserid": {
  15522. "description": "关联用户id",
  15523. "type": "integer"
  15524. },
  15525. "totalcurqty": {
  15526. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  15527. "type": "integer"
  15528. },
  15529. "totalydqty": {
  15530. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  15531. "type": "integer"
  15532. },
  15533. "tradedate": {
  15534. "description": "交易日(yyyyMMdd)",
  15535. "type": "string"
  15536. },
  15537. "ydbuyposition": {
  15538. "description": "期初买头寸",
  15539. "type": "integer"
  15540. },
  15541. "ydsellposition": {
  15542. "description": "期初卖头寸",
  15543. "type": "integer"
  15544. }
  15545. }
  15546. },
  15547. "ermcp.ExposureSpotDetailRsp": {
  15548. "type": "object",
  15549. "properties": {
  15550. "contracttype": {
  15551. "description": "合同类型 1-采购 -1-销售",
  15552. "type": "integer"
  15553. },
  15554. "createtime": {
  15555. "description": "创建时间",
  15556. "type": "string"
  15557. },
  15558. "enumdicname": {
  15559. "description": "现货商品单位名称",
  15560. "type": "string"
  15561. },
  15562. "logtype": {
  15563. "description": "记录类型 1-套保 2-现货合同",
  15564. "type": "integer"
  15565. },
  15566. "qty": {
  15567. "description": "数量",
  15568. "type": "number"
  15569. },
  15570. "recordname": {
  15571. "description": "类型名称",
  15572. "type": "string"
  15573. },
  15574. "relatedid": {
  15575. "description": "套保计划ID/现货合同ID",
  15576. "type": "string"
  15577. },
  15578. "relatedno": {
  15579. "description": "编号",
  15580. "type": "string"
  15581. },
  15582. "strtime": {
  15583. "description": "时间",
  15584. "type": "string"
  15585. },
  15586. "wrstandardcode": {
  15587. "description": "现货商品代码",
  15588. "type": "string"
  15589. },
  15590. "wrstandardname": {
  15591. "description": "现货商品名称",
  15592. "type": "string"
  15593. }
  15594. }
  15595. },
  15596. "ermcp.ExposureSpotRsp": {
  15597. "type": "object",
  15598. "properties": {
  15599. "areauserid": {
  15600. "description": "所属机构",
  15601. "type": "integer"
  15602. },
  15603. "decreaseqty": {
  15604. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15605. "type": "number"
  15606. },
  15607. "increaseqty": {
  15608. "description": "增加数量=销售计划数量+采购已定价数量",
  15609. "type": "number"
  15610. },
  15611. "oritoalspotqty": {
  15612. "description": "昨日数量",
  15613. "type": "number"
  15614. },
  15615. "totalspotqty": {
  15616. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15617. "type": "number"
  15618. },
  15619. "updatetime": {
  15620. "description": "更新时间",
  15621. "type": "string"
  15622. },
  15623. "wrstandardcode": {
  15624. "description": "现货品种代码",
  15625. "type": "string"
  15626. },
  15627. "wrstandardid": {
  15628. "description": "现货商品ID",
  15629. "type": "integer"
  15630. },
  15631. "wrstandardname": {
  15632. "description": "现货品种",
  15633. "type": "string"
  15634. }
  15635. }
  15636. },
  15637. "ermcp.HisExposureRsp": {
  15638. "type": "object",
  15639. "properties": {
  15640. "data": {
  15641. "description": "历史敞口",
  15642. "type": "array",
  15643. "items": {
  15644. "$ref": "#/definitions/models.ErmcpHisExposure"
  15645. }
  15646. },
  15647. "enumdicname": {
  15648. "description": "单位名称",
  15649. "type": "string"
  15650. },
  15651. "middlegoodscode": {
  15652. "description": "套保品种代码",
  15653. "type": "string"
  15654. },
  15655. "middlegoodsid": {
  15656. "description": "套保品种ID",
  15657. "type": "integer"
  15658. },
  15659. "middlegoodsname": {
  15660. "description": "套保品种名称",
  15661. "type": "string"
  15662. }
  15663. }
  15664. },
  15665. "ermcp.PendingAuditCntRsp": {
  15666. "type": "object",
  15667. "properties": {
  15668. "areastockqty": {
  15669. "description": "待审核数量: 库存申请",
  15670. "type": "integer"
  15671. },
  15672. "businessdjqty": {
  15673. "description": "待审核数量: 点价",
  15674. "type": "integer"
  15675. },
  15676. "businessfpqty": {
  15677. "description": "待审核数量: 发票",
  15678. "type": "integer"
  15679. },
  15680. "businessjsqty": {
  15681. "description": "待审核数量: 结算",
  15682. "type": "integer"
  15683. },
  15684. "businesskxqty": {
  15685. "description": "待审核数量: 款项",
  15686. "type": "integer"
  15687. },
  15688. "hedgeplanqty": {
  15689. "description": "待审核数量: 套保计划",
  15690. "type": "integer"
  15691. },
  15692. "spotcontractqty": {
  15693. "description": "待审核数量: 现货合同",
  15694. "type": "integer"
  15695. },
  15696. "userqty": {
  15697. "description": "待审核数量: 用户",
  15698. "type": "integer"
  15699. }
  15700. }
  15701. },
  15702. "ermcp.QryAvalidGPRsp": {
  15703. "type": "object",
  15704. "properties": {
  15705. "goodsgroupid": {
  15706. "description": "期货品种id",
  15707. "type": "integer"
  15708. },
  15709. "goodsgroupname": {
  15710. "description": "期货品种名称",
  15711. "type": "string"
  15712. },
  15713. "goodunitid": {
  15714. "description": "品种单位id",
  15715. "type": "integer"
  15716. },
  15717. "goodunitname": {
  15718. "description": "品种单位名称",
  15719. "type": "string"
  15720. },
  15721. "outergroupcode": {
  15722. "description": "期货品种代码",
  15723. "type": "string"
  15724. }
  15725. }
  15726. },
  15727. "ermcp.QryBusinessDjRsp": {
  15728. "type": "object",
  15729. "properties": {
  15730. "amount": {
  15731. "description": "点价金额=(点价价格+升贴水)*点价数量",
  15732. "type": "number"
  15733. },
  15734. "applyid": {
  15735. "description": "申请人",
  15736. "type": "string"
  15737. },
  15738. "applyname": {
  15739. "description": "申请人名称",
  15740. "type": "string"
  15741. },
  15742. "applystatus": {
  15743. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15744. "type": "integer"
  15745. },
  15746. "applytime": {
  15747. "description": "申请时间",
  15748. "type": "string"
  15749. },
  15750. "attachurl": {
  15751. "description": "附件",
  15752. "type": "string"
  15753. },
  15754. "auditid": {
  15755. "description": "审核人ID",
  15756. "type": "string"
  15757. },
  15758. "auditname": {
  15759. "description": "审核人名称",
  15760. "type": "string"
  15761. },
  15762. "audittime": {
  15763. "description": "审核时间",
  15764. "type": "string"
  15765. },
  15766. "buyusername": {
  15767. "description": "采购方名称",
  15768. "type": "string"
  15769. },
  15770. "contractno": {
  15771. "description": "合同编号",
  15772. "type": "string"
  15773. },
  15774. "contractstatus": {
  15775. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15776. "type": "integer"
  15777. },
  15778. "contracttype": {
  15779. "description": "现货合同类型 - 1:采购 -1:销售",
  15780. "type": "integer"
  15781. },
  15782. "deliverygoodscode": {
  15783. "description": "现货品种代码",
  15784. "type": "string"
  15785. },
  15786. "deliverygoodsid": {
  15787. "description": "现货商品ID",
  15788. "type": "integer"
  15789. },
  15790. "deliverygoodsname": {
  15791. "description": "现货品种名称",
  15792. "type": "string"
  15793. },
  15794. "enumdicname": {
  15795. "description": "单位名称",
  15796. "type": "string"
  15797. },
  15798. "goodscode": {
  15799. "description": "点价合约",
  15800. "type": "string"
  15801. },
  15802. "goodsname": {
  15803. "description": "商品名称",
  15804. "type": "string"
  15805. },
  15806. "operateapplyid": {
  15807. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15808. "type": "string"
  15809. },
  15810. "operateapplytype": {
  15811. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15812. "type": "integer"
  15813. },
  15814. "pricedPrice": {
  15815. "description": "点价价格(非必填)",
  15816. "type": "number"
  15817. },
  15818. "pricedQty": {
  15819. "description": "点价数量(非必填)",
  15820. "type": "number"
  15821. },
  15822. "pricemove": {
  15823. "description": "升贴水",
  15824. "type": "number"
  15825. },
  15826. "pricetype": {
  15827. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15828. "type": "integer"
  15829. },
  15830. "relatedid": {
  15831. "description": "现货合同ID",
  15832. "type": "string"
  15833. },
  15834. "sellusername": {
  15835. "description": "销售方名字",
  15836. "type": "string"
  15837. },
  15838. "userid": {
  15839. "description": "用户ID",
  15840. "type": "integer"
  15841. },
  15842. "wrstandardcode": {
  15843. "description": "品类代码",
  15844. "type": "string"
  15845. },
  15846. "wrstandardid": {
  15847. "description": "品类id",
  15848. "type": "integer"
  15849. },
  15850. "wrstandardname": {
  15851. "description": "品类名称",
  15852. "type": "string"
  15853. }
  15854. }
  15855. },
  15856. "ermcp.QryBussinessFpRsp": {
  15857. "type": "object",
  15858. "properties": {
  15859. "applyid": {
  15860. "description": "申请人",
  15861. "type": "string"
  15862. },
  15863. "applyname": {
  15864. "description": "申请人名称",
  15865. "type": "string"
  15866. },
  15867. "applystatus": {
  15868. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15869. "type": "integer"
  15870. },
  15871. "applytime": {
  15872. "description": "申请时间",
  15873. "type": "string"
  15874. },
  15875. "attachurl": {
  15876. "description": "附件",
  15877. "type": "string"
  15878. },
  15879. "auditid": {
  15880. "description": "审核人ID",
  15881. "type": "string"
  15882. },
  15883. "auditname": {
  15884. "description": "审核人名称",
  15885. "type": "string"
  15886. },
  15887. "audittime": {
  15888. "description": "审核时间",
  15889. "type": "string"
  15890. },
  15891. "buyusername": {
  15892. "description": "采购方名称",
  15893. "type": "string"
  15894. },
  15895. "contractno": {
  15896. "description": "合同编号",
  15897. "type": "string"
  15898. },
  15899. "contractstatus": {
  15900. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15901. "type": "integer"
  15902. },
  15903. "contracttype": {
  15904. "description": "现货合同类型 - 1:采购 -1:销售",
  15905. "type": "integer"
  15906. },
  15907. "deliverygoodscode": {
  15908. "description": "现货品种代码",
  15909. "type": "string"
  15910. },
  15911. "deliverygoodsid": {
  15912. "description": "现货商品ID",
  15913. "type": "integer"
  15914. },
  15915. "deliverygoodsname": {
  15916. "description": "现货品种名称",
  15917. "type": "string"
  15918. },
  15919. "enumdicname": {
  15920. "description": "单位名称",
  15921. "type": "string"
  15922. },
  15923. "goodscode": {
  15924. "description": "点价合约",
  15925. "type": "string"
  15926. },
  15927. "goodsname": {
  15928. "description": "商品名称",
  15929. "type": "string"
  15930. },
  15931. "invoiceAmount": {
  15932. "description": "已开收票金额(销售为开票,采购为收票)",
  15933. "type": "number"
  15934. },
  15935. "operateapplyid": {
  15936. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15937. "type": "string"
  15938. },
  15939. "operateapplytype": {
  15940. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15941. "type": "integer"
  15942. },
  15943. "pricemove": {
  15944. "description": "升贴水",
  15945. "type": "number"
  15946. },
  15947. "pricetype": {
  15948. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15949. "type": "integer"
  15950. },
  15951. "relatedid": {
  15952. "description": "现货合同ID",
  15953. "type": "string"
  15954. },
  15955. "sellusername": {
  15956. "description": "销售方名字",
  15957. "type": "string"
  15958. },
  15959. "userid": {
  15960. "description": "用户ID",
  15961. "type": "integer"
  15962. },
  15963. "wrstandardcode": {
  15964. "description": "品类代码",
  15965. "type": "string"
  15966. },
  15967. "wrstandardid": {
  15968. "description": "品类id",
  15969. "type": "integer"
  15970. },
  15971. "wrstandardname": {
  15972. "description": "品类名称",
  15973. "type": "string"
  15974. }
  15975. }
  15976. },
  15977. "ermcp.QryBussinessJsExRsp": {
  15978. "type": "object",
  15979. "properties": {
  15980. "applyid": {
  15981. "description": "申请人",
  15982. "type": "string"
  15983. },
  15984. "applyname": {
  15985. "description": "申请人名称",
  15986. "type": "string"
  15987. },
  15988. "applystatus": {
  15989. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15990. "type": "integer"
  15991. },
  15992. "applytime": {
  15993. "description": "申请时间",
  15994. "type": "string"
  15995. },
  15996. "attachurl": {
  15997. "description": "附件",
  15998. "type": "string"
  15999. },
  16000. "auditid": {
  16001. "description": "审核人ID",
  16002. "type": "string"
  16003. },
  16004. "auditname": {
  16005. "description": "审核人名称",
  16006. "type": "string"
  16007. },
  16008. "audittime": {
  16009. "description": "审核时间",
  16010. "type": "string"
  16011. },
  16012. "buyusername": {
  16013. "description": "采购方名称",
  16014. "type": "string"
  16015. },
  16016. "contractno": {
  16017. "description": "合同编号",
  16018. "type": "string"
  16019. },
  16020. "contractstatus": {
  16021. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16022. "type": "integer"
  16023. },
  16024. "contracttype": {
  16025. "description": "现货合同类型 - 1:采购 -1:销售",
  16026. "type": "integer"
  16027. },
  16028. "deliverygoodscode": {
  16029. "description": "现货品种代码",
  16030. "type": "string"
  16031. },
  16032. "deliverygoodsid": {
  16033. "description": "现货商品ID",
  16034. "type": "integer"
  16035. },
  16036. "deliverygoodsname": {
  16037. "description": "现货品种名称",
  16038. "type": "string"
  16039. },
  16040. "enumdicname": {
  16041. "description": "单位名称",
  16042. "type": "string"
  16043. },
  16044. "goodscode": {
  16045. "description": "点价合约",
  16046. "type": "string"
  16047. },
  16048. "goodsname": {
  16049. "description": "商品名称",
  16050. "type": "string"
  16051. },
  16052. "operateapplyid": {
  16053. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16054. "type": "string"
  16055. },
  16056. "operateapplytype": {
  16057. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16058. "type": "integer"
  16059. },
  16060. "pricemove": {
  16061. "description": "升贴水",
  16062. "type": "number"
  16063. },
  16064. "pricetype": {
  16065. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16066. "type": "integer"
  16067. },
  16068. "reckontype": {
  16069. "description": "结算类型",
  16070. "type": "string"
  16071. },
  16072. "reckonvalue": {
  16073. "description": "值",
  16074. "type": "number"
  16075. },
  16076. "relatedid": {
  16077. "description": "现货合同ID",
  16078. "type": "string"
  16079. },
  16080. "sellusername": {
  16081. "description": "销售方名字",
  16082. "type": "string"
  16083. },
  16084. "userid": {
  16085. "description": "用户ID",
  16086. "type": "integer"
  16087. },
  16088. "wrstandardcode": {
  16089. "description": "品类代码",
  16090. "type": "string"
  16091. },
  16092. "wrstandardid": {
  16093. "description": "品类id",
  16094. "type": "integer"
  16095. },
  16096. "wrstandardname": {
  16097. "description": "品类名称",
  16098. "type": "string"
  16099. }
  16100. }
  16101. },
  16102. "ermcp.QryBussinessJsRsp": {
  16103. "type": "object",
  16104. "properties": {
  16105. "addmargin": {
  16106. "description": "追加保证金(非必填)",
  16107. "type": "number"
  16108. },
  16109. "applyid": {
  16110. "description": "申请人",
  16111. "type": "string"
  16112. },
  16113. "applyname": {
  16114. "description": "申请人名称",
  16115. "type": "string"
  16116. },
  16117. "applystatus": {
  16118. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16119. "type": "integer"
  16120. },
  16121. "applytime": {
  16122. "description": "申请时间",
  16123. "type": "string"
  16124. },
  16125. "attachurl": {
  16126. "description": "附件",
  16127. "type": "string"
  16128. },
  16129. "auditid": {
  16130. "description": "审核人ID",
  16131. "type": "string"
  16132. },
  16133. "auditname": {
  16134. "description": "审核人名称",
  16135. "type": "string"
  16136. },
  16137. "audittime": {
  16138. "description": "审核时间",
  16139. "type": "string"
  16140. },
  16141. "buyusername": {
  16142. "description": "采购方名称",
  16143. "type": "string"
  16144. },
  16145. "contractno": {
  16146. "description": "合同编号",
  16147. "type": "string"
  16148. },
  16149. "contractstatus": {
  16150. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16151. "type": "integer"
  16152. },
  16153. "contracttype": {
  16154. "description": "现货合同类型 - 1:采购 -1:销售",
  16155. "type": "integer"
  16156. },
  16157. "decmargin": {
  16158. "description": "减少保证金(非必填)",
  16159. "type": "number"
  16160. },
  16161. "deliverygoodscode": {
  16162. "description": "现货品种代码",
  16163. "type": "string"
  16164. },
  16165. "deliverygoodsid": {
  16166. "description": "现货商品ID",
  16167. "type": "integer"
  16168. },
  16169. "deliverygoodsname": {
  16170. "description": "现货品种名称",
  16171. "type": "string"
  16172. },
  16173. "enumdicname": {
  16174. "description": "单位名称",
  16175. "type": "string"
  16176. },
  16177. "goodscode": {
  16178. "description": "点价合约",
  16179. "type": "string"
  16180. },
  16181. "goodsname": {
  16182. "description": "商品名称",
  16183. "type": "string"
  16184. },
  16185. "operateapplyid": {
  16186. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16187. "type": "string"
  16188. },
  16189. "operateapplytype": {
  16190. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16191. "type": "integer"
  16192. },
  16193. "pricemove": {
  16194. "description": "升贴水",
  16195. "type": "number"
  16196. },
  16197. "pricetype": {
  16198. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16199. "type": "integer"
  16200. },
  16201. "reckonadjustamount": {
  16202. "description": "结算调整金额(非必填)",
  16203. "type": "number"
  16204. },
  16205. "reckonosamount": {
  16206. "description": "结算溢短金额(非必填)",
  16207. "type": "number"
  16208. },
  16209. "reckonotheramount": {
  16210. "description": "结算其他费用(非必填)",
  16211. "type": "number"
  16212. },
  16213. "reckonrealqty": {
  16214. "description": "结算实际数量(非必填)",
  16215. "type": "number"
  16216. },
  16217. "relatedid": {
  16218. "description": "现货合同ID",
  16219. "type": "string"
  16220. },
  16221. "sellusername": {
  16222. "description": "销售方名字",
  16223. "type": "string"
  16224. },
  16225. "userid": {
  16226. "description": "用户ID",
  16227. "type": "integer"
  16228. },
  16229. "wrstandardcode": {
  16230. "description": "品类代码",
  16231. "type": "string"
  16232. },
  16233. "wrstandardid": {
  16234. "description": "品类id",
  16235. "type": "integer"
  16236. },
  16237. "wrstandardname": {
  16238. "description": "品类名称",
  16239. "type": "string"
  16240. }
  16241. }
  16242. },
  16243. "ermcp.QryBussinessKxRsp": {
  16244. "type": "object",
  16245. "properties": {
  16246. "applyid": {
  16247. "description": "申请人",
  16248. "type": "string"
  16249. },
  16250. "applyname": {
  16251. "description": "申请人名称",
  16252. "type": "string"
  16253. },
  16254. "applystatus": {
  16255. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16256. "type": "integer"
  16257. },
  16258. "applytime": {
  16259. "description": "申请时间",
  16260. "type": "string"
  16261. },
  16262. "attachurl": {
  16263. "description": "附件",
  16264. "type": "string"
  16265. },
  16266. "auditid": {
  16267. "description": "审核人ID",
  16268. "type": "string"
  16269. },
  16270. "auditname": {
  16271. "description": "审核人名称",
  16272. "type": "string"
  16273. },
  16274. "audittime": {
  16275. "description": "审核时间",
  16276. "type": "string"
  16277. },
  16278. "buyusername": {
  16279. "description": "采购方名称",
  16280. "type": "string"
  16281. },
  16282. "contractno": {
  16283. "description": "合同编号",
  16284. "type": "string"
  16285. },
  16286. "contractstatus": {
  16287. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16288. "type": "integer"
  16289. },
  16290. "contracttype": {
  16291. "description": "现货合同类型 - 1:采购 -1:销售",
  16292. "type": "integer"
  16293. },
  16294. "deductamount": {
  16295. "description": "退款(非必填)",
  16296. "type": "number"
  16297. },
  16298. "deliverygoodscode": {
  16299. "description": "现货品种代码",
  16300. "type": "string"
  16301. },
  16302. "deliverygoodsid": {
  16303. "description": "现货商品ID",
  16304. "type": "integer"
  16305. },
  16306. "deliverygoodsname": {
  16307. "description": "现货品种名称",
  16308. "type": "string"
  16309. },
  16310. "enumdicname": {
  16311. "description": "单位名称",
  16312. "type": "string"
  16313. },
  16314. "goodscode": {
  16315. "description": "点价合约",
  16316. "type": "string"
  16317. },
  16318. "goodsname": {
  16319. "description": "商品名称",
  16320. "type": "string"
  16321. },
  16322. "kxtype": {
  16323. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  16324. "type": "integer"
  16325. },
  16326. "operateapplyid": {
  16327. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16328. "type": "string"
  16329. },
  16330. "operateapplytype": {
  16331. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16332. "type": "integer"
  16333. },
  16334. "payamount": {
  16335. "description": "收付款(非必填)",
  16336. "type": "number"
  16337. },
  16338. "pricemove": {
  16339. "description": "升贴水",
  16340. "type": "number"
  16341. },
  16342. "pricetype": {
  16343. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16344. "type": "integer"
  16345. },
  16346. "relatedid": {
  16347. "description": "现货合同ID",
  16348. "type": "string"
  16349. },
  16350. "sellusername": {
  16351. "description": "销售方名字",
  16352. "type": "string"
  16353. },
  16354. "userid": {
  16355. "description": "用户ID",
  16356. "type": "integer"
  16357. },
  16358. "wrstandardcode": {
  16359. "description": "品类代码",
  16360. "type": "string"
  16361. },
  16362. "wrstandardid": {
  16363. "description": "品类id",
  16364. "type": "integer"
  16365. },
  16366. "wrstandardname": {
  16367. "description": "品类名称",
  16368. "type": "string"
  16369. }
  16370. }
  16371. },
  16372. "ermcp.QryGGCovertCfgRsp": {
  16373. "type": "object",
  16374. "properties": {
  16375. "convertratio": {
  16376. "description": "折算系数",
  16377. "type": "number"
  16378. },
  16379. "destgoodsgroupid": {
  16380. "description": "目标品种ID",
  16381. "type": "integer"
  16382. },
  16383. "dstcode": {
  16384. "description": "目录品种代码",
  16385. "type": "string"
  16386. },
  16387. "dstexchangecode": {
  16388. "description": "目标期货交易所",
  16389. "type": "string"
  16390. },
  16391. "dstname": {
  16392. "description": "目标品种名称",
  16393. "type": "string"
  16394. },
  16395. "dstunitid": {
  16396. "description": "目标品种单位ID",
  16397. "type": "integer"
  16398. },
  16399. "dstunitidname": {
  16400. "description": "目标品种单位名称",
  16401. "type": "string"
  16402. },
  16403. "modifytime": {
  16404. "description": "修改时间",
  16405. "type": "string"
  16406. },
  16407. "srccode": {
  16408. "description": "源品种代码",
  16409. "type": "string"
  16410. },
  16411. "srcexchangecode": {
  16412. "description": "源期货交易所",
  16413. "type": "string"
  16414. },
  16415. "srcgoodsgroupid": {
  16416. "description": "源品种ID",
  16417. "type": "integer"
  16418. },
  16419. "srcname": {
  16420. "description": "源品种名称",
  16421. "type": "string"
  16422. },
  16423. "srcunitid": {
  16424. "description": "源品种单位ID",
  16425. "type": "integer"
  16426. },
  16427. "srcunitidname": {
  16428. "description": "源品种单位名称",
  16429. "type": "string"
  16430. }
  16431. }
  16432. },
  16433. "ermcp.QryMGChangeLogRsp": {
  16434. "type": "object",
  16435. "properties": {
  16436. "aftervalue": {
  16437. "description": "变更后",
  16438. "type": "number"
  16439. },
  16440. "applyid": {
  16441. "description": "操作人",
  16442. "type": "integer"
  16443. },
  16444. "applyname": {
  16445. "description": "操作人名称",
  16446. "type": "string"
  16447. },
  16448. "applysrc": {
  16449. "description": "操作来源 - 1:管理端 2:终端",
  16450. "type": "integer"
  16451. },
  16452. "beforevalue": {
  16453. "description": "变更前",
  16454. "type": "number"
  16455. },
  16456. "changelogtype": {
  16457. "description": "变更流水类型 - 1:套保比率变更",
  16458. "type": "integer"
  16459. },
  16460. "handlestatus": {
  16461. "description": "处理状态",
  16462. "type": "integer"
  16463. },
  16464. "logdatetime": {
  16465. "description": "流水日期",
  16466. "type": "string"
  16467. },
  16468. "logid": {
  16469. "description": "流水ID",
  16470. "type": "integer"
  16471. },
  16472. "logremark": {
  16473. "description": "流水备注",
  16474. "type": "string"
  16475. },
  16476. "middlegoodsid": {
  16477. "description": "套保品种ID",
  16478. "type": "integer"
  16479. },
  16480. "tradedate": {
  16481. "description": "交易日(yyyyMMdd)",
  16482. "type": "string"
  16483. },
  16484. "updatetime": {
  16485. "description": "更新时间",
  16486. "type": "string"
  16487. }
  16488. }
  16489. },
  16490. "ermcp.QryMiddleGoodsDetailRsp": {
  16491. "type": "object",
  16492. "properties": {
  16493. "cvList": {
  16494. "description": "期货品种折算列表",
  16495. "type": "array",
  16496. "items": {
  16497. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16498. }
  16499. },
  16500. "mg": {
  16501. "description": "套保品种基本信息",
  16502. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16503. },
  16504. "wrcList": {
  16505. "description": "现货品种列表(现货商品折算配置)",
  16506. "type": "array",
  16507. "items": {
  16508. "$ref": "#/definitions/models.WRSConverTDetail"
  16509. }
  16510. }
  16511. }
  16512. },
  16513. "ermcp.QryMiddleGoodsRsp": {
  16514. "type": "object",
  16515. "properties": {
  16516. "areauserid": {
  16517. "description": "机构用户ID",
  16518. "type": "integer"
  16519. },
  16520. "createtime": {
  16521. "description": "修改时间",
  16522. "type": "string"
  16523. },
  16524. "enumdicname": {
  16525. "description": "单位名称",
  16526. "type": "string"
  16527. },
  16528. "evaluateratio": {
  16529. "description": "估价系数",
  16530. "type": "number"
  16531. },
  16532. "goodsgroupid": {
  16533. "description": "关联期货品种ID",
  16534. "type": "integer"
  16535. },
  16536. "goodsunitid": {
  16537. "description": "单位ID",
  16538. "type": "integer"
  16539. },
  16540. "isvalid": {
  16541. "description": "状态 0-无效(停用) 1-有效(正常)",
  16542. "type": "integer"
  16543. },
  16544. "middlegoodscode": {
  16545. "description": "套保品种代码",
  16546. "type": "string"
  16547. },
  16548. "middlegoodsid": {
  16549. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16550. "type": "integer"
  16551. },
  16552. "middlegoodsname": {
  16553. "description": "套保品种名称",
  16554. "type": "string"
  16555. },
  16556. "modifytime": {
  16557. "description": "修改时间",
  16558. "type": "string"
  16559. },
  16560. "needarbitrageratio": {
  16561. "description": "套利比例",
  16562. "type": "number"
  16563. },
  16564. "needhedgeratio": {
  16565. "description": "套保比率",
  16566. "type": "number"
  16567. },
  16568. "qtydecimalplace": {
  16569. "description": "数量小数位",
  16570. "type": "integer"
  16571. },
  16572. "relatedgoodsid": {
  16573. "description": "关联交易商品ID",
  16574. "type": "integer"
  16575. },
  16576. "relatedgoodstype": {
  16577. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16578. "type": "integer"
  16579. },
  16580. "remark": {
  16581. "description": "备注",
  16582. "type": "string"
  16583. }
  16584. }
  16585. },
  16586. "ermcp.QryOPLogRsp": {
  16587. "type": "object",
  16588. "properties": {
  16589. "aftervalue": {
  16590. "description": "变更后",
  16591. "type": "number"
  16592. },
  16593. "applyid": {
  16594. "description": "操作人ID",
  16595. "type": "string"
  16596. },
  16597. "applyname": {
  16598. "description": "操作人名称",
  16599. "type": "string"
  16600. },
  16601. "beforevalue": {
  16602. "description": "变更前",
  16603. "type": "number"
  16604. },
  16605. "biztype": {
  16606. "description": "业务类型 - 1:套保计划 2:现货合同",
  16607. "type": "integer"
  16608. },
  16609. "contracttype": {
  16610. "description": "现货合同类型 - 1:采购 -1:销售",
  16611. "type": "integer"
  16612. },
  16613. "logvalue": {
  16614. "description": "数值",
  16615. "type": "number"
  16616. },
  16617. "operatelogtype": {
  16618. "description": "操作流水类型",
  16619. "type": "integer"
  16620. },
  16621. "operatelogtypedesc": {
  16622. "description": "操作流水类型名称",
  16623. "type": "string"
  16624. },
  16625. "relatedid": {
  16626. "description": "现货合同ID\\套保计划",
  16627. "type": "string"
  16628. },
  16629. "updatetime": {
  16630. "description": "更新时间",
  16631. "type": "string"
  16632. }
  16633. }
  16634. },
  16635. "ermcp.QryUserInfoRsp": {
  16636. "type": "object",
  16637. "properties": {
  16638. "address": {
  16639. "description": "通讯地址",
  16640. "type": "string"
  16641. },
  16642. "attachment1": {
  16643. "description": "附件1",
  16644. "type": "string"
  16645. },
  16646. "audittime": {
  16647. "description": "审核时间",
  16648. "type": "string"
  16649. },
  16650. "cardbackphotourl": {
  16651. "description": "证件反面图片地址",
  16652. "type": "string"
  16653. },
  16654. "cardfrontphotourl": {
  16655. "description": "证件正面图片地址",
  16656. "type": "string"
  16657. },
  16658. "cardnum": {
  16659. "description": "证件号码",
  16660. "type": "string"
  16661. },
  16662. "cardtype": {
  16663. "description": "证件类型",
  16664. "type": "integer"
  16665. },
  16666. "cardtypename": {
  16667. "description": "证件类型名称",
  16668. "type": "string"
  16669. },
  16670. "cityid": {
  16671. "description": "市",
  16672. "type": "integer"
  16673. },
  16674. "contactname": {
  16675. "description": "联系人",
  16676. "type": "string"
  16677. },
  16678. "countryid": {
  16679. "description": "国家",
  16680. "type": "integer"
  16681. },
  16682. "createtime": {
  16683. "description": "创建时间",
  16684. "type": "string"
  16685. },
  16686. "customername": {
  16687. "description": "企业名称",
  16688. "type": "string"
  16689. },
  16690. "districtid": {
  16691. "description": "区域",
  16692. "type": "integer"
  16693. },
  16694. "email": {
  16695. "description": "邮件",
  16696. "type": "string"
  16697. },
  16698. "legalpersonname": {
  16699. "description": "法人姓名(企业)",
  16700. "type": "string"
  16701. },
  16702. "memberuserid": {
  16703. "description": "所属机构ID",
  16704. "type": "integer"
  16705. },
  16706. "mobile": {
  16707. "description": "手机号码",
  16708. "type": "string"
  16709. },
  16710. "modifytime": {
  16711. "description": "修改时间",
  16712. "type": "string"
  16713. },
  16714. "nickname": {
  16715. "description": "昵称",
  16716. "type": "string"
  16717. },
  16718. "provinceid": {
  16719. "description": "省",
  16720. "type": "integer"
  16721. },
  16722. "remark": {
  16723. "description": "备注",
  16724. "type": "string"
  16725. },
  16726. "status": {
  16727. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16728. "type": "integer"
  16729. },
  16730. "statusdesc": {
  16731. "description": "账户状态中文描述",
  16732. "type": "string"
  16733. },
  16734. "taxpayernum": {
  16735. "description": "纳税人识别号",
  16736. "type": "string"
  16737. },
  16738. "telphone": {
  16739. "description": "联系电话",
  16740. "type": "string"
  16741. },
  16742. "userid": {
  16743. "description": "用户ID",
  16744. "type": "integer"
  16745. },
  16746. "userinfotype": {
  16747. "description": "客户类型",
  16748. "type": "string"
  16749. }
  16750. }
  16751. },
  16752. "ermcp.QryWarehouseRsp": {
  16753. "type": "object",
  16754. "properties": {
  16755. "address": {
  16756. "description": "详细地址",
  16757. "type": "string"
  16758. },
  16759. "areauserid": {
  16760. "description": "所属机构",
  16761. "type": "integer"
  16762. },
  16763. "autoid": {
  16764. "description": "自增ID(仓库ID)",
  16765. "type": "integer"
  16766. },
  16767. "cityid": {
  16768. "description": "市",
  16769. "type": "integer"
  16770. },
  16771. "contactname": {
  16772. "description": "联系人",
  16773. "type": "string"
  16774. },
  16775. "contactnum": {
  16776. "description": "联系电话",
  16777. "type": "string"
  16778. },
  16779. "countryid": {
  16780. "description": "国家",
  16781. "type": "integer"
  16782. },
  16783. "createtime": {
  16784. "description": "创建时间",
  16785. "type": "string"
  16786. },
  16787. "districtid": {
  16788. "description": "区",
  16789. "type": "integer"
  16790. },
  16791. "hasvideo": {
  16792. "description": "是否有视频 - 0:无 1:有",
  16793. "type": "integer"
  16794. },
  16795. "provinceid": {
  16796. "description": "省",
  16797. "type": "integer"
  16798. },
  16799. "remark": {
  16800. "description": "审核备注",
  16801. "type": "string"
  16802. },
  16803. "videourl": {
  16804. "description": "视频地址",
  16805. "type": "string"
  16806. },
  16807. "warehousecode": {
  16808. "description": "仓库代码",
  16809. "type": "string"
  16810. },
  16811. "warehousename": {
  16812. "description": "仓库名称",
  16813. "type": "string"
  16814. },
  16815. "warehousestatus": {
  16816. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16817. "type": "integer"
  16818. },
  16819. "warehousetype": {
  16820. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16821. "type": "integer"
  16822. }
  16823. }
  16824. },
  16825. "ermcp.QueryErmcpTradePositionRsp": {
  16826. "type": "object",
  16827. "properties": {
  16828. "agreeunit": {
  16829. "description": "合约单位",
  16830. "type": "number"
  16831. },
  16832. "buyorsell": {
  16833. "description": "方向 - 0:买 1:卖",
  16834. "type": "integer"
  16835. },
  16836. "curpositionqty": {
  16837. "description": "持仓(总仓数量, 期末头寸)",
  16838. "type": "integer"
  16839. },
  16840. "curtdposition": {
  16841. "description": "今仓数量(期末今日头寸)",
  16842. "type": "integer"
  16843. },
  16844. "curtdpositionenabled": {
  16845. "description": "今仓可用",
  16846. "type": "integer"
  16847. },
  16848. "decimalplace": {
  16849. "description": "报价小数位",
  16850. "type": "integer"
  16851. },
  16852. "enableqty": {
  16853. "description": "可用(总仓可用)",
  16854. "type": "integer"
  16855. },
  16856. "exexchangename": {
  16857. "description": "外部交易所名称",
  16858. "type": "string"
  16859. },
  16860. "goodscode": {
  16861. "description": "商品代码(内部)",
  16862. "type": "string"
  16863. },
  16864. "goodsid": {
  16865. "description": "商品ID(自增ID SEQ_GOODS)",
  16866. "type": "integer"
  16867. },
  16868. "goodsname": {
  16869. "description": "商品名称",
  16870. "type": "string"
  16871. },
  16872. "last": {
  16873. "description": "现价",
  16874. "type": "number"
  16875. },
  16876. "marketid": {
  16877. "description": "所属市场ID",
  16878. "type": "integer"
  16879. },
  16880. "openaverageprice": {
  16881. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  16882. "type": "number"
  16883. },
  16884. "opencost": {
  16885. "description": "开仓成本",
  16886. "type": "number"
  16887. },
  16888. "openpl": {
  16889. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16890. "type": "number"
  16891. },
  16892. "outgoodscode": {
  16893. "description": "商品代码(外部)",
  16894. "type": "string"
  16895. },
  16896. "positionaverageprice": {
  16897. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  16898. "type": "number"
  16899. },
  16900. "positioncost": {
  16901. "description": "持仓成本",
  16902. "type": "number"
  16903. },
  16904. "positionpl": {
  16905. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16906. "type": "number"
  16907. },
  16908. "positionplrate": {
  16909. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  16910. "type": "number"
  16911. },
  16912. "usedmargin": {
  16913. "description": "占用保证金",
  16914. "type": "number"
  16915. }
  16916. }
  16917. },
  16918. "ermcp.RealtimeExposurePositionRsp": {
  16919. "type": "object",
  16920. "properties": {
  16921. "agreeunit": {
  16922. "description": "合约单位",
  16923. "type": "string"
  16924. },
  16925. "areauserid": {
  16926. "description": "所属机构id",
  16927. "type": "integer"
  16928. },
  16929. "convertratio": {
  16930. "description": "期货品种系数(折算系数)",
  16931. "type": "number"
  16932. },
  16933. "curqty": {
  16934. "description": "当前持仓",
  16935. "type": "integer"
  16936. },
  16937. "diffhedgeqty": {
  16938. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  16939. "type": "number"
  16940. },
  16941. "diffqty": {
  16942. "description": "持仓变动量=当前持仓-昨日持仓",
  16943. "type": "integer"
  16944. },
  16945. "goodscode": {
  16946. "description": "商品代码",
  16947. "type": "string"
  16948. },
  16949. "goodsid": {
  16950. "description": "商品id",
  16951. "type": "integer"
  16952. },
  16953. "goodsname": {
  16954. "description": "商品名称",
  16955. "type": "string"
  16956. },
  16957. "middlegoodsid": {
  16958. "description": "套保商品id",
  16959. "type": "integer"
  16960. },
  16961. "ydqty": {
  16962. "description": "昨日持仓",
  16963. "type": "integer"
  16964. }
  16965. }
  16966. },
  16967. "ermcp.RealtimeExposureRsp": {
  16968. "type": "object",
  16969. "properties": {
  16970. "AreaUserID": {
  16971. "description": "所属机构",
  16972. "type": "integer"
  16973. },
  16974. "BuyFutureQty": {
  16975. "description": "买入期货数量",
  16976. "type": "number"
  16977. },
  16978. "BuyPlanQty": {
  16979. "description": "采购计划数量",
  16980. "type": "number"
  16981. },
  16982. "BuyPricedQty": {
  16983. "description": "采购合同已定价数量",
  16984. "type": "number"
  16985. },
  16986. "MiddleGoodsCode": {
  16987. "description": "套保品种代码",
  16988. "type": "string"
  16989. },
  16990. "MiddleGoodsHedgeRatio": {
  16991. "description": "套保比例",
  16992. "type": "number"
  16993. },
  16994. "MiddleGoodsID": {
  16995. "description": "套保品种",
  16996. "type": "integer"
  16997. },
  16998. "MiddleGoodsName": {
  16999. "description": "套保品种名称",
  17000. "type": "string"
  17001. },
  17002. "NeedHedgeExposoure": {
  17003. "description": "应套保敞口(套保敞口)",
  17004. "type": "number"
  17005. },
  17006. "NeedHedgeRatio": {
  17007. "description": "应套保敞口比例",
  17008. "type": "number"
  17009. },
  17010. "OriBuyFutureQty": {
  17011. "description": "期初买入期货数量",
  17012. "type": "number"
  17013. },
  17014. "OriBuyPlanQty": {
  17015. "description": "期初采购计划数量",
  17016. "type": "number"
  17017. },
  17018. "OriBuyPricedQty": {
  17019. "description": "期初采购合同已定价数量",
  17020. "type": "number"
  17021. },
  17022. "OriSellFutureQty": {
  17023. "description": "期初卖出期货数量",
  17024. "type": "number"
  17025. },
  17026. "OriSellPlanQty": {
  17027. "description": "期初销售计划数量",
  17028. "type": "number"
  17029. },
  17030. "OriSellPricedQty": {
  17031. "description": "期初销售合同已定价数量",
  17032. "type": "number"
  17033. },
  17034. "SellFutureQty": {
  17035. "description": "卖出期货数量",
  17036. "type": "number"
  17037. },
  17038. "SellPlanQty": {
  17039. "description": "销售计划数量",
  17040. "type": "number"
  17041. },
  17042. "SellPricedQty": {
  17043. "description": "销售合同已定价数量",
  17044. "type": "number"
  17045. },
  17046. "TotalExposure": {
  17047. "description": "总敞口 平安:净敞口",
  17048. "type": "number"
  17049. },
  17050. "TotalFutureQty": {
  17051. "description": "期货总量 平安:保值净持仓量",
  17052. "type": "number"
  17053. },
  17054. "TotalHedgeRatio": {
  17055. "description": "敞口比例",
  17056. "type": "number"
  17057. },
  17058. "TotalNeedHedgeQty": {
  17059. "description": "应套保总量(现货应套保总量)",
  17060. "type": "number"
  17061. },
  17062. "TotalSpotQty": {
  17063. "description": "现货总量 平安:采销定价净值",
  17064. "type": "number"
  17065. },
  17066. "arbitrageqty": {
  17067. "description": "套利量",
  17068. "type": "number"
  17069. },
  17070. "diffArbitrageQty": {
  17071. "description": "套利变动量",
  17072. "type": "number"
  17073. },
  17074. "diffExposoureQty": {
  17075. "description": "变动量(套保敞口)",
  17076. "type": "number"
  17077. },
  17078. "diffFutuQty": {
  17079. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  17080. "type": "number"
  17081. },
  17082. "diffHedgeQty": {
  17083. "description": "套保变动量",
  17084. "type": "number"
  17085. },
  17086. "diffQty": {
  17087. "description": "变动量(总敞口) 平安:净敞口今日变动",
  17088. "type": "number"
  17089. },
  17090. "diffSpotHedgeQty": {
  17091. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  17092. "type": "number"
  17093. },
  17094. "diffSpotQty": {
  17095. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  17096. "type": "number"
  17097. },
  17098. "enumdicname": {
  17099. "description": "单位名称",
  17100. "type": "string"
  17101. },
  17102. "hedgeqty": {
  17103. "description": "套保量",
  17104. "type": "number"
  17105. },
  17106. "needarbitrageqty": {
  17107. "description": "应套利量",
  17108. "type": "number"
  17109. },
  17110. "needarbitrageratio": {
  17111. "description": "套利比例",
  17112. "type": "number"
  17113. },
  17114. "needhedgeqty": {
  17115. "description": "应套保量",
  17116. "type": "number"
  17117. },
  17118. "oriTotalFutuQty": {
  17119. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  17120. "type": "number"
  17121. },
  17122. "oriTotalSpotQty": {
  17123. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  17124. "type": "number"
  17125. },
  17126. "oriarbitrageqty": {
  17127. "description": "期初套利量",
  17128. "type": "number"
  17129. },
  17130. "orihedgeqty": {
  17131. "description": "期初套保量",
  17132. "type": "number"
  17133. },
  17134. "orineedhedgeexposoure": {
  17135. "description": "期初套保敞口",
  17136. "type": "number"
  17137. },
  17138. "oritotalexposure": {
  17139. "description": "期初总敞口",
  17140. "type": "number"
  17141. },
  17142. "oritotalfutureqty": {
  17143. "description": "期初期货总量",
  17144. "type": "number"
  17145. },
  17146. "oritotalneedhedgeqty": {
  17147. "description": "期初现货应套保量",
  17148. "type": "number"
  17149. }
  17150. }
  17151. },
  17152. "erms2.QueryArbitrageStrategyRsp": {
  17153. "type": "object",
  17154. "required": [
  17155. "asapplyid"
  17156. ],
  17157. "properties": {
  17158. "applybasis": {
  17159. "description": "申请基差",
  17160. "type": "number"
  17161. },
  17162. "asapplyid": {
  17163. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  17164. "type": "string"
  17165. },
  17166. "asname": {
  17167. "description": "策略名称",
  17168. "type": "string"
  17169. },
  17170. "asno": {
  17171. "description": "策略编号",
  17172. "type": "string"
  17173. },
  17174. "basischangepl": {
  17175. "description": "基差变动损益[结算更新]",
  17176. "type": "number"
  17177. },
  17178. "biztype": {
  17179. "description": "业务类型 - 1:正向套利 -1:反向套利",
  17180. "type": "integer"
  17181. },
  17182. "closetradedate": {
  17183. "description": "完结交易日(yyyyMMdd)",
  17184. "type": "string"
  17185. },
  17186. "curbasis": {
  17187. "description": "当前基差[结算更新]",
  17188. "type": "number"
  17189. },
  17190. "deliverygoodsid": {
  17191. "description": "现货品种ID",
  17192. "type": "integer"
  17193. },
  17194. "futureavgprice": {
  17195. "description": "期货建仓均价",
  17196. "type": "number"
  17197. },
  17198. "futurecloseamount": {
  17199. "description": "期货平仓金额",
  17200. "type": "number"
  17201. },
  17202. "futurecloseqty": {
  17203. "description": "期货平仓数量",
  17204. "type": "number"
  17205. },
  17206. "futureopenamount": {
  17207. "description": "期货开仓金额",
  17208. "type": "number"
  17209. },
  17210. "futureopenqty": {
  17211. "description": "期货开仓数量",
  17212. "type": "number"
  17213. },
  17214. "futurepl": {
  17215. "description": "期货总盈亏[结算更新]",
  17216. "type": "number"
  17217. },
  17218. "futureqty": {
  17219. "description": "期货持仓数量",
  17220. "type": "number"
  17221. },
  17222. "futurequote": {
  17223. "description": "期货额度",
  17224. "type": "number"
  17225. },
  17226. "goodsgroupid": {
  17227. "description": "期货品种ID",
  17228. "type": "integer"
  17229. },
  17230. "marketid": {
  17231. "description": "市场ID",
  17232. "type": "integer"
  17233. },
  17234. "netexposure": {
  17235. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  17236. "type": "number"
  17237. },
  17238. "netexposurepl": {
  17239. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  17240. "type": "number"
  17241. },
  17242. "netexposurerate": {
  17243. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  17244. "type": "number"
  17245. },
  17246. "openbasis": {
  17247. "description": "建仓基差",
  17248. "type": "number"
  17249. },
  17250. "pricedspotqty": {
  17251. "description": "已定价现货数量",
  17252. "type": "number"
  17253. },
  17254. "pricedspotqtynotax": {
  17255. "description": "已定价现货不含税数量",
  17256. "type": "number"
  17257. },
  17258. "remark": {
  17259. "description": "备注",
  17260. "type": "string"
  17261. },
  17262. "spotavgprice": {
  17263. "description": "现货均价",
  17264. "type": "number"
  17265. },
  17266. "spotbuyamount": {
  17267. "description": "现货采购金额",
  17268. "type": "number"
  17269. },
  17270. "spotbuyqty": {
  17271. "description": "现货采购数量",
  17272. "type": "number"
  17273. },
  17274. "spotpl": {
  17275. "description": "现货总盈亏[结算更新]",
  17276. "type": "number"
  17277. },
  17278. "spotquota": {
  17279. "description": "现货额度",
  17280. "type": "number"
  17281. },
  17282. "spotsellamount": {
  17283. "description": "现货销售金额",
  17284. "type": "number"
  17285. },
  17286. "spotsellqty": {
  17287. "description": "现货销售数量",
  17288. "type": "number"
  17289. },
  17290. "spotusedquota": {
  17291. "description": "现货占用资金",
  17292. "type": "number"
  17293. },
  17294. "strategystatus": {
  17295. "description": "策略状态 - 0:未结束 1:已结束",
  17296. "type": "integer"
  17297. },
  17298. "totalpl": {
  17299. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  17300. "type": "number"
  17301. },
  17302. "tradedate": {
  17303. "description": "交易日(yyyyMMdd)",
  17304. "type": "string"
  17305. },
  17306. "updatetime": {
  17307. "description": "更新时间",
  17308. "type": "string"
  17309. },
  17310. "usedquota": {
  17311. "description": "已占用资金",
  17312. "type": "number"
  17313. },
  17314. "userid": {
  17315. "description": "所属机构",
  17316. "type": "integer"
  17317. }
  17318. }
  17319. },
  17320. "erms2.QueryInnerTradeDetailRsp": {
  17321. "type": "object",
  17322. "required": [
  17323. "asapplyid",
  17324. "buyorsell",
  17325. "goodscode",
  17326. "goodsgroupid",
  17327. "goodsgroupname",
  17328. "goodsname",
  17329. "tradeid"
  17330. ],
  17331. "properties": {
  17332. "accountid": {
  17333. "description": "账号ID",
  17334. "type": "integer"
  17335. },
  17336. "agreeunit": {
  17337. "description": "合约单位",
  17338. "type": "number"
  17339. },
  17340. "asapplyid": {
  17341. "description": "策略申请ID",
  17342. "type": "integer"
  17343. },
  17344. "asname": {
  17345. "description": "策略名称",
  17346. "type": "string"
  17347. },
  17348. "asno": {
  17349. "description": "策略编号",
  17350. "type": "string"
  17351. },
  17352. "buyorsell": {
  17353. "description": "方向 - 0:买 1:卖",
  17354. "type": "integer"
  17355. },
  17356. "channelbuildtype": {
  17357. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  17358. "type": "integer"
  17359. },
  17360. "closetype": {
  17361. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  17362. "type": "integer"
  17363. },
  17364. "decimalplace": {
  17365. "description": "报价小数位",
  17366. "type": "integer"
  17367. },
  17368. "detailtype": {
  17369. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  17370. "type": "integer"
  17371. },
  17372. "exexchangecode": {
  17373. "description": "外部交易所代码",
  17374. "type": "string"
  17375. },
  17376. "exexchangename": {
  17377. "description": "外部交易所名称",
  17378. "type": "string"
  17379. },
  17380. "goodscode": {
  17381. "description": "商品代码(合约)",
  17382. "type": "string"
  17383. },
  17384. "goodsgroupid": {
  17385. "description": "商品组ID(品种ID)",
  17386. "type": "integer"
  17387. },
  17388. "goodsgroupname": {
  17389. "description": "商品组名称(品种)",
  17390. "type": "string"
  17391. },
  17392. "goodsid": {
  17393. "description": "商品ID",
  17394. "type": "integer"
  17395. },
  17396. "goodsname": {
  17397. "description": "商品名称(合约)",
  17398. "type": "string"
  17399. },
  17400. "goodunit": {
  17401. "description": "报价单位",
  17402. "type": "string"
  17403. },
  17404. "marketid": {
  17405. "description": "市场ID",
  17406. "type": "integer"
  17407. },
  17408. "orderid": {
  17409. "description": "委托单号",
  17410. "type": "string"
  17411. },
  17412. "outgoodscode": {
  17413. "description": "商品代码(外部)",
  17414. "type": "string"
  17415. },
  17416. "relatedouttradeid": {
  17417. "description": "关联外部成交单ID",
  17418. "type": "string"
  17419. },
  17420. "remark": {
  17421. "description": "备注",
  17422. "type": "string"
  17423. },
  17424. "spotcontractid": {
  17425. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  17426. "type": "integer"
  17427. },
  17428. "spotcontractno": {
  17429. "description": "现货合同编号",
  17430. "type": "string"
  17431. },
  17432. "tradeid": {
  17433. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17434. "type": "string"
  17435. },
  17436. "tradeprice": {
  17437. "description": "成交价格",
  17438. "type": "number"
  17439. },
  17440. "tradeqty": {
  17441. "description": "成交数量",
  17442. "type": "integer"
  17443. },
  17444. "tradetime": {
  17445. "description": "成交时间",
  17446. "type": "string"
  17447. },
  17448. "updatetime": {
  17449. "description": "更新时间",
  17450. "type": "string"
  17451. }
  17452. }
  17453. },
  17454. "erms2.QuerySpotContractRsp": {
  17455. "type": "object",
  17456. "required": [
  17457. "spotcontractid"
  17458. ],
  17459. "properties": {
  17460. "accountid": {
  17461. "description": "资金账户ID",
  17462. "type": "integer"
  17463. },
  17464. "areauserid": {
  17465. "description": "所属机构",
  17466. "type": "integer"
  17467. },
  17468. "closedate": {
  17469. "description": "终止日期",
  17470. "type": "string"
  17471. },
  17472. "closeremark": {
  17473. "description": "结束备注",
  17474. "type": "string"
  17475. },
  17476. "closetradedate": {
  17477. "description": "完结交易日(yyyyMMdd)",
  17478. "type": "string"
  17479. },
  17480. "closetype": {
  17481. "description": "终止类型 - 1:违约 2:提前终止",
  17482. "type": "integer"
  17483. },
  17484. "contractamount": {
  17485. "description": "合同金额",
  17486. "type": "number"
  17487. },
  17488. "contractattachment": {
  17489. "description": "合同附件",
  17490. "type": "string"
  17491. },
  17492. "contractno": {
  17493. "description": "现货合同编号",
  17494. "type": "string"
  17495. },
  17496. "contractqty": {
  17497. "description": "合同数量(数值) (用于计算)",
  17498. "type": "number"
  17499. },
  17500. "contractqtychar": {
  17501. "description": "合同数量\\已订价数量 (用于显示)",
  17502. "type": "string"
  17503. },
  17504. "contractstatus": {
  17505. "description": "合同状态 - 0:未结束 1:已结束",
  17506. "type": "integer"
  17507. },
  17508. "contracttype": {
  17509. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  17510. "type": "integer"
  17511. },
  17512. "customeraccountid": {
  17513. "description": "客户资金账户ID",
  17514. "type": "integer"
  17515. },
  17516. "customeruserid": {
  17517. "description": "客户ID",
  17518. "type": "integer"
  17519. },
  17520. "deliverygoodsdesc": {
  17521. "description": "品种说明",
  17522. "type": "string"
  17523. },
  17524. "deliverygoodsid": {
  17525. "description": "现货品种ID",
  17526. "type": "integer"
  17527. },
  17528. "handlestatus": {
  17529. "description": "处理状态",
  17530. "type": "integer"
  17531. },
  17532. "invoiceatt": {
  17533. "description": "发票附件",
  17534. "type": "string"
  17535. },
  17536. "invoicedatetime": {
  17537. "description": "开收票更新时间",
  17538. "type": "string"
  17539. },
  17540. "invoiceopentime": {
  17541. "description": "开票时间",
  17542. "type": "string"
  17543. },
  17544. "invoiceremark": {
  17545. "description": "发票备注",
  17546. "type": "string"
  17547. },
  17548. "invoicestatus": {
  17549. "description": "开收票状态 - 0:未开票 1:已开票",
  17550. "type": "integer"
  17551. },
  17552. "lastdate": {
  17553. "description": "交货时间",
  17554. "type": "string"
  17555. },
  17556. "marketid": {
  17557. "description": "市场ID",
  17558. "type": "integer"
  17559. },
  17560. "paydatetime": {
  17561. "description": "收付款更新时间",
  17562. "type": "string"
  17563. },
  17564. "payremark": {
  17565. "description": "收付款备注",
  17566. "type": "string"
  17567. },
  17568. "paystatus": {
  17569. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  17570. "type": "integer"
  17571. },
  17572. "positionqty": {
  17573. "description": "头寸数量 - 合同数量去小数部分",
  17574. "type": "integer"
  17575. },
  17576. "producttype": {
  17577. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17578. "type": "integer"
  17579. },
  17580. "relatedqty": {
  17581. "description": "已关联数量",
  17582. "type": "number"
  17583. },
  17584. "relatedstatus": {
  17585. "description": "关联完结状态 - 0:未结束 1:已结束",
  17586. "type": "integer"
  17587. },
  17588. "remark": {
  17589. "description": "备注",
  17590. "type": "string"
  17591. },
  17592. "signdate": {
  17593. "description": "签订日期",
  17594. "type": "string"
  17595. },
  17596. "spotcontractid": {
  17597. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  17598. "type": "string"
  17599. },
  17600. "spotdatetime": {
  17601. "description": "收发货更新时间",
  17602. "type": "string"
  17603. },
  17604. "spotprice": {
  17605. "description": "价格",
  17606. "type": "number"
  17607. },
  17608. "spotremark": {
  17609. "description": "收发货备注",
  17610. "type": "string"
  17611. },
  17612. "spotstatus": {
  17613. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  17614. "type": "integer"
  17615. },
  17616. "tradedate": {
  17617. "description": "交易日(yyyyMMdd)",
  17618. "type": "string"
  17619. },
  17620. "userid": {
  17621. "description": "业务员用户ID",
  17622. "type": "integer"
  17623. },
  17624. "warehouseid": {
  17625. "description": "仓库ID",
  17626. "type": "integer"
  17627. },
  17628. "wrfactortypeid": {
  17629. "description": "仓单要素类型ID",
  17630. "type": "integer"
  17631. },
  17632. "wrstandardid": {
  17633. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17634. "type": "integer"
  17635. }
  17636. }
  17637. },
  17638. "erms3.AddErms2ASApplyReq": {
  17639. "type": "object",
  17640. "required": [
  17641. "asapplyid"
  17642. ],
  17643. "properties": {
  17644. "applybasis": {
  17645. "description": "申请基差",
  17646. "type": "number"
  17647. },
  17648. "applystatus": {
  17649. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17650. "type": "integer"
  17651. },
  17652. "asapplyid": {
  17653. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  17654. "type": "integer"
  17655. },
  17656. "asname": {
  17657. "description": "策略名称",
  17658. "type": "string"
  17659. },
  17660. "asno": {
  17661. "description": "策略编号",
  17662. "type": "string"
  17663. },
  17664. "auditid": {
  17665. "description": "审核人",
  17666. "type": "integer"
  17667. },
  17668. "auditremark": {
  17669. "description": "审核备注",
  17670. "type": "string"
  17671. },
  17672. "audittime": {
  17673. "description": "审核时间",
  17674. "type": "string"
  17675. },
  17676. "biztype": {
  17677. "description": "业务类型 - 1:正向套利 2:反向套利",
  17678. "type": "integer"
  17679. },
  17680. "createtime": {
  17681. "description": "创建时间",
  17682. "type": "string"
  17683. },
  17684. "creatorid": {
  17685. "description": "创建人",
  17686. "type": "integer"
  17687. },
  17688. "deliverygoodsid": {
  17689. "description": "现货品种ID",
  17690. "type": "integer"
  17691. },
  17692. "futurequote": {
  17693. "description": "期货额度",
  17694. "type": "number"
  17695. },
  17696. "goodsgroupid": {
  17697. "description": "期货品种ID",
  17698. "type": "integer"
  17699. },
  17700. "marketid": {
  17701. "description": "市场ID",
  17702. "type": "integer"
  17703. },
  17704. "remark": {
  17705. "description": "备注",
  17706. "type": "string"
  17707. },
  17708. "spotquota": {
  17709. "description": "现货额度",
  17710. "type": "number"
  17711. },
  17712. "tradedate": {
  17713. "description": "交易日(yyyyMMdd)",
  17714. "type": "string"
  17715. },
  17716. "userid": {
  17717. "description": "所属机构",
  17718. "type": "integer"
  17719. }
  17720. }
  17721. },
  17722. "erms3.AddErms2SpotTradeApplyReq": {
  17723. "type": "object",
  17724. "required": [
  17725. "spottradeid"
  17726. ],
  17727. "properties": {
  17728. "applyjsondetail": {
  17729. "description": "申请明细(JSON)",
  17730. "type": "string"
  17731. },
  17732. "applystatus": {
  17733. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17734. "type": "integer"
  17735. },
  17736. "areauserid": {
  17737. "description": "所属机构",
  17738. "type": "integer"
  17739. },
  17740. "auditid": {
  17741. "description": "审核人",
  17742. "type": "integer"
  17743. },
  17744. "auditremark": {
  17745. "description": "审核备注",
  17746. "type": "string"
  17747. },
  17748. "audittime": {
  17749. "description": "审核时间",
  17750. "type": "string"
  17751. },
  17752. "createtime": {
  17753. "description": "创建时间",
  17754. "type": "string"
  17755. },
  17756. "creatorid": {
  17757. "description": "创建人",
  17758. "type": "integer"
  17759. },
  17760. "deliverygoodsid": {
  17761. "description": "现货品种ID",
  17762. "type": "integer"
  17763. },
  17764. "futureaccountid": {
  17765. "description": "期货资金账户",
  17766. "type": "integer"
  17767. },
  17768. "goodsgroupid": {
  17769. "description": "期货品种",
  17770. "type": "integer"
  17771. },
  17772. "marketid": {
  17773. "description": "市场ID",
  17774. "type": "integer"
  17775. },
  17776. "remark": {
  17777. "description": "备注",
  17778. "type": "string"
  17779. },
  17780. "spotaccountid": {
  17781. "description": "现货资金账户",
  17782. "type": "integer"
  17783. },
  17784. "spottradeid": {
  17785. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  17786. "type": "integer"
  17787. },
  17788. "spottradename": {
  17789. "description": "业务名称",
  17790. "type": "string"
  17791. },
  17792. "spottradeno": {
  17793. "description": "业务编号",
  17794. "type": "string"
  17795. },
  17796. "tradedate": {
  17797. "description": "交易日(yyyyMMdd)",
  17798. "type": "string"
  17799. },
  17800. "wrstandardid": {
  17801. "description": "仓单标准ID",
  17802. "type": "integer"
  17803. }
  17804. }
  17805. },
  17806. "erms3.AddSpotContractApplyReq": {
  17807. "type": "object",
  17808. "required": [
  17809. "accountid",
  17810. "areauserid",
  17811. "contractno",
  17812. "contracttype",
  17813. "customeraccountid",
  17814. "customeruserid",
  17815. "details",
  17816. "orimargin",
  17817. "signdate"
  17818. ],
  17819. "properties": {
  17820. "accountid": {
  17821. "description": "资金账户ID",
  17822. "type": "integer"
  17823. },
  17824. "areauserid": {
  17825. "description": "所属机构",
  17826. "type": "integer"
  17827. },
  17828. "contractattachment": {
  17829. "description": "合同附件",
  17830. "type": "string"
  17831. },
  17832. "contractno": {
  17833. "description": "现货合同编号",
  17834. "type": "string"
  17835. },
  17836. "contracttype": {
  17837. "description": "现货合同类型 - 1:采购 -1:销售",
  17838. "type": "integer"
  17839. },
  17840. "creatorid": {
  17841. "description": "申请人",
  17842. "type": "integer"
  17843. },
  17844. "customeraccountid": {
  17845. "description": "客户资金账户ID",
  17846. "type": "integer"
  17847. },
  17848. "customeruserid": {
  17849. "description": "客户ID",
  17850. "type": "integer"
  17851. },
  17852. "details": {
  17853. "description": "明细",
  17854. "type": "array",
  17855. "items": {
  17856. "$ref": "#/definitions/erms3.SoptContractDetail"
  17857. }
  17858. },
  17859. "orimargin": {
  17860. "description": "初始保证金",
  17861. "type": "number"
  17862. },
  17863. "remark": {
  17864. "description": "备注",
  17865. "type": "string"
  17866. },
  17867. "signdate": {
  17868. "description": "签订日期",
  17869. "type": "string"
  17870. }
  17871. }
  17872. },
  17873. "erms3.AddSpotContractApplyRsp": {
  17874. "type": "object",
  17875. "required": [
  17876. "contractno"
  17877. ],
  17878. "properties": {
  17879. "contractno": {
  17880. "description": "现货合同编号",
  17881. "type": "string"
  17882. },
  17883. "spotcontractid": {
  17884. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  17885. "type": "integer"
  17886. }
  17887. }
  17888. },
  17889. "erms3.AddUserInfoApplyReq": {
  17890. "type": "object",
  17891. "required": [
  17892. "userid"
  17893. ],
  17894. "properties": {
  17895. "accountid": {
  17896. "description": "交易系统帐号Id (加密存储)",
  17897. "type": "integer"
  17898. },
  17899. "areacode": {
  17900. "description": "机构代码",
  17901. "type": "string"
  17902. },
  17903. "areaid": {
  17904. "description": "机构Id",
  17905. "type": "integer"
  17906. },
  17907. "attachment1": {
  17908. "description": "附件1",
  17909. "type": "string"
  17910. },
  17911. "attachment2": {
  17912. "description": "附件2",
  17913. "type": "string"
  17914. },
  17915. "attachment3": {
  17916. "description": "附件3",
  17917. "type": "string"
  17918. },
  17919. "attachment4": {
  17920. "description": "附件4",
  17921. "type": "string"
  17922. },
  17923. "attachment5": {
  17924. "description": "附件5",
  17925. "type": "string"
  17926. },
  17927. "auditedby": {
  17928. "description": "审核人",
  17929. "type": "string"
  17930. },
  17931. "auditime": {
  17932. "description": "审核时间",
  17933. "type": "string"
  17934. },
  17935. "auditsrc": {
  17936. "description": "审核来源 - 1:管理端 2:终端",
  17937. "type": "integer"
  17938. },
  17939. "bankaccount": {
  17940. "description": "银行帐号 (加密存储)",
  17941. "type": "string"
  17942. },
  17943. "bankaccountname": {
  17944. "description": "收款人名称",
  17945. "type": "string"
  17946. },
  17947. "bankcardbackphotourl": {
  17948. "description": "银行卡背面照地址",
  17949. "type": "string"
  17950. },
  17951. "bankcardfrontphotourl": {
  17952. "description": "银行卡正面照地址",
  17953. "type": "string"
  17954. },
  17955. "bankid": {
  17956. "description": "银行编码",
  17957. "type": "string"
  17958. },
  17959. "bankname": {
  17960. "description": "银行名称",
  17961. "type": "string"
  17962. },
  17963. "bankpictureurl": {
  17964. "description": "银行卡正面地址",
  17965. "type": "string"
  17966. },
  17967. "biznature": {
  17968. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17969. "type": "integer"
  17970. },
  17971. "bizscope": {
  17972. "description": "企业经营范围(企业)",
  17973. "type": "string"
  17974. },
  17975. "biztype": {
  17976. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  17977. "type": "integer"
  17978. },
  17979. "brokerid": {
  17980. "description": "经纪人ID(加密存储)",
  17981. "type": "string"
  17982. },
  17983. "cardaddress": {
  17984. "description": "证件地址 (加密存储)",
  17985. "type": "string"
  17986. },
  17987. "cardbackphotourl": {
  17988. "description": "背面证件照地址",
  17989. "type": "string"
  17990. },
  17991. "cardfrontphotourl": {
  17992. "description": "正面证件照地址",
  17993. "type": "string"
  17994. },
  17995. "cardnum": {
  17996. "description": "证件号码 (加密存储)",
  17997. "type": "string"
  17998. },
  17999. "cardtype": {
  18000. "description": "证件类型",
  18001. "type": "integer"
  18002. },
  18003. "cityid": {
  18004. "description": "市",
  18005. "type": "integer"
  18006. },
  18007. "company": {
  18008. "description": "公司(个人)",
  18009. "type": "string"
  18010. },
  18011. "contactcardbackphotourl": {
  18012. "description": "联系人证件背面图片地址",
  18013. "type": "string"
  18014. },
  18015. "contactcardfrontphotourl": {
  18016. "description": "联系人证件正面图片地址",
  18017. "type": "string"
  18018. },
  18019. "contactname": {
  18020. "description": "联系人",
  18021. "type": "string"
  18022. },
  18023. "countryid": {
  18024. "description": "国家",
  18025. "type": "integer"
  18026. },
  18027. "createtime": {
  18028. "description": "开户申请时间",
  18029. "type": "string"
  18030. },
  18031. "cusbankid": {
  18032. "description": "签约类型",
  18033. "type": "string"
  18034. },
  18035. "cusbankname": {
  18036. "description": "签约类型名称",
  18037. "type": "string"
  18038. },
  18039. "customername": {
  18040. "description": "客户名称(企业名称)",
  18041. "type": "string"
  18042. },
  18043. "districtid": {
  18044. "description": "地区",
  18045. "type": "integer"
  18046. },
  18047. "email": {
  18048. "description": "Email地址(加密存储)",
  18049. "type": "string"
  18050. },
  18051. "halfbodyphotourl": {
  18052. "description": "半身照地址",
  18053. "type": "string"
  18054. },
  18055. "headurl": {
  18056. "description": "头像地址",
  18057. "type": "string"
  18058. },
  18059. "ipaddress": {
  18060. "description": "IP地址",
  18061. "type": "string"
  18062. },
  18063. "isvalidate": {
  18064. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18065. "type": "string"
  18066. },
  18067. "legalcardbackphotourl": {
  18068. "description": "法人身份证背面照地址",
  18069. "type": "string"
  18070. },
  18071. "legalcardfrontphotourl": {
  18072. "description": "法人身份证正面照地址",
  18073. "type": "string"
  18074. },
  18075. "legalpersonname": {
  18076. "description": "法人姓名(企业)",
  18077. "type": "string"
  18078. },
  18079. "logincode": {
  18080. "description": "登录帐号 (加密存储)",
  18081. "type": "string"
  18082. },
  18083. "memberareaid": {
  18084. "description": "所属会员ID",
  18085. "type": "integer"
  18086. },
  18087. "mobile2": {
  18088. "description": "手机号码[明文-尚志]",
  18089. "type": "string"
  18090. },
  18091. "mobilephone": {
  18092. "description": "手机号码 (加密存储)",
  18093. "type": "string"
  18094. },
  18095. "modifiedby": {
  18096. "description": "修改人帐号",
  18097. "type": "integer"
  18098. },
  18099. "modifiedtime": {
  18100. "description": "修改时间",
  18101. "type": "string"
  18102. },
  18103. "nickname": {
  18104. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18105. "type": "string"
  18106. },
  18107. "openmode": {
  18108. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18109. "type": "integer"
  18110. },
  18111. "otherurl": {
  18112. "description": "其它图片地址[使用分号分隔]",
  18113. "type": "string"
  18114. },
  18115. "postalcode": {
  18116. "description": "邮政编码",
  18117. "type": "string"
  18118. },
  18119. "provinceid": {
  18120. "description": "省",
  18121. "type": "integer"
  18122. },
  18123. "proxystatementurl": {
  18124. "description": "授权委托书",
  18125. "type": "string"
  18126. },
  18127. "qq": {
  18128. "description": "QQ(加密存储",
  18129. "type": "string"
  18130. },
  18131. "referral": {
  18132. "description": "推荐人编码",
  18133. "type": "string"
  18134. },
  18135. "remark": {
  18136. "description": "备注",
  18137. "type": "string"
  18138. },
  18139. "removebeforestatus": {
  18140. "description": "REMOVEBEFORESTATUS",
  18141. "type": "integer"
  18142. },
  18143. "sex": {
  18144. "description": "性别 - 0:女 1:男",
  18145. "type": "integer"
  18146. },
  18147. "signedstatus": {
  18148. "description": "账户一号签签约状态",
  18149. "type": "integer"
  18150. },
  18151. "signpdfurl": {
  18152. "description": "签约pdf文件",
  18153. "type": "string"
  18154. },
  18155. "subbranch": {
  18156. "description": "开户支行",
  18157. "type": "string"
  18158. },
  18159. "taxpayernum": {
  18160. "description": "纳税人识别号",
  18161. "type": "string"
  18162. },
  18163. "telphone": {
  18164. "description": "联系电话(加密存储)",
  18165. "type": "string"
  18166. },
  18167. "userid": {
  18168. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18169. "type": "integer"
  18170. },
  18171. "userinfotype": {
  18172. "description": "用户信息类型 - 1:个人 2:企业",
  18173. "type": "integer"
  18174. },
  18175. "username": {
  18176. "description": "用户姓名",
  18177. "type": "string"
  18178. },
  18179. "userstate": {
  18180. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18181. "type": "integer"
  18182. },
  18183. "usertype": {
  18184. "description": "用户类型 - 1:投资者 2:机构",
  18185. "type": "integer"
  18186. },
  18187. "videourl": {
  18188. "description": "视频地址",
  18189. "type": "string"
  18190. },
  18191. "wechat": {
  18192. "description": "微信号 (加密存储)",
  18193. "type": "string"
  18194. }
  18195. }
  18196. },
  18197. "erms3.CustomerInfo": {
  18198. "type": "object",
  18199. "required": [
  18200. "userid"
  18201. ],
  18202. "properties": {
  18203. "accountids": {
  18204. "description": "资金账户ID列表",
  18205. "type": "array",
  18206. "items": {
  18207. "type": "integer"
  18208. }
  18209. },
  18210. "customername": {
  18211. "description": "名称(企业名称)",
  18212. "type": "string"
  18213. },
  18214. "mobile": {
  18215. "description": "手机号码",
  18216. "type": "string"
  18217. },
  18218. "userid": {
  18219. "description": "用户ID",
  18220. "type": "integer"
  18221. }
  18222. }
  18223. },
  18224. "erms3.ModifyUserInfoApplyReq": {
  18225. "type": "object",
  18226. "required": [
  18227. "userid"
  18228. ],
  18229. "properties": {
  18230. "accountid": {
  18231. "description": "交易系统帐号Id (加密存储)",
  18232. "type": "integer"
  18233. },
  18234. "areacode": {
  18235. "description": "机构代码",
  18236. "type": "string"
  18237. },
  18238. "areaid": {
  18239. "description": "机构Id",
  18240. "type": "integer"
  18241. },
  18242. "attachment1": {
  18243. "description": "附件1",
  18244. "type": "string"
  18245. },
  18246. "attachment2": {
  18247. "description": "附件2",
  18248. "type": "string"
  18249. },
  18250. "attachment3": {
  18251. "description": "附件3",
  18252. "type": "string"
  18253. },
  18254. "attachment4": {
  18255. "description": "附件4",
  18256. "type": "string"
  18257. },
  18258. "attachment5": {
  18259. "description": "附件5",
  18260. "type": "string"
  18261. },
  18262. "auditedby": {
  18263. "description": "审核人",
  18264. "type": "string"
  18265. },
  18266. "auditime": {
  18267. "description": "审核时间",
  18268. "type": "string"
  18269. },
  18270. "auditsrc": {
  18271. "description": "审核来源 - 1:管理端 2:终端",
  18272. "type": "integer"
  18273. },
  18274. "bankaccount": {
  18275. "description": "银行帐号 (加密存储)",
  18276. "type": "string"
  18277. },
  18278. "bankaccountname": {
  18279. "description": "收款人名称",
  18280. "type": "string"
  18281. },
  18282. "bankcardbackphotourl": {
  18283. "description": "银行卡背面照地址",
  18284. "type": "string"
  18285. },
  18286. "bankcardfrontphotourl": {
  18287. "description": "银行卡正面照地址",
  18288. "type": "string"
  18289. },
  18290. "bankid": {
  18291. "description": "银行编码",
  18292. "type": "string"
  18293. },
  18294. "bankname": {
  18295. "description": "银行名称",
  18296. "type": "string"
  18297. },
  18298. "bankpictureurl": {
  18299. "description": "银行卡正面地址",
  18300. "type": "string"
  18301. },
  18302. "biznature": {
  18303. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18304. "type": "integer"
  18305. },
  18306. "bizscope": {
  18307. "description": "企业经营范围(企业)",
  18308. "type": "string"
  18309. },
  18310. "biztype": {
  18311. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18312. "type": "integer"
  18313. },
  18314. "brokerid": {
  18315. "description": "经纪人ID(加密存储)",
  18316. "type": "string"
  18317. },
  18318. "cardaddress": {
  18319. "description": "证件地址 (加密存储)",
  18320. "type": "string"
  18321. },
  18322. "cardbackphotourl": {
  18323. "description": "背面证件照地址",
  18324. "type": "string"
  18325. },
  18326. "cardfrontphotourl": {
  18327. "description": "正面证件照地址",
  18328. "type": "string"
  18329. },
  18330. "cardnum": {
  18331. "description": "证件号码 (加密存储)",
  18332. "type": "string"
  18333. },
  18334. "cardtype": {
  18335. "description": "证件类型",
  18336. "type": "integer"
  18337. },
  18338. "cityid": {
  18339. "description": "市",
  18340. "type": "integer"
  18341. },
  18342. "company": {
  18343. "description": "公司(个人)",
  18344. "type": "string"
  18345. },
  18346. "contactcardbackphotourl": {
  18347. "description": "联系人证件背面图片地址",
  18348. "type": "string"
  18349. },
  18350. "contactcardfrontphotourl": {
  18351. "description": "联系人证件正面图片地址",
  18352. "type": "string"
  18353. },
  18354. "contactname": {
  18355. "description": "联系人",
  18356. "type": "string"
  18357. },
  18358. "countryid": {
  18359. "description": "国家",
  18360. "type": "integer"
  18361. },
  18362. "createtime": {
  18363. "description": "开户申请时间",
  18364. "type": "string"
  18365. },
  18366. "cusbankid": {
  18367. "description": "签约类型",
  18368. "type": "string"
  18369. },
  18370. "cusbankname": {
  18371. "description": "签约类型名称",
  18372. "type": "string"
  18373. },
  18374. "customername": {
  18375. "description": "客户名称(企业名称)",
  18376. "type": "string"
  18377. },
  18378. "districtid": {
  18379. "description": "地区",
  18380. "type": "integer"
  18381. },
  18382. "email": {
  18383. "description": "Email地址(加密存储)",
  18384. "type": "string"
  18385. },
  18386. "halfbodyphotourl": {
  18387. "description": "半身照地址",
  18388. "type": "string"
  18389. },
  18390. "headurl": {
  18391. "description": "头像地址",
  18392. "type": "string"
  18393. },
  18394. "ipaddress": {
  18395. "description": "IP地址",
  18396. "type": "string"
  18397. },
  18398. "isvalidate": {
  18399. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18400. "type": "string"
  18401. },
  18402. "legalcardbackphotourl": {
  18403. "description": "法人身份证背面照地址",
  18404. "type": "string"
  18405. },
  18406. "legalcardfrontphotourl": {
  18407. "description": "法人身份证正面照地址",
  18408. "type": "string"
  18409. },
  18410. "legalpersonname": {
  18411. "description": "法人姓名(企业)",
  18412. "type": "string"
  18413. },
  18414. "logincode": {
  18415. "description": "登录帐号 (加密存储)",
  18416. "type": "string"
  18417. },
  18418. "memberareaid": {
  18419. "description": "所属会员ID",
  18420. "type": "integer"
  18421. },
  18422. "mobile2": {
  18423. "description": "手机号码[明文-尚志]",
  18424. "type": "string"
  18425. },
  18426. "mobilephone": {
  18427. "description": "手机号码 (加密存储)",
  18428. "type": "string"
  18429. },
  18430. "modifiedby": {
  18431. "description": "修改人帐号",
  18432. "type": "integer"
  18433. },
  18434. "modifiedtime": {
  18435. "description": "修改时间",
  18436. "type": "string"
  18437. },
  18438. "nickname": {
  18439. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18440. "type": "string"
  18441. },
  18442. "openmode": {
  18443. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18444. "type": "integer"
  18445. },
  18446. "otherurl": {
  18447. "description": "其它图片地址[使用分号分隔]",
  18448. "type": "string"
  18449. },
  18450. "postalcode": {
  18451. "description": "邮政编码",
  18452. "type": "string"
  18453. },
  18454. "provinceid": {
  18455. "description": "省",
  18456. "type": "integer"
  18457. },
  18458. "proxystatementurl": {
  18459. "description": "授权委托书",
  18460. "type": "string"
  18461. },
  18462. "qq": {
  18463. "description": "QQ(加密存储",
  18464. "type": "string"
  18465. },
  18466. "referral": {
  18467. "description": "推荐人编码",
  18468. "type": "string"
  18469. },
  18470. "remark": {
  18471. "description": "备注",
  18472. "type": "string"
  18473. },
  18474. "removebeforestatus": {
  18475. "description": "REMOVEBEFORESTATUS",
  18476. "type": "integer"
  18477. },
  18478. "sex": {
  18479. "description": "性别 - 0:女 1:男",
  18480. "type": "integer"
  18481. },
  18482. "signedstatus": {
  18483. "description": "账户一号签签约状态",
  18484. "type": "integer"
  18485. },
  18486. "signpdfurl": {
  18487. "description": "签约pdf文件",
  18488. "type": "string"
  18489. },
  18490. "subbranch": {
  18491. "description": "开户支行",
  18492. "type": "string"
  18493. },
  18494. "taxpayernum": {
  18495. "description": "纳税人识别号",
  18496. "type": "string"
  18497. },
  18498. "telphone": {
  18499. "description": "联系电话(加密存储)",
  18500. "type": "string"
  18501. },
  18502. "userid": {
  18503. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18504. "type": "integer"
  18505. },
  18506. "userinfotype": {
  18507. "description": "用户信息类型 - 1:个人 2:企业",
  18508. "type": "integer"
  18509. },
  18510. "username": {
  18511. "description": "用户姓名",
  18512. "type": "string"
  18513. },
  18514. "userstate": {
  18515. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18516. "type": "integer"
  18517. },
  18518. "usertype": {
  18519. "description": "用户类型 - 1:投资者 2:机构",
  18520. "type": "integer"
  18521. },
  18522. "videourl": {
  18523. "description": "视频地址",
  18524. "type": "string"
  18525. },
  18526. "wechat": {
  18527. "description": "微信号 (加密存储)",
  18528. "type": "string"
  18529. }
  18530. }
  18531. },
  18532. "erms3.QryAuditContractRsp": {
  18533. "type": "object",
  18534. "required": [
  18535. "matchcustomername",
  18536. "spotcontractid"
  18537. ],
  18538. "properties": {
  18539. "accountid": {
  18540. "description": "交易员ID",
  18541. "type": "string"
  18542. },
  18543. "applystatus": {
  18544. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18545. "type": "integer"
  18546. },
  18547. "curdeliveryqty": {
  18548. "description": "未交收量",
  18549. "type": "integer"
  18550. },
  18551. "customername": {
  18552. "description": "采购方ID",
  18553. "type": "string"
  18554. },
  18555. "deliverygoodsid": {
  18556. "description": "品种ID",
  18557. "type": "string"
  18558. },
  18559. "deliveryqty": {
  18560. "description": "交收量",
  18561. "type": "integer"
  18562. },
  18563. "enumdicname": {
  18564. "description": "单位名称",
  18565. "type": "string"
  18566. },
  18567. "matchaccountid": {
  18568. "description": "业务员ID",
  18569. "type": "string"
  18570. },
  18571. "matchcustomername": {
  18572. "description": "销售方ID",
  18573. "type": "string"
  18574. },
  18575. "pricedqty": {
  18576. "description": "定价量",
  18577. "type": "number"
  18578. },
  18579. "signdate": {
  18580. "description": "签订日期",
  18581. "type": "string"
  18582. },
  18583. "spotcontractid": {
  18584. "description": "合同ID",
  18585. "type": "string"
  18586. },
  18587. "totaldqty": {
  18588. "description": "合同量",
  18589. "type": "number"
  18590. },
  18591. "unpricedqty": {
  18592. "description": "未定价量",
  18593. "type": "number"
  18594. },
  18595. "wrstandardname": {
  18596. "description": "商品名称",
  18597. "type": "string"
  18598. }
  18599. }
  18600. },
  18601. "erms3.QryPendingBizRsp": {
  18602. "type": "object",
  18603. "properties": {
  18604. "accountid": {
  18605. "description": "现货账户",
  18606. "type": "string"
  18607. },
  18608. "areaname": {
  18609. "description": "所属部门",
  18610. "type": "string"
  18611. },
  18612. "bizid": {
  18613. "description": "业务ID",
  18614. "type": "string"
  18615. },
  18616. "bizname": {
  18617. "description": "业务名称",
  18618. "type": "string"
  18619. },
  18620. "status": {
  18621. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18622. "type": "integer"
  18623. },
  18624. "type": {
  18625. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  18626. "type": "integer"
  18627. }
  18628. }
  18629. },
  18630. "erms3.QueryBusinessInfoRsp": {
  18631. "type": "object",
  18632. "properties": {
  18633. "businessid": {
  18634. "description": "业务ID.",
  18635. "type": "integer"
  18636. },
  18637. "buyamount": {
  18638. "description": "采购额.",
  18639. "type": "number"
  18640. },
  18641. "buyqty": {
  18642. "description": "采购量.",
  18643. "type": "string"
  18644. },
  18645. "futurepl": {
  18646. "description": "期货盈亏.",
  18647. "type": "number"
  18648. },
  18649. "futureqty": {
  18650. "description": "期货敞口.",
  18651. "type": "string"
  18652. },
  18653. "goodsid": {
  18654. "description": "商品名称/商品代码.",
  18655. "type": "string"
  18656. },
  18657. "hedgingqty": {
  18658. "description": "套保量.",
  18659. "type": "string"
  18660. },
  18661. "sellamount": {
  18662. "description": "销售额.",
  18663. "type": "number"
  18664. },
  18665. "sellqty": {
  18666. "description": "销售量.",
  18667. "type": "string"
  18668. },
  18669. "spotmarketvalue": {
  18670. "description": "现货市值.",
  18671. "type": "number"
  18672. },
  18673. "spotpl": {
  18674. "description": "浮动权益.",
  18675. "type": "number"
  18676. },
  18677. "spotqty": {
  18678. "description": "现货量.",
  18679. "type": "string"
  18680. },
  18681. "statu": {
  18682. "description": "状态,0-未结束 1-已结束.",
  18683. "type": "integer"
  18684. },
  18685. "totalpl": {
  18686. "description": "总盈亏.",
  18687. "type": "number"
  18688. },
  18689. "totalqty": {
  18690. "description": "总敞口.",
  18691. "type": "string"
  18692. },
  18693. "type": {
  18694. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  18695. "type": "integer"
  18696. }
  18697. }
  18698. },
  18699. "erms3.QuerySpotContractAppleFormRsp": {
  18700. "type": "object",
  18701. "properties": {
  18702. "goodses": {
  18703. "description": "合约列表",
  18704. "type": "array",
  18705. "items": {
  18706. "$ref": "#/definitions/models.GoodsIDAndName"
  18707. }
  18708. },
  18709. "oppositeusers": {
  18710. "description": "对方账号列表",
  18711. "type": "array",
  18712. "items": {
  18713. "$ref": "#/definitions/erms3.CustomerInfo"
  18714. }
  18715. },
  18716. "ouruser": {
  18717. "description": "我方账号",
  18718. "$ref": "#/definitions/erms3.CustomerInfo"
  18719. },
  18720. "warehouseinfos": {
  18721. "description": "仓库信息列表",
  18722. "type": "array",
  18723. "items": {
  18724. "$ref": "#/definitions/models.Warehouseinfo"
  18725. }
  18726. },
  18727. "wrstandards": {
  18728. "description": "仓单标准列表",
  18729. "type": "array",
  18730. "items": {
  18731. "$ref": "#/definitions/models.WRStandardInfo"
  18732. }
  18733. }
  18734. }
  18735. },
  18736. "erms3.QuerySpotContractInfoRsp": {
  18737. "type": "object",
  18738. "properties": {
  18739. "accountid": {
  18740. "description": "表示交易员ID.",
  18741. "type": "integer"
  18742. },
  18743. "curdeliveryqty": {
  18744. "description": "表示未交收量.",
  18745. "type": "number"
  18746. },
  18747. "customername": {
  18748. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  18749. "type": "string"
  18750. },
  18751. "deliverygoodsid": {
  18752. "description": "表示品种ID.",
  18753. "type": "string"
  18754. },
  18755. "deliveryqty": {
  18756. "description": "表示交收量.",
  18757. "type": "number"
  18758. },
  18759. "matchaccountid": {
  18760. "description": "表示业务员ID.",
  18761. "type": "integer"
  18762. },
  18763. "matchcustomername": {
  18764. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  18765. "type": "string"
  18766. },
  18767. "priceqty": {
  18768. "description": "表示定价量.",
  18769. "type": "number"
  18770. },
  18771. "relatedbizid": {
  18772. "description": "表示业务ID.",
  18773. "type": "string"
  18774. },
  18775. "signdate": {
  18776. "description": "表示签订日期.",
  18777. "type": "string"
  18778. },
  18779. "spotcontractid": {
  18780. "description": "合同ID",
  18781. "type": "string"
  18782. },
  18783. "status": {
  18784. "description": "表示状态,0-履约中 1-已完成.",
  18785. "type": "integer"
  18786. },
  18787. "totalqty": {
  18788. "description": "表示合同量.",
  18789. "type": "number"
  18790. },
  18791. "unpricedqty": {
  18792. "description": "表示未定价量.",
  18793. "type": "number"
  18794. },
  18795. "wrstandardname": {
  18796. "description": "表示商品ID.",
  18797. "type": "string"
  18798. }
  18799. }
  18800. },
  18801. "erms3.QueryUserInfoAppliesRsp": {
  18802. "type": "object",
  18803. "required": [
  18804. "userid"
  18805. ],
  18806. "properties": {
  18807. "biznature": {
  18808. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18809. "type": "integer"
  18810. },
  18811. "contactname": {
  18812. "description": "联系人",
  18813. "type": "string"
  18814. },
  18815. "createtime": {
  18816. "description": "开户申请时间",
  18817. "type": "string"
  18818. },
  18819. "userid": {
  18820. "description": "用户ID(自增ID)",
  18821. "type": "integer"
  18822. },
  18823. "userinfotype": {
  18824. "description": "用户信息类型 - 1:个人 2:企业",
  18825. "type": "integer"
  18826. },
  18827. "username": {
  18828. "description": "用户姓名",
  18829. "type": "string"
  18830. },
  18831. "userstate": {
  18832. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18833. "type": "integer"
  18834. }
  18835. }
  18836. },
  18837. "erms3.QueryUserInfosRsp": {
  18838. "type": "object",
  18839. "required": [
  18840. "userid"
  18841. ],
  18842. "properties": {
  18843. "biznature": {
  18844. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18845. "type": "integer"
  18846. },
  18847. "contactname": {
  18848. "description": "联系人",
  18849. "type": "string"
  18850. },
  18851. "customername": {
  18852. "description": "客户名称(企业名称)",
  18853. "type": "string"
  18854. },
  18855. "userid": {
  18856. "description": "用户ID",
  18857. "type": "integer"
  18858. },
  18859. "userinfotype": {
  18860. "description": "用户信息类型 - 1:个人 2:企业",
  18861. "type": "integer"
  18862. },
  18863. "userstatus": {
  18864. "description": "用户状态 - 1:正常 2:注销",
  18865. "type": "integer"
  18866. }
  18867. }
  18868. },
  18869. "erms3.SoptContractDetail": {
  18870. "type": "object",
  18871. "required": [
  18872. "deliverygoodsid",
  18873. "producttype",
  18874. "unitname",
  18875. "warehouseid",
  18876. "wrstandardid",
  18877. "wrstandardname"
  18878. ],
  18879. "properties": {
  18880. "deliverygoodsdesc": {
  18881. "description": "现货品种说明",
  18882. "type": "string"
  18883. },
  18884. "deliverygoodsid": {
  18885. "description": "现货品种ID",
  18886. "type": "integer"
  18887. },
  18888. "deliverygoodsname": {
  18889. "description": "现货品种名称",
  18890. "type": "string"
  18891. },
  18892. "pointdesc": {
  18893. "description": "点价描述",
  18894. "type": "string"
  18895. },
  18896. "producttype": {
  18897. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  18898. "type": "integer"
  18899. },
  18900. "producttypename": {
  18901. "description": "产品类型名称",
  18902. "type": "string"
  18903. },
  18904. "spotPointOrderVoList": {
  18905. "description": "点价列表",
  18906. "type": "array",
  18907. "items": {
  18908. "$ref": "#/definitions/erms3.SpotPointOrder"
  18909. }
  18910. },
  18911. "spotPriceOrderList": {
  18912. "description": "定价列表",
  18913. "type": "array",
  18914. "items": {
  18915. "$ref": "#/definitions/erms3.SpotPriceOrder"
  18916. }
  18917. },
  18918. "unitname": {
  18919. "description": "单位名称",
  18920. "type": "string"
  18921. },
  18922. "warehouseid": {
  18923. "description": "仓库ID",
  18924. "type": "integer"
  18925. },
  18926. "warehousename": {
  18927. "description": "仓库名称",
  18928. "type": "string"
  18929. },
  18930. "wrstandardid": {
  18931. "description": "交易标的ID",
  18932. "type": "integer"
  18933. },
  18934. "wrstandardname": {
  18935. "description": "交易标的名称",
  18936. "type": "string"
  18937. }
  18938. }
  18939. },
  18940. "erms3.SpotPointOrder": {
  18941. "type": "object",
  18942. "required": [
  18943. "basic",
  18944. "goodsid",
  18945. "qty"
  18946. ],
  18947. "properties": {
  18948. "basic": {
  18949. "description": "基差",
  18950. "type": "number"
  18951. },
  18952. "deliveryenddate": {
  18953. "description": "交收结束日期",
  18954. "type": "string"
  18955. },
  18956. "deliverystartdate": {
  18957. "description": "交收开始日期",
  18958. "type": "string"
  18959. },
  18960. "enddate": {
  18961. "description": "点价结束日期",
  18962. "type": "string"
  18963. },
  18964. "goodsid": {
  18965. "description": "商品ID",
  18966. "type": "integer"
  18967. },
  18968. "goodsname": {
  18969. "description": "商品名称",
  18970. "type": "string"
  18971. },
  18972. "qty": {
  18973. "description": "数量",
  18974. "type": "number"
  18975. },
  18976. "startdate": {
  18977. "description": "点价开始日期",
  18978. "type": "string"
  18979. }
  18980. }
  18981. },
  18982. "erms3.SpotPriceOrder": {
  18983. "type": "object",
  18984. "required": [
  18985. "amount",
  18986. "price",
  18987. "qty"
  18988. ],
  18989. "properties": {
  18990. "amount": {
  18991. "description": "金额",
  18992. "type": "number"
  18993. },
  18994. "deliveryenddate": {
  18995. "description": "交收结束日期",
  18996. "type": "string"
  18997. },
  18998. "deliverystartdate": {
  18999. "description": "交收开始日期",
  19000. "type": "string"
  19001. },
  19002. "price": {
  19003. "description": "价格",
  19004. "type": "number"
  19005. },
  19006. "qty": {
  19007. "description": "数量",
  19008. "type": "number"
  19009. }
  19010. }
  19011. },
  19012. "hsby.GetHsbyMyCountRsp": {
  19013. "type": "object",
  19014. "properties": {
  19015. "myCouponCount": {
  19016. "description": "我的优惠卷数量",
  19017. "type": "integer"
  19018. },
  19019. "myOrderDetailListingCount": {
  19020. "description": "我的订单求购中数量",
  19021. "type": "integer"
  19022. },
  19023. "myOrderDetailPreCount": {
  19024. "description": "我的订单抢购中数量",
  19025. "type": "integer"
  19026. },
  19027. "myPackageUnReceiveCount": {
  19028. "description": "我的包裹待收货数量",
  19029. "type": "integer"
  19030. },
  19031. "myPackageUnSendCount": {
  19032. "description": "我的包裹待发货数量",
  19033. "type": "integer"
  19034. },
  19035. "myPayOrderCount": {
  19036. "description": "我的订单待付款数量",
  19037. "type": "integer"
  19038. }
  19039. }
  19040. },
  19041. "hsby.QueryProvincesAndCitiesRsp": {
  19042. "type": "object",
  19043. "properties": {
  19044. "cities": {
  19045. "description": "市",
  19046. "type": "array",
  19047. "items": {
  19048. "$ref": "#/definitions/models.Division"
  19049. }
  19050. },
  19051. "province": {
  19052. "description": "省",
  19053. "$ref": "#/definitions/models.Division"
  19054. }
  19055. }
  19056. },
  19057. "models.Arearole": {
  19058. "type": "object",
  19059. "required": [
  19060. "roletype",
  19061. "userid"
  19062. ],
  19063. "properties": {
  19064. "createtime": {
  19065. "description": "创建时间",
  19066. "type": "string"
  19067. },
  19068. "creatorid": {
  19069. "description": "创建人ID",
  19070. "type": "integer"
  19071. },
  19072. "fromuserid": {
  19073. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  19074. "type": "integer"
  19075. },
  19076. "isreturnscore": {
  19077. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  19078. "type": "integer"
  19079. },
  19080. "modifierid": {
  19081. "description": "修改人ID",
  19082. "type": "integer"
  19083. },
  19084. "modifytime": {
  19085. "description": "修改时间",
  19086. "type": "string"
  19087. },
  19088. "orgtype": {
  19089. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  19090. "type": "integer"
  19091. },
  19092. "outuserid": {
  19093. "description": "外部账户[场外期权做市商]",
  19094. "type": "string"
  19095. },
  19096. "parentuserid": {
  19097. "description": "上级组织机构(组织机构)",
  19098. "type": "integer"
  19099. },
  19100. "roletype": {
  19101. "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:门店",
  19102. "type": "integer"
  19103. },
  19104. "rootuserid": {
  19105. "description": "顶级组织机构用户ID(组织机构)",
  19106. "type": "integer"
  19107. },
  19108. "shoppassword": {
  19109. "description": "商城店铺登陆密码(商城店铺角色使用)",
  19110. "type": "string"
  19111. },
  19112. "sublevelpath": {
  19113. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  19114. "type": "string"
  19115. },
  19116. "suborgtype": {
  19117. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  19118. "type": "integer"
  19119. },
  19120. "tradeaccountid": {
  19121. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  19122. "type": "integer"
  19123. },
  19124. "transurl": {
  19125. "description": "物流地址(物流机构)",
  19126. "type": "string"
  19127. },
  19128. "userid": {
  19129. "description": "机构用户ID其他做市关系,都设置为 1",
  19130. "type": "integer"
  19131. }
  19132. }
  19133. },
  19134. "models.Clientfixedadconfig": {
  19135. "type": "object",
  19136. "required": [
  19137. "adsort",
  19138. "adtype"
  19139. ],
  19140. "properties": {
  19141. "adsort": {
  19142. "description": "排序",
  19143. "type": "integer"
  19144. },
  19145. "adtype": {
  19146. "description": "广告位类型 - 1:新品抢购(HSBY)",
  19147. "type": "integer"
  19148. },
  19149. "areauserid": {
  19150. "description": "所属机构ID",
  19151. "type": "integer"
  19152. },
  19153. "createdate": {
  19154. "description": "创建时间",
  19155. "type": "string"
  19156. },
  19157. "creatorid": {
  19158. "description": "创建人",
  19159. "type": "integer"
  19160. },
  19161. "imagepath": {
  19162. "description": "图片",
  19163. "type": "string"
  19164. },
  19165. "isshow": {
  19166. "description": "是否展示 - 0:不展示 1:展示",
  19167. "type": "integer"
  19168. },
  19169. "modifierid": {
  19170. "description": "操作人",
  19171. "type": "integer"
  19172. },
  19173. "recsize": {
  19174. "description": "推荐尺寸",
  19175. "type": "string"
  19176. },
  19177. "title": {
  19178. "description": "标题",
  19179. "type": "string"
  19180. },
  19181. "updatedate": {
  19182. "description": "更新时间",
  19183. "type": "string"
  19184. },
  19185. "urlcontent": {
  19186. "description": "链接(地址或商品ID)",
  19187. "type": "string"
  19188. },
  19189. "urltype": {
  19190. "description": "链接类型 - 1:直接地址 2:商品ID",
  19191. "type": "integer"
  19192. }
  19193. }
  19194. },
  19195. "models.Division": {
  19196. "type": "object",
  19197. "required": [
  19198. "autoid",
  19199. "divisioncode"
  19200. ],
  19201. "properties": {
  19202. "autoid": {
  19203. "description": "自增ID",
  19204. "type": "integer"
  19205. },
  19206. "divisioncode": {
  19207. "description": "行政代码",
  19208. "type": "string"
  19209. },
  19210. "divisionlevel": {
  19211. "description": "行政级别",
  19212. "type": "string"
  19213. },
  19214. "divisionname": {
  19215. "description": "行政名称",
  19216. "type": "string"
  19217. },
  19218. "modifierid": {
  19219. "description": "修改人",
  19220. "type": "integer"
  19221. },
  19222. "modifytime": {
  19223. "description": "修改时间",
  19224. "type": "string"
  19225. },
  19226. "parentcode": {
  19227. "description": "上级行政代码",
  19228. "type": "string"
  19229. },
  19230. "pathname": {
  19231. "description": "路径名称",
  19232. "type": "string"
  19233. },
  19234. "postcode": {
  19235. "description": "邮政编码",
  19236. "type": "string"
  19237. },
  19238. "separablename": {
  19239. "description": "可拆分的全称",
  19240. "type": "string"
  19241. },
  19242. "shortcode": {
  19243. "description": "地区简码",
  19244. "type": "string"
  19245. }
  19246. }
  19247. },
  19248. "models.Enumdicitem": {
  19249. "type": "object",
  19250. "required": [
  19251. "autoid",
  19252. "enumdiccode",
  19253. "enumdicid",
  19254. "enumitemname"
  19255. ],
  19256. "properties": {
  19257. "autoid": {
  19258. "description": "自增ID",
  19259. "type": "integer"
  19260. },
  19261. "bankmappedvalue": {
  19262. "description": "银行服务对应值",
  19263. "type": "string"
  19264. },
  19265. "enumdiccode": {
  19266. "description": "所属枚举代码",
  19267. "type": "string"
  19268. },
  19269. "enumdicid": {
  19270. "description": "所属枚举ID",
  19271. "type": "integer"
  19272. },
  19273. "enumdicname": {
  19274. "description": "枚举项名称",
  19275. "type": "string"
  19276. },
  19277. "enumitemname": {
  19278. "description": "枚举项值",
  19279. "type": "integer"
  19280. },
  19281. "enumitemstatus": {
  19282. "description": "枚举项状态 - 1.启用 2.不启用",
  19283. "type": "integer"
  19284. },
  19285. "enumitemvalue": {
  19286. "description": "通用值 - [币种通用简写]",
  19287. "type": "string"
  19288. },
  19289. "param1": {
  19290. "description": "参数1[币种:币种小数位]",
  19291. "type": "string"
  19292. },
  19293. "param2": {
  19294. "description": "参数1[币种:币种显示单位]",
  19295. "type": "string"
  19296. },
  19297. "remark": {
  19298. "description": "备注",
  19299. "type": "string"
  19300. }
  19301. }
  19302. },
  19303. "models.Ermcp3AreaSpot": {
  19304. "type": "object",
  19305. "properties": {
  19306. "areauserid": {
  19307. "description": "所属机构",
  19308. "type": "integer"
  19309. },
  19310. "convertratio": {
  19311. "description": "套保系数",
  19312. "type": "number"
  19313. },
  19314. "decreaseqty": {
  19315. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  19316. "type": "number"
  19317. },
  19318. "enumdicname": {
  19319. "description": "单位名称",
  19320. "type": "string"
  19321. },
  19322. "increaseqty": {
  19323. "description": "增加数量=销售计划数量+采购已定价数量",
  19324. "type": "number"
  19325. },
  19326. "oritoalspotqty": {
  19327. "description": "昨日数量",
  19328. "type": "number"
  19329. },
  19330. "totalspotqty": {
  19331. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  19332. "type": "number"
  19333. },
  19334. "unitid": {
  19335. "description": "现货商品单位id",
  19336. "type": "integer"
  19337. },
  19338. "updatetime": {
  19339. "description": "更新时间",
  19340. "type": "string"
  19341. },
  19342. "wrstandardcode": {
  19343. "description": "现货商品代码",
  19344. "type": "string"
  19345. },
  19346. "wrstandardid": {
  19347. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19348. "type": "integer"
  19349. },
  19350. "wrstandardname": {
  19351. "description": "现货商品名称",
  19352. "type": "string"
  19353. }
  19354. }
  19355. },
  19356. "models.Ermcp3AreaSpotDetail": {
  19357. "type": "object",
  19358. "properties": {
  19359. "contracttype": {
  19360. "description": "合同类型 1-采购 -1-销售",
  19361. "type": "integer"
  19362. },
  19363. "createtime": {
  19364. "description": "创建时间",
  19365. "type": "string"
  19366. },
  19367. "enumdicname": {
  19368. "description": "现货商品单位名称",
  19369. "type": "string"
  19370. },
  19371. "logtype": {
  19372. "description": "记录类型 1-套保 2-现货合同",
  19373. "type": "integer"
  19374. },
  19375. "qty": {
  19376. "description": "数量",
  19377. "type": "number"
  19378. },
  19379. "recordname": {
  19380. "description": "类型名称",
  19381. "type": "string"
  19382. },
  19383. "relatedid": {
  19384. "description": "套保计划ID/现货合同ID",
  19385. "type": "string"
  19386. },
  19387. "relatedno": {
  19388. "description": "编号",
  19389. "type": "string"
  19390. },
  19391. "strtime": {
  19392. "description": "时间",
  19393. "type": "string"
  19394. },
  19395. "wrstandardcode": {
  19396. "description": "现货商品代码",
  19397. "type": "string"
  19398. },
  19399. "wrstandardid": {
  19400. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19401. "type": "integer"
  19402. },
  19403. "wrstandardname": {
  19404. "description": "现货商品名称",
  19405. "type": "string"
  19406. }
  19407. }
  19408. },
  19409. "models.Ermcp3AreaSpotPLReport": {
  19410. "type": "object",
  19411. "properties": {
  19412. "accountid": {
  19413. "description": "期货账户ID (作废, 默认为0)",
  19414. "type": "integer"
  19415. },
  19416. "accountname": {
  19417. "description": "机构名称",
  19418. "type": "string"
  19419. },
  19420. "actualpl": {
  19421. "description": "现货损益",
  19422. "type": "number"
  19423. },
  19424. "areauserid": {
  19425. "description": "所属机构\\交易用户ID",
  19426. "type": "integer"
  19427. },
  19428. "begindate": {
  19429. "description": "开始交易日",
  19430. "type": "string"
  19431. },
  19432. "biztype": {
  19433. "description": "业务类型 - 1:套保 2:套利",
  19434. "type": "integer"
  19435. },
  19436. "brandname": {
  19437. "description": "品牌名称",
  19438. "type": "string"
  19439. },
  19440. "curamount": {
  19441. "description": "期末额",
  19442. "type": "number"
  19443. },
  19444. "curaverageprice": {
  19445. "description": "期末均价",
  19446. "type": "number"
  19447. },
  19448. "curbuyamount": {
  19449. "description": "期末采购总额",
  19450. "type": "number"
  19451. },
  19452. "curbuyqty": {
  19453. "description": "期末采购总量",
  19454. "type": "number"
  19455. },
  19456. "curmarketvalue": {
  19457. "description": "参考市值(期末市值)",
  19458. "type": "number"
  19459. },
  19460. "curqty": {
  19461. "description": "期末量",
  19462. "type": "number"
  19463. },
  19464. "currencyid": {
  19465. "description": "结算币种ID【原值】",
  19466. "type": "integer"
  19467. },
  19468. "currencyname": {
  19469. "description": "币种名称",
  19470. "type": "string"
  19471. },
  19472. "cursellamount": {
  19473. "description": "期末销售总额",
  19474. "type": "number"
  19475. },
  19476. "cursellqty": {
  19477. "description": "期末销售总量",
  19478. "type": "number"
  19479. },
  19480. "curspotprice": {
  19481. "description": "参考市价(最新价)",
  19482. "type": "number"
  19483. },
  19484. "cycletime": {
  19485. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19486. "type": "string"
  19487. },
  19488. "cycletype": {
  19489. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19490. "type": "integer"
  19491. },
  19492. "deliverygoodscode": {
  19493. "description": "现货商品代码",
  19494. "type": "string"
  19495. },
  19496. "deliverygoodsid": {
  19497. "description": "现货品种ID",
  19498. "type": "integer"
  19499. },
  19500. "deliverygoodsname": {
  19501. "description": "现货商品名称",
  19502. "type": "string"
  19503. },
  19504. "enddate": {
  19505. "description": "结束交易日",
  19506. "type": "string"
  19507. },
  19508. "enumdicname": {
  19509. "description": "现货商品单位名称",
  19510. "type": "string"
  19511. },
  19512. "floatpl": {
  19513. "description": "浮动损益",
  19514. "type": "number"
  19515. },
  19516. "goodsunitid": {
  19517. "description": "现货商品单位id",
  19518. "type": "integer"
  19519. },
  19520. "oriamount": {
  19521. "description": "期初额",
  19522. "type": "number"
  19523. },
  19524. "oriaverageprice": {
  19525. "description": "期初均价",
  19526. "type": "number"
  19527. },
  19528. "oribuyamount": {
  19529. "description": "期初采购总额",
  19530. "type": "number"
  19531. },
  19532. "oribuyqty": {
  19533. "description": "期初采购总量",
  19534. "type": "number"
  19535. },
  19536. "oriqty": {
  19537. "description": "期初量",
  19538. "type": "number"
  19539. },
  19540. "orisellamount": {
  19541. "description": "期初销售总额",
  19542. "type": "number"
  19543. },
  19544. "orisellqty": {
  19545. "description": "期初销售总量",
  19546. "type": "number"
  19547. },
  19548. "reckondate": {
  19549. "description": "日照时期(yyyyMMdd)",
  19550. "type": "string"
  19551. },
  19552. "spotgoodsbrandid": {
  19553. "description": "现货品牌ID",
  19554. "type": "integer"
  19555. },
  19556. "todaybuyamount": {
  19557. "description": "今日采购额(今采购额)",
  19558. "type": "number"
  19559. },
  19560. "todaybuyaverageprice": {
  19561. "description": "今日采购均价",
  19562. "type": "number"
  19563. },
  19564. "todaybuyqty": {
  19565. "description": "今日采购量(今采购量)",
  19566. "type": "number"
  19567. },
  19568. "todayinqty": {
  19569. "description": "今日入库量(今入库量)",
  19570. "type": "number"
  19571. },
  19572. "todayoutqty": {
  19573. "description": "今日出库量(今出库量)",
  19574. "type": "number"
  19575. },
  19576. "todaysellamount": {
  19577. "description": "今日销售额(今销售额)",
  19578. "type": "number"
  19579. },
  19580. "todaysellaverageprice": {
  19581. "description": "今日销售均价",
  19582. "type": "number"
  19583. },
  19584. "todaysellqty": {
  19585. "description": "今日销售量(今销售量)",
  19586. "type": "number"
  19587. },
  19588. "unitid": {
  19589. "description": "品类单位id",
  19590. "type": "integer"
  19591. },
  19592. "unitidname": {
  19593. "description": "品类单位名称",
  19594. "type": "string"
  19595. },
  19596. "updatetime": {
  19597. "description": "更新时间",
  19598. "type": "string"
  19599. },
  19600. "wrfactortypeid": {
  19601. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19602. "type": "integer"
  19603. },
  19604. "wrstandardcode": {
  19605. "description": "品类代码",
  19606. "type": "string"
  19607. },
  19608. "wrstandardid": {
  19609. "description": "现货品类ID",
  19610. "type": "integer"
  19611. },
  19612. "wrstandardname": {
  19613. "description": "品类名称",
  19614. "type": "string"
  19615. }
  19616. }
  19617. },
  19618. "models.Ermcp3AreaStock": {
  19619. "type": "object",
  19620. "required": [
  19621. "userid"
  19622. ],
  19623. "properties": {
  19624. "brandname": {
  19625. "description": "品牌名称",
  19626. "type": "string"
  19627. },
  19628. "curstock": {
  19629. "description": "期末库存量(今日量)",
  19630. "type": "number"
  19631. },
  19632. "deliverygoodscode": {
  19633. "description": "现货品种代码",
  19634. "type": "string"
  19635. },
  19636. "deliverygoodsid": {
  19637. "description": "现货品种id",
  19638. "type": "integer"
  19639. },
  19640. "deliverygoodsname": {
  19641. "description": "现货品种名称",
  19642. "type": "string"
  19643. },
  19644. "enumdicname": {
  19645. "description": "单位名称",
  19646. "type": "string"
  19647. },
  19648. "goodsunitid": {
  19649. "description": "现货商品单位id",
  19650. "type": "integer"
  19651. },
  19652. "oristock": {
  19653. "description": "期初库存量(昨日量)",
  19654. "type": "number"
  19655. },
  19656. "spotgoodsbrandid": {
  19657. "description": "现货品牌ID",
  19658. "type": "integer"
  19659. },
  19660. "todaybuyinqty": {
  19661. "description": "今日采购入库量",
  19662. "type": "number"
  19663. },
  19664. "todayproduceinqty": {
  19665. "description": "今日生产入库量",
  19666. "type": "number"
  19667. },
  19668. "todayproduceoutqty": {
  19669. "description": "今日生产出库量",
  19670. "type": "number"
  19671. },
  19672. "todayselloutqty": {
  19673. "description": "今日销售出库量",
  19674. "type": "number"
  19675. },
  19676. "unitid": {
  19677. "description": "单位id",
  19678. "type": "integer"
  19679. },
  19680. "updatetime": {
  19681. "description": "更新时间",
  19682. "type": "string"
  19683. },
  19684. "userid": {
  19685. "description": "机构ID",
  19686. "type": "integer"
  19687. },
  19688. "username": {
  19689. "description": "机构名称",
  19690. "type": "string"
  19691. },
  19692. "warehousecode": {
  19693. "description": "仓库代码",
  19694. "type": "string"
  19695. },
  19696. "warehouseinfoid": {
  19697. "description": "仓库ID",
  19698. "type": "string"
  19699. },
  19700. "warehousename": {
  19701. "description": "仓库名称",
  19702. "type": "string"
  19703. },
  19704. "warehousetype": {
  19705. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19706. "type": "integer"
  19707. },
  19708. "wrstandardcode": {
  19709. "description": "品类代码",
  19710. "type": "string"
  19711. },
  19712. "wrstandardid": {
  19713. "description": "品类ID",
  19714. "type": "string"
  19715. },
  19716. "wrstandardname": {
  19717. "description": "品类名称",
  19718. "type": "string"
  19719. }
  19720. }
  19721. },
  19722. "models.Ermcp3AreaStockApply": {
  19723. "type": "object",
  19724. "properties": {
  19725. "applyid": {
  19726. "description": "申请人",
  19727. "type": "integer"
  19728. },
  19729. "applyname": {
  19730. "description": "申请人名称",
  19731. "type": "string"
  19732. },
  19733. "applyremark": {
  19734. "description": "申请备注",
  19735. "type": "string"
  19736. },
  19737. "applysrc": {
  19738. "description": "申请来源 - 1:管理端 2:终端",
  19739. "type": "integer"
  19740. },
  19741. "applystatus": {
  19742. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19743. "type": "integer"
  19744. },
  19745. "applytime": {
  19746. "description": "申请时间",
  19747. "type": "string"
  19748. },
  19749. "auditid": {
  19750. "description": "审核人",
  19751. "type": "integer"
  19752. },
  19753. "auditname": {
  19754. "description": "审核人名称",
  19755. "type": "string"
  19756. },
  19757. "auditremark": {
  19758. "description": "审核备注",
  19759. "type": "string"
  19760. },
  19761. "auditsrc": {
  19762. "description": "审核来源 - 1:管理端 2:终端",
  19763. "type": "integer"
  19764. },
  19765. "audittime": {
  19766. "description": "审核时间",
  19767. "type": "string"
  19768. },
  19769. "audittradedate": {
  19770. "description": "审核交易日(yyyyMMdd)",
  19771. "type": "string"
  19772. },
  19773. "brandname": {
  19774. "description": "品牌名称",
  19775. "type": "string"
  19776. },
  19777. "buynickname": {
  19778. "description": "采购方昵称",
  19779. "type": "string"
  19780. },
  19781. "buyuserid": {
  19782. "description": "采购方userid",
  19783. "type": "integer"
  19784. },
  19785. "buyusername": {
  19786. "description": "采购方名称",
  19787. "type": "string"
  19788. },
  19789. "contractno": {
  19790. "description": "合同编号",
  19791. "type": "string"
  19792. },
  19793. "contractqty": {
  19794. "description": "合同量",
  19795. "type": "number"
  19796. },
  19797. "contracttype": {
  19798. "description": "现货合同类型 - 1:采购 -1:销售",
  19799. "type": "integer"
  19800. },
  19801. "deliverygoodscode": {
  19802. "description": "现货品种代码",
  19803. "type": "string"
  19804. },
  19805. "deliverygoodsid": {
  19806. "description": "现货品种id",
  19807. "type": "integer"
  19808. },
  19809. "deliverygoodsname": {
  19810. "description": "现货品种名称",
  19811. "type": "string"
  19812. },
  19813. "detailjson": {
  19814. "description": "明细数据",
  19815. "type": "string"
  19816. },
  19817. "enumdicname": {
  19818. "description": "现货商品单位名称",
  19819. "type": "string"
  19820. },
  19821. "inoutapplyid": {
  19822. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  19823. "type": "string"
  19824. },
  19825. "inouttype": {
  19826. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  19827. "type": "integer"
  19828. },
  19829. "pricetype": {
  19830. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19831. "type": "integer"
  19832. },
  19833. "qty": {
  19834. "description": "数量",
  19835. "type": "number"
  19836. },
  19837. "sellnickname": {
  19838. "description": "销售方昵称",
  19839. "type": "string"
  19840. },
  19841. "selluserid": {
  19842. "description": "销售方userid",
  19843. "type": "integer"
  19844. },
  19845. "sellusername": {
  19846. "description": "销售方名称",
  19847. "type": "string"
  19848. },
  19849. "spotcontractid": {
  19850. "description": "关联现货合同ID",
  19851. "type": "string"
  19852. },
  19853. "spotgoodsbrandid": {
  19854. "description": "现货品牌ID",
  19855. "type": "integer"
  19856. },
  19857. "unitid": {
  19858. "description": "单位id",
  19859. "type": "integer"
  19860. },
  19861. "userid": {
  19862. "description": "机构ID",
  19863. "type": "integer"
  19864. },
  19865. "warehousecode": {
  19866. "description": "仓库代码",
  19867. "type": "string"
  19868. },
  19869. "warehouseinfoid": {
  19870. "description": "现货仓库ID",
  19871. "type": "string"
  19872. },
  19873. "warehousename": {
  19874. "description": "仓库名称",
  19875. "type": "string"
  19876. },
  19877. "warehousetype": {
  19878. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19879. "type": "integer"
  19880. },
  19881. "wrstandardcode": {
  19882. "description": "品类代码",
  19883. "type": "string"
  19884. },
  19885. "wrstandardid": {
  19886. "description": "品类ID",
  19887. "type": "integer"
  19888. },
  19889. "wrstandardname": {
  19890. "description": "品类名称",
  19891. "type": "string"
  19892. }
  19893. }
  19894. },
  19895. "models.Ermcp3AreaStockApplySum": {
  19896. "type": "object",
  19897. "properties": {
  19898. "brandname": {
  19899. "description": "品牌名称",
  19900. "type": "string"
  19901. },
  19902. "inouttype": {
  19903. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  19904. "type": "integer"
  19905. },
  19906. "spotcontractid": {
  19907. "description": "关联现货合同ID",
  19908. "type": "string"
  19909. },
  19910. "spotgoodsbrandid": {
  19911. "description": "品牌id",
  19912. "type": "integer"
  19913. },
  19914. "totalqty": {
  19915. "description": "总数量",
  19916. "type": "number"
  19917. },
  19918. "wrstandardid": {
  19919. "description": "品类id",
  19920. "type": "integer"
  19921. },
  19922. "wrstandardname": {
  19923. "description": "品类名称",
  19924. "type": "string"
  19925. }
  19926. }
  19927. },
  19928. "models.Ermcp3AreaStockReportEx": {
  19929. "type": "object",
  19930. "properties": {
  19931. "begindate": {
  19932. "description": "开始交易日",
  19933. "type": "string"
  19934. },
  19935. "brandname": {
  19936. "description": "品牌名称",
  19937. "type": "string"
  19938. },
  19939. "curstock": {
  19940. "description": "期末库存量",
  19941. "type": "number"
  19942. },
  19943. "cycletime": {
  19944. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19945. "type": "string"
  19946. },
  19947. "cycletype": {
  19948. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19949. "type": "integer"
  19950. },
  19951. "deliverygoodscode": {
  19952. "description": "现货品种代码",
  19953. "type": "string"
  19954. },
  19955. "deliverygoodsid": {
  19956. "description": "现货品种id",
  19957. "type": "integer"
  19958. },
  19959. "deliverygoodsname": {
  19960. "description": "现货品种名称",
  19961. "type": "string"
  19962. },
  19963. "diffqty": {
  19964. "description": "库存变化量 = 期末 - 期初",
  19965. "type": "number"
  19966. },
  19967. "enddate": {
  19968. "description": "结束交易日",
  19969. "type": "string"
  19970. },
  19971. "enumdicname": {
  19972. "description": "单位名称",
  19973. "type": "string"
  19974. },
  19975. "goodsunitid": {
  19976. "description": "现货单位id",
  19977. "type": "integer"
  19978. },
  19979. "oristock": {
  19980. "description": "期初库存量",
  19981. "type": "number"
  19982. },
  19983. "reckondate": {
  19984. "description": "日照时期(yyyyMMdd)",
  19985. "type": "string"
  19986. },
  19987. "spotgoodsbrandid": {
  19988. "description": "现货品牌ID",
  19989. "type": "integer"
  19990. },
  19991. "todaybuyinqty": {
  19992. "description": "今采购入库量",
  19993. "type": "number"
  19994. },
  19995. "todayproduceinqty": {
  19996. "description": "今内部入库量",
  19997. "type": "number"
  19998. },
  19999. "todayproduceoutqty": {
  20000. "description": "今内部出库量",
  20001. "type": "number"
  20002. },
  20003. "todayselloutqty": {
  20004. "description": "今销售出库量",
  20005. "type": "number"
  20006. },
  20007. "unbuyinqty": {
  20008. "description": "采购未入库量(数据库未找到相关字段?)",
  20009. "type": "number"
  20010. },
  20011. "unitid": {
  20012. "description": "品类单位id",
  20013. "type": "integer"
  20014. },
  20015. "unselloutqty": {
  20016. "description": "销售未出库量(数据库未找到相关字段?)",
  20017. "type": "number"
  20018. },
  20019. "updatetime": {
  20020. "description": "更新时间",
  20021. "type": "string"
  20022. },
  20023. "userid": {
  20024. "description": "机构ID",
  20025. "type": "integer"
  20026. },
  20027. "username": {
  20028. "description": "机构名称",
  20029. "type": "string"
  20030. },
  20031. "warehousecode": {
  20032. "description": "仓库代码",
  20033. "type": "string"
  20034. },
  20035. "warehouseinfoid": {
  20036. "description": "仓库ID",
  20037. "type": "string"
  20038. },
  20039. "warehousename": {
  20040. "description": "仓库名称",
  20041. "type": "string"
  20042. },
  20043. "warehousetype": {
  20044. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20045. "type": "integer"
  20046. },
  20047. "wrstandardcode": {
  20048. "description": "品类代码",
  20049. "type": "string"
  20050. },
  20051. "wrstandardid": {
  20052. "description": "品类ID",
  20053. "type": "integer"
  20054. },
  20055. "wrstandardname": {
  20056. "description": "品类名称",
  20057. "type": "string"
  20058. }
  20059. }
  20060. },
  20061. "models.Ermcp3ArealSumPL": {
  20062. "type": "object",
  20063. "properties": {
  20064. "accountname": {
  20065. "description": "机构名称",
  20066. "type": "string"
  20067. },
  20068. "areauserid": {
  20069. "description": "所属机构\\交易用户ID",
  20070. "type": "integer"
  20071. },
  20072. "begindate": {
  20073. "description": "开始交易日",
  20074. "type": "string"
  20075. },
  20076. "currencyid": {
  20077. "description": "结算币种ID",
  20078. "type": "integer"
  20079. },
  20080. "currencyname": {
  20081. "description": "币种名称",
  20082. "type": "string"
  20083. },
  20084. "cycletime": {
  20085. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20086. "type": "string"
  20087. },
  20088. "cycletype": {
  20089. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20090. "type": "integer"
  20091. },
  20092. "enddate": {
  20093. "description": "结束交易日",
  20094. "type": "string"
  20095. },
  20096. "enumdicname": {
  20097. "description": "单位名称(套保品种)",
  20098. "type": "string"
  20099. },
  20100. "futureactualpl": {
  20101. "description": "期货损益",
  20102. "type": "number"
  20103. },
  20104. "futurefloatpl": {
  20105. "description": "期货浮动损益",
  20106. "type": "number"
  20107. },
  20108. "futurespotratio": {
  20109. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  20110. "type": "number"
  20111. },
  20112. "goodsunitid": {
  20113. "description": "套保品种单位id",
  20114. "type": "integer"
  20115. },
  20116. "hedgeexposurepl": {
  20117. "description": "套保敞口损益",
  20118. "type": "number"
  20119. },
  20120. "middlegoodscode": {
  20121. "description": "套保品种代码",
  20122. "type": "string"
  20123. },
  20124. "middlegoodsid": {
  20125. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20126. "type": "integer"
  20127. },
  20128. "middlegoodsname": {
  20129. "description": "套保品种名称",
  20130. "type": "string"
  20131. },
  20132. "reckondate": {
  20133. "description": "日照时期(yyyyMMdd)",
  20134. "type": "string"
  20135. },
  20136. "spotactualpl": {
  20137. "description": "现货损益",
  20138. "type": "number"
  20139. },
  20140. "spotfloatpl": {
  20141. "description": "现货浮动损益",
  20142. "type": "number"
  20143. },
  20144. "sumactualpl": {
  20145. "description": "实际损益 = (ActualPL + FutureActualPL)",
  20146. "type": "number"
  20147. },
  20148. "sumpl": {
  20149. "description": "总敞口损益 | 汇总损益",
  20150. "type": "number"
  20151. },
  20152. "totalfutureqty": {
  20153. "description": "期货头寸总量",
  20154. "type": "number"
  20155. },
  20156. "totalneedhedgeqty": {
  20157. "description": "应套保总量",
  20158. "type": "number"
  20159. },
  20160. "totalspotqty": {
  20161. "description": "现货头寸总量",
  20162. "type": "number"
  20163. },
  20164. "updatetime": {
  20165. "description": "更新时间",
  20166. "type": "string"
  20167. }
  20168. }
  20169. },
  20170. "models.Ermcp3Brand": {
  20171. "type": "object",
  20172. "properties": {
  20173. "areauserid": {
  20174. "description": "用户id",
  20175. "type": "integer"
  20176. },
  20177. "brandid": {
  20178. "description": "品牌id",
  20179. "type": "integer"
  20180. },
  20181. "brandname": {
  20182. "description": "品牌名称",
  20183. "type": "string"
  20184. },
  20185. "deliverygoodsid": {
  20186. "description": "品种ID",
  20187. "type": "integer"
  20188. },
  20189. "isvalid": {
  20190. "description": "是否有效",
  20191. "type": "integer"
  20192. }
  20193. }
  20194. },
  20195. "models.Ermcp3Contract": {
  20196. "type": "object",
  20197. "properties": {
  20198. "accountid": {
  20199. "description": "期货账户id",
  20200. "type": "string"
  20201. },
  20202. "amount": {
  20203. "description": "金额 [1:一口价、3:暂定价]",
  20204. "type": "number"
  20205. },
  20206. "attachment": {
  20207. "description": "附件",
  20208. "type": "string"
  20209. },
  20210. "auditremark": {
  20211. "description": "审核意见",
  20212. "type": "string"
  20213. },
  20214. "audittime": {
  20215. "description": "审核时间",
  20216. "type": "string"
  20217. },
  20218. "biztype": {
  20219. "description": "业务类型 1-套保 2-套利",
  20220. "type": "integer"
  20221. },
  20222. "brandname": {
  20223. "description": "品牌名称",
  20224. "type": "string"
  20225. },
  20226. "buynickname": {
  20227. "description": "销售方昵称",
  20228. "type": "string"
  20229. },
  20230. "buyuserid": {
  20231. "description": "采购方ID",
  20232. "type": "integer"
  20233. },
  20234. "buyusername": {
  20235. "description": "采购方名称",
  20236. "type": "string"
  20237. },
  20238. "contracctstatus": {
  20239. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20240. "type": "integer"
  20241. },
  20242. "contractmargin": {
  20243. "description": "合同保证金",
  20244. "type": "number"
  20245. },
  20246. "contractno": {
  20247. "description": "现货合同编号",
  20248. "type": "string"
  20249. },
  20250. "contracttype": {
  20251. "description": "现货合同类型 - 1:采购 -1:销售",
  20252. "type": "integer"
  20253. },
  20254. "convertfactor": {
  20255. "description": "标仓系数(品类)",
  20256. "type": "number"
  20257. },
  20258. "createtime": {
  20259. "description": "创建时间",
  20260. "type": "string"
  20261. },
  20262. "currencyid": {
  20263. "description": "币种id",
  20264. "type": "integer"
  20265. },
  20266. "currencyname": {
  20267. "description": "币种名称",
  20268. "type": "string"
  20269. },
  20270. "deliveryenddate": {
  20271. "description": "交收期(结束)",
  20272. "type": "string"
  20273. },
  20274. "deliverygoodscode": {
  20275. "description": "现货品种代码",
  20276. "type": "string"
  20277. },
  20278. "deliverygoodsid": {
  20279. "description": "现货品种ID",
  20280. "type": "integer"
  20281. },
  20282. "deliverygoodsname": {
  20283. "description": "现货品种名称",
  20284. "type": "string"
  20285. },
  20286. "deliverystartdate": {
  20287. "description": "交收期(开始)",
  20288. "type": "string"
  20289. },
  20290. "enddate": {
  20291. "description": "点价结束日期 [2:点价 3:暂定价]",
  20292. "type": "string"
  20293. },
  20294. "enumdicname": {
  20295. "description": "单位名称",
  20296. "type": "string"
  20297. },
  20298. "goodscode": {
  20299. "description": "点价合约代码",
  20300. "type": "string"
  20301. },
  20302. "goodsid": {
  20303. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  20304. "type": "integer"
  20305. },
  20306. "goodsname": {
  20307. "description": "点价商品名称",
  20308. "type": "string"
  20309. },
  20310. "margin": {
  20311. "description": "当前保证金",
  20312. "type": "number"
  20313. },
  20314. "meruserid": {
  20315. "description": "跟单员id",
  20316. "type": "integer"
  20317. },
  20318. "meruserlogincode": {
  20319. "description": "跟单员登录代码",
  20320. "type": "string"
  20321. },
  20322. "merusername": {
  20323. "description": "跟单员名称",
  20324. "type": "string"
  20325. },
  20326. "price": {
  20327. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  20328. "type": "number"
  20329. },
  20330. "pricemove": {
  20331. "description": "升贴水 [2:点价 3:暂定价]",
  20332. "type": "number"
  20333. },
  20334. "pricetype": {
  20335. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20336. "type": "integer"
  20337. },
  20338. "producttype": {
  20339. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20340. "type": "integer"
  20341. },
  20342. "qty": {
  20343. "description": "数量",
  20344. "type": "number"
  20345. },
  20346. "remark": {
  20347. "description": "备注",
  20348. "type": "string"
  20349. },
  20350. "saleuserid": {
  20351. "description": "业务员id",
  20352. "type": "integer"
  20353. },
  20354. "saleuserlogincode": {
  20355. "description": "业务员登录代码",
  20356. "type": "string"
  20357. },
  20358. "saleusername": {
  20359. "description": "业务员名称",
  20360. "type": "string"
  20361. },
  20362. "sellnickname": {
  20363. "description": "采购方昵称",
  20364. "type": "string"
  20365. },
  20366. "selluserid": {
  20367. "description": "销售方ID",
  20368. "type": "integer"
  20369. },
  20370. "sellusername": {
  20371. "description": "销售方名称",
  20372. "type": "string"
  20373. },
  20374. "spotcontractid": {
  20375. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  20376. "type": "string"
  20377. },
  20378. "spotgoodsbrandid": {
  20379. "description": "现货品牌ID(DGFactoryItem表的ID)",
  20380. "type": "integer"
  20381. },
  20382. "spotgoodsdesc": {
  20383. "description": "商品型号",
  20384. "type": "string"
  20385. },
  20386. "startdate": {
  20387. "description": "点价开始日期 [2:点价 3:暂定价]",
  20388. "type": "string"
  20389. },
  20390. "subjectid": {
  20391. "description": "交易主体ID",
  20392. "type": "string"
  20393. },
  20394. "subjectname": {
  20395. "description": "交易主体名称",
  20396. "type": "string"
  20397. },
  20398. "tradeuserid": {
  20399. "description": "交易员id",
  20400. "type": "integer"
  20401. },
  20402. "tradeuserlogincode": {
  20403. "description": "交易员登录代码",
  20404. "type": "string"
  20405. },
  20406. "tradeusername": {
  20407. "description": "交易员名称",
  20408. "type": "string"
  20409. },
  20410. "unitid": {
  20411. "description": "单位id(取品类上的单位id)",
  20412. "type": "integer"
  20413. },
  20414. "updatetime": {
  20415. "description": "更新时间",
  20416. "type": "string"
  20417. },
  20418. "userid": {
  20419. "description": "所属机构ID",
  20420. "type": "integer"
  20421. },
  20422. "vatrate": {
  20423. "description": "增值税率",
  20424. "type": "number"
  20425. },
  20426. "wrstandardcode": {
  20427. "description": "品类代码",
  20428. "type": "string"
  20429. },
  20430. "wrstandardid": {
  20431. "description": "品类ID",
  20432. "type": "integer"
  20433. },
  20434. "wrstandardname": {
  20435. "description": "品类名称",
  20436. "type": "string"
  20437. }
  20438. }
  20439. },
  20440. "models.Ermcp3ExposureContractDetail": {
  20441. "type": "object",
  20442. "properties": {
  20443. "biztype": {
  20444. "description": "业务类型 1-套保 2-套利",
  20445. "type": "integer"
  20446. },
  20447. "brandname": {
  20448. "description": "品牌名称",
  20449. "type": "string"
  20450. },
  20451. "buyuserid": {
  20452. "description": "采购方id",
  20453. "type": "integer"
  20454. },
  20455. "buyusername": {
  20456. "description": "采购方名称",
  20457. "type": "string"
  20458. },
  20459. "contractno": {
  20460. "description": "合同编号",
  20461. "type": "string"
  20462. },
  20463. "contracttype": {
  20464. "description": "现货合同类型 - 1:采购 -1:销售",
  20465. "type": "integer"
  20466. },
  20467. "convertfactor": {
  20468. "description": "标仓系数",
  20469. "type": "number"
  20470. },
  20471. "convertratio": {
  20472. "description": "折算系数(套保品种)",
  20473. "type": "number"
  20474. },
  20475. "curqty": {
  20476. "description": "今定价量",
  20477. "type": "number"
  20478. },
  20479. "deliverygoodscode": {
  20480. "description": "现货商品代码",
  20481. "type": "string"
  20482. },
  20483. "deliverygoodsid": {
  20484. "description": "现货商品id",
  20485. "type": "integer"
  20486. },
  20487. "deliverygoodsname": {
  20488. "description": "现货商品名称",
  20489. "type": "string"
  20490. },
  20491. "diffhedgeqty": {
  20492. "description": "套保变动量",
  20493. "type": "number"
  20494. },
  20495. "diffneedhedgeqty": {
  20496. "description": "应套保变动量",
  20497. "type": "number"
  20498. },
  20499. "diffqty": {
  20500. "description": "套保品种今变动量",
  20501. "type": "number"
  20502. },
  20503. "enumdicname": {
  20504. "description": "单位名称",
  20505. "type": "string"
  20506. },
  20507. "mgunitname": {
  20508. "description": "套保品种单位名称",
  20509. "type": "string"
  20510. },
  20511. "middlegoodscode": {
  20512. "description": "套保品种代码",
  20513. "type": "string"
  20514. },
  20515. "middlegoodsid": {
  20516. "description": "套保品种id",
  20517. "type": "integer"
  20518. },
  20519. "middlegoodsname": {
  20520. "description": "套保品种名称",
  20521. "type": "string"
  20522. },
  20523. "needarbitrageratio": {
  20524. "description": "应套利比例",
  20525. "type": "number"
  20526. },
  20527. "needhedgeratio": {
  20528. "description": "应套保比例",
  20529. "type": "number"
  20530. },
  20531. "pricedqty": {
  20532. "description": "已定价量",
  20533. "type": "number"
  20534. },
  20535. "qty": {
  20536. "description": "合同量",
  20537. "type": "number"
  20538. },
  20539. "selluserid": {
  20540. "description": "销售方id",
  20541. "type": "integer"
  20542. },
  20543. "sellusername": {
  20544. "description": "销售方名称",
  20545. "type": "string"
  20546. },
  20547. "spotcontractid": {
  20548. "description": "合同id",
  20549. "type": "string"
  20550. },
  20551. "todaypricedqty": {
  20552. "description": "今定价量",
  20553. "type": "number"
  20554. },
  20555. "tradedate": {
  20556. "description": "交易日",
  20557. "type": "string"
  20558. },
  20559. "unitid": {
  20560. "description": "品类单位id",
  20561. "type": "integer"
  20562. },
  20563. "userid": {
  20564. "description": "机构id",
  20565. "type": "integer"
  20566. },
  20567. "username": {
  20568. "description": "交易用户",
  20569. "type": "string"
  20570. },
  20571. "wrstandardcode": {
  20572. "description": "品类代码",
  20573. "type": "string"
  20574. },
  20575. "wrstandardid": {
  20576. "description": "品类id",
  20577. "type": "integer"
  20578. },
  20579. "wrstandardname": {
  20580. "description": "品类名称",
  20581. "type": "string"
  20582. }
  20583. }
  20584. },
  20585. "models.Ermcp3ExposureDetail": {
  20586. "type": "object",
  20587. "properties": {
  20588. "areauserid": {
  20589. "description": "机构ID",
  20590. "type": "integer"
  20591. },
  20592. "changeQty": {
  20593. "description": "套保变动量",
  20594. "type": "number"
  20595. },
  20596. "contracttype": {
  20597. "description": "现货合同类型 - 1:采购 -1:销售",
  20598. "type": "integer"
  20599. },
  20600. "convertfactor": {
  20601. "description": "标仓系数",
  20602. "type": "number"
  20603. },
  20604. "convertratio": {
  20605. "description": "折算系数",
  20606. "type": "number"
  20607. },
  20608. "createtime": {
  20609. "description": "时间",
  20610. "type": "string"
  20611. },
  20612. "enumdicname": {
  20613. "description": "现货商品单位名称",
  20614. "type": "string"
  20615. },
  20616. "logtype": {
  20617. "description": "类型 - 1:套保计划 2:现货合同",
  20618. "type": "integer"
  20619. },
  20620. "mgunitid": {
  20621. "description": "套保品种单位id",
  20622. "type": "integer"
  20623. },
  20624. "mgunitidname": {
  20625. "description": "套保品种单位名称",
  20626. "type": "string"
  20627. },
  20628. "middlegoodsId": {
  20629. "description": "套保商品id",
  20630. "type": "integer"
  20631. },
  20632. "middlegoodscode": {
  20633. "description": "套保商品代码",
  20634. "type": "string"
  20635. },
  20636. "middlegoodsname": {
  20637. "description": "套保商品名称",
  20638. "type": "string"
  20639. },
  20640. "qty": {
  20641. "description": "数量",
  20642. "type": "number"
  20643. },
  20644. "relateNo": {
  20645. "description": "现货合同/套保计划编号",
  20646. "type": "string"
  20647. },
  20648. "unitid": {
  20649. "description": "现货商品单位id",
  20650. "type": "integer"
  20651. },
  20652. "wrstandardcode": {
  20653. "description": "现货商品代码",
  20654. "type": "string"
  20655. },
  20656. "wrstandardid": {
  20657. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20658. "type": "integer"
  20659. },
  20660. "wrstandardname": {
  20661. "description": "现货商品名称",
  20662. "type": "string"
  20663. }
  20664. }
  20665. },
  20666. "models.Ermcp3ExposureFutuDetail": {
  20667. "type": "object",
  20668. "properties": {
  20669. "accountid": {
  20670. "description": "交易账户id",
  20671. "type": "integer"
  20672. },
  20673. "accountname": {
  20674. "description": "交易账户",
  20675. "type": "string"
  20676. },
  20677. "begindate": {
  20678. "description": "开始交易日",
  20679. "type": "string"
  20680. },
  20681. "buyorsell": {
  20682. "description": "方向 0-买 1-卖",
  20683. "type": "integer"
  20684. },
  20685. "diffmgqty": {
  20686. "description": "套保品种今变化量",
  20687. "type": "number"
  20688. },
  20689. "diffneedqty": {
  20690. "description": "应套保总量变化量",
  20691. "type": "number"
  20692. },
  20693. "difftradeqty": {
  20694. "description": "交易品种今变化量",
  20695. "type": "number"
  20696. },
  20697. "enddate": {
  20698. "description": "结束交易日",
  20699. "type": "string"
  20700. },
  20701. "enumdicname": {
  20702. "description": "单位名称",
  20703. "type": "string"
  20704. },
  20705. "goodscode": {
  20706. "description": "商品代码",
  20707. "type": "string"
  20708. },
  20709. "goodsid": {
  20710. "description": "商品id",
  20711. "type": "integer"
  20712. },
  20713. "goodsname": {
  20714. "description": "商品名称",
  20715. "type": "string"
  20716. },
  20717. "holdqty": {
  20718. "description": "期末持仓量",
  20719. "type": "number"
  20720. },
  20721. "middlegoodscode": {
  20722. "description": "套保商品代码",
  20723. "type": "string"
  20724. },
  20725. "middlegoodsid": {
  20726. "description": "套保商品id",
  20727. "type": "integer"
  20728. },
  20729. "middlegoodsname": {
  20730. "description": "套保商品名称",
  20731. "type": "string"
  20732. },
  20733. "oriholdqty": {
  20734. "description": "期初持仓量",
  20735. "type": "number"
  20736. },
  20737. "todaycloseqty": {
  20738. "description": "今平仓量",
  20739. "type": "number"
  20740. },
  20741. "todayopenqty": {
  20742. "description": "今开仓量",
  20743. "type": "number"
  20744. },
  20745. "tradedate": {
  20746. "description": "交易日",
  20747. "type": "string"
  20748. }
  20749. }
  20750. },
  20751. "models.Ermcp3ExposureHedgeplanDetail": {
  20752. "type": "object",
  20753. "properties": {
  20754. "biztype": {
  20755. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  20756. "type": "integer"
  20757. },
  20758. "changqty": {
  20759. "description": "应套保总量变化量",
  20760. "type": "number"
  20761. },
  20762. "contracttype": {
  20763. "description": "计划类型 - 1:采购 -1:销售",
  20764. "type": "integer"
  20765. },
  20766. "convertratio": {
  20767. "description": "折算系数(套保品种)",
  20768. "type": "number"
  20769. },
  20770. "deliverygoodscode": {
  20771. "description": "现货商品代码",
  20772. "type": "string"
  20773. },
  20774. "deliverygoodsid": {
  20775. "description": "现货商品id",
  20776. "type": "integer"
  20777. },
  20778. "deliverygoodsname": {
  20779. "description": "现货商吕名称",
  20780. "type": "string"
  20781. },
  20782. "dgunitid": {
  20783. "description": "现货商品单位id",
  20784. "type": "integer"
  20785. },
  20786. "dgunitidname": {
  20787. "description": "单位名称(现货商品)",
  20788. "type": "string"
  20789. },
  20790. "diffqty": {
  20791. "description": "套保品种今变动量",
  20792. "type": "number"
  20793. },
  20794. "enumdicname": {
  20795. "description": "单位名称(品类)",
  20796. "type": "string"
  20797. },
  20798. "hedgeplanid": {
  20799. "description": "套保计划id",
  20800. "type": "string"
  20801. },
  20802. "hedgeplanno": {
  20803. "description": "套保计划名称",
  20804. "type": "string"
  20805. },
  20806. "hedgeplanstatus": {
  20807. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20808. "type": "integer"
  20809. },
  20810. "mgunitidname": {
  20811. "description": "单位名称(套保商品)",
  20812. "type": "string"
  20813. },
  20814. "middlegoodscode": {
  20815. "description": "套保品种代码",
  20816. "type": "string"
  20817. },
  20818. "middlegoodsid": {
  20819. "description": "套保品种id",
  20820. "type": "integer"
  20821. },
  20822. "middlegoodsname": {
  20823. "description": "套保品种名称",
  20824. "type": "string"
  20825. },
  20826. "needarbitrageratio": {
  20827. "description": "应套利比例",
  20828. "type": "number"
  20829. },
  20830. "needhedgeratio": {
  20831. "description": "应套保比例",
  20832. "type": "number"
  20833. },
  20834. "pricedqty": {
  20835. "description": "已定价量",
  20836. "type": "number"
  20837. },
  20838. "qty": {
  20839. "description": "合同量",
  20840. "type": "number"
  20841. },
  20842. "tradedate": {
  20843. "description": "交易日(登记日)",
  20844. "type": "string"
  20845. },
  20846. "unitid": {
  20847. "description": "品类单位id",
  20848. "type": "integer"
  20849. },
  20850. "userid": {
  20851. "description": "机构id",
  20852. "type": "integer"
  20853. },
  20854. "wrstandardcode": {
  20855. "description": "品类代码",
  20856. "type": "string"
  20857. },
  20858. "wrstandardid": {
  20859. "description": "品类id",
  20860. "type": "integer"
  20861. },
  20862. "wrstandardname": {
  20863. "description": "品类名称",
  20864. "type": "string"
  20865. }
  20866. }
  20867. },
  20868. "models.Ermcp3ExposureParamChLog": {
  20869. "type": "object",
  20870. "properties": {
  20871. "accountid": {
  20872. "description": "期货账户ID (作废, 默认为0)",
  20873. "type": "integer"
  20874. },
  20875. "aftervalue": {
  20876. "description": "应套保\\套利量变更后(调整后应套保总量)",
  20877. "type": "number"
  20878. },
  20879. "areauserid": {
  20880. "description": "所属机构\\交易用户ID",
  20881. "type": "integer"
  20882. },
  20883. "beforevalue": {
  20884. "description": "应套保\\套利量变更前(调整前应套保总量)",
  20885. "type": "number"
  20886. },
  20887. "begindate": {
  20888. "description": "开始交易日",
  20889. "type": "string"
  20890. },
  20891. "changelogtype": {
  20892. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  20893. "type": "integer"
  20894. },
  20895. "curvalue": {
  20896. "description": "当前套保\\套利量(套保总量|套利总量)",
  20897. "type": "number"
  20898. },
  20899. "diffvalue": {
  20900. "description": "应套保总量变化量",
  20901. "type": "number"
  20902. },
  20903. "enddate": {
  20904. "description": "结束交易日",
  20905. "type": "string"
  20906. },
  20907. "logdatetime": {
  20908. "description": "流水日期",
  20909. "type": "string"
  20910. },
  20911. "logid": {
  20912. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  20913. "type": "string"
  20914. },
  20915. "middlegoodscode": {
  20916. "description": "套保品种代码",
  20917. "type": "string"
  20918. },
  20919. "middlegoodsid": {
  20920. "description": "套保品种",
  20921. "type": "integer"
  20922. },
  20923. "middlegoodsname": {
  20924. "description": "套保品种名称",
  20925. "type": "string"
  20926. },
  20927. "paramaftervalue": {
  20928. "description": "参数变更后(调整后参数值)",
  20929. "type": "number"
  20930. },
  20931. "parambeforevalue": {
  20932. "description": "参数变更前(调整前参数值)",
  20933. "type": "number"
  20934. },
  20935. "tradedate": {
  20936. "description": "交易日(yyyyMMdd)",
  20937. "type": "string"
  20938. }
  20939. }
  20940. },
  20941. "models.Ermcp3ExpourseReport": {
  20942. "type": "object",
  20943. "properties": {
  20944. "accountid": {
  20945. "description": "期货账户ID (作废, 默认为0)",
  20946. "type": "integer"
  20947. },
  20948. "accountname": {
  20949. "description": "机构名称",
  20950. "type": "string"
  20951. },
  20952. "arbitrageqty": {
  20953. "description": "套利量",
  20954. "type": "number"
  20955. },
  20956. "areauserid": {
  20957. "description": "所属机构\\交易用户ID",
  20958. "type": "integer"
  20959. },
  20960. "begindate": {
  20961. "description": "开始交易日",
  20962. "type": "string"
  20963. },
  20964. "buyfutureqty": {
  20965. "description": "买入期货数量",
  20966. "type": "number"
  20967. },
  20968. "buyplanqty": {
  20969. "description": "采购计划数量",
  20970. "type": "number"
  20971. },
  20972. "buypricedqty": {
  20973. "description": "采购合同已定价数量",
  20974. "type": "number"
  20975. },
  20976. "cycletime": {
  20977. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20978. "type": "string"
  20979. },
  20980. "cycletype": {
  20981. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20982. "type": "integer"
  20983. },
  20984. "diffexposure": {
  20985. "description": "变动量(套保敞口)",
  20986. "type": "number"
  20987. },
  20988. "difffutuqty": {
  20989. "description": "变动量(期货)",
  20990. "type": "number"
  20991. },
  20992. "diffhedgeqty": {
  20993. "description": "变动量(现货应套保总量)",
  20994. "type": "number"
  20995. },
  20996. "diffmgqtya": {
  20997. "description": "套保变动量",
  20998. "type": "number"
  20999. },
  21000. "diffmgqtyb": {
  21001. "description": "套利变动量",
  21002. "type": "number"
  21003. },
  21004. "diffqty": {
  21005. "description": "变动量(总敞口)",
  21006. "type": "number"
  21007. },
  21008. "diffspotqty": {
  21009. "description": "变动量(现货)",
  21010. "type": "number"
  21011. },
  21012. "enddate": {
  21013. "description": "结束交易日",
  21014. "type": "string"
  21015. },
  21016. "enumdicname": {
  21017. "description": "单位名称",
  21018. "type": "string"
  21019. },
  21020. "hedgeqty": {
  21021. "description": "套保量",
  21022. "type": "number"
  21023. },
  21024. "mgneedhedgeratio": {
  21025. "description": "套保比例(套保品的)",
  21026. "type": "number"
  21027. },
  21028. "middlegoodsid": {
  21029. "description": "套保品种ID",
  21030. "type": "integer"
  21031. },
  21032. "middlegoodsname": {
  21033. "description": "套保商品名称",
  21034. "type": "string"
  21035. },
  21036. "middlgoodscode": {
  21037. "description": "套保商品代码",
  21038. "type": "string"
  21039. },
  21040. "needarbitrageqty": {
  21041. "description": "应套利量",
  21042. "type": "number"
  21043. },
  21044. "needarbitrageratio": {
  21045. "description": "套利比例(套保品的)",
  21046. "type": "number"
  21047. },
  21048. "needhedgeexposoure": {
  21049. "description": "应套保敞口(套保敞口)",
  21050. "type": "number"
  21051. },
  21052. "needhedgeqty": {
  21053. "description": "应套保量",
  21054. "type": "number"
  21055. },
  21056. "needhedgeratio": {
  21057. "description": "应套保敞口比例",
  21058. "type": "number"
  21059. },
  21060. "oriarbitrageqty": {
  21061. "description": "期初套利量",
  21062. "type": "number"
  21063. },
  21064. "oribuyfutureqty": {
  21065. "description": "期初买入期货数量",
  21066. "type": "number"
  21067. },
  21068. "oribuyplanqty": {
  21069. "description": "期初采购计划数量",
  21070. "type": "number"
  21071. },
  21072. "oribuypricedqty": {
  21073. "description": "期初采购合同已定价数量",
  21074. "type": "number"
  21075. },
  21076. "orihedgeqty": {
  21077. "description": "期初套保量",
  21078. "type": "number"
  21079. },
  21080. "orineedarbitrageqty": {
  21081. "description": "期初应套利量",
  21082. "type": "number"
  21083. },
  21084. "orineedhedgeexposoure": {
  21085. "description": "期初应套保敞口",
  21086. "type": "number"
  21087. },
  21088. "orineedhedgeqty": {
  21089. "description": "期初应套保量",
  21090. "type": "number"
  21091. },
  21092. "orisellfutureqty": {
  21093. "description": "期初卖出期货数量",
  21094. "type": "number"
  21095. },
  21096. "orisellplanqty": {
  21097. "description": "期初销售计划数量",
  21098. "type": "number"
  21099. },
  21100. "orisellpricedqty": {
  21101. "description": "期初销售合同已定价数量",
  21102. "type": "number"
  21103. },
  21104. "oritotalexposure": {
  21105. "description": "期初实时总敞口",
  21106. "type": "number"
  21107. },
  21108. "oritotalfutureqty": {
  21109. "description": "期初期货头寸总量",
  21110. "type": "number"
  21111. },
  21112. "oritotalneedhedgeqty": {
  21113. "description": "期初应套保总量",
  21114. "type": "number"
  21115. },
  21116. "oritotalspotqty": {
  21117. "description": "期初现货头寸总量",
  21118. "type": "number"
  21119. },
  21120. "reckondate": {
  21121. "description": "日照时期(yyyyMMdd)",
  21122. "type": "string"
  21123. },
  21124. "sellfutureqty": {
  21125. "description": "卖出期货数量",
  21126. "type": "number"
  21127. },
  21128. "sellplanqty": {
  21129. "description": "销售计划数量",
  21130. "type": "number"
  21131. },
  21132. "sellpricedqty": {
  21133. "description": "销售合同已定价数量",
  21134. "type": "number"
  21135. },
  21136. "totalexposure": {
  21137. "description": "实时总敞口(总敞口)",
  21138. "type": "number"
  21139. },
  21140. "totalfutureqty": {
  21141. "description": "期货头寸总量(期货总量)",
  21142. "type": "number"
  21143. },
  21144. "totalhedgeratio": {
  21145. "description": "敞口比例",
  21146. "type": "number"
  21147. },
  21148. "totalneedhedgeqty": {
  21149. "description": "应套保总量(现货应套保总量)",
  21150. "type": "number"
  21151. },
  21152. "totalspotqty": {
  21153. "description": "现货头寸总量",
  21154. "type": "number"
  21155. },
  21156. "unitid": {
  21157. "description": "单位id",
  21158. "type": "integer"
  21159. },
  21160. "updatetime": {
  21161. "description": "更新时间",
  21162. "type": "string"
  21163. }
  21164. }
  21165. },
  21166. "models.Ermcp3FinanceReport": {
  21167. "type": "object",
  21168. "properties": {
  21169. "accountname": {
  21170. "description": "机构名称",
  21171. "type": "string"
  21172. },
  21173. "areauserid": {
  21174. "description": "所属机构\\交易用户ID",
  21175. "type": "integer"
  21176. },
  21177. "begindate": {
  21178. "description": "开始交易日",
  21179. "type": "string"
  21180. },
  21181. "biztype": {
  21182. "description": "业务类型 - 1:套保 2:套利",
  21183. "type": "integer"
  21184. },
  21185. "brandname": {
  21186. "description": "品牌名称",
  21187. "type": "string"
  21188. },
  21189. "buypreinvoicedamount": {
  21190. "description": "采购预收票额(预收票额)",
  21191. "type": "number"
  21192. },
  21193. "buyprepaidamount": {
  21194. "description": "采购预付款额(预付货款额)",
  21195. "type": "number"
  21196. },
  21197. "buytodayinvoiceamount": {
  21198. "description": "采购今收票额(今收票额)",
  21199. "type": "number"
  21200. },
  21201. "buytodayrefundamount": {
  21202. "description": "采购今收退款额(今收退款额)",
  21203. "type": "number"
  21204. },
  21205. "buytodaysettleamount": {
  21206. "description": "采购今付款额(今付货款额)",
  21207. "type": "number"
  21208. },
  21209. "buyuninvoicedamount": {
  21210. "description": "采购应收票额(应收票额)",
  21211. "type": "number"
  21212. },
  21213. "buyunpaidamount": {
  21214. "description": "采购应付款额(应付货款额)",
  21215. "type": "number"
  21216. },
  21217. "currencyid": {
  21218. "description": "结算币种ID",
  21219. "type": "integer"
  21220. },
  21221. "currencyname": {
  21222. "description": "币种名称",
  21223. "type": "string"
  21224. },
  21225. "cycletime": {
  21226. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21227. "type": "string"
  21228. },
  21229. "cycletype": {
  21230. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21231. "type": "integer"
  21232. },
  21233. "deliverygoodscode": {
  21234. "description": "现货品种代码",
  21235. "type": "string"
  21236. },
  21237. "deliverygoodsid": {
  21238. "description": "现货品种ID",
  21239. "type": "integer"
  21240. },
  21241. "deliverygoodsname": {
  21242. "description": "现货品种名称",
  21243. "type": "string"
  21244. },
  21245. "enddate": {
  21246. "description": "结束交易日",
  21247. "type": "string"
  21248. },
  21249. "reckondate": {
  21250. "description": "日照时期(yyyyMMdd)",
  21251. "type": "string"
  21252. },
  21253. "sellpreinvoicedamount": {
  21254. "description": "销售预开票额(预开票额)",
  21255. "type": "number"
  21256. },
  21257. "sellprepaidamount": {
  21258. "description": "销售预收款额(预收货款额)",
  21259. "type": "number"
  21260. },
  21261. "selltodayinvoiceamount": {
  21262. "description": "销售今开票额(今开票额)",
  21263. "type": "number"
  21264. },
  21265. "selltodayrefundamount": {
  21266. "description": "销售今付退款额(今付退款额)",
  21267. "type": "number"
  21268. },
  21269. "selltodaysettleamount": {
  21270. "description": "销售今收款额(今收货款额)",
  21271. "type": "number"
  21272. },
  21273. "selluninvoicedamount": {
  21274. "description": "销售应开票额(应开票额)",
  21275. "type": "number"
  21276. },
  21277. "sellunpaidamount": {
  21278. "description": "销售应收款额(应收货款额)",
  21279. "type": "number"
  21280. },
  21281. "spotgoodsbrandid": {
  21282. "description": "现货品牌ID",
  21283. "type": "integer"
  21284. },
  21285. "todaypaysum": {
  21286. "description": "今付款合计",
  21287. "type": "number"
  21288. },
  21289. "todayreceivesum": {
  21290. "description": "今收款合计",
  21291. "type": "number"
  21292. },
  21293. "updatetime": {
  21294. "description": "更新时间",
  21295. "type": "string"
  21296. },
  21297. "wrfactortypeid": {
  21298. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21299. "type": "integer"
  21300. },
  21301. "wrstandardcode": {
  21302. "description": "品类代码",
  21303. "type": "string"
  21304. },
  21305. "wrstandardid": {
  21306. "description": "现货商品ID",
  21307. "type": "integer"
  21308. },
  21309. "wrstandardname": {
  21310. "description": "品类名称",
  21311. "type": "string"
  21312. }
  21313. }
  21314. },
  21315. "models.Ermcp3GoodsGroup": {
  21316. "type": "object",
  21317. "required": [
  21318. "areauserid"
  21319. ],
  21320. "properties": {
  21321. "agreeunit": {
  21322. "description": "合约单位",
  21323. "type": "number"
  21324. },
  21325. "areauserid": {
  21326. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  21327. "type": "integer"
  21328. },
  21329. "canshort": {
  21330. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21331. "type": "integer"
  21332. },
  21333. "closepricemode": {
  21334. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21335. "type": "integer"
  21336. },
  21337. "createtime": {
  21338. "description": "创建时间",
  21339. "type": "string"
  21340. },
  21341. "creatorid": {
  21342. "description": "创建人",
  21343. "type": "integer"
  21344. },
  21345. "currencyid": {
  21346. "description": "报价货币ID",
  21347. "type": "integer"
  21348. },
  21349. "decimalplace": {
  21350. "description": "报价小数位",
  21351. "type": "integer"
  21352. },
  21353. "enumdicname": {
  21354. "description": "单位名称",
  21355. "type": "string"
  21356. },
  21357. "exchangefullname": {
  21358. "description": "交易所全称",
  21359. "type": "string"
  21360. },
  21361. "excludecfg": {
  21362. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  21363. "type": "integer"
  21364. },
  21365. "exexchangecode": {
  21366. "description": "交易所代码",
  21367. "type": "string"
  21368. },
  21369. "exexchangeid": {
  21370. "description": "外部交易所ID[通道交易]",
  21371. "type": "integer"
  21372. },
  21373. "exexchangename": {
  21374. "description": "交易所名称",
  21375. "type": "string"
  21376. },
  21377. "goodsgroupid": {
  21378. "description": "商品组ID(自增ID)",
  21379. "type": "integer"
  21380. },
  21381. "goodsgroupname": {
  21382. "description": "商品组名称",
  21383. "type": "string"
  21384. },
  21385. "goodsgroupstatus": {
  21386. "description": "商品组状态 - 1:正常 2:注销",
  21387. "type": "integer"
  21388. },
  21389. "goodunitid": {
  21390. "description": "报价单位ID",
  21391. "type": "integer"
  21392. },
  21393. "groupcategroyid": {
  21394. "description": "品种分类ID",
  21395. "type": "integer"
  21396. },
  21397. "innerdealmode": {
  21398. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21399. "type": "integer"
  21400. },
  21401. "marketid": {
  21402. "description": "所属市场ID",
  21403. "type": "integer"
  21404. },
  21405. "modifierid": {
  21406. "description": "修改人",
  21407. "type": "integer"
  21408. },
  21409. "modifytime": {
  21410. "description": "修改时间",
  21411. "type": "string"
  21412. },
  21413. "outerdealmode": {
  21414. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21415. "type": "integer"
  21416. },
  21417. "outergroupcode": {
  21418. "description": "外部商品组代码[通道交易]",
  21419. "type": "string"
  21420. },
  21421. "quoteminunit": {
  21422. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21423. "type": "integer"
  21424. },
  21425. "quotesourcegroupid": {
  21426. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21427. "type": "integer"
  21428. },
  21429. "syncgoodsqty": {
  21430. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21431. "type": "integer"
  21432. }
  21433. }
  21434. },
  21435. "models.Ermcp3HedgePlan": {
  21436. "type": "object",
  21437. "properties": {
  21438. "accountid": {
  21439. "description": "资金账号",
  21440. "type": "integer"
  21441. },
  21442. "areauserid": {
  21443. "description": "用户ID",
  21444. "type": "integer"
  21445. },
  21446. "auditid": {
  21447. "description": "审核id",
  21448. "type": "integer"
  21449. },
  21450. "auditname": {
  21451. "description": "审核人名称",
  21452. "type": "string"
  21453. },
  21454. "auditremark": {
  21455. "description": "审核备注",
  21456. "type": "string"
  21457. },
  21458. "auditsrc": {
  21459. "description": "审核来源 1-管理端 2-终端",
  21460. "type": "integer"
  21461. },
  21462. "audittime": {
  21463. "description": "审核时间",
  21464. "type": "string"
  21465. },
  21466. "contracttype": {
  21467. "description": "计划类型 - 1:采购 -1:销售",
  21468. "type": "integer"
  21469. },
  21470. "convertfactor": {
  21471. "description": "标仓系数",
  21472. "type": "number"
  21473. },
  21474. "createtime": {
  21475. "description": "创建时间",
  21476. "type": "string"
  21477. },
  21478. "currencyid": {
  21479. "description": "币种id",
  21480. "type": "integer"
  21481. },
  21482. "currencyname": {
  21483. "description": "币种名称",
  21484. "type": "string"
  21485. },
  21486. "deliverygoodscode": {
  21487. "description": "现货品种代码",
  21488. "type": "string"
  21489. },
  21490. "deliverygoodsid": {
  21491. "description": "现货品种ID",
  21492. "type": "integer"
  21493. },
  21494. "deliverygoodsname": {
  21495. "description": "现货品种名称",
  21496. "type": "string"
  21497. },
  21498. "enumdicname": {
  21499. "description": "单位名称(现货商品)",
  21500. "type": "string"
  21501. },
  21502. "hedgeplanid": {
  21503. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  21504. "type": "string"
  21505. },
  21506. "hedgeplanno": {
  21507. "description": "套保计划编号(名称)",
  21508. "type": "string"
  21509. },
  21510. "hedgeplanstatus": {
  21511. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21512. "type": "integer"
  21513. },
  21514. "planqty": {
  21515. "description": "计划数量",
  21516. "type": "number"
  21517. },
  21518. "plantime": {
  21519. "description": "计划时间",
  21520. "type": "string"
  21521. },
  21522. "producttype": {
  21523. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21524. "type": "integer"
  21525. },
  21526. "remark": {
  21527. "description": "备注",
  21528. "type": "string"
  21529. },
  21530. "spotgoodsdesc": {
  21531. "description": "商品型号",
  21532. "type": "string"
  21533. },
  21534. "taaccountname": {
  21535. "description": "资金账号名称",
  21536. "type": "string"
  21537. },
  21538. "tradeuserid": {
  21539. "description": "交易用户id",
  21540. "type": "integer"
  21541. },
  21542. "tradeusername": {
  21543. "description": "交易用户名称",
  21544. "type": "string"
  21545. },
  21546. "unitid": {
  21547. "description": "单位id(现货商品)",
  21548. "type": "integer"
  21549. },
  21550. "updatetime": {
  21551. "description": "更新时间",
  21552. "type": "string"
  21553. },
  21554. "vatrate": {
  21555. "description": "增值税率",
  21556. "type": "number"
  21557. },
  21558. "wrstandardcode": {
  21559. "description": "品类代码",
  21560. "type": "string"
  21561. },
  21562. "wrstandardid": {
  21563. "description": "品类id",
  21564. "type": "integer"
  21565. },
  21566. "wrstandardname": {
  21567. "description": "品类名称",
  21568. "type": "string"
  21569. },
  21570. "wrunitid": {
  21571. "description": "品类单位id",
  21572. "type": "integer"
  21573. },
  21574. "wrunitidame": {
  21575. "description": "品类单位名称",
  21576. "type": "string"
  21577. }
  21578. }
  21579. },
  21580. "models.Ermcp3InnerTradeLink": {
  21581. "type": "object",
  21582. "properties": {
  21583. "accountid": {
  21584. "description": "期货账号代码 | 资金账号ID",
  21585. "type": "integer"
  21586. },
  21587. "buyorsell": {
  21588. "description": "方向 - 0:买 1:卖",
  21589. "type": "integer"
  21590. },
  21591. "channelbuildtype": {
  21592. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21593. "type": "integer"
  21594. },
  21595. "currencyid": {
  21596. "description": "币种id",
  21597. "type": "integer"
  21598. },
  21599. "currencyname": {
  21600. "description": "结算币种 名称",
  21601. "type": "string"
  21602. },
  21603. "goodscode": {
  21604. "description": "商品代码",
  21605. "type": "string"
  21606. },
  21607. "goodsid": {
  21608. "description": "商品ID",
  21609. "type": "integer"
  21610. },
  21611. "goodsname": {
  21612. "description": "商品名称",
  21613. "type": "string"
  21614. },
  21615. "outtradeid": {
  21616. "description": "外部成交单号",
  21617. "type": "string"
  21618. },
  21619. "taname": {
  21620. "description": "期货账户名称",
  21621. "type": "string"
  21622. },
  21623. "tradeid": {
  21624. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21625. "type": "string"
  21626. },
  21627. "tradeprice": {
  21628. "description": "成交价格",
  21629. "type": "number"
  21630. },
  21631. "tradeqty": {
  21632. "description": "期货成交数量",
  21633. "type": "integer"
  21634. },
  21635. "tradetime": {
  21636. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  21637. "type": "string"
  21638. },
  21639. "username": {
  21640. "description": "用户名称",
  21641. "type": "string"
  21642. }
  21643. }
  21644. },
  21645. "models.Ermcp3OutTradeLink": {
  21646. "type": "object",
  21647. "properties": {
  21648. "buyorsell": {
  21649. "description": "买卖方向 - 0:买 1:卖",
  21650. "type": "integer"
  21651. },
  21652. "channelbuildtype": {
  21653. "description": "开平标志- 0:无 1:建仓 2:平仓",
  21654. "type": "integer"
  21655. },
  21656. "currencyname": {
  21657. "description": "币种名称",
  21658. "type": "string"
  21659. },
  21660. "exexchangecode": {
  21661. "description": "交易所代码",
  21662. "type": "string"
  21663. },
  21664. "exexchangename": {
  21665. "description": "交易所名称",
  21666. "type": "string"
  21667. },
  21668. "goodscode": {
  21669. "description": "合约代码",
  21670. "type": "string"
  21671. },
  21672. "goodsid": {
  21673. "description": "合约id",
  21674. "type": "integer"
  21675. },
  21676. "goodsname": {
  21677. "description": "合约名称",
  21678. "type": "string"
  21679. },
  21680. "hasinnerorder": {
  21681. "description": "是否有内部单关联 - 0:无 1:有",
  21682. "type": "integer"
  21683. },
  21684. "hedgeaccountcode": {
  21685. "description": "外部账号 | 对冲账号",
  21686. "type": "string"
  21687. },
  21688. "outtradeid": {
  21689. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21690. "type": "string"
  21691. },
  21692. "tradeprice": {
  21693. "description": "成交价格",
  21694. "type": "number"
  21695. },
  21696. "tradeqty": {
  21697. "description": "成交数量",
  21698. "type": "integer"
  21699. },
  21700. "tradetime": {
  21701. "description": "成交时间",
  21702. "type": "string"
  21703. }
  21704. }
  21705. },
  21706. "models.Ermcp3PaAreaAuditCfg": {
  21707. "type": "object",
  21708. "properties": {
  21709. "areauserid": {
  21710. "description": "用户ID",
  21711. "type": "integer"
  21712. },
  21713. "buyinauditflag": {
  21714. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  21715. "type": "integer"
  21716. },
  21717. "costratioauditflag": {
  21718. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  21719. "type": "integer"
  21720. },
  21721. "customerauditflag": {
  21722. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  21723. "type": "integer"
  21724. },
  21725. "deliveryauditflag": {
  21726. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  21727. "type": "integer"
  21728. },
  21729. "invoiceauditflag": {
  21730. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  21731. "type": "integer"
  21732. },
  21733. "mgneedhedgeratioauditflag": {
  21734. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  21735. "type": "integer"
  21736. },
  21737. "moneyauditflag": {
  21738. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  21739. "type": "integer"
  21740. },
  21741. "operatorid": {
  21742. "description": "操作人",
  21743. "type": "integer"
  21744. },
  21745. "operatorsrc": {
  21746. "description": "操作来源 - 1:管理端 2:终端",
  21747. "type": "integer"
  21748. },
  21749. "pointpriceauditflag": {
  21750. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  21751. "type": "integer"
  21752. },
  21753. "produceinauditflag": {
  21754. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  21755. "type": "integer"
  21756. },
  21757. "produceoutauditflag": {
  21758. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  21759. "type": "integer"
  21760. },
  21761. "selloutauditflag": {
  21762. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  21763. "type": "integer"
  21764. },
  21765. "sgconvertratioauditflag": {
  21766. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  21767. "type": "integer"
  21768. },
  21769. "sgvtaratioauditflag": {
  21770. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  21771. "type": "integer"
  21772. },
  21773. "spotcontractauditflag": {
  21774. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  21775. "type": "integer"
  21776. },
  21777. "updatetime": {
  21778. "description": "更新时间",
  21779. "type": "string"
  21780. }
  21781. }
  21782. },
  21783. "models.Ermcp3PaAreaSubject": {
  21784. "type": "object",
  21785. "properties": {
  21786. "areauserid": {
  21787. "description": "所属机构",
  21788. "type": "integer"
  21789. },
  21790. "canmodify": {
  21791. "description": "是否可修改 - 0:否 1:是",
  21792. "type": "integer"
  21793. },
  21794. "createtime": {
  21795. "description": "创建时间",
  21796. "type": "string"
  21797. },
  21798. "creatorid": {
  21799. "description": "创建人ID",
  21800. "type": "string"
  21801. },
  21802. "creatorsrc": {
  21803. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  21804. "type": "integer"
  21805. },
  21806. "modifierid": {
  21807. "description": "修改人",
  21808. "type": "string"
  21809. },
  21810. "modifiersrc": {
  21811. "description": "修改人来源 - 1:管理端 2:终端",
  21812. "type": "integer"
  21813. },
  21814. "modifytime": {
  21815. "description": "修改时间",
  21816. "type": "string"
  21817. },
  21818. "parentsubjectid": {
  21819. "description": "上级主体ID",
  21820. "type": "string"
  21821. },
  21822. "remark": {
  21823. "description": "备注",
  21824. "type": "string"
  21825. },
  21826. "subjectid": {
  21827. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  21828. "type": "integer"
  21829. },
  21830. "subjectname": {
  21831. "description": "主体名称",
  21832. "type": "string"
  21833. },
  21834. "subjectstatus": {
  21835. "description": "主体状态 - 1:正常 2: 停用",
  21836. "type": "integer"
  21837. },
  21838. "subjecttype": {
  21839. "description": "主体类型 - 1:交易主体 2:业务部门",
  21840. "type": "integer"
  21841. }
  21842. }
  21843. },
  21844. "models.Ermcp3PaTradeLink": {
  21845. "type": "object",
  21846. "properties": {
  21847. "accountid": {
  21848. "description": "期货账户代码 | 账号ID",
  21849. "type": "integer"
  21850. },
  21851. "agreeunit": {
  21852. "description": "合约乘数",
  21853. "type": "number"
  21854. },
  21855. "buyorsell": {
  21856. "description": "方向 - 0:买 1:卖",
  21857. "type": "integer"
  21858. },
  21859. "channelbuildtype": {
  21860. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21861. "type": "integer"
  21862. },
  21863. "charge": {
  21864. "description": "手续费",
  21865. "type": "number"
  21866. },
  21867. "closepl": {
  21868. "description": "平仓盈亏",
  21869. "type": "number"
  21870. },
  21871. "closetype": {
  21872. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  21873. "type": "integer"
  21874. },
  21875. "convertratio": {
  21876. "description": "折算系数",
  21877. "type": "number"
  21878. },
  21879. "enumdicname": {
  21880. "description": "单位名称",
  21881. "type": "string"
  21882. },
  21883. "executeprice": {
  21884. "description": "执行价 [期权]",
  21885. "type": "integer"
  21886. },
  21887. "goodscode": {
  21888. "description": "合约代码",
  21889. "type": "string"
  21890. },
  21891. "goodsgroupid": {
  21892. "description": "对冲品种ID[期货合约商品组ID]",
  21893. "type": "integer"
  21894. },
  21895. "goodsid": {
  21896. "description": "商品ID",
  21897. "type": "integer"
  21898. },
  21899. "goodsname": {
  21900. "description": "合约名称",
  21901. "type": "string"
  21902. },
  21903. "goodunitid": {
  21904. "description": "单位id",
  21905. "type": "integer"
  21906. },
  21907. "hedgeflag": {
  21908. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  21909. "type": "integer"
  21910. },
  21911. "marketid": {
  21912. "description": "市场ID",
  21913. "type": "integer"
  21914. },
  21915. "middlegoodsid": {
  21916. "description": "套保品种ID",
  21917. "type": "integer"
  21918. },
  21919. "middlegoodsqty": {
  21920. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  21921. "type": "number"
  21922. },
  21923. "optioncode": {
  21924. "description": "期权代码 [期权]",
  21925. "type": "string"
  21926. },
  21927. "ordertype": {
  21928. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  21929. "type": "integer"
  21930. },
  21931. "ordertypename": {
  21932. "description": "订单类型",
  21933. "type": "string"
  21934. },
  21935. "parentaccountid": {
  21936. "description": "所属母账户",
  21937. "type": "integer"
  21938. },
  21939. "premium": {
  21940. "description": "权利金 [期权]",
  21941. "type": "number"
  21942. },
  21943. "relatedlot": {
  21944. "description": "已关联数量(已关联数量手) | db:关联手数",
  21945. "type": "number"
  21946. },
  21947. "relatedouttradeid": {
  21948. "description": "关联外部成交单ID",
  21949. "type": "string"
  21950. },
  21951. "relatedqty": {
  21952. "description": "关联数量",
  21953. "type": "number"
  21954. },
  21955. "spotcontractid": {
  21956. "description": "现货合同ID [4:套期保值\\10\\11]",
  21957. "type": "string"
  21958. },
  21959. "taname": {
  21960. "description": "期货账户名称",
  21961. "type": "string"
  21962. },
  21963. "tradeamount": {
  21964. "description": "成交金额(账户)",
  21965. "type": "number"
  21966. },
  21967. "tradedate": {
  21968. "description": "交易日(yyyyMMdd)",
  21969. "type": "string"
  21970. },
  21971. "tradeid": {
  21972. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21973. "type": "string"
  21974. },
  21975. "tradelot": {
  21976. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  21977. "type": "integer"
  21978. },
  21979. "tradeprice": {
  21980. "description": "成交价格",
  21981. "type": "number"
  21982. },
  21983. "tradetime": {
  21984. "description": "时间 | db:成交时间",
  21985. "type": "string"
  21986. },
  21987. "tradetype": {
  21988. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  21989. "type": "integer"
  21990. },
  21991. "userid": {
  21992. "description": "所属机构 - 所属母账户的UserID",
  21993. "type": "string"
  21994. },
  21995. "username": {
  21996. "description": "用户名称",
  21997. "type": "string"
  21998. }
  21999. }
  22000. },
  22001. "models.Ermcp3ParamChangeApp": {
  22002. "type": "object",
  22003. "properties": {
  22004. "aftervalue": {
  22005. "description": "变更后",
  22006. "type": "number"
  22007. },
  22008. "applicationid": {
  22009. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  22010. "type": "string"
  22011. },
  22012. "applyid": {
  22013. "description": "申请人",
  22014. "type": "string"
  22015. },
  22016. "applyname": {
  22017. "description": "申请人名称(代码)",
  22018. "type": "string"
  22019. },
  22020. "applyremark": {
  22021. "description": "申请备注",
  22022. "type": "string"
  22023. },
  22024. "applysrc": {
  22025. "description": "申请来源 - 1:管理端 2:终端",
  22026. "type": "integer"
  22027. },
  22028. "applystatus": {
  22029. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22030. "type": "integer"
  22031. },
  22032. "applytime": {
  22033. "description": "申请时间",
  22034. "type": "string"
  22035. },
  22036. "areauserid": {
  22037. "description": "所属机构用户ID",
  22038. "type": "integer"
  22039. },
  22040. "auditid": {
  22041. "description": "审核人",
  22042. "type": "string"
  22043. },
  22044. "auditname": {
  22045. "description": "审核人名称(代码)",
  22046. "type": "string"
  22047. },
  22048. "auditremark": {
  22049. "description": "审核备注",
  22050. "type": "string"
  22051. },
  22052. "auditsrc": {
  22053. "description": "审核来源 - 1:管理端 2:终端",
  22054. "type": "integer"
  22055. },
  22056. "audittime": {
  22057. "description": "审核时间",
  22058. "type": "string"
  22059. },
  22060. "audittradedate": {
  22061. "description": "审核交易日(yyyyMMdd)",
  22062. "type": "string"
  22063. },
  22064. "beforevalue": {
  22065. "description": "变更前",
  22066. "type": "number"
  22067. },
  22068. "deliverygoodscode": {
  22069. "description": "品种代码",
  22070. "type": "string"
  22071. },
  22072. "deliverygoodsid": {
  22073. "description": "品种id",
  22074. "type": "integer"
  22075. },
  22076. "deliverygoodsname": {
  22077. "description": "品种名称",
  22078. "type": "string"
  22079. },
  22080. "middlegoodscode": {
  22081. "description": "套保品种代码",
  22082. "type": "string"
  22083. },
  22084. "middlegoodsid": {
  22085. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  22086. "type": "integer"
  22087. },
  22088. "middlegoodsname": {
  22089. "description": "套保品种名称",
  22090. "type": "string"
  22091. },
  22092. "operatetype": {
  22093. "description": "操作类型 - 1:新增 2:修改",
  22094. "type": "integer"
  22095. },
  22096. "paramchangetype": {
  22097. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  22098. "type": "integer"
  22099. },
  22100. "wrstandardcode": {
  22101. "description": "现货商品代码",
  22102. "type": "string"
  22103. },
  22104. "wrstandardid": {
  22105. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  22106. "type": "integer"
  22107. },
  22108. "wrstandardname": {
  22109. "description": "现货商品名称",
  22110. "type": "string"
  22111. }
  22112. }
  22113. },
  22114. "models.Ermcp3RootUserAccount": {
  22115. "type": "object",
  22116. "properties": {
  22117. "accountname": {
  22118. "description": "账户名称(机构名称)",
  22119. "type": "string"
  22120. },
  22121. "accountstatus": {
  22122. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  22123. "type": "integer"
  22124. },
  22125. "applysrc": {
  22126. "description": "申请来源 - 1:管理端 2:终端",
  22127. "type": "integer"
  22128. },
  22129. "auditremark": {
  22130. "description": "审核备注",
  22131. "type": "string"
  22132. },
  22133. "auditsrc": {
  22134. "description": "审核来源 - 1:管理端 2:终端",
  22135. "type": "integer"
  22136. },
  22137. "audittime": {
  22138. "description": "审核时间",
  22139. "type": "string"
  22140. },
  22141. "audituserid": {
  22142. "description": "审核人",
  22143. "type": "integer"
  22144. },
  22145. "broker": {
  22146. "description": "所属经纪人ID",
  22147. "type": "integer"
  22148. },
  22149. "canceltime": {
  22150. "description": "销户时间",
  22151. "type": "string"
  22152. },
  22153. "canceluserid": {
  22154. "description": "销户人",
  22155. "type": "integer"
  22156. },
  22157. "canrecommend": {
  22158. "description": "是否可推荐 - 0:不可 1;可",
  22159. "type": "integer"
  22160. },
  22161. "createtime": {
  22162. "description": "创建时间",
  22163. "type": "string"
  22164. },
  22165. "creatorid": {
  22166. "description": "创建人",
  22167. "type": "integer"
  22168. },
  22169. "hasauth": {
  22170. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22171. "type": "integer"
  22172. },
  22173. "isanonymous": {
  22174. "description": "是否匿名下单 - 0:否 1:是",
  22175. "type": "integer"
  22176. },
  22177. "maxinvestornum": {
  22178. "description": "最大用户数(经纪会员下投资者个数)",
  22179. "type": "integer"
  22180. },
  22181. "memberuserid": {
  22182. "description": "所属会员ID",
  22183. "type": "integer"
  22184. },
  22185. "modifierid": {
  22186. "description": "修改人",
  22187. "type": "integer"
  22188. },
  22189. "modifyremark": {
  22190. "description": "变更备注",
  22191. "type": "string"
  22192. },
  22193. "modifystatus": {
  22194. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22195. "type": "integer"
  22196. },
  22197. "modifytime": {
  22198. "description": "修改时间",
  22199. "type": "string"
  22200. },
  22201. "parenttopuser": {
  22202. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  22203. "type": "string"
  22204. },
  22205. "parentuserid": {
  22206. "description": "所属机构ID",
  22207. "type": "integer"
  22208. },
  22209. "reckonaccountid": {
  22210. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22211. "type": "integer"
  22212. },
  22213. "refercount": {
  22214. "description": "推荐总人数",
  22215. "type": "integer"
  22216. },
  22217. "refereeuserid": {
  22218. "description": "推荐人ID",
  22219. "type": "integer"
  22220. },
  22221. "refernum": {
  22222. "description": "推荐码",
  22223. "type": "string"
  22224. },
  22225. "rootuserid": {
  22226. "description": "根用户ID",
  22227. "type": "integer"
  22228. },
  22229. "subaccountlevel": {
  22230. "description": "子账户层数",
  22231. "type": "integer"
  22232. },
  22233. "subarealevelpath": {
  22234. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22235. "type": "string"
  22236. },
  22237. "userid": {
  22238. "description": "用户ID",
  22239. "type": "integer"
  22240. },
  22241. "usertype": {
  22242. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22243. "type": "integer"
  22244. }
  22245. }
  22246. },
  22247. "models.Ermcp3SCMiddleGoods": {
  22248. "type": "object",
  22249. "properties": {
  22250. "biztype": {
  22251. "description": "业务类型 1:套保 2:套利",
  22252. "type": "integer"
  22253. },
  22254. "contractno": {
  22255. "description": "合同编号",
  22256. "type": "string"
  22257. },
  22258. "contracttype": {
  22259. "description": "合同类型 1:采购 -1:销售",
  22260. "type": "integer"
  22261. },
  22262. "customername": {
  22263. "description": "对手手名称",
  22264. "type": "string"
  22265. },
  22266. "customeruserid": {
  22267. "description": "对手id",
  22268. "type": "integer"
  22269. },
  22270. "deliverygoodscode": {
  22271. "description": "现货品种代码",
  22272. "type": "string"
  22273. },
  22274. "deliverygoodsid": {
  22275. "description": "现货品种ID",
  22276. "type": "integer"
  22277. },
  22278. "deliverygoodsname": {
  22279. "description": "现货品种名称",
  22280. "type": "string"
  22281. },
  22282. "enumdicname": {
  22283. "description": "现货单位名称",
  22284. "type": "string"
  22285. },
  22286. "middlegoodsid": {
  22287. "description": "套保品种ID",
  22288. "type": "integer"
  22289. },
  22290. "middlegoodspricedqty3": {
  22291. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  22292. "type": "number"
  22293. },
  22294. "needhedgeratio": {
  22295. "description": "套保比例",
  22296. "type": "number"
  22297. },
  22298. "pricedqty": {
  22299. "description": "已定价量",
  22300. "type": "number"
  22301. },
  22302. "relatedmiddlegoodsqty": {
  22303. "description": "已关联量(套保品种)(期货)",
  22304. "type": "number"
  22305. },
  22306. "spotcontractid": {
  22307. "description": "合同编号",
  22308. "type": "string"
  22309. },
  22310. "unitid": {
  22311. "description": "现货单位id",
  22312. "type": "integer"
  22313. },
  22314. "userid": {
  22315. "description": "用户id",
  22316. "type": "integer"
  22317. },
  22318. "vatrate": {
  22319. "description": "增值税率",
  22320. "type": "number"
  22321. },
  22322. "wrstandardcode": {
  22323. "description": "现货商品代码",
  22324. "type": "string"
  22325. },
  22326. "wrstandardid": {
  22327. "description": "现货商品id",
  22328. "type": "integer"
  22329. },
  22330. "wrstandardname": {
  22331. "description": "现货商品名称",
  22332. "type": "string"
  22333. }
  22334. }
  22335. },
  22336. "models.Ermcp3SCMiddleGoodsReport": {
  22337. "type": "object",
  22338. "properties": {
  22339. "begindate": {
  22340. "description": "开始交易日",
  22341. "type": "string"
  22342. },
  22343. "contractno": {
  22344. "description": "合同编号",
  22345. "type": "string"
  22346. },
  22347. "contracttype": {
  22348. "description": "合同类型 1:采购 -1:销售",
  22349. "type": "integer"
  22350. },
  22351. "convertratio": {
  22352. "description": "折算系数",
  22353. "type": "number"
  22354. },
  22355. "cycletime": {
  22356. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22357. "type": "string"
  22358. },
  22359. "cycletype": {
  22360. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22361. "type": "integer"
  22362. },
  22363. "deliverygoodscode": {
  22364. "description": "品种代码",
  22365. "type": "string"
  22366. },
  22367. "deliverygoodsid": {
  22368. "description": "现货品种ID",
  22369. "type": "integer"
  22370. },
  22371. "deliverygoodsname": {
  22372. "description": "品种名称",
  22373. "type": "string"
  22374. },
  22375. "diffprice": {
  22376. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  22377. "type": "number"
  22378. },
  22379. "diffqty": {
  22380. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  22381. "type": "number"
  22382. },
  22383. "enddate": {
  22384. "description": "结束交易日",
  22385. "type": "string"
  22386. },
  22387. "hedgeplanqty": {
  22388. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  22389. "type": "number"
  22390. },
  22391. "matchname": {
  22392. "description": "交易对手方(个人:用户名称 企业:简称)",
  22393. "type": "string"
  22394. },
  22395. "middlegoodscode": {
  22396. "description": "套保品种代码",
  22397. "type": "string"
  22398. },
  22399. "middlegoodsid": {
  22400. "description": "套保品种ID",
  22401. "type": "integer"
  22402. },
  22403. "middlegoodsname": {
  22404. "description": "套保品种名称",
  22405. "type": "string"
  22406. },
  22407. "middlegoodspricedqty": {
  22408. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  22409. "type": "number"
  22410. },
  22411. "middlegoodspricedqty2": {
  22412. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  22413. "type": "number"
  22414. },
  22415. "middlegoodspricedqty3": {
  22416. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  22417. "type": "number"
  22418. },
  22419. "needhedgeratio": {
  22420. "description": "套保系数",
  22421. "type": "number"
  22422. },
  22423. "pricedamount": {
  22424. "description": "已定价额(现货)",
  22425. "type": "number"
  22426. },
  22427. "pricedamount2": {
  22428. "description": "已定价额(现货-基价额)",
  22429. "type": "number"
  22430. },
  22431. "pricedqty": {
  22432. "description": "已定价量(现货)",
  22433. "type": "number"
  22434. },
  22435. "reckondate": {
  22436. "description": "日照时期(yyyyMMdd)",
  22437. "type": "string"
  22438. },
  22439. "relatedmiddlegoodsamount": {
  22440. "description": "已关联额(期货)",
  22441. "type": "number"
  22442. },
  22443. "relatedmiddlegoodsqty": {
  22444. "description": "已关联量(套保品种)(期货)",
  22445. "type": "number"
  22446. },
  22447. "spotcontractid": {
  22448. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22449. "type": "string"
  22450. },
  22451. "todayavgfutuprice": {
  22452. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /TodayRelatedMiddleGoodsQty",
  22453. "type": "number"
  22454. },
  22455. "todayavgprice": {
  22456. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  22457. "type": "number"
  22458. },
  22459. "todayavgprice2": {
  22460. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  22461. "type": "number"
  22462. },
  22463. "todaypricedamount": {
  22464. "description": "今日定价额(现货)",
  22465. "type": "number"
  22466. },
  22467. "todaypricedamount2": {
  22468. "description": "今日定价额(现货-基价额)",
  22469. "type": "number"
  22470. },
  22471. "todaypricedqty": {
  22472. "description": "今日定价量(现货)",
  22473. "type": "number"
  22474. },
  22475. "todayrelatedmiddlegoodsamount": {
  22476. "description": "今日关联额(期货)",
  22477. "type": "number"
  22478. },
  22479. "todayrelatedmiddlegoodsqty": {
  22480. "description": "今日关联量(期货)",
  22481. "type": "number"
  22482. },
  22483. "updatetime": {
  22484. "description": "更新时间",
  22485. "type": "string"
  22486. },
  22487. "userid": {
  22488. "description": "合同所属用户id",
  22489. "type": "integer"
  22490. },
  22491. "vatrate": {
  22492. "description": "增值税率",
  22493. "type": "number"
  22494. },
  22495. "wrstandardcode": {
  22496. "description": "商品(品类) 代码",
  22497. "type": "string"
  22498. },
  22499. "wrstandardid": {
  22500. "description": "现货商品ID",
  22501. "type": "integer"
  22502. },
  22503. "wrstandardname": {
  22504. "description": "商品(品类) 名称",
  22505. "type": "string"
  22506. }
  22507. }
  22508. },
  22509. "models.Ermcp3SellBuyContract": {
  22510. "type": "object",
  22511. "properties": {
  22512. "accountid": {
  22513. "description": "期货账户id",
  22514. "type": "string"
  22515. },
  22516. "accountname": {
  22517. "description": "账户名称",
  22518. "type": "string"
  22519. },
  22520. "attachment": {
  22521. "description": "附件",
  22522. "type": "string"
  22523. },
  22524. "audittime": {
  22525. "description": "审核时间",
  22526. "type": "string"
  22527. },
  22528. "biztype": {
  22529. "description": "业务类型 1-套保 2-套利",
  22530. "type": "integer"
  22531. },
  22532. "brandname": {
  22533. "description": "品牌名称",
  22534. "type": "string"
  22535. },
  22536. "contracctstatus": {
  22537. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22538. "type": "integer"
  22539. },
  22540. "contractmargin": {
  22541. "description": "合同保证金",
  22542. "type": "number"
  22543. },
  22544. "contractno": {
  22545. "description": "合同编号",
  22546. "type": "string"
  22547. },
  22548. "contracttype": {
  22549. "description": "合同类型 1-采购, -1-销售",
  22550. "type": "integer"
  22551. },
  22552. "convertfactor": {
  22553. "description": "标仓系数(品类)",
  22554. "type": "number"
  22555. },
  22556. "createtime": {
  22557. "description": "创建时间",
  22558. "type": "string"
  22559. },
  22560. "currencyid": {
  22561. "description": "币种id",
  22562. "type": "integer"
  22563. },
  22564. "currencyname": {
  22565. "description": "币种名称",
  22566. "type": "string"
  22567. },
  22568. "daikaiamount": {
  22569. "description": "应收(开)票额",
  22570. "type": "number"
  22571. },
  22572. "deliveryenddate": {
  22573. "description": "交割结束日",
  22574. "type": "string"
  22575. },
  22576. "deliverygoodscode": {
  22577. "description": "现货品种代码",
  22578. "type": "string"
  22579. },
  22580. "deliverygoodsid": {
  22581. "description": "现货商品ID",
  22582. "type": "integer"
  22583. },
  22584. "deliverygoodsname": {
  22585. "description": "现货品种名称",
  22586. "type": "string"
  22587. },
  22588. "deliverystartdate": {
  22589. "description": "交割开始日",
  22590. "type": "string"
  22591. },
  22592. "enddate": {
  22593. "description": "点价结束日",
  22594. "type": "string"
  22595. },
  22596. "enumdicname": {
  22597. "description": "单位名称",
  22598. "type": "string"
  22599. },
  22600. "goodscode": {
  22601. "description": "点价商品代码",
  22602. "type": "string"
  22603. },
  22604. "goodsid": {
  22605. "description": "点价商品ID",
  22606. "type": "integer"
  22607. },
  22608. "goodsname": {
  22609. "description": "点价商品名称",
  22610. "type": "string"
  22611. },
  22612. "invoiceamount": {
  22613. "description": "已开票额",
  22614. "type": "number"
  22615. },
  22616. "loanamount": {
  22617. "description": "贷款总额=已定价额+调整金额",
  22618. "type": "number"
  22619. },
  22620. "margin": {
  22621. "description": "保证金",
  22622. "type": "number"
  22623. },
  22624. "meruserid": {
  22625. "description": "跟单员id",
  22626. "type": "integer"
  22627. },
  22628. "meruserlogincode": {
  22629. "description": "跟单员登录代码",
  22630. "type": "string"
  22631. },
  22632. "merusername": {
  22633. "description": "跟单员名称",
  22634. "type": "string"
  22635. },
  22636. "nickname": {
  22637. "description": "账户昵称",
  22638. "type": "string"
  22639. },
  22640. "payamount": {
  22641. "description": "已收付额(收款或付款)",
  22642. "type": "number"
  22643. },
  22644. "preinvoiceamount": {
  22645. "description": "预收(开)票额",
  22646. "type": "number"
  22647. },
  22648. "prepayamount": {
  22649. "description": "预收付额",
  22650. "type": "number"
  22651. },
  22652. "price": {
  22653. "description": "价格",
  22654. "type": "number"
  22655. },
  22656. "pricedamount": {
  22657. "description": "已定价额",
  22658. "type": "number"
  22659. },
  22660. "pricedavg": {
  22661. "description": "已点均价",
  22662. "type": "number"
  22663. },
  22664. "pricedqty": {
  22665. "description": "已定价量",
  22666. "type": "number"
  22667. },
  22668. "pricemove": {
  22669. "description": "升贴水",
  22670. "type": "number"
  22671. },
  22672. "pricetype": {
  22673. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22674. "type": "integer"
  22675. },
  22676. "producttype": {
  22677. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22678. "type": "integer"
  22679. },
  22680. "qty": {
  22681. "description": "合同量",
  22682. "type": "number"
  22683. },
  22684. "reckonadjustamount": {
  22685. "description": "调整金额",
  22686. "type": "number"
  22687. },
  22688. "reckonedamount": {
  22689. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  22690. "type": "number"
  22691. },
  22692. "reckonotheramount": {
  22693. "description": "其它费用",
  22694. "type": "number"
  22695. },
  22696. "reckonrealqty": {
  22697. "description": "已确定量",
  22698. "type": "number"
  22699. },
  22700. "remark": {
  22701. "description": "备注",
  22702. "type": "string"
  22703. },
  22704. "saleuserid": {
  22705. "description": "业务员id",
  22706. "type": "integer"
  22707. },
  22708. "saleuserlogincode": {
  22709. "description": "业务员登录代码",
  22710. "type": "string"
  22711. },
  22712. "saleusername": {
  22713. "description": "业务员名称",
  22714. "type": "string"
  22715. },
  22716. "spotcontractid": {
  22717. "description": "合同ID",
  22718. "type": "string"
  22719. },
  22720. "spotgoodsbrandid": {
  22721. "description": "现货品牌ID(DGFactoryItem表的ID)",
  22722. "type": "integer"
  22723. },
  22724. "spotgoodsdesc": {
  22725. "description": "商品型号(商品规格)",
  22726. "type": "string"
  22727. },
  22728. "startdate": {
  22729. "description": "点价开始日",
  22730. "type": "string"
  22731. },
  22732. "subjectid": {
  22733. "description": "交易主体ID",
  22734. "type": "string"
  22735. },
  22736. "subjectname": {
  22737. "description": "交易主体名称",
  22738. "type": "string"
  22739. },
  22740. "totalamount": {
  22741. "description": "合计总额",
  22742. "type": "number"
  22743. },
  22744. "tradeuserid": {
  22745. "description": "交易员id",
  22746. "type": "integer"
  22747. },
  22748. "tradeuserlogincode": {
  22749. "description": "交易员登录代码",
  22750. "type": "string"
  22751. },
  22752. "tradeusername": {
  22753. "description": "交易员名称",
  22754. "type": "string"
  22755. },
  22756. "unpayamount": {
  22757. "description": "应收付款额(应支付或应收款)",
  22758. "type": "number"
  22759. },
  22760. "unpricedqty": {
  22761. "description": "未定价量",
  22762. "type": "number"
  22763. },
  22764. "unsureqty": {
  22765. "description": "未确定量",
  22766. "type": "number"
  22767. },
  22768. "userid": {
  22769. "description": "机构ID",
  22770. "type": "integer"
  22771. },
  22772. "vatrate": {
  22773. "description": "增值税率",
  22774. "type": "number"
  22775. },
  22776. "wrstandardcode": {
  22777. "description": "品类代码",
  22778. "type": "string"
  22779. },
  22780. "wrstandardid": {
  22781. "description": "品类ID",
  22782. "type": "integer"
  22783. },
  22784. "wrstandardname": {
  22785. "description": "品类名称",
  22786. "type": "string"
  22787. }
  22788. }
  22789. },
  22790. "models.Ermcp3SpotGoodsPrice": {
  22791. "type": "object",
  22792. "properties": {
  22793. "areauserid": {
  22794. "description": "所属机构id",
  22795. "type": "integer"
  22796. },
  22797. "brandname": {
  22798. "description": "品牌名称",
  22799. "type": "string"
  22800. },
  22801. "currencyid": {
  22802. "description": "报价货币ID",
  22803. "type": "integer"
  22804. },
  22805. "currencyname": {
  22806. "description": "币种名称",
  22807. "type": "string"
  22808. },
  22809. "deliverygoodscode": {
  22810. "description": "现货商品代码",
  22811. "type": "string"
  22812. },
  22813. "deliverygoodsid": {
  22814. "description": "现货商品id",
  22815. "type": "integer"
  22816. },
  22817. "deliverygoodsname": {
  22818. "description": "现货商品名称",
  22819. "type": "string"
  22820. },
  22821. "enumdicname": {
  22822. "description": "现货商品单位名称",
  22823. "type": "string"
  22824. },
  22825. "gbenumdicname": {
  22826. "description": "品类单位名称",
  22827. "type": "string"
  22828. },
  22829. "gmunitid": {
  22830. "description": "品类单位id",
  22831. "type": "integer"
  22832. },
  22833. "isvalid": {
  22834. "description": "是否有效 - 0:无效 1:有效",
  22835. "type": "integer"
  22836. },
  22837. "operateid": {
  22838. "description": "最后操作人",
  22839. "type": "integer"
  22840. },
  22841. "operatesrc": {
  22842. "description": "最后操作来源 - 1:管理端 2:终端",
  22843. "type": "integer"
  22844. },
  22845. "operatetime": {
  22846. "description": "最后操作时间",
  22847. "type": "string"
  22848. },
  22849. "operatorname": {
  22850. "description": "操作人名称",
  22851. "type": "string"
  22852. },
  22853. "spotgoodsbrandid": {
  22854. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  22855. "type": "integer"
  22856. },
  22857. "spotgoodsprice": {
  22858. "description": "现货价格",
  22859. "type": "number"
  22860. },
  22861. "tradedate": {
  22862. "description": "交易日(yyyyMMdd)",
  22863. "type": "string"
  22864. },
  22865. "unitid": {
  22866. "description": "现货商品单位id",
  22867. "type": "integer"
  22868. },
  22869. "wrstandardcode": {
  22870. "description": "品类代码",
  22871. "type": "string"
  22872. },
  22873. "wrstandardid": {
  22874. "description": "现货品类ID(通用则为0)",
  22875. "type": "integer"
  22876. },
  22877. "wrstandardname": {
  22878. "description": "品类名称",
  22879. "type": "string"
  22880. }
  22881. }
  22882. },
  22883. "models.Ermcp3SpotGoodsPriceLog": {
  22884. "type": "object",
  22885. "properties": {
  22886. "areauserid": {
  22887. "description": "所属机构id",
  22888. "type": "integer"
  22889. },
  22890. "brandname": {
  22891. "description": "品牌名称",
  22892. "type": "string"
  22893. },
  22894. "currencyid": {
  22895. "description": "报价货币ID",
  22896. "type": "integer"
  22897. },
  22898. "deliverygoodscode": {
  22899. "description": "现货商品代码",
  22900. "type": "string"
  22901. },
  22902. "deliverygoodsid": {
  22903. "description": "现货商品id",
  22904. "type": "integer"
  22905. },
  22906. "deliverygoodsname": {
  22907. "description": "现货商品名称",
  22908. "type": "string"
  22909. },
  22910. "enumdicname": {
  22911. "description": "现货商品单位名称",
  22912. "type": "string"
  22913. },
  22914. "gbenumdicname": {
  22915. "description": "品类单位名称",
  22916. "type": "string"
  22917. },
  22918. "gmunitid": {
  22919. "description": "品类单位id",
  22920. "type": "integer"
  22921. },
  22922. "logid": {
  22923. "description": "日志id",
  22924. "type": "integer"
  22925. },
  22926. "operateid": {
  22927. "description": "最后操作人",
  22928. "type": "integer"
  22929. },
  22930. "operatesrc": {
  22931. "description": "最后操作来源 - 1:管理端 2:终端",
  22932. "type": "integer"
  22933. },
  22934. "operatetime": {
  22935. "description": "最后操作时间",
  22936. "type": "string"
  22937. },
  22938. "operatorname": {
  22939. "description": "操作人名称",
  22940. "type": "string"
  22941. },
  22942. "spotgoodsbrandid": {
  22943. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  22944. "type": "integer"
  22945. },
  22946. "spotgoodsprice": {
  22947. "description": "现货价格",
  22948. "type": "number"
  22949. },
  22950. "tradedate": {
  22951. "description": "交易日(yyyyMMdd)",
  22952. "type": "string"
  22953. },
  22954. "unitid": {
  22955. "description": "现货商品单位id",
  22956. "type": "integer"
  22957. },
  22958. "wrstandardcode": {
  22959. "description": "品类代码",
  22960. "type": "string"
  22961. },
  22962. "wrstandardid": {
  22963. "description": "现货品类ID(通用则为0)",
  22964. "type": "integer"
  22965. },
  22966. "wrstandardname": {
  22967. "description": "品类名称",
  22968. "type": "string"
  22969. }
  22970. }
  22971. },
  22972. "models.Ermcp3SubTaaccount": {
  22973. "type": "object",
  22974. "properties": {
  22975. "accountid": {
  22976. "description": "资金账户ID",
  22977. "type": "integer"
  22978. },
  22979. "parentaccountcode": {
  22980. "description": "所属根账号代码(母账号代码)",
  22981. "type": "string"
  22982. },
  22983. "parentaccountid": {
  22984. "description": "所属根账号(母账号)",
  22985. "type": "integer"
  22986. },
  22987. "taname": {
  22988. "description": "资金账号名称",
  22989. "type": "string"
  22990. },
  22991. "tradestatus": {
  22992. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  22993. "type": "integer"
  22994. },
  22995. "username": {
  22996. "description": "交易用户",
  22997. "type": "string"
  22998. }
  22999. }
  23000. },
  23001. "models.Ermcp3TaFutuReDataReport": {
  23002. "type": "object",
  23003. "properties": {
  23004. "accountid": {
  23005. "description": "交易账户",
  23006. "type": "integer"
  23007. },
  23008. "accountname": {
  23009. "description": "交易账号名称",
  23010. "type": "string"
  23011. },
  23012. "agreeunit": {
  23013. "description": "商品合约单位",
  23014. "type": "number"
  23015. },
  23016. "begindate": {
  23017. "description": "开始交易日",
  23018. "type": "string"
  23019. },
  23020. "buyorsell": {
  23021. "description": "持仓方向",
  23022. "type": "integer"
  23023. },
  23024. "charge": {
  23025. "description": "手续费",
  23026. "type": "number"
  23027. },
  23028. "closeavgprice": {
  23029. "description": "平仓均价",
  23030. "type": "number"
  23031. },
  23032. "closepl": {
  23033. "description": "平仓损益",
  23034. "type": "number"
  23035. },
  23036. "currencyid": {
  23037. "description": "结算币种ID",
  23038. "type": "integer"
  23039. },
  23040. "currencyname": {
  23041. "description": "币种名称",
  23042. "type": "string"
  23043. },
  23044. "cycletime": {
  23045. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23046. "type": "string"
  23047. },
  23048. "cycletype": {
  23049. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23050. "type": "integer"
  23051. },
  23052. "enddate": {
  23053. "description": "结束交易日",
  23054. "type": "string"
  23055. },
  23056. "enumdicname": {
  23057. "description": "单位名称",
  23058. "type": "string"
  23059. },
  23060. "floatpl": {
  23061. "description": "浮动损益",
  23062. "type": "number"
  23063. },
  23064. "goodscode": {
  23065. "description": "交易合约代码",
  23066. "type": "string"
  23067. },
  23068. "goodsgroupid": {
  23069. "description": "交易品种",
  23070. "type": "integer"
  23071. },
  23072. "goodsgroupname": {
  23073. "description": "交易品种名称",
  23074. "type": "string"
  23075. },
  23076. "goodsgroupspotqty": {
  23077. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  23078. "type": "number"
  23079. },
  23080. "goodsid": {
  23081. "description": "交易合约",
  23082. "type": "integer"
  23083. },
  23084. "goodsname": {
  23085. "description": "交易合约名称",
  23086. "type": "string"
  23087. },
  23088. "goodunitid": {
  23089. "description": "交易合约单位id",
  23090. "type": "integer"
  23091. },
  23092. "holdamount": {
  23093. "description": "期末持仓额",
  23094. "type": "number"
  23095. },
  23096. "holdqty": {
  23097. "description": "期末持仓量",
  23098. "type": "number"
  23099. },
  23100. "lastholdamount": {
  23101. "description": "当前持仓额",
  23102. "type": "number"
  23103. },
  23104. "lastprice": {
  23105. "description": "最新价",
  23106. "type": "number"
  23107. },
  23108. "middlegoodsid": {
  23109. "description": "套保品种id",
  23110. "type": "integer"
  23111. },
  23112. "middlegoodsname": {
  23113. "description": "套保商品名称",
  23114. "type": "string"
  23115. },
  23116. "middlegoodsqty": {
  23117. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  23118. "type": "number"
  23119. },
  23120. "middlgoodscode": {
  23121. "description": "套保商品代码",
  23122. "type": "string"
  23123. },
  23124. "openamount": {
  23125. "description": "期末开仓额",
  23126. "type": "number"
  23127. },
  23128. "openavgprice": {
  23129. "description": "开仓均价",
  23130. "type": "number"
  23131. },
  23132. "oriholdamount": {
  23133. "description": "期初持仓额",
  23134. "type": "number"
  23135. },
  23136. "oriholdqty": {
  23137. "description": "期初持仓量",
  23138. "type": "number"
  23139. },
  23140. "oriopenamount": {
  23141. "description": "期初开仓额",
  23142. "type": "number"
  23143. },
  23144. "outergroupcode": {
  23145. "description": "交易品种代码",
  23146. "type": "string"
  23147. },
  23148. "qtydecimalplace": {
  23149. "description": "成交量小数位",
  23150. "type": "integer"
  23151. },
  23152. "reckondate": {
  23153. "description": "日照时期(yyyyMMdd)",
  23154. "type": "string"
  23155. },
  23156. "reckonholdamount": {
  23157. "description": "结算持仓额",
  23158. "type": "number"
  23159. },
  23160. "reckonpl": {
  23161. "description": "结算损益",
  23162. "type": "number"
  23163. },
  23164. "reckonpl2": {
  23165. "description": "结算逐笔盈亏",
  23166. "type": "number"
  23167. },
  23168. "reckonprice": {
  23169. "description": "结算价",
  23170. "type": "number"
  23171. },
  23172. "relateduserid": {
  23173. "description": "账户关联用户ID",
  23174. "type": "integer"
  23175. },
  23176. "todaycloseamount": {
  23177. "description": "今平仓额",
  23178. "type": "number"
  23179. },
  23180. "todaycloseqty": {
  23181. "description": "今平仓量",
  23182. "type": "number"
  23183. },
  23184. "todaygoodsgroupspotqty": {
  23185. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  23186. "type": "number"
  23187. },
  23188. "todaymiddlegoodsqty": {
  23189. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  23190. "type": "number"
  23191. },
  23192. "todayopenamount": {
  23193. "description": "今开仓额",
  23194. "type": "number"
  23195. },
  23196. "todayopenqty": {
  23197. "description": "今开仓量",
  23198. "type": "number"
  23199. },
  23200. "userid": {
  23201. "description": "账户所属用户ID",
  23202. "type": "integer"
  23203. }
  23204. }
  23205. },
  23206. "models.Ermcp3TradeLinkDetail": {
  23207. "type": "object",
  23208. "properties": {
  23209. "accountid": {
  23210. "description": "资金账号",
  23211. "type": "integer"
  23212. },
  23213. "agreeunit": {
  23214. "description": "合约乘数",
  23215. "type": "number"
  23216. },
  23217. "areauserid": {
  23218. "description": "所属机构",
  23219. "type": "string"
  23220. },
  23221. "bizsubjectid": {
  23222. "description": "归属业务部门ID - SubjectID",
  23223. "type": "string"
  23224. },
  23225. "buyorsell": {
  23226. "description": "方向 - 0:买 1:卖",
  23227. "type": "integer"
  23228. },
  23229. "channelbuildtype": {
  23230. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23231. "type": "integer"
  23232. },
  23233. "contractno": {
  23234. "description": "现货编号 (合同编号)",
  23235. "type": "string"
  23236. },
  23237. "convertratio": {
  23238. "description": "折算系数",
  23239. "type": "number"
  23240. },
  23241. "createtime": {
  23242. "description": "关联时间 | 创建时间",
  23243. "type": "string"
  23244. },
  23245. "creatorid": {
  23246. "description": "创建人ID",
  23247. "type": "string"
  23248. },
  23249. "creatorsrc": {
  23250. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  23251. "type": "integer"
  23252. },
  23253. "enumdicname": {
  23254. "description": "单位名称",
  23255. "type": "string"
  23256. },
  23257. "goodscode": {
  23258. "description": "合约代码",
  23259. "type": "string"
  23260. },
  23261. "goodsgroupid": {
  23262. "description": "对冲品种ID[期货合约商品组ID]",
  23263. "type": "integer"
  23264. },
  23265. "goodsid": {
  23266. "description": "商品ID",
  23267. "type": "integer"
  23268. },
  23269. "goodsname": {
  23270. "description": "合约名称",
  23271. "type": "string"
  23272. },
  23273. "hedgeflag": {
  23274. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  23275. "type": "integer"
  23276. },
  23277. "linkdetailid": {
  23278. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  23279. "type": "string"
  23280. },
  23281. "linkstatus": {
  23282. "description": "关联状态 - 1:成功 2:失败",
  23283. "type": "integer"
  23284. },
  23285. "middlegoodscode": {
  23286. "description": "套保品种代码",
  23287. "type": "string"
  23288. },
  23289. "middlegoodsid": {
  23290. "description": "套保品种ID",
  23291. "type": "integer"
  23292. },
  23293. "middlegoodsname": {
  23294. "description": "套保品种名称",
  23295. "type": "string"
  23296. },
  23297. "relatedlot": {
  23298. "description": "关联手数",
  23299. "type": "number"
  23300. },
  23301. "relatedmode": {
  23302. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  23303. "type": "integer"
  23304. },
  23305. "relatedqty": {
  23306. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  23307. "type": "number"
  23308. },
  23309. "retcode": {
  23310. "description": "返回码",
  23311. "type": "integer"
  23312. },
  23313. "saleuserid": {
  23314. "description": "业务员ID",
  23315. "type": "string"
  23316. },
  23317. "spotcontractid": {
  23318. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  23319. "type": "string"
  23320. },
  23321. "taname": {
  23322. "description": "期货账户",
  23323. "type": "string"
  23324. },
  23325. "tradedate": {
  23326. "description": "关联交易日(yyyyMMdd)",
  23327. "type": "string"
  23328. },
  23329. "tradeid": {
  23330. "description": "期货订单号 | 内部成交单ID",
  23331. "type": "string"
  23332. },
  23333. "tradelot": {
  23334. "description": "成交数量 | 成交手数",
  23335. "type": "integer"
  23336. },
  23337. "tradeprice": {
  23338. "description": "成交价格",
  23339. "type": "number"
  23340. },
  23341. "tradetime": {
  23342. "description": "期货成交时间",
  23343. "type": "string"
  23344. },
  23345. "tradetradedate": {
  23346. "description": "成交交易日(yyyyMMdd)",
  23347. "type": "string"
  23348. },
  23349. "username": {
  23350. "description": "用户名称",
  23351. "type": "string"
  23352. }
  23353. }
  23354. },
  23355. "models.Ermcp3Wrstandard": {
  23356. "type": "object",
  23357. "properties": {
  23358. "areauserid": {
  23359. "description": "所属机构",
  23360. "type": "integer"
  23361. },
  23362. "cantrade": {
  23363. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  23364. "type": "integer"
  23365. },
  23366. "convertfactor": {
  23367. "description": "标仓系数",
  23368. "type": "number"
  23369. },
  23370. "createtime": {
  23371. "description": "创建时间",
  23372. "type": "string"
  23373. },
  23374. "creatorid": {
  23375. "description": "创建人",
  23376. "type": "integer"
  23377. },
  23378. "deliverygoodsid": {
  23379. "description": "现货品种ID",
  23380. "type": "integer"
  23381. },
  23382. "enumdicname": {
  23383. "description": "品类单位名称",
  23384. "type": "string"
  23385. },
  23386. "isvalid": {
  23387. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  23388. "type": "integer"
  23389. },
  23390. "minivalue": {
  23391. "description": "最小变动值",
  23392. "type": "integer"
  23393. },
  23394. "minivaluedp": {
  23395. "description": "最小变动值小数位",
  23396. "type": "integer"
  23397. },
  23398. "realminivalue": {
  23399. "description": "实际最小变动值",
  23400. "type": "integer"
  23401. },
  23402. "realminivaluedp": {
  23403. "description": "实际最小变动值小数位",
  23404. "type": "integer"
  23405. },
  23406. "remark": {
  23407. "description": "备注",
  23408. "type": "string"
  23409. },
  23410. "unitid": {
  23411. "description": "品类单位ID",
  23412. "type": "integer"
  23413. },
  23414. "updatetime": {
  23415. "description": "更新时间",
  23416. "type": "string"
  23417. },
  23418. "wrstandardcode": {
  23419. "description": "品类代码",
  23420. "type": "string"
  23421. },
  23422. "wrstandardid": {
  23423. "description": "品类ID(SEQ_WRSTANDARD)",
  23424. "type": "integer"
  23425. },
  23426. "wrstandardname": {
  23427. "description": "品类名称",
  23428. "type": "string"
  23429. }
  23430. }
  23431. },
  23432. "models.ErmcpBizGroupEx": {
  23433. "type": "object",
  23434. "properties": {
  23435. "acclist": {
  23436. "description": "账号列表",
  23437. "type": "array",
  23438. "items": {
  23439. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  23440. }
  23441. },
  23442. "bizgroupid": {
  23443. "description": "业务分组id",
  23444. "type": "integer"
  23445. },
  23446. "biztype": {
  23447. "description": "业务类型 1-套保 2-套利",
  23448. "type": "integer"
  23449. },
  23450. "wrlist": {
  23451. "description": "现货商品表",
  23452. "type": "array",
  23453. "items": {
  23454. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  23455. }
  23456. }
  23457. }
  23458. },
  23459. "models.ErmcpBizGroupSpotGoods": {
  23460. "type": "object",
  23461. "properties": {
  23462. "areauserid": {
  23463. "description": "所属机构id",
  23464. "type": "integer"
  23465. },
  23466. "bizgroupid": {
  23467. "description": "分组id",
  23468. "type": "integer"
  23469. },
  23470. "biztype": {
  23471. "description": "业务类型 1-套保 2-套利",
  23472. "type": "integer"
  23473. },
  23474. "deliverygoodscode": {
  23475. "description": "现货商品代码",
  23476. "type": "string"
  23477. },
  23478. "deliverygoodsid": {
  23479. "description": "现货商品id",
  23480. "type": "integer"
  23481. },
  23482. "deliverygoodsname": {
  23483. "description": "现货商品名称",
  23484. "type": "string"
  23485. },
  23486. "unitid": {
  23487. "description": "现货商品单位id",
  23488. "type": "integer"
  23489. }
  23490. }
  23491. },
  23492. "models.ErmcpBizGroupTaAccount": {
  23493. "type": "object",
  23494. "properties": {
  23495. "accountid": {
  23496. "description": "账号id",
  23497. "type": "integer"
  23498. },
  23499. "accountname": {
  23500. "description": "账号名称",
  23501. "type": "string"
  23502. },
  23503. "areauserid": {
  23504. "description": "所属机构id",
  23505. "type": "integer"
  23506. },
  23507. "bizgroupid": {
  23508. "description": "业务分组id",
  23509. "type": "integer"
  23510. },
  23511. "ismain": {
  23512. "description": "是否主账号 1-是 0-否",
  23513. "type": "integer"
  23514. }
  23515. }
  23516. },
  23517. "models.ErmcpDGFactoryItem": {
  23518. "type": "object",
  23519. "properties": {
  23520. "areauserid": {
  23521. "description": "用户id",
  23522. "type": "integer"
  23523. },
  23524. "deliverygoodsid": {
  23525. "description": "现货品种ID",
  23526. "type": "integer"
  23527. },
  23528. "dgfactoryitemid": {
  23529. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  23530. "type": "integer"
  23531. },
  23532. "dgfactoryitemtypeid": {
  23533. "description": "要素项类型",
  23534. "type": "integer"
  23535. },
  23536. "dgfactoryitemvalue": {
  23537. "description": "要素项值(类型为仓库时填写仓库名称)",
  23538. "type": "string"
  23539. },
  23540. "isvalid": {
  23541. "description": "是否有效 - 0:无效 1:有效",
  23542. "type": "integer"
  23543. },
  23544. "orderindex": {
  23545. "description": "顺序",
  23546. "type": "integer"
  23547. },
  23548. "warehouseid": {
  23549. "description": "仓库ID(类型为仓库时填写)",
  23550. "type": "integer"
  23551. }
  23552. }
  23553. },
  23554. "models.ErmcpDeliveryGoods": {
  23555. "type": "object",
  23556. "properties": {
  23557. "agreeunit": {
  23558. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  23559. "type": "integer"
  23560. },
  23561. "areauserid": {
  23562. "description": "所属机构",
  23563. "type": "integer"
  23564. },
  23565. "auditflag": {
  23566. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  23567. "type": "integer"
  23568. },
  23569. "categoryid": {
  23570. "description": "类别ID(SEQ_WRCATEGORY)",
  23571. "type": "integer"
  23572. },
  23573. "deliverygoodscode": {
  23574. "description": "现货品种代码",
  23575. "type": "string"
  23576. },
  23577. "deliverygoodsid": {
  23578. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  23579. "type": "integer"
  23580. },
  23581. "deliverygoodsname": {
  23582. "description": "现货品种名称",
  23583. "type": "string"
  23584. },
  23585. "deliverygoodstype": {
  23586. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  23587. "type": "integer"
  23588. },
  23589. "dgstatus": {
  23590. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  23591. "type": "integer"
  23592. },
  23593. "enumdicname": {
  23594. "description": "现货品种单位名称",
  23595. "type": "string"
  23596. },
  23597. "goodsunitid": {
  23598. "description": "现货品种单位ID",
  23599. "type": "integer"
  23600. },
  23601. "isvalid": {
  23602. "description": "是否有效 - 0:无效 1:有效",
  23603. "type": "integer"
  23604. },
  23605. "qtydecimalplace": {
  23606. "description": "成交量小数位",
  23607. "type": "integer"
  23608. },
  23609. "remark": {
  23610. "description": "备注",
  23611. "type": "string"
  23612. },
  23613. "standardqty": {
  23614. "description": "标准数量(库位数量) [标准品特有]",
  23615. "type": "integer"
  23616. },
  23617. "standardqtyrange": {
  23618. "description": "标准数量偏差范围 [标准品特有]",
  23619. "type": "integer"
  23620. }
  23621. }
  23622. },
  23623. "models.ErmcpFuturesCompany": {
  23624. "type": "object",
  23625. "properties": {
  23626. "brokerid": {
  23627. "description": "经纪公司代码",
  23628. "type": "string"
  23629. },
  23630. "channeladdress": {
  23631. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  23632. "type": "string"
  23633. },
  23634. "channelid": {
  23635. "description": "对冲渠道ID",
  23636. "type": "string"
  23637. },
  23638. "createtime": {
  23639. "description": "创建时间",
  23640. "type": "string"
  23641. },
  23642. "creatorid": {
  23643. "description": "创建人",
  23644. "type": "string"
  23645. },
  23646. "fcid": {
  23647. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  23648. "type": "integer"
  23649. },
  23650. "fcname": {
  23651. "description": "期货公司名称",
  23652. "type": "string"
  23653. },
  23654. "isvalid": {
  23655. "description": "是否有效 - 0:无效 1:有效",
  23656. "type": "integer"
  23657. },
  23658. "mhpaddress": {
  23659. "description": "MHP服务地址(IP:Port)",
  23660. "type": "string"
  23661. },
  23662. "riskrulegroupid": {
  23663. "description": "风控规则组ID",
  23664. "type": "string"
  23665. },
  23666. "tradefeetmpid": {
  23667. "description": "手续费模板ID[TradeConfigTmpType为2]",
  23668. "type": "string"
  23669. },
  23670. "trademargintmpid": {
  23671. "description": "保证金模板ID [TradeConfigTmpType为1]",
  23672. "type": "string"
  23673. },
  23674. "traderatetmpid": {
  23675. "description": "汇率模板ID[TradeConfigTmpType为3]",
  23676. "type": "string"
  23677. },
  23678. "updatetime": {
  23679. "description": "更新时间",
  23680. "type": "string"
  23681. },
  23682. "updatorid": {
  23683. "description": "更新人",
  23684. "type": "string"
  23685. }
  23686. }
  23687. },
  23688. "models.ErmcpGGConvertCfg": {
  23689. "type": "object",
  23690. "properties": {
  23691. "convertratio": {
  23692. "description": "折算系数",
  23693. "type": "number"
  23694. },
  23695. "destgoodsgroupid": {
  23696. "description": "目标品种ID",
  23697. "type": "integer"
  23698. },
  23699. "dstcode": {
  23700. "description": "目录品种代码",
  23701. "type": "string"
  23702. },
  23703. "dstexchangecode": {
  23704. "description": "目标期货交易所",
  23705. "type": "string"
  23706. },
  23707. "dstname": {
  23708. "description": "目标品种名称",
  23709. "type": "string"
  23710. },
  23711. "dstunitid": {
  23712. "description": "目标品种单位ID",
  23713. "type": "integer"
  23714. },
  23715. "dstunitidname": {
  23716. "description": "目标品种单位名称",
  23717. "type": "string"
  23718. },
  23719. "modifytime": {
  23720. "description": "修改时间",
  23721. "type": "string"
  23722. },
  23723. "srccode": {
  23724. "description": "源品种代码",
  23725. "type": "string"
  23726. },
  23727. "srcexchangecode": {
  23728. "description": "源期货交易所",
  23729. "type": "string"
  23730. },
  23731. "srcgoodsgroupid": {
  23732. "description": "源品种ID",
  23733. "type": "integer"
  23734. },
  23735. "srcname": {
  23736. "description": "源品种名称",
  23737. "type": "string"
  23738. },
  23739. "srcunitid": {
  23740. "description": "源品种单位ID",
  23741. "type": "integer"
  23742. },
  23743. "srcunitidname": {
  23744. "description": "源品种单位名称",
  23745. "type": "string"
  23746. }
  23747. }
  23748. },
  23749. "models.ErmcpGoods": {
  23750. "type": "object",
  23751. "required": [
  23752. "goodscode",
  23753. "goodsid",
  23754. "goodsname",
  23755. "marketid"
  23756. ],
  23757. "properties": {
  23758. "agreeunit": {
  23759. "description": "合约单位",
  23760. "type": "number"
  23761. },
  23762. "areauserid": {
  23763. "description": "所属机构",
  23764. "type": "integer"
  23765. },
  23766. "auditaccountid": {
  23767. "description": "审核操作员账号",
  23768. "type": "integer"
  23769. },
  23770. "audittime": {
  23771. "description": "审核时间",
  23772. "type": "string"
  23773. },
  23774. "cancelaccountid": {
  23775. "description": "注销操作员账号",
  23776. "type": "integer"
  23777. },
  23778. "canceltime": {
  23779. "description": "注销时间",
  23780. "type": "string"
  23781. },
  23782. "closepricemode": {
  23783. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23784. "type": "integer"
  23785. },
  23786. "closepriceparam": {
  23787. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  23788. "type": "number"
  23789. },
  23790. "createtime": {
  23791. "description": "创建时间",
  23792. "type": "string"
  23793. },
  23794. "creatorid": {
  23795. "description": "创建人",
  23796. "type": "integer"
  23797. },
  23798. "currencyid": {
  23799. "description": "报价货币ID",
  23800. "type": "integer"
  23801. },
  23802. "cutmode": {
  23803. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  23804. "type": "integer"
  23805. },
  23806. "decimalplace": {
  23807. "description": "报价小数位",
  23808. "type": "integer"
  23809. },
  23810. "delistingdate": {
  23811. "description": "商品退市时间(状态:退市) -- 已作废",
  23812. "type": "string"
  23813. },
  23814. "delistingmode": {
  23815. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  23816. "type": "integer"
  23817. },
  23818. "deliveryflag": {
  23819. "description": "交割标志 - 0:不可交割 1:可交割",
  23820. "type": "integer"
  23821. },
  23822. "enumdicname": {
  23823. "description": "单位名称",
  23824. "type": "string"
  23825. },
  23826. "forceclosemode": {
  23827. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  23828. "type": "integer"
  23829. },
  23830. "forceclosevalue": {
  23831. "description": "定期强平参数 [收益权]",
  23832. "type": "integer"
  23833. },
  23834. "goodscode": {
  23835. "description": "商品代码(内部)",
  23836. "type": "string"
  23837. },
  23838. "goodscurrencyid": {
  23839. "description": "合约货币ID",
  23840. "type": "integer"
  23841. },
  23842. "goodsgroupid": {
  23843. "description": "所属商品组ID",
  23844. "type": "integer"
  23845. },
  23846. "goodsid": {
  23847. "description": "商品ID(自增ID SEQ_GOODS)",
  23848. "type": "integer"
  23849. },
  23850. "goodsname": {
  23851. "description": "商品名称",
  23852. "type": "string"
  23853. },
  23854. "goodsquotetype": {
  23855. "description": "合约报价类型: 1-直接报价 2-间接报价",
  23856. "type": "integer"
  23857. },
  23858. "goodsstatus": {
  23859. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  23860. "type": "integer"
  23861. },
  23862. "goodstradetype": {
  23863. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  23864. "type": "integer"
  23865. },
  23866. "goodunitid": {
  23867. "description": "报价单位ID",
  23868. "type": "integer"
  23869. },
  23870. "hasquoter": {
  23871. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  23872. "type": "integer"
  23873. },
  23874. "hqprotecttime": {
  23875. "description": "行情保护时间(秒)",
  23876. "type": "integer"
  23877. },
  23878. "innerdealmode": {
  23879. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23880. "type": "integer"
  23881. },
  23882. "isbuylimited": {
  23883. "description": "是否限制建仓量 - 0:不限制 1:限制",
  23884. "type": "integer"
  23885. },
  23886. "isvisible": {
  23887. "description": "游客是否可见 - 0:不可见 1:可见",
  23888. "type": "integer"
  23889. },
  23890. "lasttradedate": {
  23891. "description": "最后交易日期(状态:待退市)",
  23892. "type": "string"
  23893. },
  23894. "listingdate": {
  23895. "description": "交易开始日期",
  23896. "type": "string"
  23897. },
  23898. "marketid": {
  23899. "description": "所属市场ID",
  23900. "type": "integer"
  23901. },
  23902. "modifierid": {
  23903. "description": "修改人",
  23904. "type": "integer"
  23905. },
  23906. "modifystatus": {
  23907. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  23908. "type": "integer"
  23909. },
  23910. "modifytime": {
  23911. "description": "修改时间",
  23912. "type": "string"
  23913. },
  23914. "outerdealmode": {
  23915. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23916. "type": "integer"
  23917. },
  23918. "outgoodscode": {
  23919. "description": "商品代码(外部)",
  23920. "type": "string"
  23921. },
  23922. "pictureurl": {
  23923. "description": "商品图片",
  23924. "type": "string"
  23925. },
  23926. "qtydecimalplace": {
  23927. "description": "成交量小数位",
  23928. "type": "integer"
  23929. },
  23930. "quotegear": {
  23931. "description": "行情档位(1-10)",
  23932. "type": "integer"
  23933. },
  23934. "quoteminunit": {
  23935. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23936. "type": "integer"
  23937. },
  23938. "quoteshowtype": {
  23939. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  23940. "type": "integer"
  23941. },
  23942. "quoteshowtypeinterval": {
  23943. "description": "行情报价间隔时间(秒)(成交价时为0)",
  23944. "type": "integer"
  23945. },
  23946. "relatedgoodsid": {
  23947. "description": "关联参考商品ID",
  23948. "type": "integer"
  23949. },
  23950. "remark": {
  23951. "description": "备注",
  23952. "type": "string"
  23953. },
  23954. "trademode": {
  23955. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23956. "type": "integer"
  23957. }
  23958. }
  23959. },
  23960. "models.ErmcpGoodsBrand": {
  23961. "type": "object",
  23962. "properties": {
  23963. "areauserid": {
  23964. "description": "所属机构",
  23965. "type": "integer"
  23966. },
  23967. "brandid": {
  23968. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  23969. "type": "integer"
  23970. },
  23971. "brandname": {
  23972. "description": "品牌名称",
  23973. "type": "string"
  23974. },
  23975. "createtime": {
  23976. "description": "创建时间",
  23977. "type": "string"
  23978. },
  23979. "creatorid": {
  23980. "description": "创建人",
  23981. "type": "integer"
  23982. },
  23983. "creatorsrc": {
  23984. "description": "创建人来源 - 1:管理端 2:终端",
  23985. "type": "integer"
  23986. },
  23987. "deliverygoodsid": {
  23988. "description": "现货品种ID",
  23989. "type": "integer"
  23990. },
  23991. "isvalid": {
  23992. "description": "是否有效 - 0:无效 1:有效",
  23993. "type": "integer"
  23994. },
  23995. "updatetime": {
  23996. "description": "更新时间",
  23997. "type": "string"
  23998. },
  23999. "updatorid": {
  24000. "description": "更新人",
  24001. "type": "integer"
  24002. },
  24003. "updatorsrc": {
  24004. "description": "更新人来源 - 1:管理端 2:终端",
  24005. "type": "integer"
  24006. },
  24007. "wrstandardid": {
  24008. "description": "现货商品ID",
  24009. "type": "integer"
  24010. }
  24011. }
  24012. },
  24013. "models.ErmcpGoodsModel": {
  24014. "type": "object",
  24015. "properties": {
  24016. "areauserid": {
  24017. "description": "所属机构",
  24018. "type": "integer"
  24019. },
  24020. "convertfactor": {
  24021. "description": "标仓系数",
  24022. "type": "number"
  24023. },
  24024. "createtime": {
  24025. "description": "创建时间",
  24026. "type": "string"
  24027. },
  24028. "creatorid": {
  24029. "description": "创建人",
  24030. "type": "integer"
  24031. },
  24032. "creatorsrc": {
  24033. "description": "创建人来源 - 1:管理端 2:终端",
  24034. "type": "integer"
  24035. },
  24036. "deliverygoodsid": {
  24037. "description": "现货品种ID",
  24038. "type": "integer"
  24039. },
  24040. "isvalid": {
  24041. "description": "是否有效 - 0:无效 1:有效",
  24042. "type": "integer"
  24043. },
  24044. "modelid": {
  24045. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  24046. "type": "integer"
  24047. },
  24048. "modelname": {
  24049. "description": "型号名称",
  24050. "type": "string"
  24051. },
  24052. "updatetime": {
  24053. "description": "更新时间",
  24054. "type": "string"
  24055. },
  24056. "updatorid": {
  24057. "description": "更新人",
  24058. "type": "integer"
  24059. },
  24060. "updatorsrc": {
  24061. "description": "更新人来源 - 1:管理端 2:终端",
  24062. "type": "integer"
  24063. },
  24064. "wrstandardid": {
  24065. "description": "现货商品ID",
  24066. "type": "integer"
  24067. }
  24068. }
  24069. },
  24070. "models.ErmcpHisExposure": {
  24071. "type": "object",
  24072. "properties": {
  24073. "needhedgeexposoure": {
  24074. "description": "应套保敞口",
  24075. "type": "number"
  24076. },
  24077. "reckondate": {
  24078. "description": "日照时期(yyyyMMdd)",
  24079. "type": "string"
  24080. },
  24081. "totalexposure": {
  24082. "description": "总敞口",
  24083. "type": "number"
  24084. }
  24085. }
  24086. },
  24087. "models.ErmcpLoginTaAccount": {
  24088. "type": "object",
  24089. "properties": {
  24090. "accountid": {
  24091. "description": "账号id",
  24092. "type": "integer"
  24093. },
  24094. "accountname": {
  24095. "description": "账号名称",
  24096. "type": "string"
  24097. }
  24098. }
  24099. },
  24100. "models.ErmcpLoginUser": {
  24101. "type": "object",
  24102. "properties": {
  24103. "acclist": {
  24104. "description": "关联资金账号",
  24105. "type": "array",
  24106. "items": {
  24107. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  24108. }
  24109. },
  24110. "accountname": {
  24111. "description": "用户名称",
  24112. "type": "string"
  24113. },
  24114. "clientroleid": {
  24115. "description": "角色id(usertype=2)",
  24116. "type": "integer"
  24117. },
  24118. "createtime": {
  24119. "description": "创建时间",
  24120. "type": "string"
  24121. },
  24122. "logincode": {
  24123. "description": "登录代码",
  24124. "type": "string"
  24125. },
  24126. "loginid": {
  24127. "description": "登录id(LOGINID)",
  24128. "type": "integer"
  24129. },
  24130. "loginname": {
  24131. "description": "登录名称(loginaccount表中的accountname字段)",
  24132. "type": "string"
  24133. },
  24134. "loginstatus": {
  24135. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  24136. "type": "integer"
  24137. },
  24138. "memberuserid": {
  24139. "description": "所属会员id",
  24140. "type": "integer"
  24141. },
  24142. "mobile": {
  24143. "description": "手机号",
  24144. "type": "string"
  24145. },
  24146. "modifytime": {
  24147. "description": "修改时间",
  24148. "type": "string"
  24149. },
  24150. "password": {
  24151. "description": "密码(不可解密)",
  24152. "type": "string"
  24153. },
  24154. "rolename": {
  24155. "description": "角色名称",
  24156. "type": "string"
  24157. },
  24158. "rolestatus": {
  24159. "description": "角色状态 1-启用 2-停用",
  24160. "type": "integer"
  24161. },
  24162. "roletype": {
  24163. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  24164. "type": "string"
  24165. },
  24166. "userid": {
  24167. "description": "用户id",
  24168. "type": "integer"
  24169. },
  24170. "usertype": {
  24171. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24172. "type": "integer"
  24173. }
  24174. }
  24175. },
  24176. "models.ErmcpLoginUserEx": {
  24177. "type": "object",
  24178. "properties": {
  24179. "accountstatus": {
  24180. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24181. "type": "integer"
  24182. },
  24183. "mobile": {
  24184. "description": "手机号",
  24185. "type": "string"
  24186. },
  24187. "querytype": {
  24188. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  24189. "type": "integer"
  24190. },
  24191. "roleid": {
  24192. "description": "角色id(交易账户-\u003e用户id)",
  24193. "type": "integer"
  24194. },
  24195. "rolename": {
  24196. "description": "角色名称(交易账户-\u003e用户名称)",
  24197. "type": "string"
  24198. },
  24199. "userlist": {
  24200. "description": "用户列表",
  24201. "type": "array",
  24202. "items": {
  24203. "$ref": "#/definitions/models.ErmcpLoginUser"
  24204. }
  24205. },
  24206. "usertype": {
  24207. "description": "用户类型 2-机构 7-企业成员(云平台)",
  24208. "type": "integer"
  24209. }
  24210. }
  24211. },
  24212. "models.ErmcpMiddleGoodsModel": {
  24213. "type": "object",
  24214. "properties": {
  24215. "areauserid": {
  24216. "description": "机构用户ID",
  24217. "type": "integer"
  24218. },
  24219. "createtime": {
  24220. "description": "修改时间",
  24221. "type": "string"
  24222. },
  24223. "enumdicname": {
  24224. "description": "单位名称",
  24225. "type": "string"
  24226. },
  24227. "evaluateratio": {
  24228. "description": "估价系数",
  24229. "type": "number"
  24230. },
  24231. "goodsgroupid": {
  24232. "description": "关联期货品种ID",
  24233. "type": "integer"
  24234. },
  24235. "goodsunitid": {
  24236. "description": "单位ID",
  24237. "type": "integer"
  24238. },
  24239. "isvalid": {
  24240. "description": "状态 0-无效(停用) 1-有效(正常)",
  24241. "type": "integer"
  24242. },
  24243. "middlegoodscode": {
  24244. "description": "套保品种代码",
  24245. "type": "string"
  24246. },
  24247. "middlegoodsid": {
  24248. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  24249. "type": "integer"
  24250. },
  24251. "middlegoodsname": {
  24252. "description": "套保品种名称",
  24253. "type": "string"
  24254. },
  24255. "modifytime": {
  24256. "description": "修改时间",
  24257. "type": "string"
  24258. },
  24259. "needarbitrageratio": {
  24260. "description": "套利比例",
  24261. "type": "number"
  24262. },
  24263. "needhedgeratio": {
  24264. "description": "套保比率",
  24265. "type": "number"
  24266. },
  24267. "qtydecimalplace": {
  24268. "description": "数量小数位",
  24269. "type": "integer"
  24270. },
  24271. "relatedgoodsid": {
  24272. "description": "关联交易商品ID",
  24273. "type": "integer"
  24274. },
  24275. "relatedgoodstype": {
  24276. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  24277. "type": "integer"
  24278. },
  24279. "remark": {
  24280. "description": "备注",
  24281. "type": "string"
  24282. }
  24283. }
  24284. },
  24285. "models.ErmcpMiddlegoodsRelateGoods": {
  24286. "type": "object",
  24287. "properties": {
  24288. "agreeunit": {
  24289. "description": "合约乘数",
  24290. "type": "number"
  24291. },
  24292. "convertratio": {
  24293. "description": "折算系数",
  24294. "type": "number"
  24295. },
  24296. "enumdicname": {
  24297. "description": "单位名称(交易商品)",
  24298. "type": "string"
  24299. },
  24300. "goodscode": {
  24301. "description": "交易商品代码",
  24302. "type": "string"
  24303. },
  24304. "goodsgroupid": {
  24305. "description": "交易品种id",
  24306. "type": "integer"
  24307. },
  24308. "goodsid": {
  24309. "description": "商品Id",
  24310. "type": "integer"
  24311. },
  24312. "goodsname": {
  24313. "description": "交易商品名称",
  24314. "type": "string"
  24315. },
  24316. "goodunitid": {
  24317. "description": "交易商品单位id",
  24318. "type": "integer"
  24319. },
  24320. "middlegoodsid": {
  24321. "description": "套保商品id",
  24322. "type": "integer"
  24323. },
  24324. "middlegoodsname": {
  24325. "description": "套保商品名称",
  24326. "type": "string"
  24327. },
  24328. "middlegoodsswcode": {
  24329. "description": "套保商品代码",
  24330. "type": "string"
  24331. },
  24332. "needarbitrageratio": {
  24333. "description": "应套利比例",
  24334. "type": "number"
  24335. },
  24336. "needhedgeratio": {
  24337. "description": "应套保比例",
  24338. "type": "number"
  24339. }
  24340. }
  24341. },
  24342. "models.ErmcpRole": {
  24343. "type": "object",
  24344. "properties": {
  24345. "areauserid": {
  24346. "description": "所属机构",
  24347. "type": "integer"
  24348. },
  24349. "autoid": {
  24350. "description": "角色ID(自增ID)",
  24351. "type": "integer"
  24352. },
  24353. "modifierid": {
  24354. "description": "修改人(创建人)",
  24355. "type": "integer"
  24356. },
  24357. "modifiername": {
  24358. "description": "修改人名称",
  24359. "type": "string"
  24360. },
  24361. "modifytime": {
  24362. "description": "修改时间(创建时间)",
  24363. "type": "string"
  24364. },
  24365. "rolename": {
  24366. "description": "角色名称",
  24367. "type": "string"
  24368. },
  24369. "rolestatus": {
  24370. "description": "角色状态 - 1:启用 2:停用",
  24371. "type": "integer"
  24372. },
  24373. "roletype": {
  24374. "description": "角色类型 - 1- 管理端 2- 交易端",
  24375. "type": "integer"
  24376. }
  24377. }
  24378. },
  24379. "models.ErmcpRoleMenu": {
  24380. "type": "object",
  24381. "properties": {
  24382. "iconame": {
  24383. "description": "菜单图标",
  24384. "type": "string"
  24385. },
  24386. "ishadrole": {
  24387. "description": "是否有权限",
  24388. "type": "boolean"
  24389. },
  24390. "menutype": {
  24391. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  24392. "type": "integer"
  24393. },
  24394. "parentcode": {
  24395. "description": "上级资源代码",
  24396. "type": "string"
  24397. },
  24398. "remark": {
  24399. "description": "菜单备注",
  24400. "type": "string"
  24401. },
  24402. "resourcecode": {
  24403. "description": "菜单代码",
  24404. "type": "string"
  24405. },
  24406. "resourcelevel": {
  24407. "description": "级别",
  24408. "type": "integer"
  24409. },
  24410. "resourcename": {
  24411. "description": "菜单名称",
  24412. "type": "string"
  24413. },
  24414. "roleid": {
  24415. "description": "角色id",
  24416. "type": "integer"
  24417. },
  24418. "sort": {
  24419. "description": "排序",
  24420. "type": "integer"
  24421. },
  24422. "url": {
  24423. "description": "URL",
  24424. "type": "string"
  24425. },
  24426. "userid": {
  24427. "description": "用户id",
  24428. "type": "integer"
  24429. }
  24430. }
  24431. },
  24432. "models.ErmcpRoleMenuEx": {
  24433. "type": "object",
  24434. "properties": {
  24435. "menu": {
  24436. "description": "父级菜单",
  24437. "$ref": "#/definitions/models.ErmcpRoleMenu"
  24438. },
  24439. "subMenu": {
  24440. "description": "子级菜单",
  24441. "type": "array",
  24442. "items": {
  24443. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  24444. }
  24445. }
  24446. }
  24447. },
  24448. "models.ErmcpTaAccount": {
  24449. "type": "object",
  24450. "properties": {
  24451. "accountid": {
  24452. "description": "账户id",
  24453. "type": "integer"
  24454. },
  24455. "accountname": {
  24456. "description": "账户名称",
  24457. "type": "string"
  24458. },
  24459. "currencyid": {
  24460. "description": "币种id",
  24461. "type": "integer"
  24462. },
  24463. "hedgeaccountcode": {
  24464. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24465. "type": "string"
  24466. },
  24467. "ismain": {
  24468. "description": "是否主账户 0-否 1-是",
  24469. "type": "integer"
  24470. },
  24471. "parentaccountid": {
  24472. "description": "父账户id",
  24473. "type": "integer"
  24474. },
  24475. "relateduserid": {
  24476. "description": "关联userid",
  24477. "type": "integer"
  24478. },
  24479. "tradefeetmpid": {
  24480. "description": "手续费模板id",
  24481. "type": "integer"
  24482. },
  24483. "tradefeetmpname": {
  24484. "description": "手续费模板名称",
  24485. "type": "string"
  24486. },
  24487. "trademargintmpid": {
  24488. "description": "保证金模板id",
  24489. "type": "integer"
  24490. },
  24491. "trademargintmpname": {
  24492. "description": "保证金模板名称",
  24493. "type": "string"
  24494. },
  24495. "traderatetmpid": {
  24496. "description": "汇率模板id",
  24497. "type": "integer"
  24498. },
  24499. "traderatetmpname": {
  24500. "description": "汇率模板名称",
  24501. "type": "string"
  24502. },
  24503. "tradestatus": {
  24504. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24505. "type": "integer"
  24506. },
  24507. "userid": {
  24508. "description": "用户id",
  24509. "type": "integer"
  24510. }
  24511. }
  24512. },
  24513. "models.ErmcpTaAccountEx": {
  24514. "type": "object",
  24515. "properties": {
  24516. "mainAcc": {
  24517. "description": "主账号",
  24518. "$ref": "#/definitions/models.ErmcpTaAccountM"
  24519. },
  24520. "subacclist": {
  24521. "description": "子账号列表",
  24522. "type": "array",
  24523. "items": {
  24524. "$ref": "#/definitions/models.ErmcpTaAccount"
  24525. }
  24526. }
  24527. }
  24528. },
  24529. "models.ErmcpTaAccountInfo": {
  24530. "type": "object",
  24531. "properties": {
  24532. "accountid": {
  24533. "description": "资金账户ID",
  24534. "type": "integer"
  24535. },
  24536. "accountname": {
  24537. "description": "账户名称",
  24538. "type": "string"
  24539. },
  24540. "balance": {
  24541. "description": "期初余额",
  24542. "type": "number"
  24543. },
  24544. "capitalbalance": {
  24545. "description": "本金余额[外部子账户实际出入金余额]",
  24546. "type": "number"
  24547. },
  24548. "closepl": {
  24549. "description": "今日平仓盈亏",
  24550. "type": "number"
  24551. },
  24552. "creditdecrease": {
  24553. "description": "今日授信减少",
  24554. "type": "number"
  24555. },
  24556. "creditincrease": {
  24557. "description": "今日授信增加",
  24558. "type": "number"
  24559. },
  24560. "curdebt": {
  24561. "description": "期末欠款",
  24562. "type": "number"
  24563. },
  24564. "currencyid": {
  24565. "description": "货币ID",
  24566. "type": "integer"
  24567. },
  24568. "currentbalance": {
  24569. "description": "期末余额",
  24570. "type": "number"
  24571. },
  24572. "freezecharge": {
  24573. "description": "手续费冻结",
  24574. "type": "number"
  24575. },
  24576. "freezemargin": {
  24577. "description": "冻结保证金",
  24578. "type": "number"
  24579. },
  24580. "fromaccountid": {
  24581. "description": "所属上级账户",
  24582. "type": "integer"
  24583. },
  24584. "inamount": {
  24585. "description": "今日入金金额(包括三方入金)",
  24586. "type": "number"
  24587. },
  24588. "ismain": {
  24589. "description": "是否母账号 0:不是母账户 1:是母账户",
  24590. "type": "integer"
  24591. },
  24592. "mortgagecredit": {
  24593. "description": "授信金额",
  24594. "type": "number"
  24595. },
  24596. "oridebt": {
  24597. "description": "期初欠款",
  24598. "type": "number"
  24599. },
  24600. "orifreezecharge": {
  24601. "description": "期初手续费冻结",
  24602. "type": "number"
  24603. },
  24604. "orifreezemargin": {
  24605. "description": "期初冻结保证金",
  24606. "type": "number"
  24607. },
  24608. "orimortgagecredit": {
  24609. "description": "期初授信金额",
  24610. "type": "number"
  24611. },
  24612. "oriothercredit": {
  24613. "description": "期初其它授信金额",
  24614. "type": "number"
  24615. },
  24616. "oriotherfreezemargin": {
  24617. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  24618. "type": "number"
  24619. },
  24620. "orioutamountfreeze": {
  24621. "description": "期初出金冻结",
  24622. "type": "number"
  24623. },
  24624. "oriusedmargin": {
  24625. "description": "期初占用保证金",
  24626. "type": "number"
  24627. },
  24628. "othercredit": {
  24629. "description": "其它授信金额",
  24630. "type": "number"
  24631. },
  24632. "othercreditdecrease": {
  24633. "description": "今日其它授信减少",
  24634. "type": "number"
  24635. },
  24636. "othercreditincrease": {
  24637. "description": "今日其它授信增加",
  24638. "type": "number"
  24639. },
  24640. "otherfreezemargin": {
  24641. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  24642. "type": "number"
  24643. },
  24644. "outamount": {
  24645. "description": "今日出金金额(包括三方出金)",
  24646. "type": "number"
  24647. },
  24648. "outamountfreeze": {
  24649. "description": "出金冻结",
  24650. "type": "number"
  24651. },
  24652. "outthreshold": {
  24653. "description": "出金阈值",
  24654. "type": "number"
  24655. },
  24656. "parentaccountid": {
  24657. "description": "所属根账号",
  24658. "type": "integer"
  24659. },
  24660. "paycharge": {
  24661. "description": "今日手续费支出",
  24662. "type": "number"
  24663. },
  24664. "relateduserid": {
  24665. "description": "关联用户",
  24666. "type": "integer"
  24667. },
  24668. "signstatus": {
  24669. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  24670. "type": "integer"
  24671. },
  24672. "sublevelpath": {
  24673. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  24674. "type": "string"
  24675. },
  24676. "taaccounttype": {
  24677. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  24678. "type": "integer"
  24679. },
  24680. "thirdinamount": {
  24681. "description": "今日三方入金",
  24682. "type": "number"
  24683. },
  24684. "thirdoutamount": {
  24685. "description": "今日三方出金",
  24686. "type": "number"
  24687. },
  24688. "tradestatus": {
  24689. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24690. "type": "integer"
  24691. },
  24692. "transferamount": {
  24693. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  24694. "type": "number"
  24695. },
  24696. "usedmargin": {
  24697. "description": "占用保证金",
  24698. "type": "number"
  24699. },
  24700. "userid": {
  24701. "description": "用户ID",
  24702. "type": "integer"
  24703. }
  24704. }
  24705. },
  24706. "models.ErmcpTaAccountM": {
  24707. "type": "object",
  24708. "properties": {
  24709. "accountid": {
  24710. "description": "账户id",
  24711. "type": "integer"
  24712. },
  24713. "accountname": {
  24714. "description": "账户名称",
  24715. "type": "string"
  24716. },
  24717. "currencyid": {
  24718. "description": "币种id",
  24719. "type": "integer"
  24720. },
  24721. "fcid": {
  24722. "description": "期货公司id",
  24723. "type": "integer"
  24724. },
  24725. "fcname": {
  24726. "description": "期货公司代码",
  24727. "type": "string"
  24728. },
  24729. "hedgeaccountcode": {
  24730. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24731. "type": "string"
  24732. },
  24733. "ismain": {
  24734. "description": "是否主账户 0-否 1-是",
  24735. "type": "integer"
  24736. },
  24737. "parentaccountid": {
  24738. "description": "父账户id",
  24739. "type": "integer"
  24740. },
  24741. "relateduserid": {
  24742. "description": "关联userid",
  24743. "type": "integer"
  24744. },
  24745. "tradefeetmpid": {
  24746. "description": "手续费模板id",
  24747. "type": "integer"
  24748. },
  24749. "tradefeetmpname": {
  24750. "description": "手续费模板名称",
  24751. "type": "string"
  24752. },
  24753. "trademargintmpid": {
  24754. "description": "保证金模板id",
  24755. "type": "integer"
  24756. },
  24757. "trademargintmpname": {
  24758. "description": "保证金模板名称",
  24759. "type": "string"
  24760. },
  24761. "traderatetmpid": {
  24762. "description": "汇率模板id",
  24763. "type": "integer"
  24764. },
  24765. "traderatetmpname": {
  24766. "description": "汇率模板名称",
  24767. "type": "string"
  24768. },
  24769. "tradestatus": {
  24770. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24771. "type": "integer"
  24772. },
  24773. "userid": {
  24774. "description": "用户id",
  24775. "type": "integer"
  24776. }
  24777. }
  24778. },
  24779. "models.ErmcpTradeConfigTMP": {
  24780. "type": "object",
  24781. "properties": {
  24782. "areauserid": {
  24783. "description": "所属机构",
  24784. "type": "integer"
  24785. },
  24786. "basiccurrencyid": {
  24787. "description": "基本币种ID[汇率] - 目标币种",
  24788. "type": "integer"
  24789. },
  24790. "mainaccountid": {
  24791. "description": "主账户ID",
  24792. "type": "integer"
  24793. },
  24794. "modifierid": {
  24795. "description": "修改人",
  24796. "type": "integer"
  24797. },
  24798. "remark": {
  24799. "description": "备注",
  24800. "type": "string"
  24801. },
  24802. "tradeconfigtmpid": {
  24803. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  24804. "type": "integer"
  24805. },
  24806. "tradeconfigtmpname": {
  24807. "description": "交易配置模板名称",
  24808. "type": "string"
  24809. },
  24810. "tradeconfigtmptype": {
  24811. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  24812. "type": "integer"
  24813. },
  24814. "updatetime": {
  24815. "description": "更新时间",
  24816. "type": "string"
  24817. }
  24818. }
  24819. },
  24820. "models.Externalexchange": {
  24821. "type": "object",
  24822. "required": [
  24823. "autoid"
  24824. ],
  24825. "properties": {
  24826. "autoid": {
  24827. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  24828. "type": "integer"
  24829. },
  24830. "exchangefullname": {
  24831. "description": "外部交易所全称",
  24832. "type": "string"
  24833. },
  24834. "exexchangecode": {
  24835. "description": "外部交易所代码",
  24836. "type": "string"
  24837. },
  24838. "exexchangename": {
  24839. "description": "外部交易所名称(简称)",
  24840. "type": "string"
  24841. },
  24842. "ismarketprice": {
  24843. "description": "是否支持市价 - 0:不支持 1:支持",
  24844. "type": "integer"
  24845. },
  24846. "quotegear": {
  24847. "description": "行情档位(1-10)",
  24848. "type": "integer"
  24849. },
  24850. "showbrokerflag": {
  24851. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  24852. "type": "integer"
  24853. },
  24854. "updatetime": {
  24855. "description": "更新时间",
  24856. "type": "string"
  24857. }
  24858. }
  24859. },
  24860. "models.Funcmenulist": {
  24861. "type": "object",
  24862. "required": [
  24863. "resourcecode"
  24864. ],
  24865. "properties": {
  24866. "iconame": {
  24867. "description": "菜单图标",
  24868. "type": "string"
  24869. },
  24870. "menutype": {
  24871. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  24872. "type": "integer"
  24873. },
  24874. "parentcode": {
  24875. "description": "上级资源代码",
  24876. "type": "string"
  24877. },
  24878. "remark": {
  24879. "description": "备注",
  24880. "type": "string"
  24881. },
  24882. "resourcecode": {
  24883. "description": "资源代码",
  24884. "type": "string"
  24885. },
  24886. "resourcelevel": {
  24887. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  24888. "type": "integer"
  24889. },
  24890. "resourcename": {
  24891. "description": "资源名",
  24892. "type": "string"
  24893. },
  24894. "sort": {
  24895. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  24896. "type": "integer"
  24897. },
  24898. "url": {
  24899. "description": "URL",
  24900. "type": "string"
  24901. }
  24902. }
  24903. },
  24904. "models.Goods": {
  24905. "type": "object",
  24906. "required": [
  24907. "goodscode",
  24908. "goodsid",
  24909. "goodsname",
  24910. "marketid"
  24911. ],
  24912. "properties": {
  24913. "agreeunit": {
  24914. "description": "合约单位",
  24915. "type": "number"
  24916. },
  24917. "areauserid": {
  24918. "description": "所属机构",
  24919. "type": "integer"
  24920. },
  24921. "auditaccountid": {
  24922. "description": "审核操作员账号",
  24923. "type": "integer"
  24924. },
  24925. "audittime": {
  24926. "description": "审核时间",
  24927. "type": "string"
  24928. },
  24929. "cancelaccountid": {
  24930. "description": "注销操作员账号",
  24931. "type": "integer"
  24932. },
  24933. "canceltime": {
  24934. "description": "注销时间",
  24935. "type": "string"
  24936. },
  24937. "closepricemode": {
  24938. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24939. "type": "integer"
  24940. },
  24941. "closepriceparam": {
  24942. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  24943. "type": "number"
  24944. },
  24945. "createtime": {
  24946. "description": "创建时间",
  24947. "type": "string"
  24948. },
  24949. "creatorid": {
  24950. "description": "创建人",
  24951. "type": "integer"
  24952. },
  24953. "currencyid": {
  24954. "description": "报价货币ID",
  24955. "type": "integer"
  24956. },
  24957. "cutmode": {
  24958. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  24959. "type": "integer"
  24960. },
  24961. "decimalplace": {
  24962. "description": "报价小数位",
  24963. "type": "integer"
  24964. },
  24965. "delistingdate": {
  24966. "description": "商品退市时间(状态:退市) -- 已作废",
  24967. "type": "string"
  24968. },
  24969. "delistingmode": {
  24970. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  24971. "type": "integer"
  24972. },
  24973. "deliveryflag": {
  24974. "description": "交割标志 - 0:不可交割 1:可交割",
  24975. "type": "integer"
  24976. },
  24977. "forceclosemode": {
  24978. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  24979. "type": "integer"
  24980. },
  24981. "forceclosevalue": {
  24982. "description": "定期强平参数 [收益权]",
  24983. "type": "integer"
  24984. },
  24985. "goodscode": {
  24986. "description": "商品代码(内部)",
  24987. "type": "string"
  24988. },
  24989. "goodscurrencyid": {
  24990. "description": "合约货币ID",
  24991. "type": "integer"
  24992. },
  24993. "goodsgroupid": {
  24994. "description": "所属商品组ID",
  24995. "type": "integer"
  24996. },
  24997. "goodsid": {
  24998. "description": "商品ID(自增ID SEQ_GOODS)",
  24999. "type": "integer"
  25000. },
  25001. "goodsname": {
  25002. "description": "商品名称",
  25003. "type": "string"
  25004. },
  25005. "goodsquotetype": {
  25006. "description": "合约报价类型: 1-直接报价 2-间接报价",
  25007. "type": "integer"
  25008. },
  25009. "goodsstatus": {
  25010. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  25011. "type": "integer"
  25012. },
  25013. "goodstradetype": {
  25014. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  25015. "type": "integer"
  25016. },
  25017. "goodunitid": {
  25018. "description": "报价单位ID",
  25019. "type": "integer"
  25020. },
  25021. "hasquoter": {
  25022. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  25023. "type": "integer"
  25024. },
  25025. "hqprotecttime": {
  25026. "description": "行情保护时间(秒)",
  25027. "type": "integer"
  25028. },
  25029. "innerdealmode": {
  25030. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25031. "type": "integer"
  25032. },
  25033. "isbuylimited": {
  25034. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25035. "type": "integer"
  25036. },
  25037. "isvisible": {
  25038. "description": "游客是否可见 - 0:不可见 1:可见",
  25039. "type": "integer"
  25040. },
  25041. "lasttradedate": {
  25042. "description": "最后交易日期(状态:待退市)",
  25043. "type": "string"
  25044. },
  25045. "listingdate": {
  25046. "description": "交易开始日期",
  25047. "type": "string"
  25048. },
  25049. "marketid": {
  25050. "description": "所属市场ID",
  25051. "type": "integer"
  25052. },
  25053. "modifierid": {
  25054. "description": "修改人",
  25055. "type": "integer"
  25056. },
  25057. "modifystatus": {
  25058. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  25059. "type": "integer"
  25060. },
  25061. "modifytime": {
  25062. "description": "修改时间",
  25063. "type": "string"
  25064. },
  25065. "outerdealmode": {
  25066. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25067. "type": "integer"
  25068. },
  25069. "outgoodscode": {
  25070. "description": "商品代码(外部)",
  25071. "type": "string"
  25072. },
  25073. "pictureurl": {
  25074. "description": "商品图片",
  25075. "type": "string"
  25076. },
  25077. "qtydecimalplace": {
  25078. "description": "成交量小数位",
  25079. "type": "integer"
  25080. },
  25081. "quotegear": {
  25082. "description": "行情档位(1-10)",
  25083. "type": "integer"
  25084. },
  25085. "quoteminunit": {
  25086. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25087. "type": "integer"
  25088. },
  25089. "quoteshowtype": {
  25090. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  25091. "type": "integer"
  25092. },
  25093. "quoteshowtypeinterval": {
  25094. "description": "行情报价间隔时间(秒)(成交价时为0)",
  25095. "type": "integer"
  25096. },
  25097. "remark": {
  25098. "description": "备注",
  25099. "type": "string"
  25100. }
  25101. }
  25102. },
  25103. "models.GoodsIDAndName": {
  25104. "type": "object",
  25105. "required": [
  25106. "goodscode",
  25107. "goodsid",
  25108. "goodsname",
  25109. "marketid"
  25110. ],
  25111. "properties": {
  25112. "goodscode": {
  25113. "description": "商品代码(内部)",
  25114. "type": "string"
  25115. },
  25116. "goodsid": {
  25117. "description": "商品ID(自增ID SEQ_GOODS)",
  25118. "type": "integer"
  25119. },
  25120. "goodsname": {
  25121. "description": "商品名称",
  25122. "type": "string"
  25123. },
  25124. "marketid": {
  25125. "description": "所属市场ID",
  25126. "type": "integer"
  25127. }
  25128. }
  25129. },
  25130. "models.Goodsgroup": {
  25131. "type": "object",
  25132. "required": [
  25133. "goodsgroupid",
  25134. "goodsgroupname",
  25135. "goodsgroupstatus",
  25136. "marketid"
  25137. ],
  25138. "properties": {
  25139. "agreeunit": {
  25140. "description": "合约单位",
  25141. "type": "number"
  25142. },
  25143. "canshort": {
  25144. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  25145. "type": "integer"
  25146. },
  25147. "closepricemode": {
  25148. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25149. "type": "integer"
  25150. },
  25151. "closepriceparam": {
  25152. "description": "强平最新价浮动比例 - 方式为2时使用",
  25153. "type": "number"
  25154. },
  25155. "createtime": {
  25156. "description": "创建时间",
  25157. "type": "string"
  25158. },
  25159. "creatorid": {
  25160. "description": "创建人",
  25161. "type": "integer"
  25162. },
  25163. "currencyid": {
  25164. "description": "报价货币ID",
  25165. "type": "integer"
  25166. },
  25167. "decimalplace": {
  25168. "description": "报价小数位",
  25169. "type": "integer"
  25170. },
  25171. "exercisetype": {
  25172. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  25173. "type": "integer"
  25174. },
  25175. "exexchangeid": {
  25176. "description": "外部交易所ID[通道交易]",
  25177. "type": "integer"
  25178. },
  25179. "goodsgroupid": {
  25180. "description": "商品组ID(自增ID)",
  25181. "type": "integer"
  25182. },
  25183. "goodsgroupname": {
  25184. "description": "商品组名称",
  25185. "type": "string"
  25186. },
  25187. "goodsgroupstatus": {
  25188. "description": "商品组状态 - 1:正常 2:注销",
  25189. "type": "integer"
  25190. },
  25191. "goodunitid": {
  25192. "description": "报价单位ID",
  25193. "type": "integer"
  25194. },
  25195. "innerdealmode": {
  25196. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25197. "type": "integer"
  25198. },
  25199. "isbuylimited": {
  25200. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25201. "type": "integer"
  25202. },
  25203. "marketid": {
  25204. "description": "所属市场ID",
  25205. "type": "integer"
  25206. },
  25207. "modifierid": {
  25208. "description": "修改人",
  25209. "type": "integer"
  25210. },
  25211. "modifytime": {
  25212. "description": "修改时间",
  25213. "type": "string"
  25214. },
  25215. "outerdealmode": {
  25216. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25217. "type": "integer"
  25218. },
  25219. "outergroupcode": {
  25220. "description": "外部商品组代码[通道交易]",
  25221. "type": "string"
  25222. },
  25223. "premiumdecimalplace": {
  25224. "description": "权利金小数位[场外期权]",
  25225. "type": "integer"
  25226. },
  25227. "premiumspreadalgorithm": {
  25228. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  25229. "type": "integer"
  25230. },
  25231. "premiumspreadvalue": {
  25232. "description": "权利金点差值[场外期权]",
  25233. "type": "number"
  25234. },
  25235. "qtydecimalplace": {
  25236. "description": "成交量小数位",
  25237. "type": "integer"
  25238. },
  25239. "quotegear": {
  25240. "description": "行情档位(1-10)",
  25241. "type": "integer"
  25242. },
  25243. "quoteminunit": {
  25244. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25245. "type": "integer"
  25246. },
  25247. "quoterid": {
  25248. "description": "报价商ID[场外期权]",
  25249. "type": "integer"
  25250. },
  25251. "quotesourcegroupid": {
  25252. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  25253. "type": "integer"
  25254. },
  25255. "syncgoodsqty": {
  25256. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  25257. "type": "integer"
  25258. }
  25259. }
  25260. },
  25261. "models.Goodssortbypreposition": {
  25262. "type": "object",
  25263. "required": [
  25264. "goodscode",
  25265. "tradedate"
  25266. ],
  25267. "properties": {
  25268. "goodscode": {
  25269. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  25270. "type": "string"
  25271. },
  25272. "goodsgroupcode": {
  25273. "description": "品种代码",
  25274. "type": "string"
  25275. },
  25276. "prepositionqty": {
  25277. "description": "昨持仓量",
  25278. "type": "integer"
  25279. },
  25280. "sortindex": {
  25281. "description": "排序",
  25282. "type": "integer"
  25283. },
  25284. "tradedate": {
  25285. "description": "交易日",
  25286. "type": "string"
  25287. },
  25288. "updatetime": {
  25289. "description": "更新时间",
  25290. "type": "string"
  25291. }
  25292. }
  25293. },
  25294. "models.Hedgeinnerholderdetail": {
  25295. "type": "object",
  25296. "required": [
  25297. "buyorsell",
  25298. "tradeid"
  25299. ],
  25300. "properties": {
  25301. "accountid": {
  25302. "description": "账号ID",
  25303. "type": "integer"
  25304. },
  25305. "buyorsell": {
  25306. "description": "方向 - 0:买 1:卖",
  25307. "type": "integer"
  25308. },
  25309. "freezeqty": {
  25310. "description": "冻结数量 - 按单平使用",
  25311. "type": "integer"
  25312. },
  25313. "goodsid": {
  25314. "description": "商品ID",
  25315. "type": "integer"
  25316. },
  25317. "holderamount": {
  25318. "description": "持仓金额 [商品币种]",
  25319. "type": "number"
  25320. },
  25321. "holderdays": {
  25322. "description": "剩余冻结天数",
  25323. "type": "integer"
  25324. },
  25325. "holderprice": {
  25326. "description": "持仓价格",
  25327. "type": "number"
  25328. },
  25329. "holderqty": {
  25330. "description": "持仓数量",
  25331. "type": "integer"
  25332. },
  25333. "marketid": {
  25334. "description": "市场ID",
  25335. "type": "integer"
  25336. },
  25337. "openprice": {
  25338. "description": "建仓价格",
  25339. "type": "number"
  25340. },
  25341. "openqty": {
  25342. "description": "建仓数量",
  25343. "type": "integer"
  25344. },
  25345. "parentaccountid": {
  25346. "description": "所属母账户",
  25347. "type": "integer"
  25348. },
  25349. "releaseamount": {
  25350. "description": "释放持仓金额[商品币种]",
  25351. "type": "number"
  25352. },
  25353. "tradeamount": {
  25354. "description": "成交金额[账户]",
  25355. "type": "number"
  25356. },
  25357. "tradedate": {
  25358. "description": "交易日(yyyyMMdd)",
  25359. "type": "string"
  25360. },
  25361. "tradeid": {
  25362. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25363. "type": "string"
  25364. },
  25365. "tradetime": {
  25366. "description": "交易时间",
  25367. "type": "string"
  25368. }
  25369. }
  25370. },
  25371. "models.Hedgemarketopenlog": {
  25372. "type": "object",
  25373. "required": [
  25374. "accountid"
  25375. ],
  25376. "properties": {
  25377. "accountid": {
  25378. "description": "资金账号[外部母账户]",
  25379. "type": "integer"
  25380. },
  25381. "fcname": {
  25382. "description": "期货公司名称",
  25383. "type": "string"
  25384. },
  25385. "handlestatus": {
  25386. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  25387. "type": "integer"
  25388. },
  25389. "marketid": {
  25390. "description": "市场ID",
  25391. "type": "integer"
  25392. },
  25393. "status": {
  25394. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  25395. "type": "integer"
  25396. },
  25397. "tradedate": {
  25398. "description": "交易日(yyyyMMdd)",
  25399. "type": "string"
  25400. },
  25401. "updatetime": {
  25402. "description": "更新时间",
  25403. "type": "string"
  25404. }
  25405. }
  25406. },
  25407. "models.HsbyBuyMyPayOrder": {
  25408. "type": "object",
  25409. "required": [
  25410. "goodscode",
  25411. "goodsname",
  25412. "tradeid",
  25413. "trademode"
  25414. ],
  25415. "properties": {
  25416. "agreeunit": {
  25417. "description": "合约单位",
  25418. "type": "number"
  25419. },
  25420. "buyaccountid": {
  25421. "description": "买方账号ID[报价币种]",
  25422. "type": "integer"
  25423. },
  25424. "buyorderid": {
  25425. "description": "买方委托单号",
  25426. "type": "string"
  25427. },
  25428. "createtime": {
  25429. "description": "创建时间",
  25430. "type": "string"
  25431. },
  25432. "currencysign": {
  25433. "description": "货币符号",
  25434. "type": "string"
  25435. },
  25436. "decimalplace": {
  25437. "description": "报价小数位",
  25438. "type": "integer"
  25439. },
  25440. "goodscode": {
  25441. "description": "商品代码(内部)",
  25442. "type": "string"
  25443. },
  25444. "goodsid": {
  25445. "description": "商品ID",
  25446. "type": "integer"
  25447. },
  25448. "goodsname": {
  25449. "description": "商品名称",
  25450. "type": "string"
  25451. },
  25452. "marketid": {
  25453. "description": "市场ID",
  25454. "type": "integer"
  25455. },
  25456. "offamount": {
  25457. "description": "优惠金额",
  25458. "type": "number"
  25459. },
  25460. "originalamount": {
  25461. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  25462. "type": "number"
  25463. },
  25464. "payamount": {
  25465. "description": "支付金额 = TradeAmount + TradeCharge",
  25466. "type": "number"
  25467. },
  25468. "payflag": {
  25469. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25470. "type": "integer"
  25471. },
  25472. "paylimitedtime": {
  25473. "description": "支付期限",
  25474. "type": "string"
  25475. },
  25476. "paytime": {
  25477. "description": "付款时间",
  25478. "type": "string"
  25479. },
  25480. "picurls1": {
  25481. "description": "预售商品介绍图片[多张用逗号分隔]",
  25482. "type": "string"
  25483. },
  25484. "picurls2": {
  25485. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25486. "type": "string"
  25487. },
  25488. "sellaccountid": {
  25489. "description": "卖方账号ID[报价币种]",
  25490. "type": "integer"
  25491. },
  25492. "sellorderid": {
  25493. "description": "卖方委托单号",
  25494. "type": "string"
  25495. },
  25496. "tradeamount": {
  25497. "description": "成交金额",
  25498. "type": "number"
  25499. },
  25500. "tradecharge": {
  25501. "description": "成交手续费(买方)",
  25502. "type": "number"
  25503. },
  25504. "tradedate": {
  25505. "description": "交易日(yyyyMMdd)",
  25506. "type": "string"
  25507. },
  25508. "tradeid": {
  25509. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25510. "type": "string"
  25511. },
  25512. "trademode": {
  25513. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25514. "type": "integer"
  25515. },
  25516. "tradeprice": {
  25517. "description": "成交价格",
  25518. "type": "number"
  25519. },
  25520. "tradeqty": {
  25521. "description": "成交数量",
  25522. "type": "integer"
  25523. },
  25524. "vendorname1": {
  25525. "description": "预售商品供应商名称",
  25526. "type": "string"
  25527. },
  25528. "vendorname2": {
  25529. "description": "挂牌商品供应商名称",
  25530. "type": "string"
  25531. }
  25532. }
  25533. },
  25534. "models.HsbyBuyMyTradeDetail": {
  25535. "type": "object",
  25536. "required": [
  25537. "accountid",
  25538. "buyorsell",
  25539. "goodscode",
  25540. "goodsid",
  25541. "goodsname",
  25542. "marketid",
  25543. "orderid",
  25544. "qty",
  25545. "time",
  25546. "trademode"
  25547. ],
  25548. "properties": {
  25549. "accountid": {
  25550. "description": "账户ID[报价币种]",
  25551. "type": "integer"
  25552. },
  25553. "agreeunit": {
  25554. "description": "合约单位",
  25555. "type": "number"
  25556. },
  25557. "amount": {
  25558. "description": "金额 = 价格 * 数量 * 合约单位",
  25559. "type": "number"
  25560. },
  25561. "buyorsell": {
  25562. "description": "买卖 - 0:买 1:卖",
  25563. "type": "integer"
  25564. },
  25565. "currencysign": {
  25566. "description": "货币符号",
  25567. "type": "string"
  25568. },
  25569. "decimalplace": {
  25570. "description": "报价小数位",
  25571. "type": "integer"
  25572. },
  25573. "goodscode": {
  25574. "description": "商品代码(内部)",
  25575. "type": "string"
  25576. },
  25577. "goodsid": {
  25578. "description": "商品ID",
  25579. "type": "integer"
  25580. },
  25581. "goodsname": {
  25582. "description": "商品名称",
  25583. "type": "string"
  25584. },
  25585. "marketid": {
  25586. "description": "市场ID",
  25587. "type": "integer"
  25588. },
  25589. "orderamount": {
  25590. "description": "委托金额",
  25591. "type": "number"
  25592. },
  25593. "orderid": {
  25594. "description": "单号(成交单号)",
  25595. "type": "string"
  25596. },
  25597. "picurls1": {
  25598. "description": "预售商品介绍图片[多张用逗号分隔]",
  25599. "type": "string"
  25600. },
  25601. "picurls2": {
  25602. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25603. "type": "string"
  25604. },
  25605. "price": {
  25606. "description": "价格",
  25607. "type": "number"
  25608. },
  25609. "qty": {
  25610. "description": "数量",
  25611. "type": "integer"
  25612. },
  25613. "time": {
  25614. "description": "时间",
  25615. "type": "string"
  25616. },
  25617. "trademode": {
  25618. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25619. "type": "integer"
  25620. },
  25621. "vendorname1": {
  25622. "description": "预售商品供应商名称",
  25623. "type": "string"
  25624. },
  25625. "vendorname2": {
  25626. "description": "挂牌商品供应商名称",
  25627. "type": "string"
  25628. }
  25629. }
  25630. },
  25631. "models.HsbyGoodsOrderDetail": {
  25632. "type": "object",
  25633. "required": [
  25634. "buyorsell",
  25635. "orderid",
  25636. "ordertime"
  25637. ],
  25638. "properties": {
  25639. "buyorsell": {
  25640. "description": "买卖 - 0:买 1:卖",
  25641. "type": "integer"
  25642. },
  25643. "currencysign": {
  25644. "description": "货币符号",
  25645. "type": "string"
  25646. },
  25647. "customername": {
  25648. "description": "客户名称(企业名称),已脱敏",
  25649. "type": "string"
  25650. },
  25651. "enableqty": {
  25652. "description": "可用数量",
  25653. "type": "integer"
  25654. },
  25655. "goodunit": {
  25656. "description": "报价单位",
  25657. "type": "string"
  25658. },
  25659. "orderid": {
  25660. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25661. "type": "string"
  25662. },
  25663. "orderprice": {
  25664. "description": "委托价格",
  25665. "type": "number"
  25666. },
  25667. "ordertime": {
  25668. "description": "委托时间",
  25669. "type": "string"
  25670. }
  25671. }
  25672. },
  25673. "models.HsbyListingGoodsDetail": {
  25674. "type": "object",
  25675. "required": [
  25676. "goodscode",
  25677. "goodsid",
  25678. "goodsname",
  25679. "marketid",
  25680. "trademode"
  25681. ],
  25682. "properties": {
  25683. "agreeunit": {
  25684. "description": "合约单位",
  25685. "type": "number"
  25686. },
  25687. "buymaxqty": {
  25688. "description": "购买上限 [71] - 0为不限",
  25689. "type": "integer"
  25690. },
  25691. "currency": {
  25692. "description": "货币",
  25693. "type": "string"
  25694. },
  25695. "currencysign": {
  25696. "description": "货币符号",
  25697. "type": "string"
  25698. },
  25699. "decimalplace": {
  25700. "description": "报价小数位",
  25701. "type": "integer"
  25702. },
  25703. "desccityid": {
  25704. "description": "目的地(市)ID",
  25705. "type": "integer"
  25706. },
  25707. "descprovinceid": {
  25708. "description": "目的地(省)ID",
  25709. "type": "integer"
  25710. },
  25711. "goodscode": {
  25712. "description": "商品代码(内部)",
  25713. "type": "string"
  25714. },
  25715. "goodsdesc": {
  25716. "description": "商品详情",
  25717. "type": "string"
  25718. },
  25719. "goodsid": {
  25720. "description": "商品ID(自增ID SEQ_GOODS)",
  25721. "type": "integer"
  25722. },
  25723. "goodsname": {
  25724. "description": "商品名称",
  25725. "type": "string"
  25726. },
  25727. "goodsprice": {
  25728. "description": "商品价格",
  25729. "type": "number"
  25730. },
  25731. "hotindex": {
  25732. "description": "景点热度",
  25733. "type": "integer"
  25734. },
  25735. "last": {
  25736. "description": "现价",
  25737. "type": "number"
  25738. },
  25739. "limitdown": {
  25740. "description": "跌停价",
  25741. "type": "number"
  25742. },
  25743. "limitup": {
  25744. "description": "涨停价",
  25745. "type": "number"
  25746. },
  25747. "lotsize": {
  25748. "description": "手数最小变动单位",
  25749. "type": "integer"
  25750. },
  25751. "marketid": {
  25752. "description": "所属市场ID",
  25753. "type": "integer"
  25754. },
  25755. "picurls": {
  25756. "description": "介绍图片[多张用逗号分隔]",
  25757. "type": "string"
  25758. },
  25759. "quoteminunit": {
  25760. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25761. "type": "integer"
  25762. },
  25763. "stepvalue": {
  25764. "description": "价格最小变动单位",
  25765. "type": "number"
  25766. },
  25767. "trademode": {
  25768. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25769. "type": "integer"
  25770. },
  25771. "vendorattr": {
  25772. "description": "供应商附件(多张,逗号分隔)",
  25773. "type": "string"
  25774. },
  25775. "vendorname": {
  25776. "description": "供应商名称",
  25777. "type": "string"
  25778. },
  25779. "vendorphone": {
  25780. "description": "供应商客服电话",
  25781. "type": "string"
  25782. },
  25783. "videourls": {
  25784. "description": "介绍视频[多张用逗号分隔]",
  25785. "type": "string"
  25786. }
  25787. }
  25788. },
  25789. "models.HsbyMarketGoods": {
  25790. "type": "object",
  25791. "required": [
  25792. "accountid",
  25793. "buyorsell",
  25794. "goodscode",
  25795. "goodsid",
  25796. "goodsname",
  25797. "marketid",
  25798. "orderid",
  25799. "trademode"
  25800. ],
  25801. "properties": {
  25802. "accountid": {
  25803. "description": "账户ID[报价币种]",
  25804. "type": "integer"
  25805. },
  25806. "agreeunit": {
  25807. "description": "合约单位",
  25808. "type": "number"
  25809. },
  25810. "buyorsell": {
  25811. "description": "买卖 - 0:买 1:卖",
  25812. "type": "integer"
  25813. },
  25814. "categoryid": {
  25815. "description": "类别ID(WRCATEGORY)",
  25816. "type": "integer"
  25817. },
  25818. "currency": {
  25819. "description": "货币",
  25820. "type": "string"
  25821. },
  25822. "currencysign": {
  25823. "description": "货币符号",
  25824. "type": "string"
  25825. },
  25826. "customername": {
  25827. "description": "卖家名称",
  25828. "type": "string"
  25829. },
  25830. "decimalplace": {
  25831. "description": "报价小数位",
  25832. "type": "integer"
  25833. },
  25834. "goodscode": {
  25835. "description": "商品代码(内部)",
  25836. "type": "string"
  25837. },
  25838. "goodsid": {
  25839. "description": "商品ID",
  25840. "type": "integer"
  25841. },
  25842. "goodsname": {
  25843. "description": "商品名称",
  25844. "type": "string"
  25845. },
  25846. "goodsprice": {
  25847. "description": "商品价格",
  25848. "type": "number"
  25849. },
  25850. "hascoupon": {
  25851. "description": "是否可用优惠卷",
  25852. "type": "boolean"
  25853. },
  25854. "hotindex": {
  25855. "description": "景点热度",
  25856. "type": "integer"
  25857. },
  25858. "marketid": {
  25859. "description": "市场ID",
  25860. "type": "integer"
  25861. },
  25862. "orderid": {
  25863. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25864. "type": "string"
  25865. },
  25866. "orderprice": {
  25867. "description": "委托价格",
  25868. "type": "number"
  25869. },
  25870. "orderstatus": {
  25871. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25872. "type": "integer"
  25873. },
  25874. "picurls": {
  25875. "description": "介绍图片[多张用逗号分隔]",
  25876. "type": "string"
  25877. },
  25878. "quoteminunit": {
  25879. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25880. "type": "integer"
  25881. },
  25882. "sellUserID": {
  25883. "description": "卖方UserID",
  25884. "type": "integer"
  25885. },
  25886. "trademode": {
  25887. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25888. "type": "integer"
  25889. },
  25890. "videourls": {
  25891. "description": "介绍视频[多张用逗号分隔]",
  25892. "type": "string"
  25893. }
  25894. }
  25895. },
  25896. "models.HsbyMarketGoodsDetail": {
  25897. "type": "object",
  25898. "required": [
  25899. "accountid",
  25900. "buyorsell",
  25901. "goodscode",
  25902. "goodsid",
  25903. "goodsname",
  25904. "marketid",
  25905. "orderid",
  25906. "orderqty",
  25907. "trademode"
  25908. ],
  25909. "properties": {
  25910. "accountid": {
  25911. "description": "账户ID[报价币种]",
  25912. "type": "integer"
  25913. },
  25914. "agreeunit": {
  25915. "description": "合约单位",
  25916. "type": "number"
  25917. },
  25918. "buymaxqty": {
  25919. "description": "购买上限 [71] - 0为不限",
  25920. "type": "integer"
  25921. },
  25922. "buyorsell": {
  25923. "description": "买卖 - 0:买 1:卖",
  25924. "type": "integer"
  25925. },
  25926. "cancelqty": {
  25927. "description": "撤单数量",
  25928. "type": "integer"
  25929. },
  25930. "categoryid": {
  25931. "description": "类别ID(WRCATEGORY)",
  25932. "type": "integer"
  25933. },
  25934. "currency": {
  25935. "description": "货币",
  25936. "type": "string"
  25937. },
  25938. "currencysign": {
  25939. "description": "货币符号",
  25940. "type": "string"
  25941. },
  25942. "customername": {
  25943. "description": "卖家名称",
  25944. "type": "string"
  25945. },
  25946. "decimalplace": {
  25947. "description": "报价小数位",
  25948. "type": "integer"
  25949. },
  25950. "goodscode": {
  25951. "description": "商品代码(内部)",
  25952. "type": "string"
  25953. },
  25954. "goodsdesc": {
  25955. "description": "商品详情",
  25956. "type": "string"
  25957. },
  25958. "goodsid": {
  25959. "description": "商品ID",
  25960. "type": "integer"
  25961. },
  25962. "goodsname": {
  25963. "description": "商品名称",
  25964. "type": "string"
  25965. },
  25966. "goodsprice": {
  25967. "description": "商品价格",
  25968. "type": "number"
  25969. },
  25970. "hotindex": {
  25971. "description": "景点热度",
  25972. "type": "integer"
  25973. },
  25974. "lotsize": {
  25975. "description": "手数最小变动单位",
  25976. "type": "integer"
  25977. },
  25978. "marketid": {
  25979. "description": "市场ID",
  25980. "type": "integer"
  25981. },
  25982. "orderid": {
  25983. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25984. "type": "string"
  25985. },
  25986. "orderprice": {
  25987. "description": "委托价格",
  25988. "type": "number"
  25989. },
  25990. "orderqty": {
  25991. "description": "委托数量",
  25992. "type": "integer"
  25993. },
  25994. "orderstatus": {
  25995. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25996. "type": "integer"
  25997. },
  25998. "picurls": {
  25999. "description": "介绍图片[多张用逗号分隔]",
  26000. "type": "string"
  26001. },
  26002. "quoteminunit": {
  26003. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26004. "type": "integer"
  26005. },
  26006. "sellUserID": {
  26007. "description": "卖方UserID",
  26008. "type": "integer"
  26009. },
  26010. "trademode": {
  26011. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26012. "type": "integer"
  26013. },
  26014. "tradeqty": {
  26015. "description": "成交数量",
  26016. "type": "integer"
  26017. },
  26018. "vendorattr": {
  26019. "description": "供应商附件(多张,逗号分隔)",
  26020. "type": "string"
  26021. },
  26022. "vendorname": {
  26023. "description": "供应商名称",
  26024. "type": "string"
  26025. },
  26026. "vendorphone": {
  26027. "description": "供应商客服电话",
  26028. "type": "string"
  26029. },
  26030. "videourls": {
  26031. "description": "介绍视频[多张用逗号分隔]",
  26032. "type": "string"
  26033. }
  26034. }
  26035. },
  26036. "models.HsbyMarketInfo": {
  26037. "type": "object",
  26038. "required": [
  26039. "marketid",
  26040. "marketstatus",
  26041. "trademode"
  26042. ],
  26043. "properties": {
  26044. "marketid": {
  26045. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  26046. "type": "integer"
  26047. },
  26048. "marketname": {
  26049. "description": "市场名称",
  26050. "type": "string"
  26051. },
  26052. "marketstatus": {
  26053. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  26054. "type": "integer"
  26055. },
  26056. "trademode": {
  26057. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26058. "type": "integer"
  26059. }
  26060. }
  26061. },
  26062. "models.HsbyMyGoods": {
  26063. "type": "object",
  26064. "required": [
  26065. "accountid",
  26066. "goodscode",
  26067. "goodsid",
  26068. "goodsname",
  26069. "marketid",
  26070. "trademode"
  26071. ],
  26072. "properties": {
  26073. "accountid": {
  26074. "description": "账号Id",
  26075. "type": "integer"
  26076. },
  26077. "agreeunit": {
  26078. "description": "合约单位",
  26079. "type": "number"
  26080. },
  26081. "buyaverageprice": {
  26082. "description": "持仓均价",
  26083. "type": "number"
  26084. },
  26085. "buycurholderamount": {
  26086. "description": "买当前持仓总金额[商品币种]",
  26087. "type": "number"
  26088. },
  26089. "buycurpositionqty": {
  26090. "description": "买当前持仓总数量",
  26091. "type": "integer"
  26092. },
  26093. "buymaxqty": {
  26094. "description": "购买上限 [71] - 0为不限",
  26095. "type": "integer"
  26096. },
  26097. "currencysign": {
  26098. "description": "货币符号",
  26099. "type": "string"
  26100. },
  26101. "decimalplace": {
  26102. "description": "报价小数位",
  26103. "type": "integer"
  26104. },
  26105. "enableqty": {
  26106. "description": "可用数量",
  26107. "type": "integer"
  26108. },
  26109. "goodscode": {
  26110. "description": "商品代码(内部)",
  26111. "type": "string"
  26112. },
  26113. "goodsid": {
  26114. "description": "商品Id",
  26115. "type": "integer"
  26116. },
  26117. "goodsname": {
  26118. "description": "商品名称",
  26119. "type": "string"
  26120. },
  26121. "goodsprice": {
  26122. "description": "商品价格",
  26123. "type": "number"
  26124. },
  26125. "goodsstatus": {
  26126. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  26127. "type": "integer"
  26128. },
  26129. "last": {
  26130. "description": "现价(仅使用于挂牌点选)",
  26131. "type": "number"
  26132. },
  26133. "limitdown": {
  26134. "description": "跌停价(仅使用于挂牌点选)",
  26135. "type": "number"
  26136. },
  26137. "limitup": {
  26138. "description": "涨停价(仅使用于挂牌点选)",
  26139. "type": "number"
  26140. },
  26141. "lotsize": {
  26142. "description": "手数最小变动单位",
  26143. "type": "integer"
  26144. },
  26145. "marketid": {
  26146. "description": "所属市场ID",
  26147. "type": "integer"
  26148. },
  26149. "picurls": {
  26150. "description": "介绍图片[多张用逗号分隔]",
  26151. "type": "string"
  26152. },
  26153. "quoteminunit": {
  26154. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26155. "type": "integer"
  26156. },
  26157. "stepvalue": {
  26158. "description": "价格最小变动单位",
  26159. "type": "number"
  26160. },
  26161. "trademode": {
  26162. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26163. "type": "integer"
  26164. }
  26165. }
  26166. },
  26167. "models.HsbyMyPackage": {
  26168. "type": "object",
  26169. "required": [
  26170. "goodscode",
  26171. "goodsname",
  26172. "takeorderid",
  26173. "trademode"
  26174. ],
  26175. "properties": {
  26176. "accountid": {
  26177. "description": "账户ID",
  26178. "type": "integer"
  26179. },
  26180. "address": {
  26181. "description": "提货人详细地址",
  26182. "type": "string"
  26183. },
  26184. "agreeunit": {
  26185. "description": "合约单位",
  26186. "type": "number"
  26187. },
  26188. "amount": {
  26189. "description": "提货金额",
  26190. "type": "number"
  26191. },
  26192. "auditer": {
  26193. "description": "审核人",
  26194. "type": "integer"
  26195. },
  26196. "audittime": {
  26197. "description": "审核时间",
  26198. "type": "string"
  26199. },
  26200. "averageprice": {
  26201. "description": "均价",
  26202. "type": "number"
  26203. },
  26204. "cardnum": {
  26205. "description": "提货人证件号码",
  26206. "type": "string"
  26207. },
  26208. "cardtypeid": {
  26209. "description": "提货人证件类型",
  26210. "type": "integer"
  26211. },
  26212. "checkremark": {
  26213. "description": "审核备注",
  26214. "type": "string"
  26215. },
  26216. "currencysign": {
  26217. "description": "货币符号",
  26218. "type": "string"
  26219. },
  26220. "decimalplace": {
  26221. "description": "报价小数位",
  26222. "type": "integer"
  26223. },
  26224. "goodscode": {
  26225. "description": "商品代码(内部)",
  26226. "type": "string"
  26227. },
  26228. "goodsid": {
  26229. "description": "商品ID",
  26230. "type": "integer"
  26231. },
  26232. "goodsname": {
  26233. "description": "商品名称",
  26234. "type": "string"
  26235. },
  26236. "handlestatus": {
  26237. "description": "处理状态",
  26238. "type": "integer"
  26239. },
  26240. "marketid": {
  26241. "description": "市场ID",
  26242. "type": "integer"
  26243. },
  26244. "phonenum": {
  26245. "description": "提货人联系方式",
  26246. "type": "string"
  26247. },
  26248. "picurls": {
  26249. "description": "介绍图片[多张用逗号分隔]",
  26250. "type": "string"
  26251. },
  26252. "qty": {
  26253. "description": "提货数量",
  26254. "type": "number"
  26255. },
  26256. "recivername": {
  26257. "description": "提货人姓名",
  26258. "type": "string"
  26259. },
  26260. "reqtime": {
  26261. "description": "更新时间",
  26262. "type": "string"
  26263. },
  26264. "takemode": {
  26265. "description": "提货方式 - 2:自提 3:配送",
  26266. "type": "integer"
  26267. },
  26268. "takeorderid": {
  26269. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  26270. "type": "string"
  26271. },
  26272. "takeorderstatus": {
  26273. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  26274. "type": "integer"
  26275. },
  26276. "takeremark": {
  26277. "description": "提货备注",
  26278. "type": "string"
  26279. },
  26280. "tradedate": {
  26281. "description": "交易日(yyyyMMdd)",
  26282. "type": "string"
  26283. },
  26284. "trademode": {
  26285. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26286. "type": "integer"
  26287. },
  26288. "userid": {
  26289. "description": "用户ID",
  26290. "type": "integer"
  26291. },
  26292. "vendorname": {
  26293. "description": "供应商名称",
  26294. "type": "string"
  26295. }
  26296. }
  26297. },
  26298. "models.HsbyPreGoods": {
  26299. "type": "object",
  26300. "required": [
  26301. "goodscode",
  26302. "goodsid",
  26303. "goodsname",
  26304. "marketid",
  26305. "trademode"
  26306. ],
  26307. "properties": {
  26308. "agreeunit": {
  26309. "description": "合约单位",
  26310. "type": "number"
  26311. },
  26312. "currency": {
  26313. "description": "货币",
  26314. "type": "string"
  26315. },
  26316. "currencysign": {
  26317. "description": "货币符号",
  26318. "type": "string"
  26319. },
  26320. "decimalplace": {
  26321. "description": "报价小数位",
  26322. "type": "integer"
  26323. },
  26324. "desccityid": {
  26325. "description": "目的地(市)",
  26326. "type": "integer"
  26327. },
  26328. "descprovinceid": {
  26329. "description": "目的地(省)",
  26330. "type": "integer"
  26331. },
  26332. "enableqty": {
  26333. "description": "剩余数量",
  26334. "type": "integer"
  26335. },
  26336. "goodscode": {
  26337. "description": "商品代码(内部)",
  26338. "type": "string"
  26339. },
  26340. "goodsid": {
  26341. "description": "商品ID(自增ID SEQ_GOODS)",
  26342. "type": "integer"
  26343. },
  26344. "goodsname": {
  26345. "description": "商品名称",
  26346. "type": "string"
  26347. },
  26348. "goodsstatus": {
  26349. "description": "商品状态- 2:未上市 3:上市",
  26350. "type": "integer"
  26351. },
  26352. "lasttradedate": {
  26353. "description": "最后交易日期(状态:待退市)",
  26354. "type": "string"
  26355. },
  26356. "listingdate": {
  26357. "description": "交易开始日期",
  26358. "type": "string"
  26359. },
  26360. "marketid": {
  26361. "description": "所属市场ID",
  26362. "type": "integer"
  26363. },
  26364. "picurls": {
  26365. "description": "介绍图片[多张用逗号分隔]",
  26366. "type": "string"
  26367. },
  26368. "presaledqty": {
  26369. "description": "已预售量(预售结束时更新)",
  26370. "type": "integer"
  26371. },
  26372. "presaleqty": {
  26373. "description": "预售数量",
  26374. "type": "integer"
  26375. },
  26376. "quoteminunit": {
  26377. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26378. "type": "integer"
  26379. },
  26380. "refprice": {
  26381. "description": "参考价格[一口价]",
  26382. "type": "number"
  26383. },
  26384. "relatedgoodsid": {
  26385. "description": "关联交易合约ID",
  26386. "type": "integer"
  26387. },
  26388. "trademode": {
  26389. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26390. "type": "integer"
  26391. },
  26392. "videourls": {
  26393. "description": "介绍视频[多张用逗号分隔]",
  26394. "type": "string"
  26395. }
  26396. }
  26397. },
  26398. "models.HsbyPreGoodsDetail": {
  26399. "type": "object",
  26400. "required": [
  26401. "goodscode",
  26402. "goodsid",
  26403. "goodsname",
  26404. "marketid",
  26405. "trademode"
  26406. ],
  26407. "properties": {
  26408. "agreeunit": {
  26409. "description": "合约单位",
  26410. "type": "number"
  26411. },
  26412. "buymaxqty": {
  26413. "description": "购买上限 [71] - 0为不限",
  26414. "type": "integer"
  26415. },
  26416. "currency": {
  26417. "description": "货币",
  26418. "type": "string"
  26419. },
  26420. "currencysign": {
  26421. "description": "货币符号",
  26422. "type": "string"
  26423. },
  26424. "customername": {
  26425. "description": "发行单位",
  26426. "type": "string"
  26427. },
  26428. "decimalplace": {
  26429. "description": "报价小数位",
  26430. "type": "integer"
  26431. },
  26432. "desccityid": {
  26433. "description": "目的地(市)ID",
  26434. "type": "integer"
  26435. },
  26436. "descprovinceid": {
  26437. "description": "目的地(省)ID",
  26438. "type": "integer"
  26439. },
  26440. "enableqty": {
  26441. "description": "剩余数量",
  26442. "type": "integer"
  26443. },
  26444. "goodscode": {
  26445. "description": "商品代码(内部)",
  26446. "type": "string"
  26447. },
  26448. "goodsdesc": {
  26449. "description": "商品详情",
  26450. "type": "string"
  26451. },
  26452. "goodsid": {
  26453. "description": "商品ID(自增ID SEQ_GOODS)",
  26454. "type": "integer"
  26455. },
  26456. "goodsname": {
  26457. "description": "商品名称",
  26458. "type": "string"
  26459. },
  26460. "goodsstatus": {
  26461. "description": "商品状态- 2:未上市 3:上市",
  26462. "type": "integer"
  26463. },
  26464. "goodunit": {
  26465. "description": "报价单位",
  26466. "type": "string"
  26467. },
  26468. "lasttradedate": {
  26469. "description": "最后交易日期(状态:待退市)",
  26470. "type": "string"
  26471. },
  26472. "listingdate": {
  26473. "description": "交易开始日期",
  26474. "type": "string"
  26475. },
  26476. "lotsize": {
  26477. "description": "手数最小变动单位",
  26478. "type": "integer"
  26479. },
  26480. "marketid": {
  26481. "description": "所属市场ID",
  26482. "type": "integer"
  26483. },
  26484. "picurls": {
  26485. "description": "介绍图片[多张用逗号分隔]",
  26486. "type": "string"
  26487. },
  26488. "presaledqty": {
  26489. "description": "已预售量(预售结束时更新)",
  26490. "type": "integer"
  26491. },
  26492. "presaleqty": {
  26493. "description": "预售数量",
  26494. "type": "integer"
  26495. },
  26496. "quoteminunit": {
  26497. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26498. "type": "integer"
  26499. },
  26500. "refprice": {
  26501. "description": "参考价格[一口价]",
  26502. "type": "number"
  26503. },
  26504. "relatedgoodsid": {
  26505. "description": "关联交易合约ID",
  26506. "type": "integer"
  26507. },
  26508. "stepvalue": {
  26509. "description": "价格最小变动单位",
  26510. "type": "number"
  26511. },
  26512. "trademode": {
  26513. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26514. "type": "integer"
  26515. },
  26516. "vendorattr": {
  26517. "description": "供应商附件(多张,逗号分隔)",
  26518. "type": "string"
  26519. },
  26520. "vendorname": {
  26521. "description": "供应商名称",
  26522. "type": "string"
  26523. },
  26524. "vendorphone": {
  26525. "description": "供应商客服电话",
  26526. "type": "string"
  26527. },
  26528. "videourls": {
  26529. "description": "介绍视频[多张用逗号分隔]",
  26530. "type": "string"
  26531. }
  26532. }
  26533. },
  26534. "models.HsbySellCollectionOrder": {
  26535. "type": "object",
  26536. "required": [
  26537. "goodscode",
  26538. "goodsname",
  26539. "tradeid",
  26540. "trademode"
  26541. ],
  26542. "properties": {
  26543. "agreeunit": {
  26544. "description": "合约单位",
  26545. "type": "number"
  26546. },
  26547. "buyaccountid": {
  26548. "description": "买方账号ID[报价币种]",
  26549. "type": "integer"
  26550. },
  26551. "buyorderid": {
  26552. "description": "买方委托单号",
  26553. "type": "string"
  26554. },
  26555. "createtime": {
  26556. "description": "创建时间",
  26557. "type": "string"
  26558. },
  26559. "currencysign": {
  26560. "description": "货币符号",
  26561. "type": "string"
  26562. },
  26563. "decimalplace": {
  26564. "description": "报价小数位",
  26565. "type": "integer"
  26566. },
  26567. "goodscode": {
  26568. "description": "商品代码(内部)",
  26569. "type": "string"
  26570. },
  26571. "goodsid": {
  26572. "description": "商品ID",
  26573. "type": "integer"
  26574. },
  26575. "goodsname": {
  26576. "description": "商品名称",
  26577. "type": "string"
  26578. },
  26579. "marketid": {
  26580. "description": "市场ID",
  26581. "type": "integer"
  26582. },
  26583. "offamount": {
  26584. "description": "优惠金额",
  26585. "type": "number"
  26586. },
  26587. "payamount": {
  26588. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  26589. "type": "number"
  26590. },
  26591. "payflag": {
  26592. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26593. "type": "integer"
  26594. },
  26595. "paylimitedtime": {
  26596. "description": "支付期限",
  26597. "type": "string"
  26598. },
  26599. "paytime": {
  26600. "description": "付款时间",
  26601. "type": "string"
  26602. },
  26603. "picurls": {
  26604. "description": "商品介绍图片[多张用逗号分隔]",
  26605. "type": "string"
  26606. },
  26607. "sellaccountid": {
  26608. "description": "卖方账号ID[报价币种]",
  26609. "type": "integer"
  26610. },
  26611. "sellorderid": {
  26612. "description": "卖方委托单号",
  26613. "type": "string"
  26614. },
  26615. "tradeamount": {
  26616. "description": "成交金额",
  26617. "type": "number"
  26618. },
  26619. "tradecharge": {
  26620. "description": "成交手续费(买方)",
  26621. "type": "number"
  26622. },
  26623. "tradedate": {
  26624. "description": "交易日(yyyyMMdd)",
  26625. "type": "string"
  26626. },
  26627. "tradeid": {
  26628. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26629. "type": "string"
  26630. },
  26631. "trademode": {
  26632. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26633. "type": "integer"
  26634. },
  26635. "tradeprice": {
  26636. "description": "成交价格",
  26637. "type": "number"
  26638. },
  26639. "tradeqty": {
  26640. "description": "成交数量",
  26641. "type": "integer"
  26642. }
  26643. }
  26644. },
  26645. "models.HsbySellMyDetail": {
  26646. "type": "object",
  26647. "required": [
  26648. "accountid",
  26649. "buyorsell",
  26650. "goodscode",
  26651. "goodsid",
  26652. "goodsname",
  26653. "marketid",
  26654. "orderid",
  26655. "time",
  26656. "trademode"
  26657. ],
  26658. "properties": {
  26659. "accountid": {
  26660. "description": "账户ID[报价币种]",
  26661. "type": "integer"
  26662. },
  26663. "agreeunit": {
  26664. "description": "合约单位",
  26665. "type": "number"
  26666. },
  26667. "buyorsell": {
  26668. "description": "买卖 - 0:买 1:卖",
  26669. "type": "integer"
  26670. },
  26671. "currencysign": {
  26672. "description": "货币符号",
  26673. "type": "string"
  26674. },
  26675. "decimalplace": {
  26676. "description": "报价小数位",
  26677. "type": "integer"
  26678. },
  26679. "goodscode": {
  26680. "description": "商品代码(内部)",
  26681. "type": "string"
  26682. },
  26683. "goodsid": {
  26684. "description": "商品ID",
  26685. "type": "integer"
  26686. },
  26687. "goodsname": {
  26688. "description": "商品名称",
  26689. "type": "string"
  26690. },
  26691. "marketid": {
  26692. "description": "市场ID",
  26693. "type": "integer"
  26694. },
  26695. "orderid": {
  26696. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  26697. "type": "string"
  26698. },
  26699. "ordertype": {
  26700. "description": "单据类型:0 - 发布中, 1 - 已完成",
  26701. "type": "integer"
  26702. },
  26703. "picurls": {
  26704. "description": "介绍图片[多张用逗号分隔]",
  26705. "type": "string"
  26706. },
  26707. "price": {
  26708. "description": "价格",
  26709. "type": "number"
  26710. },
  26711. "qty": {
  26712. "description": "数量",
  26713. "type": "integer"
  26714. },
  26715. "time": {
  26716. "description": "时间",
  26717. "type": "string"
  26718. },
  26719. "trademode": {
  26720. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26721. "type": "integer"
  26722. },
  26723. "vendorname": {
  26724. "description": "供应商名称",
  26725. "type": "string"
  26726. }
  26727. }
  26728. },
  26729. "models.HsbyTopGoods": {
  26730. "type": "object",
  26731. "required": [
  26732. "goodscode",
  26733. "goodsid",
  26734. "goodsname",
  26735. "marketid",
  26736. "trademode"
  26737. ],
  26738. "properties": {
  26739. "agreeunit": {
  26740. "description": "合约单位",
  26741. "type": "number"
  26742. },
  26743. "currency": {
  26744. "description": "货币",
  26745. "type": "string"
  26746. },
  26747. "currencysign": {
  26748. "description": "货币符号",
  26749. "type": "string"
  26750. },
  26751. "decimalplace": {
  26752. "description": "报价小数位",
  26753. "type": "integer"
  26754. },
  26755. "desccityid": {
  26756. "description": "目的地(市)",
  26757. "type": "integer"
  26758. },
  26759. "descprovinceid": {
  26760. "description": "目的地(省)",
  26761. "type": "integer"
  26762. },
  26763. "goodscode": {
  26764. "description": "商品代码(内部)",
  26765. "type": "string"
  26766. },
  26767. "goodsid": {
  26768. "description": "商品ID(自增ID SEQ_GOODS)",
  26769. "type": "integer"
  26770. },
  26771. "goodsname": {
  26772. "description": "商品名称",
  26773. "type": "string"
  26774. },
  26775. "hotindex": {
  26776. "description": "景点热度",
  26777. "type": "integer"
  26778. },
  26779. "last": {
  26780. "description": "现价",
  26781. "type": "number"
  26782. },
  26783. "marketid": {
  26784. "description": "所属市场ID",
  26785. "type": "integer"
  26786. },
  26787. "picurls": {
  26788. "description": "介绍图片[多张用逗号分隔]",
  26789. "type": "string"
  26790. },
  26791. "quoteminunit": {
  26792. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26793. "type": "integer"
  26794. },
  26795. "trademode": {
  26796. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26797. "type": "integer"
  26798. },
  26799. "videourls": {
  26800. "description": "介绍视频[多张用逗号分隔]",
  26801. "type": "string"
  26802. }
  26803. }
  26804. },
  26805. "models.HybsMyBuyOrderDetail": {
  26806. "type": "object",
  26807. "required": [
  26808. "accountid",
  26809. "buyorsell",
  26810. "goodscode",
  26811. "goodsid",
  26812. "goodsname",
  26813. "marketid",
  26814. "orderid",
  26815. "orderqty",
  26816. "ordertime",
  26817. "trademode"
  26818. ],
  26819. "properties": {
  26820. "accountid": {
  26821. "description": "账户ID[报价币种]",
  26822. "type": "integer"
  26823. },
  26824. "agreeunit": {
  26825. "description": "合约单位",
  26826. "type": "number"
  26827. },
  26828. "buyorsell": {
  26829. "description": "买卖 - 0:买 1:卖",
  26830. "type": "integer"
  26831. },
  26832. "cancelqty": {
  26833. "description": "撤单数量",
  26834. "type": "integer"
  26835. },
  26836. "currencysign": {
  26837. "description": "货币符号",
  26838. "type": "string"
  26839. },
  26840. "decimalplace": {
  26841. "description": "报价小数位",
  26842. "type": "integer"
  26843. },
  26844. "goodscode": {
  26845. "description": "商品代码(内部)",
  26846. "type": "string"
  26847. },
  26848. "goodsid": {
  26849. "description": "商品ID",
  26850. "type": "integer"
  26851. },
  26852. "goodsname": {
  26853. "description": "商品名称",
  26854. "type": "string"
  26855. },
  26856. "listingselecttype": {
  26857. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  26858. "type": "integer"
  26859. },
  26860. "marketid": {
  26861. "description": "市场ID",
  26862. "type": "integer"
  26863. },
  26864. "mybuystatus": {
  26865. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  26866. "type": "integer"
  26867. },
  26868. "orderamount": {
  26869. "description": "委托金额",
  26870. "type": "number"
  26871. },
  26872. "orderid": {
  26873. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26874. "type": "string"
  26875. },
  26876. "orderprice": {
  26877. "description": "委托价格",
  26878. "type": "number"
  26879. },
  26880. "orderqty": {
  26881. "description": "委托数量",
  26882. "type": "integer"
  26883. },
  26884. "orderstatus": {
  26885. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26886. "type": "integer"
  26887. },
  26888. "ordertime": {
  26889. "description": "委托时间",
  26890. "type": "string"
  26891. },
  26892. "picurls1": {
  26893. "description": "预售商品介绍图片[多张用逗号分隔]",
  26894. "type": "string"
  26895. },
  26896. "picurls2": {
  26897. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  26898. "type": "string"
  26899. },
  26900. "trademode": {
  26901. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26902. "type": "integer"
  26903. },
  26904. "tradeqty": {
  26905. "description": "成交数量",
  26906. "type": "integer"
  26907. },
  26908. "vendorname1": {
  26909. "description": "预售商品供应商名称",
  26910. "type": "string"
  26911. },
  26912. "vendorname2": {
  26913. "description": "挂牌商品供应商名称",
  26914. "type": "string"
  26915. }
  26916. }
  26917. },
  26918. "models.Loginaccount": {
  26919. "type": "object",
  26920. "required": [
  26921. "loginid"
  26922. ],
  26923. "properties": {
  26924. "accountname": {
  26925. "description": "账户名称",
  26926. "type": "string"
  26927. },
  26928. "canoutin": {
  26929. "description": "是否可出入金 - 0:不可 1:可",
  26930. "type": "integer"
  26931. },
  26932. "clientroleid": {
  26933. "description": "终端角色ID",
  26934. "type": "integer"
  26935. },
  26936. "haslogined": {
  26937. "description": "是否已登录 - 0:未登录 1:已登录",
  26938. "type": "integer"
  26939. },
  26940. "hasupdatedpwd": {
  26941. "description": "是否已更改密码 - 0:未修改 1:已修改",
  26942. "type": "integer"
  26943. },
  26944. "lastloginip": {
  26945. "description": "最新登录地址",
  26946. "type": "string"
  26947. },
  26948. "lastloginmode": {
  26949. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  26950. "type": "integer"
  26951. },
  26952. "lastloginremark": {
  26953. "description": "最新登录描述",
  26954. "type": "string"
  26955. },
  26956. "lastlogintime": {
  26957. "description": "最新登录时间",
  26958. "type": "string"
  26959. },
  26960. "logincode": {
  26961. "description": "登录代码",
  26962. "type": "string"
  26963. },
  26964. "loginfailnum": {
  26965. "description": "连续登录失败次数(登录成功时清零)",
  26966. "type": "integer"
  26967. },
  26968. "loginid": {
  26969. "description": "登陆账号",
  26970. "type": "integer"
  26971. },
  26972. "loginport": {
  26973. "description": "最新登录端口",
  26974. "type": "integer"
  26975. },
  26976. "loginstatus": {
  26977. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  26978. "type": "integer"
  26979. },
  26980. "loginusertype": {
  26981. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  26982. "type": "integer"
  26983. },
  26984. "mobile": {
  26985. "description": "手机号码(加密存储)",
  26986. "type": "string"
  26987. },
  26988. "modifierid": {
  26989. "description": "修改人",
  26990. "type": "integer"
  26991. },
  26992. "modifysrc": {
  26993. "description": "审核来源 - 1:管理端 2:终端",
  26994. "type": "integer"
  26995. },
  26996. "modifytime": {
  26997. "description": "修改时间",
  26998. "type": "string"
  26999. },
  27000. "password": {
  27001. "description": "登陆密码",
  27002. "type": "string"
  27003. },
  27004. "pwdwrongcount": {
  27005. "description": "密码错误次数",
  27006. "type": "integer"
  27007. },
  27008. "relateduserid": {
  27009. "description": "关联用户ID(机构)",
  27010. "type": "integer"
  27011. },
  27012. "taaccountrighttype": {
  27013. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  27014. "type": "integer"
  27015. },
  27016. "unfreezetime": {
  27017. "description": "账户解冻时间",
  27018. "type": "string"
  27019. },
  27020. "userid": {
  27021. "description": "用户ID",
  27022. "type": "integer"
  27023. }
  27024. }
  27025. },
  27026. "models.MainAccountInfo": {
  27027. "type": "object",
  27028. "properties": {
  27029. "accountid": {
  27030. "description": "账号id",
  27031. "type": "integer"
  27032. },
  27033. "accountname": {
  27034. "description": "账号名称(taaccount表中的名称)",
  27035. "type": "string"
  27036. },
  27037. "appid": {
  27038. "description": "AppID",
  27039. "type": "string"
  27040. },
  27041. "authcode": {
  27042. "description": "授权码",
  27043. "type": "string"
  27044. },
  27045. "brokerid": {
  27046. "description": "经纪商id",
  27047. "type": "string"
  27048. },
  27049. "fcid": {
  27050. "description": "期货公司id",
  27051. "type": "integer"
  27052. },
  27053. "fcname": {
  27054. "description": "期货公司代码",
  27055. "type": "string"
  27056. },
  27057. "hedgeaccountcode": {
  27058. "description": "外部账号代码(主账号登录代码)",
  27059. "type": "string"
  27060. },
  27061. "hedgeaccountpwd": {
  27062. "description": "密码",
  27063. "type": "string"
  27064. },
  27065. "ismain": {
  27066. "description": "是否主账号",
  27067. "type": "integer"
  27068. },
  27069. "relateduserid": {
  27070. "description": "关联用户id",
  27071. "type": "integer"
  27072. },
  27073. "userid": {
  27074. "description": "关联用户id",
  27075. "type": "integer"
  27076. }
  27077. }
  27078. },
  27079. "models.Market": {
  27080. "type": "object",
  27081. "required": [
  27082. "marketid",
  27083. "marketstatus",
  27084. "openmethod",
  27085. "reckonpricealgorithm",
  27086. "trademode",
  27087. "tradeproperty"
  27088. ],
  27089. "properties": {
  27090. "auctionwrtype": {
  27091. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  27092. "type": "integer"
  27093. },
  27094. "canacceptquote": {
  27095. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  27096. "type": "integer"
  27097. },
  27098. "cangoodsexercise": {
  27099. "description": "[期权]是否可现货行权- 0:否 1:是",
  27100. "type": "integer"
  27101. },
  27102. "cangoodsexercisetype": {
  27103. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  27104. "type": "integer"
  27105. },
  27106. "canmanualquotestrike": {
  27107. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  27108. "type": "integer"
  27109. },
  27110. "canmutistage": {
  27111. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  27112. "type": "integer"
  27113. },
  27114. "canpreexercise": {
  27115. "description": "[期权]是否可预申报- 0:否 1:是",
  27116. "type": "integer"
  27117. },
  27118. "clearinterval": {
  27119. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  27120. "type": "integer"
  27121. },
  27122. "contracttmp": {
  27123. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  27124. "type": "string"
  27125. },
  27126. "exchareaid": {
  27127. "description": "所属交易所,可以没有",
  27128. "type": "integer"
  27129. },
  27130. "goodstype": {
  27131. "description": "商品类型 - 1:交易商品 2:仓单商品",
  27132. "type": "integer"
  27133. },
  27134. "hasrebate": {
  27135. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  27136. "type": "integer"
  27137. },
  27138. "hastradecredit": {
  27139. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  27140. "type": "integer"
  27141. },
  27142. "haswr": {
  27143. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  27144. "type": "integer"
  27145. },
  27146. "isdeductmargin": {
  27147. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  27148. "type": "integer"
  27149. },
  27150. "isrecordsource": {
  27151. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  27152. "type": "integer"
  27153. },
  27154. "isreleasemargin": {
  27155. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  27156. "type": "integer"
  27157. },
  27158. "marginformula": {
  27159. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27160. "type": "integer"
  27161. },
  27162. "marginformula2": {
  27163. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27164. "type": "integer"
  27165. },
  27166. "marketid": {
  27167. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  27168. "type": "integer"
  27169. },
  27170. "marketname": {
  27171. "description": "市场名称",
  27172. "type": "string"
  27173. },
  27174. "marketserviceid": {
  27175. "description": "市场服务ID",
  27176. "type": "integer"
  27177. },
  27178. "marketstatus": {
  27179. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  27180. "type": "integer"
  27181. },
  27182. "markettype": {
  27183. "description": "市场类型- 1:非交易服务 2:交易服务",
  27184. "type": "integer"
  27185. },
  27186. "matchermode": {
  27187. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  27188. "type": "integer"
  27189. },
  27190. "openmethod": {
  27191. "description": "开盘模式 - 0 自动 1手动",
  27192. "type": "integer"
  27193. },
  27194. "otcuserid": {
  27195. "description": "场外期权做市商[场外期权]",
  27196. "type": "integer"
  27197. },
  27198. "outersynctime": {
  27199. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  27200. "type": "string"
  27201. },
  27202. "pendingflag": {
  27203. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  27204. "type": "integer"
  27205. },
  27206. "pendingtime": {
  27207. "description": "待开市时间[通道交易-对冲](HH:mm)",
  27208. "type": "string"
  27209. },
  27210. "performancetempid": {
  27211. "description": "履约计划模板ID - 作废",
  27212. "type": "integer"
  27213. },
  27214. "premiumquotemode": {
  27215. "description": "权利金报价方式 - 1:自动 2:手动",
  27216. "type": "integer"
  27217. },
  27218. "rebateratio": {
  27219. "description": "返利比率[竞价式]",
  27220. "type": "number"
  27221. },
  27222. "reckonorder": {
  27223. "description": "结算顺序",
  27224. "type": "integer"
  27225. },
  27226. "reckonpricealgorithm": {
  27227. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  27228. "type": "integer"
  27229. },
  27230. "reckonpriceparam": {
  27231. "description": "结算价参数",
  27232. "type": "integer"
  27233. },
  27234. "reckontime": {
  27235. "description": "结算时间[通道交易-对冲](HH:mm)",
  27236. "type": "string"
  27237. },
  27238. "roleprioritytype": {
  27239. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  27240. "type": "integer"
  27241. },
  27242. "selllistingauditflag": {
  27243. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  27244. "type": "integer"
  27245. },
  27246. "trademarkettype": {
  27247. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  27248. "type": "integer"
  27249. },
  27250. "trademode": {
  27251. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27252. "type": "integer"
  27253. },
  27254. "tradeproperty": {
  27255. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  27256. "type": "integer"
  27257. },
  27258. "tradetype": {
  27259. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  27260. "type": "integer"
  27261. }
  27262. }
  27263. },
  27264. "models.Marketrun": {
  27265. "type": "object",
  27266. "required": [
  27267. "marketid",
  27268. "nexttradedate",
  27269. "reckonflag",
  27270. "runstatus",
  27271. "tradedate",
  27272. "tradedate2"
  27273. ],
  27274. "properties": {
  27275. "afternexttradedate": {
  27276. "description": "下下交易日",
  27277. "type": "string"
  27278. },
  27279. "clearquoteflag": {
  27280. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  27281. "type": "integer"
  27282. },
  27283. "lastreckondate": {
  27284. "description": "最新交易日(结算成功)",
  27285. "type": "string"
  27286. },
  27287. "machinedate": {
  27288. "description": "机器时间",
  27289. "type": "string"
  27290. },
  27291. "manualflag": {
  27292. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  27293. "type": "integer"
  27294. },
  27295. "marketid": {
  27296. "description": "市场ID",
  27297. "type": "integer"
  27298. },
  27299. "nexttradedate": {
  27300. "description": "下一交易日",
  27301. "type": "string"
  27302. },
  27303. "pretradedate": {
  27304. "description": "上一交易日",
  27305. "type": "string"
  27306. },
  27307. "reckonflag": {
  27308. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  27309. "type": "integer"
  27310. },
  27311. "runstatus": {
  27312. "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.今日免清算",
  27313. "type": "integer"
  27314. },
  27315. "sectionid": {
  27316. "description": "时间段号[多时段时用]",
  27317. "type": "integer"
  27318. },
  27319. "tradedate": {
  27320. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  27321. "type": "string"
  27322. },
  27323. "tradedate2": {
  27324. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  27325. "type": "string"
  27326. },
  27327. "updatetime": {
  27328. "description": "更新时间",
  27329. "type": "string"
  27330. }
  27331. }
  27332. },
  27333. "models.Messageboard": {
  27334. "type": "object",
  27335. "required": [
  27336. "messageboardid"
  27337. ],
  27338. "properties": {
  27339. "contactnum": {
  27340. "description": "联系电话",
  27341. "type": "string"
  27342. },
  27343. "createtime": {
  27344. "description": "创建时间",
  27345. "type": "string"
  27346. },
  27347. "message": {
  27348. "description": "留言信息",
  27349. "type": "string"
  27350. },
  27351. "messageboardid": {
  27352. "description": "留言簿ID(SEQ_MessageBoard)",
  27353. "type": "integer"
  27354. },
  27355. "userid": {
  27356. "description": "用户ID",
  27357. "type": "integer"
  27358. }
  27359. }
  27360. },
  27361. "models.MyCoupon": {
  27362. "type": "object",
  27363. "required": [
  27364. "accountid",
  27365. "coupontypeid"
  27366. ],
  27367. "properties": {
  27368. "accountid": {
  27369. "description": "资金账户ID",
  27370. "type": "integer"
  27371. },
  27372. "areauserid": {
  27373. "description": "所属机构",
  27374. "type": "integer"
  27375. },
  27376. "conditionvalue": {
  27377. "description": "条件阈值(可为0)",
  27378. "type": "number"
  27379. },
  27380. "couponcategroy": {
  27381. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  27382. "type": "integer"
  27383. },
  27384. "couponname": {
  27385. "description": "优惠券名称",
  27386. "type": "string"
  27387. },
  27388. "coupontypeid": {
  27389. "description": "优惠券类型ID",
  27390. "type": "string"
  27391. },
  27392. "couponvalue": {
  27393. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27394. "type": "number"
  27395. },
  27396. "curfreezeqty": {
  27397. "description": "期末冻结数量",
  27398. "type": "integer"
  27399. },
  27400. "curqty": {
  27401. "description": "期末数量",
  27402. "type": "integer"
  27403. },
  27404. "isgeneral": {
  27405. "description": "是否通用券 - 0:否 1:是",
  27406. "type": "integer"
  27407. },
  27408. "isunusable": {
  27409. "description": "是否不可用",
  27410. "type": "boolean"
  27411. },
  27412. "limitedflag": {
  27413. "description": "是否指定商品 - 0:不限 1:限制",
  27414. "type": "integer"
  27415. },
  27416. "limitedgoodsids": {
  27417. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  27418. "type": "string"
  27419. },
  27420. "orifreezeqty": {
  27421. "description": "期初冻结数量",
  27422. "type": "integer"
  27423. },
  27424. "oriqty": {
  27425. "description": "期初数量",
  27426. "type": "integer"
  27427. },
  27428. "reasontype": {
  27429. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  27430. "type": "integer"
  27431. },
  27432. "todaydecrease": {
  27433. "description": "今日减少",
  27434. "type": "integer"
  27435. },
  27436. "todayincrease": {
  27437. "description": "今日增加",
  27438. "type": "integer"
  27439. },
  27440. "userid": {
  27441. "description": "用户ID",
  27442. "type": "integer"
  27443. },
  27444. "userscope": {
  27445. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  27446. "type": "string"
  27447. }
  27448. }
  27449. },
  27450. "models.MyCouponHold": {
  27451. "type": "object",
  27452. "required": [
  27453. "couponholdid"
  27454. ],
  27455. "properties": {
  27456. "accountid": {
  27457. "description": "资金账户ID",
  27458. "type": "integer"
  27459. },
  27460. "conditionvalue": {
  27461. "description": "条件阈值(可为0)",
  27462. "type": "number"
  27463. },
  27464. "couponcategroy": {
  27465. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  27466. "type": "integer"
  27467. },
  27468. "couponholdid": {
  27469. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  27470. "type": "string"
  27471. },
  27472. "couponname": {
  27473. "description": "优惠券名称",
  27474. "type": "string"
  27475. },
  27476. "coupontypeid": {
  27477. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  27478. "type": "string"
  27479. },
  27480. "couponvalue": {
  27481. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27482. "type": "number"
  27483. },
  27484. "createtime": {
  27485. "description": "创建时间",
  27486. "type": "string"
  27487. },
  27488. "enddate": {
  27489. "description": "结束日期",
  27490. "type": "string"
  27491. },
  27492. "giveapplyid": {
  27493. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  27494. "type": "integer"
  27495. },
  27496. "holdstatus": {
  27497. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  27498. "type": "integer"
  27499. },
  27500. "isgeneral": {
  27501. "description": "是否通用券 - 0:否 1:是",
  27502. "type": "integer"
  27503. },
  27504. "limitedflag": {
  27505. "description": "是否指定商品 - 0:不限 1:限制",
  27506. "type": "integer"
  27507. },
  27508. "limitedgoodsids": {
  27509. "description": "指定商品IDs[逗号分隔]",
  27510. "type": "string"
  27511. },
  27512. "qty": {
  27513. "description": "数量(按1平铺)",
  27514. "type": "integer"
  27515. },
  27516. "startdate": {
  27517. "description": "开始日期",
  27518. "type": "string"
  27519. },
  27520. "userid": {
  27521. "description": "用户ID",
  27522. "type": "integer"
  27523. },
  27524. "userscope": {
  27525. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  27526. "type": "string"
  27527. }
  27528. }
  27529. },
  27530. "models.MyUsedCoupon": {
  27531. "type": "object",
  27532. "required": [
  27533. "coupontypeid",
  27534. "orderid"
  27535. ],
  27536. "properties": {
  27537. "accountid": {
  27538. "description": "资金账户ID(买方)",
  27539. "type": "integer"
  27540. },
  27541. "conditionvalue": {
  27542. "description": "条件阈值(可为0)",
  27543. "type": "number"
  27544. },
  27545. "couponcategroy": {
  27546. "description": "种类 - 1:现金券 2:折扣券",
  27547. "type": "integer"
  27548. },
  27549. "couponname": {
  27550. "description": "优惠券名称",
  27551. "type": "string"
  27552. },
  27553. "coupontypeid": {
  27554. "description": "优惠券类型ID(买方)",
  27555. "type": "string"
  27556. },
  27557. "couponvalue": {
  27558. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  27559. "type": "number"
  27560. },
  27561. "createtime": {
  27562. "description": "创建时间",
  27563. "type": "string"
  27564. },
  27565. "goodsid": {
  27566. "description": "商品ID",
  27567. "type": "integer"
  27568. },
  27569. "handlestatus": {
  27570. "description": "处理状态",
  27571. "type": "integer"
  27572. },
  27573. "marketid": {
  27574. "description": "市场ID",
  27575. "type": "integer"
  27576. },
  27577. "offamount": {
  27578. "description": "优惠金额",
  27579. "type": "number"
  27580. },
  27581. "orderid": {
  27582. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27583. "type": "string"
  27584. },
  27585. "sellaccountid": {
  27586. "description": "资金账户ID(卖方)",
  27587. "type": "integer"
  27588. },
  27589. "tradeamount": {
  27590. "description": "成交金额",
  27591. "type": "number"
  27592. },
  27593. "tradeid": {
  27594. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27595. "type": "string"
  27596. },
  27597. "usedqty": {
  27598. "description": "使用数量",
  27599. "type": "integer"
  27600. }
  27601. }
  27602. },
  27603. "models.OperationPrimaryMenu": {
  27604. "type": "object",
  27605. "properties": {
  27606. "Children": {
  27607. "description": "二级功能菜单",
  27608. "type": "array",
  27609. "items": {
  27610. "$ref": "#/definitions/models.OperationSecondaryMenu"
  27611. }
  27612. },
  27613. "Key": {
  27614. "description": "菜单KEY",
  27615. "type": "string"
  27616. },
  27617. "Label": {
  27618. "description": "菜单标题",
  27619. "type": "string"
  27620. }
  27621. }
  27622. },
  27623. "models.OperationSecondaryMenu": {
  27624. "type": "object",
  27625. "properties": {
  27626. "Key": {
  27627. "description": "菜单KEY",
  27628. "type": "string"
  27629. },
  27630. "Label": {
  27631. "description": "菜单标题",
  27632. "type": "string"
  27633. },
  27634. "TabList": {
  27635. "description": "三级功能菜单",
  27636. "type": "array",
  27637. "items": {
  27638. "$ref": "#/definitions/models.OperationTabMenu"
  27639. }
  27640. }
  27641. }
  27642. },
  27643. "models.OperationTabMenu": {
  27644. "type": "object",
  27645. "properties": {
  27646. "Key": {
  27647. "description": "菜单KEY",
  27648. "type": "string"
  27649. },
  27650. "Label": {
  27651. "description": "菜单标题",
  27652. "type": "string"
  27653. }
  27654. }
  27655. },
  27656. "models.QhjAccountOutInApply": {
  27657. "type": "object",
  27658. "properties": {
  27659. "accountcode": {
  27660. "description": "资金账号",
  27661. "type": "string"
  27662. },
  27663. "accountname": {
  27664. "description": "用户名称(名称)",
  27665. "type": "string"
  27666. },
  27667. "accountpwd": {
  27668. "description": "资金密码",
  27669. "type": "string"
  27670. },
  27671. "accountticket": {
  27672. "description": "最新账户服务流水号",
  27673. "type": "string"
  27674. },
  27675. "amount": {
  27676. "description": "金额",
  27677. "type": "number"
  27678. },
  27679. "applyremark": {
  27680. "description": "申请备注",
  27681. "type": "string"
  27682. },
  27683. "applystatus": {
  27684. "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: 复审通过,账户冻结金额检查中;",
  27685. "type": "integer"
  27686. },
  27687. "auditid": {
  27688. "description": "审核人",
  27689. "type": "integer"
  27690. },
  27691. "audittime": {
  27692. "description": "审核时间",
  27693. "type": "string"
  27694. },
  27695. "bank_apply_ticket": {
  27696. "description": "银行申请流水",
  27697. "type": "string"
  27698. },
  27699. "bankaccountname": {
  27700. "description": "银行账户名",
  27701. "type": "string"
  27702. },
  27703. "bankaccountno": {
  27704. "description": "银行卡号",
  27705. "type": "string"
  27706. },
  27707. "bankid": {
  27708. "description": "银行编号",
  27709. "type": "string"
  27710. },
  27711. "bankticket": {
  27712. "description": "银行流水",
  27713. "type": "string"
  27714. },
  27715. "branchbankid": {
  27716. "description": "银行支行号",
  27717. "type": "string"
  27718. },
  27719. "branchbankname": {
  27720. "description": "银行支行名称",
  27721. "type": "string"
  27722. },
  27723. "capamountout": {
  27724. "description": "出金(劣后本金) - 外部子账户",
  27725. "type": "number"
  27726. },
  27727. "certificatephotourl": {
  27728. "description": "凭证地址",
  27729. "type": "string"
  27730. },
  27731. "charge": {
  27732. "description": "手续费",
  27733. "type": "number"
  27734. },
  27735. "checkerrorflag": {
  27736. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  27737. "type": "integer"
  27738. },
  27739. "currency": {
  27740. "description": "币种",
  27741. "type": "string"
  27742. },
  27743. "cusbankid": {
  27744. "description": "托管银行编号",
  27745. "type": "string"
  27746. },
  27747. "exchticket": {
  27748. "description": "银行服务流水号",
  27749. "type": "string"
  27750. },
  27751. "executetype": {
  27752. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  27753. "type": "integer"
  27754. },
  27755. "extendinfo": {
  27756. "description": "扩展信息",
  27757. "type": "string"
  27758. },
  27759. "extoperateid": {
  27760. "description": "交易服务流水号",
  27761. "type": "integer"
  27762. },
  27763. "infamount": {
  27764. "description": "劣后金额(自有)",
  27765. "type": "number"
  27766. },
  27767. "logincode": {
  27768. "description": "登录账号(账号)",
  27769. "type": "string"
  27770. },
  27771. "netaddr": {
  27772. "description": "调转网址",
  27773. "type": "string"
  27774. },
  27775. "priamount": {
  27776. "description": "优先金额(授信)",
  27777. "type": "number"
  27778. },
  27779. "reauditid": {
  27780. "description": "复审人",
  27781. "type": "integer"
  27782. },
  27783. "reauditremark": {
  27784. "description": "复审备注",
  27785. "type": "string"
  27786. },
  27787. "reaudittime": {
  27788. "description": "复审时间",
  27789. "type": "string"
  27790. },
  27791. "relatedorderid": {
  27792. "description": "三方关联ID",
  27793. "type": "string"
  27794. },
  27795. "remark": {
  27796. "description": "备注",
  27797. "type": "string"
  27798. },
  27799. "remark2": {
  27800. "description": "备注(失败原因)",
  27801. "type": "string"
  27802. },
  27803. "soucreamount": {
  27804. "description": "原始出入金金额",
  27805. "type": "number"
  27806. },
  27807. "soucrecurrencyid": {
  27808. "description": "原始出入金币种",
  27809. "type": "integer"
  27810. },
  27811. "tradedate": {
  27812. "description": "交易日(yyyyMMdd)",
  27813. "type": "string"
  27814. },
  27815. "updatetime": {
  27816. "description": "更新时间(申请时间)",
  27817. "type": "string"
  27818. },
  27819. "userid": {
  27820. "description": "用户id",
  27821. "type": "integer"
  27822. },
  27823. "userinfotype": {
  27824. "description": "账户类型 1-个人 2-企业",
  27825. "type": "integer"
  27826. }
  27827. }
  27828. },
  27829. "models.QhjAgreementChangeLog": {
  27830. "type": "object",
  27831. "properties": {
  27832. "agreementcontent": {
  27833. "description": "协议内容",
  27834. "type": "string"
  27835. },
  27836. "agreementfrequency": {
  27837. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  27838. "type": "integer"
  27839. },
  27840. "agreementid": {
  27841. "description": "协议ID",
  27842. "type": "integer"
  27843. },
  27844. "agreementname": {
  27845. "description": "协议名称",
  27846. "type": "string"
  27847. },
  27848. "agreementno": {
  27849. "description": "协议编号",
  27850. "type": "string"
  27851. },
  27852. "agreementtype": {
  27853. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27854. "type": "integer"
  27855. },
  27856. "agreementversion": {
  27857. "description": "协议版本号",
  27858. "type": "integer"
  27859. },
  27860. "logid": {
  27861. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  27862. "type": "integer"
  27863. },
  27864. "reviserid": {
  27865. "description": "修改人",
  27866. "type": "integer"
  27867. },
  27868. "revisersrc": {
  27869. "description": "修改来源 - 1:管理端 2:终端",
  27870. "type": "integer"
  27871. },
  27872. "updatetime": {
  27873. "description": "更新时间",
  27874. "type": "string"
  27875. }
  27876. }
  27877. },
  27878. "models.QhjAgreementConfig": {
  27879. "type": "object",
  27880. "properties": {
  27881. "agreementcontent": {
  27882. "description": "协议内容",
  27883. "type": "string"
  27884. },
  27885. "agreementfrequency": {
  27886. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  27887. "type": "integer"
  27888. },
  27889. "agreementid": {
  27890. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  27891. "type": "integer"
  27892. },
  27893. "agreementname": {
  27894. "description": "协议名称",
  27895. "type": "string"
  27896. },
  27897. "agreementno": {
  27898. "description": "协议编号",
  27899. "type": "string"
  27900. },
  27901. "agreementtype": {
  27902. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27903. "type": "integer"
  27904. },
  27905. "agreementversion": {
  27906. "description": "协议版本号(从1开始每次修改加1)",
  27907. "type": "integer"
  27908. },
  27909. "createtime": {
  27910. "description": "创建时间",
  27911. "type": "string"
  27912. },
  27913. "creatorid": {
  27914. "description": "创建人",
  27915. "type": "integer"
  27916. },
  27917. "creatorsrc": {
  27918. "description": "创建来源 - 1:管理端 2:终端",
  27919. "type": "integer"
  27920. },
  27921. "isvalid": {
  27922. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  27923. "type": "integer"
  27924. },
  27925. "reviserid": {
  27926. "description": "修改人",
  27927. "type": "integer"
  27928. },
  27929. "revisersrc": {
  27930. "description": "修改来源 - 1:管理端 2:终端",
  27931. "type": "integer"
  27932. },
  27933. "updatetime": {
  27934. "description": "更新时间",
  27935. "type": "string"
  27936. }
  27937. }
  27938. },
  27939. "models.QhjAreaFinanceConfig": {
  27940. "type": "object",
  27941. "properties": {
  27942. "additionalratio": {
  27943. "description": "追加款比例",
  27944. "type": "number"
  27945. },
  27946. "advanceratio": {
  27947. "description": "预付款比例",
  27948. "type": "number"
  27949. },
  27950. "alarmratio": {
  27951. "description": "告警比例",
  27952. "type": "number"
  27953. },
  27954. "consumptiondirectreward": {
  27955. "description": "消费直推奖励值",
  27956. "type": "number"
  27957. },
  27958. "consumptionenabled": {
  27959. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  27960. "type": "integer"
  27961. },
  27962. "consumptionindirectreward": {
  27963. "description": "消费间推奖励值",
  27964. "type": "number"
  27965. },
  27966. "consumptionmodel": {
  27967. "description": "消费奖励方式 - 1:比率 2:固定",
  27968. "type": "integer"
  27969. },
  27970. "customerservicenum": {
  27971. "description": "客服电话",
  27972. "type": "string"
  27973. },
  27974. "dayinterestrate": {
  27975. "description": "日利率",
  27976. "type": "number"
  27977. },
  27978. "disableconsumptiontips": {
  27979. "description": "关闭消费奖励提示",
  27980. "type": "string"
  27981. },
  27982. "modifierid": {
  27983. "description": "修改人ID",
  27984. "type": "integer"
  27985. },
  27986. "modifysrc": {
  27987. "description": "审核来源 - 1:管理端 2:终端",
  27988. "type": "integer"
  27989. },
  27990. "modifytime": {
  27991. "description": "修改时间",
  27992. "type": "string"
  27993. },
  27994. "promotionvalue": {
  27995. "description": "推广奖励值(固定)",
  27996. "type": "number"
  27997. },
  27998. "scoreconfigvalue1": {
  27999. "description": "提货积分配置1",
  28000. "type": "integer"
  28001. },
  28002. "scoreconfigvalue2": {
  28003. "description": "提货积分配置2",
  28004. "type": "integer"
  28005. },
  28006. "userid": {
  28007. "description": "机构用户ID其他做市关系,都设置为 1",
  28008. "type": "integer"
  28009. },
  28010. "username": {
  28011. "description": "用户名称",
  28012. "type": "string"
  28013. }
  28014. }
  28015. },
  28016. "models.QhjBankAccountSign": {
  28017. "type": "object",
  28018. "properties": {
  28019. "accountcode": {
  28020. "description": "资金账号",
  28021. "type": "string"
  28022. },
  28023. "accountname": {
  28024. "description": "资金账号对应的账号名(UserName)",
  28025. "type": "string"
  28026. },
  28027. "accountname2": {
  28028. "description": "资金账号对应的账号名(UserName) - 密文",
  28029. "type": "string"
  28030. },
  28031. "accounttype": {
  28032. "description": "账户类型(UserType)",
  28033. "type": "integer"
  28034. },
  28035. "applicationtime": {
  28036. "description": "最后一次更新的时间",
  28037. "type": "string"
  28038. },
  28039. "applyexchticket": {
  28040. "description": "申请流水",
  28041. "type": "string"
  28042. },
  28043. "auditid": {
  28044. "description": "审核人",
  28045. "type": "integer"
  28046. },
  28047. "audittime": {
  28048. "description": "审核时间",
  28049. "type": "string"
  28050. },
  28051. "bankaccountname": {
  28052. "description": "签约银行卡账号名",
  28053. "type": "string"
  28054. },
  28055. "bankaccountname2": {
  28056. "description": "签约银行卡账号名 - 密文",
  28057. "type": "string"
  28058. },
  28059. "bankaccountno": {
  28060. "description": "银行卡号",
  28061. "type": "string"
  28062. },
  28063. "bankaccountno2": {
  28064. "description": "银行卡号 - 密文",
  28065. "type": "string"
  28066. },
  28067. "bankaccounttype": {
  28068. "description": "银行账户类型 - 1-对私; 2-对公",
  28069. "type": "integer"
  28070. },
  28071. "bankcardtype": {
  28072. "description": "银行卡类型",
  28073. "type": "integer"
  28074. },
  28075. "bankchildaccount": {
  28076. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  28077. "type": "string"
  28078. },
  28079. "bankcity": {
  28080. "description": "开户行城市",
  28081. "type": "string"
  28082. },
  28083. "bankid": {
  28084. "description": "签约银行ID",
  28085. "type": "string"
  28086. },
  28087. "bankname": {
  28088. "description": "签约银行名称",
  28089. "type": "string"
  28090. },
  28091. "bankprovince": {
  28092. "description": "开户行省份",
  28093. "type": "string"
  28094. },
  28095. "branchbankid": {
  28096. "description": "签约银行支行号",
  28097. "type": "string"
  28098. },
  28099. "branchbankname": {
  28100. "description": "签约银行支行名称",
  28101. "type": "string"
  28102. },
  28103. "cardno": {
  28104. "description": "证件号码",
  28105. "type": "string"
  28106. },
  28107. "cardno2": {
  28108. "description": "证件号码 - 密文",
  28109. "type": "string"
  28110. },
  28111. "cardtype": {
  28112. "description": "证件类型",
  28113. "type": "string"
  28114. },
  28115. "currency": {
  28116. "description": "币种",
  28117. "type": "string"
  28118. },
  28119. "cusbankid": {
  28120. "description": "托管银行编号",
  28121. "type": "string"
  28122. },
  28123. "direct": {
  28124. "description": "方向(可以判断那方先发起的签约)",
  28125. "type": "integer"
  28126. },
  28127. "exchticket": {
  28128. "description": "最后一次签约成功的流水号",
  28129. "type": "string"
  28130. },
  28131. "extendinfo": {
  28132. "description": "扩展信息(JSON字符串)",
  28133. "type": "string"
  28134. },
  28135. "mobilephone": {
  28136. "description": "手机号",
  28137. "type": "string"
  28138. },
  28139. "mobilephone2": {
  28140. "description": "手机号 - 密文",
  28141. "type": "string"
  28142. },
  28143. "netaddr": {
  28144. "description": "调转网址",
  28145. "type": "string"
  28146. },
  28147. "relateduserid": {
  28148. "description": "关联使用者userid",
  28149. "type": "integer"
  28150. },
  28151. "signstatus": {
  28152. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  28153. "type": "integer"
  28154. },
  28155. "updatetime": {
  28156. "description": "更新时间(签解约更新时间)",
  28157. "type": "string"
  28158. }
  28159. }
  28160. },
  28161. "models.QhjBankInfo": {
  28162. "type": "object",
  28163. "properties": {
  28164. "bankid": {
  28165. "description": "银行ID",
  28166. "type": "string"
  28167. },
  28168. "bankname": {
  28169. "description": "银行名称",
  28170. "type": "string"
  28171. },
  28172. "clearbankno": {
  28173. "description": "清算系统银行编号",
  28174. "type": "string"
  28175. },
  28176. "orderindex": {
  28177. "description": "排序顺序",
  28178. "type": "integer"
  28179. },
  28180. "status": {
  28181. "description": "状态 - 0:正常 1:注销",
  28182. "type": "integer"
  28183. }
  28184. }
  28185. },
  28186. "models.QhjBrokerApply": {
  28187. "type": "object",
  28188. "properties": {
  28189. "applicantid": {
  28190. "description": "申请人",
  28191. "type": "integer"
  28192. },
  28193. "applysrc": {
  28194. "description": "申请来源 - 1:管理端 2:终端",
  28195. "type": "integer"
  28196. },
  28197. "applystatus": {
  28198. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  28199. "type": "integer"
  28200. },
  28201. "applytime": {
  28202. "description": "申请时间",
  28203. "type": "string"
  28204. },
  28205. "auditorid": {
  28206. "description": "审核人",
  28207. "type": "integer"
  28208. },
  28209. "auditremark": {
  28210. "description": "审核备注",
  28211. "type": "string"
  28212. },
  28213. "auditsrc": {
  28214. "description": "审核来源 - 1:管理端 2:终端",
  28215. "type": "integer"
  28216. },
  28217. "audittime": {
  28218. "description": "审核时间",
  28219. "type": "string"
  28220. },
  28221. "audittradedate": {
  28222. "description": "审核交易日(yyyyMMdd)",
  28223. "type": "string"
  28224. },
  28225. "brokerapplyid": {
  28226. "description": "申请ID(SEQ_BROKERAPPLY)",
  28227. "type": "integer"
  28228. },
  28229. "cardbackphotourl": {
  28230. "description": "证件背面图片地址",
  28231. "type": "string"
  28232. },
  28233. "cardfrontphotourl": {
  28234. "description": "证件正面图片地址",
  28235. "type": "string"
  28236. },
  28237. "cardnum": {
  28238. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  28239. "type": "string"
  28240. },
  28241. "customername": {
  28242. "description": "姓名",
  28243. "type": "string"
  28244. },
  28245. "logincode": {
  28246. "description": "登录代码",
  28247. "type": "string"
  28248. },
  28249. "mobile": {
  28250. "description": "手机号码",
  28251. "type": "string"
  28252. },
  28253. "parentuserid": {
  28254. "description": "所属机构id",
  28255. "type": "integer"
  28256. },
  28257. "parentusername": {
  28258. "description": "所属机构名称",
  28259. "type": "string"
  28260. },
  28261. "refereeuserid": {
  28262. "description": "推荐人id(经纪人)",
  28263. "type": "integer"
  28264. },
  28265. "refernum": {
  28266. "description": "推荐码",
  28267. "type": "string"
  28268. },
  28269. "remark": {
  28270. "description": "备注",
  28271. "type": "string"
  28272. },
  28273. "subarealevelpath": {
  28274. "description": "层级路径",
  28275. "type": "string"
  28276. },
  28277. "tradedate": {
  28278. "description": "交易日(yyyyMMdd)",
  28279. "type": "string"
  28280. },
  28281. "userid": {
  28282. "description": "申请人用户ID",
  28283. "type": "integer"
  28284. },
  28285. "userinfotype": {
  28286. "description": "用户类型 1-个人 2-企业",
  28287. "type": "integer"
  28288. },
  28289. "username": {
  28290. "description": "用户名称",
  28291. "type": "string"
  28292. }
  28293. }
  28294. },
  28295. "models.QhjBrokerApplyEx": {
  28296. "type": "object",
  28297. "properties": {
  28298. "applylist": {
  28299. "description": "经纪人申请记录(只返回最新一条)",
  28300. "type": "array",
  28301. "items": {
  28302. "$ref": "#/definitions/models.QhjBrokerApply"
  28303. }
  28304. },
  28305. "canrecommend": {
  28306. "description": "是否经纪人 0-不是 1-是",
  28307. "type": "integer"
  28308. },
  28309. "refernum": {
  28310. "description": "推荐码",
  28311. "type": "string"
  28312. },
  28313. "userid": {
  28314. "description": "用户id",
  28315. "type": "integer"
  28316. },
  28317. "userinfotype": {
  28318. "description": "用户类型 1-个人 2-企业",
  28319. "type": "integer"
  28320. }
  28321. }
  28322. },
  28323. "models.QhjBrokerRewardLog": {
  28324. "type": "object",
  28325. "properties": {
  28326. "accountid": {
  28327. "description": "资金账号ID",
  28328. "type": "integer"
  28329. },
  28330. "createtime": {
  28331. "description": "创建时间(时间)",
  28332. "type": "string"
  28333. },
  28334. "handlestatus": {
  28335. "description": "处理状态",
  28336. "type": "integer"
  28337. },
  28338. "logid": {
  28339. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28340. "type": "string"
  28341. },
  28342. "marketid": {
  28343. "description": "市场ID",
  28344. "type": "integer"
  28345. },
  28346. "mmaccountid": {
  28347. "description": "做市商资金账号ID",
  28348. "type": "string"
  28349. },
  28350. "mmuserid": {
  28351. "description": "做市商用户ID",
  28352. "type": "string"
  28353. },
  28354. "rewardamount": {
  28355. "description": "奖励金额",
  28356. "type": "number"
  28357. },
  28358. "rewardmodel": {
  28359. "description": "消费奖励方式 - 1:比率 2:固定",
  28360. "type": "integer"
  28361. },
  28362. "rewardtype": {
  28363. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  28364. "type": "integer"
  28365. },
  28366. "rewardvalue": {
  28367. "description": "配置奖励值",
  28368. "type": "number"
  28369. },
  28370. "srcamount": {
  28371. "description": "成交金额 [消费奖励] (金额)",
  28372. "type": "number"
  28373. },
  28374. "srcgoodsid": {
  28375. "description": "来源商品ID [消费奖励]",
  28376. "type": "string"
  28377. },
  28378. "srctime": {
  28379. "description": "来源时间 (成交时间) [消费奖励]",
  28380. "type": "string"
  28381. },
  28382. "srctradeid": {
  28383. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  28384. "type": "string"
  28385. },
  28386. "srcuserid": {
  28387. "description": "来源用户ID(推广账户)",
  28388. "type": "string"
  28389. },
  28390. "srcusername": {
  28391. "description": "推广账户名称",
  28392. "type": "string"
  28393. },
  28394. "tradedate": {
  28395. "description": "交易日(yyyyMMdd)",
  28396. "type": "string"
  28397. },
  28398. "userid": {
  28399. "description": "经纪人用户ID",
  28400. "type": "integer"
  28401. }
  28402. }
  28403. },
  28404. "models.QhjContract": {
  28405. "type": "object",
  28406. "properties": {
  28407. "contractconfirmtime": {
  28408. "description": "合同确认时间(时间)",
  28409. "type": "string"
  28410. },
  28411. "currisklevel": {
  28412. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  28413. "type": "integer"
  28414. },
  28415. "decimalplace": {
  28416. "description": "商品报价小数位",
  28417. "type": "integer"
  28418. },
  28419. "enumdicname": {
  28420. "description": "单位名称",
  28421. "type": "string"
  28422. },
  28423. "goodscode": {
  28424. "description": "商品代码",
  28425. "type": "string"
  28426. },
  28427. "goodsid": {
  28428. "description": "商品ID [5:融资单]",
  28429. "type": "integer"
  28430. },
  28431. "goodsname": {
  28432. "description": "商品名称",
  28433. "type": "string"
  28434. },
  28435. "goodunitid": {
  28436. "description": "商品单位id",
  28437. "type": "integer"
  28438. },
  28439. "initmargin": {
  28440. "description": "初始保证金(首付款)",
  28441. "type": "number"
  28442. },
  28443. "lenderamount": {
  28444. "description": "贷款金额(总额|订单总额)",
  28445. "type": "number"
  28446. },
  28447. "marginratio": {
  28448. "description": "保证金比率(首付比例)",
  28449. "type": "number"
  28450. },
  28451. "payamount": {
  28452. "description": "已付(已付货款)",
  28453. "type": "number"
  28454. },
  28455. "reckonrecovermargin": {
  28456. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  28457. "type": "number"
  28458. },
  28459. "recoveredmargin": {
  28460. "description": "已追缴保证金",
  28461. "type": "number"
  28462. },
  28463. "remainamount": {
  28464. "description": "合同剩余金额(融资额)",
  28465. "type": "number"
  28466. },
  28467. "scfcontractid": {
  28468. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28469. "type": "string"
  28470. },
  28471. "scfcontractstatus": {
  28472. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  28473. "type": "integer"
  28474. },
  28475. "scfcontracttype": {
  28476. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  28477. "type": "integer"
  28478. },
  28479. "totalinterest": {
  28480. "description": "已计总利息(利息)",
  28481. "type": "number"
  28482. },
  28483. "tradeprice": {
  28484. "description": "成交价格(成本价格)",
  28485. "type": "number"
  28486. },
  28487. "userid": {
  28488. "description": "用户ID",
  28489. "type": "integer"
  28490. },
  28491. "username": {
  28492. "description": "用户名称",
  28493. "type": "string"
  28494. },
  28495. "wrqty": {
  28496. "description": "仓单数量(数量)",
  28497. "type": "number"
  28498. }
  28499. }
  28500. },
  28501. "models.QhjContractLog": {
  28502. "type": "object",
  28503. "properties": {
  28504. "amount": {
  28505. "description": "支付金额",
  28506. "type": "number"
  28507. },
  28508. "amounttype": {
  28509. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  28510. "type": "integer"
  28511. },
  28512. "logid": {
  28513. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28514. "type": "string"
  28515. },
  28516. "remainamount": {
  28517. "description": "剩余货款",
  28518. "type": "number"
  28519. },
  28520. "scfcontractid": {
  28521. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28522. "type": "integer"
  28523. },
  28524. "updatetime": {
  28525. "description": "更新时间",
  28526. "type": "string"
  28527. }
  28528. }
  28529. },
  28530. "models.QhjCusBankSignBankEx": {
  28531. "type": "object",
  28532. "properties": {
  28533. "banklst": {
  28534. "description": "银行列表",
  28535. "type": "array",
  28536. "items": {
  28537. "$ref": "#/definitions/models.QhjBankInfo"
  28538. }
  28539. },
  28540. "canallot": {
  28541. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  28542. "type": "integer"
  28543. },
  28544. "canallotquery": {
  28545. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  28546. "type": "integer"
  28547. },
  28548. "canbindcard": {
  28549. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  28550. "type": "integer"
  28551. },
  28552. "caninamount": {
  28553. "description": "是否可入金 - 0:不可 1:可以",
  28554. "type": "integer"
  28555. },
  28556. "caninamount2": {
  28557. "description": "是否可入金(网银端) - 0:不可 1:可以",
  28558. "type": "integer"
  28559. },
  28560. "canmodifybankcard": {
  28561. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  28562. "type": "integer"
  28563. },
  28564. "canmodifyphone": {
  28565. "description": "是否可修改手机号 - 0:不可 1:可以",
  28566. "type": "integer"
  28567. },
  28568. "canmodifysigninfo": {
  28569. "description": "是否可修改签约信息 - 0:不可 1:可以",
  28570. "type": "integer"
  28571. },
  28572. "canoutamount": {
  28573. "description": "是否可出金 - 0:不可 1:可以",
  28574. "type": "integer"
  28575. },
  28576. "canoutamount2": {
  28577. "description": "是否可出金(网银端) - 0:不可 1:可以",
  28578. "type": "integer"
  28579. },
  28580. "canrelease": {
  28581. "description": "是否可解约 - 0:不可 1:可以",
  28582. "type": "integer"
  28583. },
  28584. "canrelease2": {
  28585. "description": "是否可解约(网银端) - 0:不可 1:可以",
  28586. "type": "integer"
  28587. },
  28588. "cansign": {
  28589. "description": "是否可签约 - 0:不可 1:可以",
  28590. "type": "integer"
  28591. },
  28592. "cansign2": {
  28593. "description": "是否可签约(网银端) - 0:不可 1:可以",
  28594. "type": "integer"
  28595. },
  28596. "currency": {
  28597. "description": "币种",
  28598. "type": "string"
  28599. },
  28600. "cusbankid": {
  28601. "description": "托管银行编号(对应清算中心TRAN_NO)",
  28602. "type": "string"
  28603. },
  28604. "cusbankname": {
  28605. "description": "银行业务名称",
  28606. "type": "string"
  28607. },
  28608. "cusbankshortname": {
  28609. "description": "银行业务简称",
  28610. "type": "string"
  28611. },
  28612. "exchbankid": {
  28613. "description": "交易所开户银行ID",
  28614. "type": "string"
  28615. },
  28616. "exchpaybankaccname": {
  28617. "description": "交易所支出结算账户户名",
  28618. "type": "string"
  28619. },
  28620. "exchpaybankaccno": {
  28621. "description": "交易所支出结算账户",
  28622. "type": "string"
  28623. },
  28624. "isneedcheck": {
  28625. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  28626. "type": "integer"
  28627. },
  28628. "isneedclear": {
  28629. "description": "是否需要清算 - 0:不需要 1:需要",
  28630. "type": "integer"
  28631. },
  28632. "lastcheckstatus": {
  28633. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  28634. "type": "integer"
  28635. },
  28636. "lastchecktime": {
  28637. "description": "最后对账时间",
  28638. "type": "string"
  28639. },
  28640. "lastclearstatus": {
  28641. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  28642. "type": "integer"
  28643. },
  28644. "lastcleartime": {
  28645. "description": "最后清算时间",
  28646. "type": "string"
  28647. },
  28648. "lastsignintime": {
  28649. "description": "最后签到时间",
  28650. "type": "string"
  28651. },
  28652. "lastsignouttime": {
  28653. "description": "最后签退时间",
  28654. "type": "string"
  28655. },
  28656. "riskinfo": {
  28657. "description": "签约风险提示书",
  28658. "type": "string"
  28659. },
  28660. "signstatus": {
  28661. "description": "当前签到/签退状态 - 1:签到 2:签退",
  28662. "type": "integer"
  28663. },
  28664. "tradedate": {
  28665. "description": "交易日(yyyyMMdd)",
  28666. "type": "string"
  28667. },
  28668. "updatetime": {
  28669. "description": "当前签到/签退更新时间",
  28670. "type": "string"
  28671. }
  28672. }
  28673. },
  28674. "models.QhjCustomer": {
  28675. "type": "object",
  28676. "properties": {
  28677. "address": {
  28678. "description": "通讯地址",
  28679. "type": "string"
  28680. },
  28681. "attachment1": {
  28682. "description": "附件1",
  28683. "type": "string"
  28684. },
  28685. "attachment2": {
  28686. "description": "附件2",
  28687. "type": "string"
  28688. },
  28689. "audittime": {
  28690. "description": "审核时间",
  28691. "type": "string"
  28692. },
  28693. "cardbackphotourl": {
  28694. "description": "证件反面图片地址",
  28695. "type": "string"
  28696. },
  28697. "cardfrontphotourl": {
  28698. "description": "证件正面图片地址",
  28699. "type": "string"
  28700. },
  28701. "cardnum": {
  28702. "description": "证件号码",
  28703. "type": "string"
  28704. },
  28705. "cardtype": {
  28706. "description": "证件类型",
  28707. "type": "integer"
  28708. },
  28709. "cardtypename": {
  28710. "description": "证件类型名称",
  28711. "type": "string"
  28712. },
  28713. "cityid": {
  28714. "description": "市",
  28715. "type": "integer"
  28716. },
  28717. "cityname": {
  28718. "description": "城市名称",
  28719. "type": "string"
  28720. },
  28721. "contactname": {
  28722. "description": "联系人",
  28723. "type": "string"
  28724. },
  28725. "countryid": {
  28726. "description": "国家",
  28727. "type": "integer"
  28728. },
  28729. "countryname": {
  28730. "description": "国家名称",
  28731. "type": "string"
  28732. },
  28733. "createtime": {
  28734. "description": "创建时间",
  28735. "type": "string"
  28736. },
  28737. "customername": {
  28738. "description": "客户名称",
  28739. "type": "string"
  28740. },
  28741. "districtid": {
  28742. "description": "区域",
  28743. "type": "integer"
  28744. },
  28745. "districtname": {
  28746. "description": "地区名称",
  28747. "type": "string"
  28748. },
  28749. "email": {
  28750. "description": "邮件",
  28751. "type": "string"
  28752. },
  28753. "legalpersonname": {
  28754. "description": "法人姓名(企业)",
  28755. "type": "string"
  28756. },
  28757. "logincode": {
  28758. "description": "登录账号(代码)",
  28759. "type": "string"
  28760. },
  28761. "memberuserid": {
  28762. "description": "所属机构ID(所属会员)",
  28763. "type": "integer"
  28764. },
  28765. "memberusername": {
  28766. "description": "所属会员名称",
  28767. "type": "string"
  28768. },
  28769. "mobile": {
  28770. "description": "手机号码",
  28771. "type": "string"
  28772. },
  28773. "modifytime": {
  28774. "description": "修改时间",
  28775. "type": "string"
  28776. },
  28777. "nickname": {
  28778. "description": "昵称",
  28779. "type": "string"
  28780. },
  28781. "parentuserid": {
  28782. "description": "上级机构(所属机构)",
  28783. "type": "integer"
  28784. },
  28785. "parentusername": {
  28786. "description": "所属机构名称",
  28787. "type": "string"
  28788. },
  28789. "provinceid": {
  28790. "description": "省",
  28791. "type": "integer"
  28792. },
  28793. "provincename": {
  28794. "description": "省名称",
  28795. "type": "string"
  28796. },
  28797. "proxystatementurl": {
  28798. "description": "授权委托书",
  28799. "type": "string"
  28800. },
  28801. "remark": {
  28802. "description": "备注",
  28803. "type": "string"
  28804. },
  28805. "status": {
  28806. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  28807. "type": "integer"
  28808. },
  28809. "statusdesc": {
  28810. "description": "账户状态中文描述",
  28811. "type": "string"
  28812. },
  28813. "taxpayernum": {
  28814. "description": "纳税人识别号",
  28815. "type": "string"
  28816. },
  28817. "telphone": {
  28818. "description": "联系电话",
  28819. "type": "string"
  28820. },
  28821. "userid": {
  28822. "description": "用户ID",
  28823. "type": "integer"
  28824. },
  28825. "userinfotype": {
  28826. "description": "客户类型 1-个人 2-企业",
  28827. "type": "integer"
  28828. },
  28829. "username": {
  28830. "description": "用户名称",
  28831. "type": "string"
  28832. }
  28833. }
  28834. },
  28835. "models.QhjCustomerSignLog": {
  28836. "type": "object",
  28837. "properties": {
  28838. "agreementcontent": {
  28839. "description": "协议内容",
  28840. "type": "string"
  28841. },
  28842. "agreementid": {
  28843. "description": "协议ID",
  28844. "type": "integer"
  28845. },
  28846. "agreementname": {
  28847. "description": "协议名称",
  28848. "type": "string"
  28849. },
  28850. "agreementno": {
  28851. "description": "协议编号",
  28852. "type": "string"
  28853. },
  28854. "agreementtype": {
  28855. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28856. "type": "integer"
  28857. },
  28858. "agreementversion": {
  28859. "description": "协议版本号",
  28860. "type": "integer"
  28861. },
  28862. "createtime": {
  28863. "description": "创建时间",
  28864. "type": "string"
  28865. },
  28866. "goodscode": {
  28867. "description": "商品代码",
  28868. "type": "string"
  28869. },
  28870. "goodsid": {
  28871. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28872. "type": "integer"
  28873. },
  28874. "goodsname": {
  28875. "description": "商品名称",
  28876. "type": "string"
  28877. },
  28878. "logid": {
  28879. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  28880. "type": "integer"
  28881. },
  28882. "nodetype": {
  28883. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  28884. "type": "integer"
  28885. },
  28886. "signadressurl": {
  28887. "description": "签约文件地址",
  28888. "type": "string"
  28889. },
  28890. "signtimestamp": {
  28891. "description": "签约状态时间戳",
  28892. "type": "string"
  28893. },
  28894. "userid": {
  28895. "description": "客户ID",
  28896. "type": "integer"
  28897. },
  28898. "username": {
  28899. "description": "客户名称",
  28900. "type": "string"
  28901. }
  28902. }
  28903. },
  28904. "models.QhjCustomerSignStatus": {
  28905. "type": "object",
  28906. "properties": {
  28907. "createtime": {
  28908. "description": "创建时间",
  28909. "type": "string"
  28910. },
  28911. "goodscode": {
  28912. "description": "商品代码",
  28913. "type": "string"
  28914. },
  28915. "goodsid": {
  28916. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28917. "type": "integer"
  28918. },
  28919. "goodsname": {
  28920. "description": "商品名称",
  28921. "type": "string"
  28922. },
  28923. "nodetype": {
  28924. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  28925. "type": "integer"
  28926. },
  28927. "signtimestamp": {
  28928. "description": "签约状态时间戳",
  28929. "type": "string"
  28930. },
  28931. "tradedate": {
  28932. "description": "创建交易日(yyyyMMdd)",
  28933. "type": "string"
  28934. },
  28935. "updatetime": {
  28936. "description": "更新时间",
  28937. "type": "string"
  28938. },
  28939. "userid": {
  28940. "description": "客户ID",
  28941. "type": "integer"
  28942. },
  28943. "username": {
  28944. "description": "客户名称",
  28945. "type": "string"
  28946. }
  28947. }
  28948. },
  28949. "models.QhjMgrAccountOutInApply": {
  28950. "type": "object",
  28951. "properties": {
  28952. "accountcode": {
  28953. "description": "资金账号",
  28954. "type": "string"
  28955. },
  28956. "accountname": {
  28957. "description": "用户名称(名称)",
  28958. "type": "string"
  28959. },
  28960. "accountpwd": {
  28961. "description": "资金密码",
  28962. "type": "string"
  28963. },
  28964. "accountticket": {
  28965. "description": "最新账户服务流水号",
  28966. "type": "string"
  28967. },
  28968. "amount": {
  28969. "description": "金额",
  28970. "type": "number"
  28971. },
  28972. "applyremark": {
  28973. "description": "申请备注",
  28974. "type": "string"
  28975. },
  28976. "applystatus": {
  28977. "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: 复审通过,账户冻结金额检查中;",
  28978. "type": "integer"
  28979. },
  28980. "auditid": {
  28981. "description": "审核人",
  28982. "type": "integer"
  28983. },
  28984. "audittime": {
  28985. "description": "审核时间",
  28986. "type": "string"
  28987. },
  28988. "bank_apply_ticket": {
  28989. "description": "银行申请流水",
  28990. "type": "string"
  28991. },
  28992. "bankaccountname": {
  28993. "description": "银行账户名",
  28994. "type": "string"
  28995. },
  28996. "bankaccountno": {
  28997. "description": "银行卡号",
  28998. "type": "string"
  28999. },
  29000. "bankid": {
  29001. "description": "银行编号",
  29002. "type": "string"
  29003. },
  29004. "bankname": {
  29005. "description": "银行名称",
  29006. "type": "string"
  29007. },
  29008. "bankticket": {
  29009. "description": "银行流水",
  29010. "type": "string"
  29011. },
  29012. "branchbankid": {
  29013. "description": "银行支行号",
  29014. "type": "string"
  29015. },
  29016. "branchbankname": {
  29017. "description": "银行支行名称",
  29018. "type": "string"
  29019. },
  29020. "capamountout": {
  29021. "description": "出金(劣后本金) - 外部子账户",
  29022. "type": "number"
  29023. },
  29024. "certificatephotourl": {
  29025. "description": "凭证地址",
  29026. "type": "string"
  29027. },
  29028. "charge": {
  29029. "description": "手续费",
  29030. "type": "number"
  29031. },
  29032. "checkerrorflag": {
  29033. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  29034. "type": "integer"
  29035. },
  29036. "currency": {
  29037. "description": "币种",
  29038. "type": "string"
  29039. },
  29040. "cusbankid": {
  29041. "description": "托管银行编号",
  29042. "type": "string"
  29043. },
  29044. "exchticket": {
  29045. "description": "银行服务流水号",
  29046. "type": "string"
  29047. },
  29048. "executetype": {
  29049. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  29050. "type": "integer"
  29051. },
  29052. "extendinfo": {
  29053. "description": "扩展信息",
  29054. "type": "string"
  29055. },
  29056. "extoperateid": {
  29057. "description": "交易服务流水号",
  29058. "type": "integer"
  29059. },
  29060. "infamount": {
  29061. "description": "劣后金额(自有)",
  29062. "type": "number"
  29063. },
  29064. "logincode": {
  29065. "description": "登录账号(账号)",
  29066. "type": "string"
  29067. },
  29068. "netaddr": {
  29069. "description": "调转网址",
  29070. "type": "string"
  29071. },
  29072. "priamount": {
  29073. "description": "优先金额(授信)",
  29074. "type": "number"
  29075. },
  29076. "reauditid": {
  29077. "description": "复审人",
  29078. "type": "integer"
  29079. },
  29080. "reauditremark": {
  29081. "description": "复审备注",
  29082. "type": "string"
  29083. },
  29084. "reaudittime": {
  29085. "description": "复审时间",
  29086. "type": "string"
  29087. },
  29088. "relatedorderid": {
  29089. "description": "三方关联ID",
  29090. "type": "string"
  29091. },
  29092. "remark": {
  29093. "description": "备注",
  29094. "type": "string"
  29095. },
  29096. "remark2": {
  29097. "description": "备注(失败原因)",
  29098. "type": "string"
  29099. },
  29100. "soucreamount": {
  29101. "description": "原始出入金金额",
  29102. "type": "number"
  29103. },
  29104. "soucrecurrencyid": {
  29105. "description": "原始出入金币种",
  29106. "type": "integer"
  29107. },
  29108. "tradedate": {
  29109. "description": "交易日(yyyyMMdd)",
  29110. "type": "string"
  29111. },
  29112. "updatetime": {
  29113. "description": "更新时间(申请时间)",
  29114. "type": "string"
  29115. },
  29116. "userid": {
  29117. "description": "用户id",
  29118. "type": "integer"
  29119. },
  29120. "userinfotype": {
  29121. "description": "账户类型 1-个人 2-企业",
  29122. "type": "integer"
  29123. }
  29124. }
  29125. },
  29126. "models.QhjMgrBrokerApply": {
  29127. "type": "object",
  29128. "properties": {
  29129. "applicantid": {
  29130. "description": "申请人",
  29131. "type": "integer"
  29132. },
  29133. "applysrc": {
  29134. "description": "申请来源 - 1:管理端 2:终端",
  29135. "type": "integer"
  29136. },
  29137. "applystatus": {
  29138. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  29139. "type": "integer"
  29140. },
  29141. "applytime": {
  29142. "description": "申请时间",
  29143. "type": "string"
  29144. },
  29145. "auditorid": {
  29146. "description": "审核人",
  29147. "type": "integer"
  29148. },
  29149. "auditremark": {
  29150. "description": "审核备注",
  29151. "type": "string"
  29152. },
  29153. "auditsrc": {
  29154. "description": "审核来源 - 1:管理端 2:终端",
  29155. "type": "integer"
  29156. },
  29157. "audittime": {
  29158. "description": "审核时间",
  29159. "type": "string"
  29160. },
  29161. "audittradedate": {
  29162. "description": "审核交易日(yyyyMMdd)",
  29163. "type": "string"
  29164. },
  29165. "brokerapplyid": {
  29166. "description": "申请ID(SEQ_BROKERAPPLY)",
  29167. "type": "integer"
  29168. },
  29169. "cardbackphotourl": {
  29170. "description": "证件背面图片地址",
  29171. "type": "string"
  29172. },
  29173. "cardfrontphotourl": {
  29174. "description": "证件正面图片地址",
  29175. "type": "string"
  29176. },
  29177. "cardnum": {
  29178. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  29179. "type": "string"
  29180. },
  29181. "customername": {
  29182. "description": "姓名",
  29183. "type": "string"
  29184. },
  29185. "filterstatus": {
  29186. "description": "筛选条件",
  29187. "type": "string"
  29188. },
  29189. "logincode": {
  29190. "description": "登录代码",
  29191. "type": "string"
  29192. },
  29193. "mobile": {
  29194. "description": "手机号码",
  29195. "type": "string"
  29196. },
  29197. "parentuserid": {
  29198. "description": "所属机构id",
  29199. "type": "integer"
  29200. },
  29201. "parentusername": {
  29202. "description": "所属机构名称",
  29203. "type": "string"
  29204. },
  29205. "refereeuserid": {
  29206. "description": "推荐人id(经纪人)",
  29207. "type": "integer"
  29208. },
  29209. "refernum": {
  29210. "description": "推荐码",
  29211. "type": "string"
  29212. },
  29213. "remark": {
  29214. "description": "备注",
  29215. "type": "string"
  29216. },
  29217. "subarealevelpath": {
  29218. "description": "层级路径",
  29219. "type": "string"
  29220. },
  29221. "tradedate": {
  29222. "description": "交易日(yyyyMMdd)",
  29223. "type": "string"
  29224. },
  29225. "userid": {
  29226. "description": "申请人用户ID",
  29227. "type": "integer"
  29228. },
  29229. "userinfotype": {
  29230. "description": "用户类型 1-个人 2-企业",
  29231. "type": "integer"
  29232. },
  29233. "username": {
  29234. "description": "用户名称",
  29235. "type": "string"
  29236. }
  29237. }
  29238. },
  29239. "models.QhjMgrBrokerRewardReport": {
  29240. "type": "object",
  29241. "properties": {
  29242. "createtime": {
  29243. "description": "创建时间(注册时间)",
  29244. "type": "string"
  29245. },
  29246. "cycletime": {
  29247. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  29248. "type": "string"
  29249. },
  29250. "cycletype": {
  29251. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  29252. "type": "integer"
  29253. },
  29254. "directtotalnum": {
  29255. "description": "直推总人数【期末】",
  29256. "type": "integer"
  29257. },
  29258. "indirecttotalnum": {
  29259. "description": "间推总人数【期末】",
  29260. "type": "integer"
  29261. },
  29262. "mobile": {
  29263. "description": "电话号码",
  29264. "type": "string"
  29265. },
  29266. "refereeuserid": {
  29267. "description": "推荐人id(经纪人id)",
  29268. "type": "integer"
  29269. },
  29270. "refereeusername": {
  29271. "description": "推荐人名称(经纪人) 上级经纪人名称",
  29272. "type": "string"
  29273. },
  29274. "refernum": {
  29275. "description": "推荐码",
  29276. "type": "string"
  29277. },
  29278. "subarealevelpath": {
  29279. "description": "用户层级路径",
  29280. "type": "string"
  29281. },
  29282. "todayrewardamount": {
  29283. "description": "奖励总金额【汇总】",
  29284. "type": "number"
  29285. },
  29286. "updatetime": {
  29287. "description": "更新时间",
  29288. "type": "string"
  29289. },
  29290. "userid": {
  29291. "description": "经纪人用户ID",
  29292. "type": "integer"
  29293. },
  29294. "userinfotype": {
  29295. "description": "用户类型 1-个人 2-企业",
  29296. "type": "integer"
  29297. },
  29298. "username": {
  29299. "description": "用户名称",
  29300. "type": "string"
  29301. }
  29302. }
  29303. },
  29304. "models.QhjMgrContract": {
  29305. "type": "object",
  29306. "properties": {
  29307. "contractconfirmtime": {
  29308. "description": "合同确认时间(时间)",
  29309. "type": "string"
  29310. },
  29311. "currisklevel": {
  29312. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  29313. "type": "integer"
  29314. },
  29315. "decimalplace": {
  29316. "description": "商品报价小数位",
  29317. "type": "integer"
  29318. },
  29319. "enumdicname": {
  29320. "description": "单位名称",
  29321. "type": "string"
  29322. },
  29323. "goodscode": {
  29324. "description": "商品代码",
  29325. "type": "string"
  29326. },
  29327. "goodsid": {
  29328. "description": "商品ID [5:融资单]",
  29329. "type": "integer"
  29330. },
  29331. "goodsname": {
  29332. "description": "商品名称",
  29333. "type": "string"
  29334. },
  29335. "goodunitid": {
  29336. "description": "商品单位id",
  29337. "type": "integer"
  29338. },
  29339. "initmargin": {
  29340. "description": "初始保证金(首付款)",
  29341. "type": "number"
  29342. },
  29343. "lenderamount": {
  29344. "description": "贷款金额(总额|订单总额)",
  29345. "type": "number"
  29346. },
  29347. "logincode": {
  29348. "description": "账号(登录代码)",
  29349. "type": "string"
  29350. },
  29351. "marginratio": {
  29352. "description": "保证金比率(首付比例)",
  29353. "type": "number"
  29354. },
  29355. "mobile": {
  29356. "description": "电话号码(用户资料里的电话)",
  29357. "type": "string"
  29358. },
  29359. "payamount": {
  29360. "description": "已付(已付货款)",
  29361. "type": "number"
  29362. },
  29363. "reckonrecovermargin": {
  29364. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  29365. "type": "number"
  29366. },
  29367. "recoveredmargin": {
  29368. "description": "已追缴保证金",
  29369. "type": "number"
  29370. },
  29371. "remainamount": {
  29372. "description": "合同剩余金额(融资额)",
  29373. "type": "number"
  29374. },
  29375. "scfcontractid": {
  29376. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  29377. "type": "string"
  29378. },
  29379. "scfcontractstatus": {
  29380. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  29381. "type": "integer"
  29382. },
  29383. "scfcontracttype": {
  29384. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  29385. "type": "integer"
  29386. },
  29387. "totalinterest": {
  29388. "description": "已计总利息(利息)",
  29389. "type": "number"
  29390. },
  29391. "tradedate": {
  29392. "description": "交易日",
  29393. "type": "string"
  29394. },
  29395. "tradeprice": {
  29396. "description": "成交价格(成本价格)",
  29397. "type": "number"
  29398. },
  29399. "userid": {
  29400. "description": "用户ID",
  29401. "type": "integer"
  29402. },
  29403. "userinfotype": {
  29404. "description": "用户类型 1-个人 2-企业",
  29405. "type": "integer"
  29406. },
  29407. "username": {
  29408. "description": "用户名称",
  29409. "type": "string"
  29410. },
  29411. "wrqty": {
  29412. "description": "仓单数量(数量)",
  29413. "type": "number"
  29414. }
  29415. }
  29416. },
  29417. "models.QhjMgrCustomer": {
  29418. "type": "object",
  29419. "properties": {
  29420. "address": {
  29421. "description": "通讯地址",
  29422. "type": "string"
  29423. },
  29424. "attachment1": {
  29425. "description": "附件1",
  29426. "type": "string"
  29427. },
  29428. "audittime": {
  29429. "description": "审核时间",
  29430. "type": "string"
  29431. },
  29432. "birthday": {
  29433. "description": "生日",
  29434. "type": "string"
  29435. },
  29436. "brokerid": {
  29437. "description": "所属客户经理id",
  29438. "type": "integer"
  29439. },
  29440. "brokername": {
  29441. "description": "所属客户经理名称",
  29442. "type": "string"
  29443. },
  29444. "cardbackphotourl": {
  29445. "description": "证件反面图片地址",
  29446. "type": "string"
  29447. },
  29448. "cardfrontphotourl": {
  29449. "description": "证件正面图片地址",
  29450. "type": "string"
  29451. },
  29452. "cardnum": {
  29453. "description": "证件号码",
  29454. "type": "string"
  29455. },
  29456. "cardtype": {
  29457. "description": "证件类型",
  29458. "type": "integer"
  29459. },
  29460. "cardtypename": {
  29461. "description": "证件类型名称",
  29462. "type": "string"
  29463. },
  29464. "cityid": {
  29465. "description": "市",
  29466. "type": "integer"
  29467. },
  29468. "cityname": {
  29469. "description": "城市名称",
  29470. "type": "string"
  29471. },
  29472. "contactname": {
  29473. "description": "联系人",
  29474. "type": "string"
  29475. },
  29476. "countryid": {
  29477. "description": "国家",
  29478. "type": "integer"
  29479. },
  29480. "countryname": {
  29481. "description": "国家名称",
  29482. "type": "string"
  29483. },
  29484. "createtime": {
  29485. "description": "创建时间",
  29486. "type": "string"
  29487. },
  29488. "customername": {
  29489. "description": "客户名称",
  29490. "type": "string"
  29491. },
  29492. "districtid": {
  29493. "description": "区域",
  29494. "type": "integer"
  29495. },
  29496. "districtname": {
  29497. "description": "地区名称",
  29498. "type": "string"
  29499. },
  29500. "email": {
  29501. "description": "邮件",
  29502. "type": "string"
  29503. },
  29504. "legalpersonname": {
  29505. "description": "法人姓名(企业)",
  29506. "type": "string"
  29507. },
  29508. "logincode": {
  29509. "description": "登录账号(代码)",
  29510. "type": "string"
  29511. },
  29512. "memberuserid": {
  29513. "description": "所属机构ID(所属会员)",
  29514. "type": "integer"
  29515. },
  29516. "memberusername": {
  29517. "description": "所属会员名称",
  29518. "type": "string"
  29519. },
  29520. "mobile": {
  29521. "description": "手机号码",
  29522. "type": "string"
  29523. },
  29524. "modifytime": {
  29525. "description": "修改时间",
  29526. "type": "string"
  29527. },
  29528. "nickname": {
  29529. "description": "昵称",
  29530. "type": "string"
  29531. },
  29532. "parentuserid": {
  29533. "description": "上级机构(所属机构)",
  29534. "type": "integer"
  29535. },
  29536. "parentusername": {
  29537. "description": "所属机构名称",
  29538. "type": "string"
  29539. },
  29540. "provinceid": {
  29541. "description": "省",
  29542. "type": "integer"
  29543. },
  29544. "provincename": {
  29545. "description": "省名称",
  29546. "type": "string"
  29547. },
  29548. "proxystatementurl": {
  29549. "description": "授权委托书",
  29550. "type": "string"
  29551. },
  29552. "querytype": {
  29553. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  29554. "type": "integer"
  29555. },
  29556. "remark": {
  29557. "description": "备注",
  29558. "type": "string"
  29559. },
  29560. "sex": {
  29561. "description": "性别 0-女 1-男",
  29562. "type": "integer"
  29563. },
  29564. "status": {
  29565. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29566. "type": "integer"
  29567. },
  29568. "statusdesc": {
  29569. "description": "账户状态中文描述",
  29570. "type": "string"
  29571. },
  29572. "taxpayernum": {
  29573. "description": "纳税人识别号",
  29574. "type": "string"
  29575. },
  29576. "telphone": {
  29577. "description": "联系电话",
  29578. "type": "string"
  29579. },
  29580. "userid": {
  29581. "description": "用户ID",
  29582. "type": "integer"
  29583. },
  29584. "userinfotype": {
  29585. "description": "客户类型 1-个人 2-企业",
  29586. "type": "integer"
  29587. },
  29588. "username": {
  29589. "description": "用户名称",
  29590. "type": "string"
  29591. }
  29592. }
  29593. },
  29594. "models.QhjMgrPickGoods": {
  29595. "type": "object",
  29596. "properties": {
  29597. "enumdicname": {
  29598. "description": "单位名称(提货商品)",
  29599. "type": "string"
  29600. },
  29601. "goodsid": {
  29602. "description": "商品id",
  29603. "type": "integer"
  29604. },
  29605. "imageaddress": {
  29606. "description": "图片",
  29607. "type": "string"
  29608. },
  29609. "modifierid": {
  29610. "description": "修改人",
  29611. "type": "integer"
  29612. },
  29613. "modifiername": {
  29614. "description": "修改人名称",
  29615. "type": "string"
  29616. },
  29617. "modifysrc": {
  29618. "description": "修改来源 - 1:管理端 2:终端",
  29619. "type": "integer"
  29620. },
  29621. "pickupgoodsagreeunit": {
  29622. "description": "合约乘数",
  29623. "type": "number"
  29624. },
  29625. "pickupgoodsdesc": {
  29626. "description": "描述",
  29627. "type": "string"
  29628. },
  29629. "pickupgoodsid": {
  29630. "description": "提货商品ID",
  29631. "type": "string"
  29632. },
  29633. "pickupgoodsname": {
  29634. "description": "提货商品名称",
  29635. "type": "string"
  29636. },
  29637. "pickupgoodsstatus": {
  29638. "description": "状态 - 1:正常 2:停用 3:注销",
  29639. "type": "integer"
  29640. },
  29641. "pickupgoodsunitid": {
  29642. "description": "单位ID",
  29643. "type": "integer"
  29644. },
  29645. "pickupratio": {
  29646. "description": "提货系数",
  29647. "type": "number"
  29648. },
  29649. "preparedays": {
  29650. "description": "备货期(天)",
  29651. "type": "integer"
  29652. },
  29653. "remark": {
  29654. "description": "备注",
  29655. "type": "string"
  29656. },
  29657. "updatetime": {
  29658. "description": "更新时间",
  29659. "type": "string"
  29660. }
  29661. }
  29662. },
  29663. "models.QhjMgrPositionRsp": {
  29664. "type": "object",
  29665. "properties": {
  29666. "accountid": {
  29667. "description": "账号Id",
  29668. "type": "integer"
  29669. },
  29670. "accountname": {
  29671. "description": "用户名称",
  29672. "type": "string"
  29673. },
  29674. "agreeunit": {
  29675. "description": "合约乘数",
  29676. "type": "number"
  29677. },
  29678. "averageprice": {
  29679. "description": "均价",
  29680. "type": "number"
  29681. },
  29682. "avialqty": {
  29683. "description": "可用数量",
  29684. "type": "number"
  29685. },
  29686. "decimalplace": {
  29687. "description": "报价小数位",
  29688. "type": "integer"
  29689. },
  29690. "enumdicname": {
  29691. "description": "单位名称(商品)",
  29692. "type": "string"
  29693. },
  29694. "frozenqty": {
  29695. "description": "冻结数量",
  29696. "type": "number"
  29697. },
  29698. "goodscode": {
  29699. "description": "商品代码(内部)",
  29700. "type": "string"
  29701. },
  29702. "goodsid": {
  29703. "description": "商品Id",
  29704. "type": "integer"
  29705. },
  29706. "goodsname": {
  29707. "description": "商品名称",
  29708. "type": "string"
  29709. },
  29710. "goodunitid": {
  29711. "description": "报价单位ID",
  29712. "type": "integer"
  29713. },
  29714. "holderamount": {
  29715. "description": "金额",
  29716. "type": "number"
  29717. },
  29718. "holderqty": {
  29719. "description": "持有数量",
  29720. "type": "number"
  29721. },
  29722. "holdertype": {
  29723. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  29724. "type": "integer"
  29725. },
  29726. "logincode": {
  29727. "description": "登录代码(账户)",
  29728. "type": "string"
  29729. },
  29730. "marketid": {
  29731. "description": "市场id",
  29732. "type": "integer"
  29733. },
  29734. "qtydecimalplace": {
  29735. "description": "成交量小数位",
  29736. "type": "integer"
  29737. },
  29738. "trademode": {
  29739. "description": "交易模式",
  29740. "type": "integer"
  29741. },
  29742. "userid": {
  29743. "description": "用户id",
  29744. "type": "integer"
  29745. },
  29746. "userinfotype": {
  29747. "description": "账户类型 1-个人 2-企业",
  29748. "type": "integer"
  29749. }
  29750. }
  29751. },
  29752. "models.QhjMgrSubArea": {
  29753. "type": "object",
  29754. "properties": {
  29755. "accountname": {
  29756. "description": "账户名称(机构名称)",
  29757. "type": "string"
  29758. },
  29759. "memberuserid": {
  29760. "description": "所属会员ID",
  29761. "type": "integer"
  29762. },
  29763. "parenttopuser": {
  29764. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  29765. "type": "string"
  29766. },
  29767. "parentuserid": {
  29768. "description": "所属机构ID",
  29769. "type": "integer"
  29770. },
  29771. "rootuserid": {
  29772. "description": "根用户ID",
  29773. "type": "string"
  29774. },
  29775. "subaccountlevel": {
  29776. "description": "子账户层数",
  29777. "type": "integer"
  29778. },
  29779. "subarealevelpath": {
  29780. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  29781. "type": "string"
  29782. },
  29783. "userid": {
  29784. "description": "用户ID",
  29785. "type": "integer"
  29786. },
  29787. "usertype": {
  29788. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29789. "type": "integer"
  29790. }
  29791. }
  29792. },
  29793. "models.QhjMgrTradeDetailRsp": {
  29794. "type": "object",
  29795. "properties": {
  29796. "accountid": {
  29797. "description": "资金账号",
  29798. "type": "integer"
  29799. },
  29800. "accountname": {
  29801. "description": "用户名称",
  29802. "type": "string"
  29803. },
  29804. "agreeunit": {
  29805. "description": "合约乘数",
  29806. "type": "number"
  29807. },
  29808. "buyorsell": {
  29809. "description": "成交类型(方向) 0:买 1:卖",
  29810. "type": "integer"
  29811. },
  29812. "decimalplace": {
  29813. "description": "报价小数位",
  29814. "type": "integer"
  29815. },
  29816. "enumdicname": {
  29817. "description": "单位名称(商品)",
  29818. "type": "string"
  29819. },
  29820. "goodscode": {
  29821. "description": "商品代码(内部)",
  29822. "type": "string"
  29823. },
  29824. "goodsid": {
  29825. "description": "商品id",
  29826. "type": "integer"
  29827. },
  29828. "goodsname": {
  29829. "description": "商品名称",
  29830. "type": "string"
  29831. },
  29832. "goodunitid": {
  29833. "description": "报价单位ID",
  29834. "type": "integer"
  29835. },
  29836. "logincode": {
  29837. "description": "登录代码(账户)",
  29838. "type": "string"
  29839. },
  29840. "marketid": {
  29841. "description": "市场id",
  29842. "type": "integer"
  29843. },
  29844. "orderid": {
  29845. "description": "关联委托单号",
  29846. "type": "string"
  29847. },
  29848. "qtydecimalplace": {
  29849. "description": "成交量小数位",
  29850. "type": "integer"
  29851. },
  29852. "tradeamount": {
  29853. "description": "金额",
  29854. "type": "number"
  29855. },
  29856. "tradedate": {
  29857. "description": "交易日",
  29858. "type": "string"
  29859. },
  29860. "tradeid": {
  29861. "description": "成交单号",
  29862. "type": "string"
  29863. },
  29864. "trademode": {
  29865. "description": "交易模式",
  29866. "type": "integer"
  29867. },
  29868. "tradeprice": {
  29869. "description": "价格",
  29870. "type": "number"
  29871. },
  29872. "tradeqty": {
  29873. "description": "数量",
  29874. "type": "number"
  29875. },
  29876. "tradetime": {
  29877. "description": "成交时间",
  29878. "type": "string"
  29879. },
  29880. "userid": {
  29881. "description": "用户id",
  29882. "type": "integer"
  29883. },
  29884. "userinfotype": {
  29885. "description": "账户类型 1-个人 2-企业",
  29886. "type": "integer"
  29887. }
  29888. }
  29889. },
  29890. "models.QhjMgrTradeOrderDetailRsp": {
  29891. "type": "object",
  29892. "properties": {
  29893. "accountid": {
  29894. "description": "资金账号",
  29895. "type": "integer"
  29896. },
  29897. "accountname": {
  29898. "description": "用户名称",
  29899. "type": "string"
  29900. },
  29901. "agreeunit": {
  29902. "description": "合约乘数",
  29903. "type": "number"
  29904. },
  29905. "amount": {
  29906. "description": "金额",
  29907. "type": "number"
  29908. },
  29909. "decimalplace": {
  29910. "description": "报价小数位",
  29911. "type": "integer"
  29912. },
  29913. "enumdicname": {
  29914. "description": "单位名称(商品)",
  29915. "type": "string"
  29916. },
  29917. "goodscode": {
  29918. "description": "商品代码(内部)",
  29919. "type": "string"
  29920. },
  29921. "goodsid": {
  29922. "description": "商品id",
  29923. "type": "integer"
  29924. },
  29925. "goodsname": {
  29926. "description": "商品名称",
  29927. "type": "string"
  29928. },
  29929. "goodunitid": {
  29930. "description": "报价单位ID",
  29931. "type": "integer"
  29932. },
  29933. "logincode": {
  29934. "description": "登录代码(账户)",
  29935. "type": "string"
  29936. },
  29937. "marketid": {
  29938. "description": "市场id",
  29939. "type": "integer"
  29940. },
  29941. "orderid": {
  29942. "description": "关联委托单号",
  29943. "type": "string"
  29944. },
  29945. "orderprice": {
  29946. "description": "价格",
  29947. "type": "number"
  29948. },
  29949. "orderqty": {
  29950. "description": "数量",
  29951. "type": "number"
  29952. },
  29953. "orderstatus": {
  29954. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  29955. "type": "integer"
  29956. },
  29957. "ordertime": {
  29958. "description": "委托时间",
  29959. "type": "string"
  29960. },
  29961. "qtydecimalplace": {
  29962. "description": "成交量小数位",
  29963. "type": "integer"
  29964. },
  29965. "tradedate": {
  29966. "description": "交易日",
  29967. "type": "string"
  29968. },
  29969. "trademode": {
  29970. "description": "交易模式",
  29971. "type": "integer"
  29972. },
  29973. "userid": {
  29974. "description": "用户id",
  29975. "type": "integer"
  29976. },
  29977. "userinfotype": {
  29978. "description": "账户类型 1-个人 2-企业",
  29979. "type": "integer"
  29980. }
  29981. }
  29982. },
  29983. "models.QhjMgrTradePayOrder": {
  29984. "type": "object",
  29985. "properties": {
  29986. "accountname": {
  29987. "description": "用户名称",
  29988. "type": "string"
  29989. },
  29990. "advanceratio": {
  29991. "description": "首付比率",
  29992. "type": "number"
  29993. },
  29994. "agreeunit": {
  29995. "description": "合约乘数",
  29996. "type": "number"
  29997. },
  29998. "buyaccountid": {
  29999. "description": "买方账号ID[报价币种]",
  30000. "type": "integer"
  30001. },
  30002. "buyorderid": {
  30003. "description": "买方委托单号(关联单号)",
  30004. "type": "string"
  30005. },
  30006. "createtime": {
  30007. "description": "创建时间",
  30008. "type": "string"
  30009. },
  30010. "decimalplace": {
  30011. "description": "报价小数位",
  30012. "type": "integer"
  30013. },
  30014. "enumdicname": {
  30015. "description": "单位名称(商品)",
  30016. "type": "string"
  30017. },
  30018. "goodscode": {
  30019. "description": "商品代码(内部)",
  30020. "type": "string"
  30021. },
  30022. "goodsid": {
  30023. "description": "商品ID",
  30024. "type": "integer"
  30025. },
  30026. "goodsname": {
  30027. "description": "商品名称",
  30028. "type": "string"
  30029. },
  30030. "goodunitid": {
  30031. "description": "报价单位ID",
  30032. "type": "integer"
  30033. },
  30034. "logincode": {
  30035. "description": "登录代码(账户)",
  30036. "type": "string"
  30037. },
  30038. "marketid": {
  30039. "description": "市场id",
  30040. "type": "integer"
  30041. },
  30042. "offamount": {
  30043. "description": "优惠金额",
  30044. "type": "number"
  30045. },
  30046. "operatetype": {
  30047. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30048. "type": "integer"
  30049. },
  30050. "payamount": {
  30051. "description": "支付金额(金额)",
  30052. "type": "number"
  30053. },
  30054. "payflag": {
  30055. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30056. "type": "integer"
  30057. },
  30058. "paylimitedtime": {
  30059. "description": "支付期限",
  30060. "type": "string"
  30061. },
  30062. "paytime": {
  30063. "description": "付款时间",
  30064. "type": "string"
  30065. },
  30066. "qtydecimalplace": {
  30067. "description": "成交量小数位",
  30068. "type": "integer"
  30069. },
  30070. "sellaccountid": {
  30071. "description": "卖方账号ID[报价币种]",
  30072. "type": "integer"
  30073. },
  30074. "sellorderid": {
  30075. "description": "卖方委托单号",
  30076. "type": "string"
  30077. },
  30078. "tradeamount": {
  30079. "description": "成交金额(优惠后金额)",
  30080. "type": "number"
  30081. },
  30082. "tradecharge": {
  30083. "description": "成交手续费(买方)",
  30084. "type": "number"
  30085. },
  30086. "tradedate": {
  30087. "description": "交易日(yyyyMMdd)",
  30088. "type": "string"
  30089. },
  30090. "tradeid": {
  30091. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30092. "type": "string"
  30093. },
  30094. "trademode": {
  30095. "description": "交易模式",
  30096. "type": "integer"
  30097. },
  30098. "tradeprice": {
  30099. "description": "成交价格(价格)",
  30100. "type": "number"
  30101. },
  30102. "tradeqty": {
  30103. "description": "成交数量(数量)",
  30104. "type": "number"
  30105. },
  30106. "tradetime": {
  30107. "description": "成交时间",
  30108. "type": "string"
  30109. },
  30110. "userid": {
  30111. "description": "用户id",
  30112. "type": "integer"
  30113. },
  30114. "userinfotype": {
  30115. "description": "账户类型 1-个人 2-企业",
  30116. "type": "integer"
  30117. }
  30118. }
  30119. },
  30120. "models.QhjMyTeamEx": {
  30121. "type": "object",
  30122. "properties": {
  30123. "accountname": {
  30124. "description": "用户名称",
  30125. "type": "string"
  30126. },
  30127. "accountstatus": {
  30128. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30129. "type": "integer"
  30130. },
  30131. "createtime": {
  30132. "description": "创建时间",
  30133. "type": "string"
  30134. },
  30135. "mobile": {
  30136. "description": "手机号码",
  30137. "type": "string"
  30138. },
  30139. "refereeuserid": {
  30140. "description": "推荐人id",
  30141. "type": "integer"
  30142. },
  30143. "refernum": {
  30144. "description": "推荐码",
  30145. "type": "string"
  30146. },
  30147. "subList": {
  30148. "type": "array",
  30149. "items": {
  30150. "$ref": "#/definitions/models.QhjMyTeamEx"
  30151. }
  30152. },
  30153. "userid": {
  30154. "description": "用户id",
  30155. "type": "integer"
  30156. },
  30157. "userinfotype": {
  30158. "description": "用户类型 1-个人 2-企业",
  30159. "type": "integer"
  30160. }
  30161. }
  30162. },
  30163. "models.QhjNodeAgreementConfig": {
  30164. "type": "object",
  30165. "properties": {
  30166. "agreementcontent": {
  30167. "description": "协议内容",
  30168. "type": "string"
  30169. },
  30170. "agreementid": {
  30171. "description": "协议ID",
  30172. "type": "integer"
  30173. },
  30174. "agreementname": {
  30175. "description": "协议名称",
  30176. "type": "string"
  30177. },
  30178. "agreementno": {
  30179. "description": "协议编号",
  30180. "type": "string"
  30181. },
  30182. "agreementtype": {
  30183. "description": "协议类型 - 1:注册 2:登录 3:交易",
  30184. "type": "integer"
  30185. },
  30186. "agreementversion": {
  30187. "description": "协议版本号",
  30188. "type": "integer"
  30189. },
  30190. "configid": {
  30191. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  30192. "type": "integer"
  30193. },
  30194. "createtime": {
  30195. "description": "创建时间",
  30196. "type": "string"
  30197. },
  30198. "goodsid": {
  30199. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  30200. "type": "integer"
  30201. },
  30202. "nodetype": {
  30203. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  30204. "type": "integer"
  30205. }
  30206. }
  30207. },
  30208. "models.QhjParentAreaList": {
  30209. "type": "object",
  30210. "properties": {
  30211. "accountname": {
  30212. "description": "账户名称(机构名称)",
  30213. "type": "string"
  30214. },
  30215. "userid": {
  30216. "description": "用户ID",
  30217. "type": "integer"
  30218. },
  30219. "usertype": {
  30220. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30221. "type": "integer"
  30222. }
  30223. }
  30224. },
  30225. "models.QhjPayOrder": {
  30226. "type": "object",
  30227. "properties": {
  30228. "advanceratio": {
  30229. "description": "首付比率",
  30230. "type": "number"
  30231. },
  30232. "buyaccountid": {
  30233. "description": "买方账号ID[报价币种]",
  30234. "type": "integer"
  30235. },
  30236. "buyorderid": {
  30237. "description": "买方委托单号",
  30238. "type": "string"
  30239. },
  30240. "createtime": {
  30241. "description": "创建时间",
  30242. "type": "string"
  30243. },
  30244. "decimalplace": {
  30245. "description": "商品报价小数位",
  30246. "type": "integer"
  30247. },
  30248. "enumdicname": {
  30249. "description": "单位名称",
  30250. "type": "string"
  30251. },
  30252. "goodscode": {
  30253. "description": "商品代码",
  30254. "type": "string"
  30255. },
  30256. "goodsid": {
  30257. "description": "商品ID",
  30258. "type": "integer"
  30259. },
  30260. "goodsname": {
  30261. "description": "商品名称",
  30262. "type": "string"
  30263. },
  30264. "goodunitid": {
  30265. "description": "商品单位id",
  30266. "type": "integer"
  30267. },
  30268. "marketid": {
  30269. "description": "市场ID",
  30270. "type": "integer"
  30271. },
  30272. "offamount": {
  30273. "description": "优惠金额",
  30274. "type": "number"
  30275. },
  30276. "operatetype": {
  30277. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30278. "type": "integer"
  30279. },
  30280. "payamount": {
  30281. "description": "支付金额",
  30282. "type": "number"
  30283. },
  30284. "payflag": {
  30285. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30286. "type": "integer"
  30287. },
  30288. "paylimitedtime": {
  30289. "description": "支付期限",
  30290. "type": "string"
  30291. },
  30292. "paytime": {
  30293. "description": "付款时间",
  30294. "type": "string"
  30295. },
  30296. "qtydecimalplace": {
  30297. "description": "成交量小数位",
  30298. "type": "integer"
  30299. },
  30300. "sellaccountid": {
  30301. "description": "卖方账号ID[报价币种]",
  30302. "type": "integer"
  30303. },
  30304. "sellorderid": {
  30305. "description": "卖方委托单号",
  30306. "type": "string"
  30307. },
  30308. "tradeamount": {
  30309. "description": "成交金额(优惠后金额)",
  30310. "type": "number"
  30311. },
  30312. "tradecharge": {
  30313. "description": "成交手续费(买方)",
  30314. "type": "number"
  30315. },
  30316. "tradedate": {
  30317. "description": "交易日(yyyyMMdd)",
  30318. "type": "string"
  30319. },
  30320. "tradeid": {
  30321. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30322. "type": "string"
  30323. },
  30324. "tradeprice": {
  30325. "description": "成交价格",
  30326. "type": "number"
  30327. },
  30328. "tradeqty": {
  30329. "description": "成交数量",
  30330. "type": "number"
  30331. }
  30332. }
  30333. },
  30334. "models.QhjPickArea": {
  30335. "type": "object",
  30336. "properties": {
  30337. "address": {
  30338. "description": "详细地址",
  30339. "type": "string"
  30340. },
  30341. "cityid": {
  30342. "description": "市",
  30343. "type": "integer"
  30344. },
  30345. "cityname": {
  30346. "description": "城市名称",
  30347. "type": "string"
  30348. },
  30349. "countryid": {
  30350. "description": "国家",
  30351. "type": "integer"
  30352. },
  30353. "countryname": {
  30354. "description": "国家名称",
  30355. "type": "string"
  30356. },
  30357. "districtid": {
  30358. "description": "地区",
  30359. "type": "integer"
  30360. },
  30361. "districtname": {
  30362. "description": "地区名称",
  30363. "type": "string"
  30364. },
  30365. "fromuserid": {
  30366. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  30367. "type": "integer"
  30368. },
  30369. "fromusername": {
  30370. "description": "所属机构名称",
  30371. "type": "string"
  30372. },
  30373. "provinceid": {
  30374. "description": "省",
  30375. "type": "integer"
  30376. },
  30377. "provincename": {
  30378. "description": "省名称",
  30379. "type": "string"
  30380. },
  30381. "suborgtype": {
  30382. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  30383. "type": "integer"
  30384. },
  30385. "userid": {
  30386. "description": "机构用户ID 其他做市关系,都设置为 1",
  30387. "type": "integer"
  30388. },
  30389. "username": {
  30390. "description": "机构用户名称(门店门称)",
  30391. "type": "string"
  30392. }
  30393. }
  30394. },
  30395. "models.QhjPickGoods": {
  30396. "type": "object",
  30397. "properties": {
  30398. "enumdicname": {
  30399. "description": "单位名称(提货商品)",
  30400. "type": "string"
  30401. },
  30402. "goodsid": {
  30403. "description": "商品id",
  30404. "type": "integer"
  30405. },
  30406. "imageaddress": {
  30407. "description": "图片",
  30408. "type": "string"
  30409. },
  30410. "modifierid": {
  30411. "description": "修改人",
  30412. "type": "integer"
  30413. },
  30414. "modifiername": {
  30415. "description": "修改人名称",
  30416. "type": "string"
  30417. },
  30418. "modifysrc": {
  30419. "description": "修改来源 - 1:管理端 2:终端",
  30420. "type": "integer"
  30421. },
  30422. "pickupgoodsagreeunit": {
  30423. "description": "合约乘数",
  30424. "type": "number"
  30425. },
  30426. "pickupgoodsdesc": {
  30427. "description": "描述",
  30428. "type": "string"
  30429. },
  30430. "pickupgoodsid": {
  30431. "description": "提货商品ID",
  30432. "type": "string"
  30433. },
  30434. "pickupgoodsname": {
  30435. "description": "提货商品名称",
  30436. "type": "string"
  30437. },
  30438. "pickupgoodsstatus": {
  30439. "description": "状态 - 1:正常 2:停用 3:注销",
  30440. "type": "integer"
  30441. },
  30442. "pickupgoodsunitid": {
  30443. "description": "单位ID",
  30444. "type": "integer"
  30445. },
  30446. "pickupratio": {
  30447. "description": "提货系数",
  30448. "type": "number"
  30449. },
  30450. "preparedays": {
  30451. "description": "备货期(天)",
  30452. "type": "integer"
  30453. },
  30454. "remark": {
  30455. "description": "备注",
  30456. "type": "string"
  30457. },
  30458. "updatetime": {
  30459. "description": "更新时间",
  30460. "type": "string"
  30461. }
  30462. }
  30463. },
  30464. "models.QhjRSTriggerLog": {
  30465. "type": "object",
  30466. "properties": {
  30467. "accountid": {
  30468. "description": "用户资金账户",
  30469. "type": "integer"
  30470. },
  30471. "accountname": {
  30472. "description": "账号名称(ACCOUNTID对应的名称)",
  30473. "type": "string"
  30474. },
  30475. "currencyid": {
  30476. "description": "币种id",
  30477. "type": "integer"
  30478. },
  30479. "currencyname": {
  30480. "description": "币种名称",
  30481. "type": "string"
  30482. },
  30483. "decimalplace": {
  30484. "description": "商品报价小数位",
  30485. "type": "integer"
  30486. },
  30487. "enumdicname": {
  30488. "description": "单位名称",
  30489. "type": "string"
  30490. },
  30491. "goodscode": {
  30492. "description": "定投商品代码",
  30493. "type": "string"
  30494. },
  30495. "goodsid": {
  30496. "description": "定投商品ID",
  30497. "type": "integer"
  30498. },
  30499. "goodsname": {
  30500. "description": "定投商品名称",
  30501. "type": "string"
  30502. },
  30503. "goodunitid": {
  30504. "description": "定投商品单位id",
  30505. "type": "integer"
  30506. },
  30507. "logid": {
  30508. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  30509. "type": "string"
  30510. },
  30511. "logincode": {
  30512. "description": "账号(登录代码)",
  30513. "type": "string"
  30514. },
  30515. "qtydecimalplace": {
  30516. "description": "成交量小数位",
  30517. "type": "integer"
  30518. },
  30519. "regularlycycle": {
  30520. "description": "定投频率 - 1:每周 2:每月",
  30521. "type": "integer"
  30522. },
  30523. "regularlycyclevalue": {
  30524. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30525. "type": "string"
  30526. },
  30527. "regularlymode": {
  30528. "description": "定投方式 - 1:按数量 2:按金额",
  30529. "type": "integer"
  30530. },
  30531. "regularlymodevalue": {
  30532. "description": "定投方式值 - 数量或金额",
  30533. "type": "number"
  30534. },
  30535. "regularlystrategyid": {
  30536. "description": "定投策略ID",
  30537. "type": "integer"
  30538. },
  30539. "retcode": {
  30540. "description": "错误码",
  30541. "type": "string"
  30542. },
  30543. "tradeid": {
  30544. "description": "成交单ID",
  30545. "type": "string"
  30546. },
  30547. "triggeramount": {
  30548. "description": "触发金额",
  30549. "type": "number"
  30550. },
  30551. "triggerqty": {
  30552. "description": "触发数量",
  30553. "type": "number"
  30554. },
  30555. "triggerstatus": {
  30556. "description": "触发状态 - 1:成功 2:失败",
  30557. "type": "integer"
  30558. },
  30559. "triggertime": {
  30560. "description": "触发时间",
  30561. "type": "string"
  30562. },
  30563. "triggertradedate": {
  30564. "description": "触发交易日",
  30565. "type": "string"
  30566. },
  30567. "userid": {
  30568. "description": "所属用户ID",
  30569. "type": "integer"
  30570. },
  30571. "userinfotype": {
  30572. "description": "用户类型 1-个人 2-企业",
  30573. "type": "integer"
  30574. },
  30575. "username": {
  30576. "description": "用户名称(userid对应的名称)",
  30577. "type": "string"
  30578. }
  30579. }
  30580. },
  30581. "models.QhjRStrategy": {
  30582. "type": "object",
  30583. "properties": {
  30584. "accountid": {
  30585. "description": "用户资金账户",
  30586. "type": "integer"
  30587. },
  30588. "accountname": {
  30589. "description": "账号名称(ACCOUNTID对应的名称)",
  30590. "type": "string"
  30591. },
  30592. "currencyid": {
  30593. "description": "币种id",
  30594. "type": "integer"
  30595. },
  30596. "currencyname": {
  30597. "description": "币种名称",
  30598. "type": "string"
  30599. },
  30600. "decimalplace": {
  30601. "description": "商品报价小数位",
  30602. "type": "integer"
  30603. },
  30604. "enumdicname": {
  30605. "description": "单位名称",
  30606. "type": "string"
  30607. },
  30608. "goodscode": {
  30609. "description": "定投商品代码",
  30610. "type": "string"
  30611. },
  30612. "goodsid": {
  30613. "description": "定投商品ID",
  30614. "type": "integer"
  30615. },
  30616. "goodsname": {
  30617. "description": "定投商品名称",
  30618. "type": "string"
  30619. },
  30620. "goodunitid": {
  30621. "description": "定投商品单位id",
  30622. "type": "integer"
  30623. },
  30624. "lasteffecttradedate": {
  30625. "description": "最新生效交易日",
  30626. "type": "string"
  30627. },
  30628. "laststoptradedate": {
  30629. "description": "最新暂停交易日",
  30630. "type": "string"
  30631. },
  30632. "lasttriggertradedate": {
  30633. "description": "最新触发交易日",
  30634. "type": "string"
  30635. },
  30636. "logincode": {
  30637. "description": "账号(登录代码)",
  30638. "type": "string"
  30639. },
  30640. "nexttriggeramount": {
  30641. "description": "下次触发金额",
  30642. "type": "number"
  30643. },
  30644. "nexttriggerdate": {
  30645. "description": "下次触发日期",
  30646. "type": "string"
  30647. },
  30648. "nexttriggerqty": {
  30649. "description": "下次触发数量 [按小数位放大值]",
  30650. "type": "number"
  30651. },
  30652. "qtydecimalplace": {
  30653. "description": "成交量小数位",
  30654. "type": "integer"
  30655. },
  30656. "regularlycycle": {
  30657. "description": "定投频率 - 1:每周 2:每月",
  30658. "type": "integer"
  30659. },
  30660. "regularlycyclevalue": {
  30661. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30662. "type": "string"
  30663. },
  30664. "regularlymode": {
  30665. "description": "定投方式 - 1:按数量 2:按金额",
  30666. "type": "integer"
  30667. },
  30668. "regularlymodevalue": {
  30669. "description": "定投方式值 - 数量或金额",
  30670. "type": "number"
  30671. },
  30672. "regularlystrategyid": {
  30673. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  30674. "type": "integer"
  30675. },
  30676. "regularlystrategystatus": {
  30677. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  30678. "type": "integer"
  30679. },
  30680. "remark": {
  30681. "description": "备注",
  30682. "type": "string"
  30683. },
  30684. "triggersuccesstimes": {
  30685. "description": "累计定投成功次数",
  30686. "type": "string"
  30687. },
  30688. "triggertotalamount": {
  30689. "description": "累计定投金额(成功)",
  30690. "type": "number"
  30691. },
  30692. "triggertotalqty": {
  30693. "description": "累计定投数量(成功) [按小数位放大值]",
  30694. "type": "number"
  30695. },
  30696. "triggertotaltimes": {
  30697. "description": "累计定投总次数",
  30698. "type": "string"
  30699. },
  30700. "updatesrc": {
  30701. "description": "更新来源 - 1:管理端 2:终端",
  30702. "type": "integer"
  30703. },
  30704. "updatetime": {
  30705. "description": "更新时间",
  30706. "type": "string"
  30707. },
  30708. "updatorid": {
  30709. "description": "更新人",
  30710. "type": "string"
  30711. },
  30712. "userid": {
  30713. "description": "所属用户ID",
  30714. "type": "integer"
  30715. },
  30716. "userinfotype": {
  30717. "description": "用户类型 1-个人 2-企业",
  30718. "type": "integer"
  30719. },
  30720. "username": {
  30721. "description": "用户名称(userid对应的名称)",
  30722. "type": "string"
  30723. }
  30724. }
  30725. },
  30726. "models.QhjReckonPriceLog": {
  30727. "type": "object",
  30728. "properties": {
  30729. "decimalplace": {
  30730. "description": "商品报价小数位",
  30731. "type": "integer"
  30732. },
  30733. "goodscode": {
  30734. "description": "商品代码",
  30735. "type": "string"
  30736. },
  30737. "goodsid": {
  30738. "description": "商品ID",
  30739. "type": "integer"
  30740. },
  30741. "goodsname": {
  30742. "description": "商品名称",
  30743. "type": "string"
  30744. },
  30745. "lastreckonprice": {
  30746. "description": "上日结算价",
  30747. "type": "number"
  30748. },
  30749. "nextdnlimitprice": {
  30750. "description": "下个交易日跌停价",
  30751. "type": "number"
  30752. },
  30753. "nexttrade": {
  30754. "description": "下个交易日",
  30755. "type": "string"
  30756. },
  30757. "nextuplimitprice": {
  30758. "description": "下个交易日涨停价",
  30759. "type": "number"
  30760. },
  30761. "reckonprice": {
  30762. "description": "今日结算价(定投价)",
  30763. "type": "number"
  30764. },
  30765. "reckontime": {
  30766. "description": "结算时间",
  30767. "type": "string"
  30768. },
  30769. "totalholderqty": {
  30770. "description": "总持仓数",
  30771. "type": "integer"
  30772. },
  30773. "totalstock": {
  30774. "description": "总库存",
  30775. "type": "integer"
  30776. },
  30777. "tradedate": {
  30778. "description": "交易日",
  30779. "type": "string"
  30780. },
  30781. "updowncount": {
  30782. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  30783. "type": "integer"
  30784. },
  30785. "updownflag": {
  30786. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  30787. "type": "integer"
  30788. },
  30789. "updownrate": {
  30790. "description": "今日涨跌幅",
  30791. "type": "number"
  30792. },
  30793. "updownrate_2d": {
  30794. "description": "连续两日涨跌幅",
  30795. "type": "number"
  30796. },
  30797. "updownrate_3d": {
  30798. "description": "连续三日涨跌幅",
  30799. "type": "number"
  30800. }
  30801. }
  30802. },
  30803. "models.QhjScoreLog": {
  30804. "type": "object",
  30805. "properties": {
  30806. "accountid": {
  30807. "description": "账户ID",
  30808. "type": "integer"
  30809. },
  30810. "createtime": {
  30811. "description": "创建时间(时间)",
  30812. "type": "string"
  30813. },
  30814. "goodsid": {
  30815. "description": "商品ID",
  30816. "type": "integer"
  30817. },
  30818. "hasuploaded": {
  30819. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  30820. "type": "integer"
  30821. },
  30822. "logid": {
  30823. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30824. "type": "string"
  30825. },
  30826. "marketid": {
  30827. "description": "市场ID",
  30828. "type": "integer"
  30829. },
  30830. "relatedamount": {
  30831. "description": "关联金额",
  30832. "type": "number"
  30833. },
  30834. "relatedorderid": {
  30835. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  30836. "type": "string"
  30837. },
  30838. "scoreconfigvalue1": {
  30839. "description": "积分配置1",
  30840. "type": "integer"
  30841. },
  30842. "scoreconfigvalue2": {
  30843. "description": "积分配置1",
  30844. "type": "integer"
  30845. },
  30846. "scoretype": {
  30847. "description": "积分类型 - 1:提货积分",
  30848. "type": "integer"
  30849. },
  30850. "scorevalue": {
  30851. "description": "积分",
  30852. "type": "number"
  30853. },
  30854. "tradedate": {
  30855. "description": "交易日(yyyyMMdd)",
  30856. "type": "string"
  30857. },
  30858. "uploadedtime": {
  30859. "description": "同步时间",
  30860. "type": "string"
  30861. },
  30862. "userid": {
  30863. "description": "用户ID",
  30864. "type": "integer"
  30865. }
  30866. }
  30867. },
  30868. "models.QhjSiteColumnDetail": {
  30869. "type": "object",
  30870. "properties": {
  30871. "author": {
  30872. "description": "作者",
  30873. "type": "string"
  30874. },
  30875. "brief": {
  30876. "description": "简介",
  30877. "type": "string"
  30878. },
  30879. "columnid": {
  30880. "description": "所属栏目",
  30881. "type": "integer"
  30882. },
  30883. "context": {
  30884. "description": "内容",
  30885. "type": "string"
  30886. },
  30887. "coverimage": {
  30888. "description": "封面图片",
  30889. "type": "string"
  30890. },
  30891. "creaedate": {
  30892. "description": "创建时间",
  30893. "type": "string"
  30894. },
  30895. "creatorid": {
  30896. "description": "创建人",
  30897. "type": "integer"
  30898. },
  30899. "hits": {
  30900. "description": "点击数",
  30901. "type": "integer"
  30902. },
  30903. "id": {
  30904. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  30905. "type": "integer"
  30906. },
  30907. "isshow": {
  30908. "description": "是否展示 - 0:不展示 1:展示",
  30909. "type": "integer"
  30910. },
  30911. "istop": {
  30912. "description": "是否置顶 - 0:不置 1:置顶",
  30913. "type": "integer"
  30914. },
  30915. "modifierid": {
  30916. "description": "操作人",
  30917. "type": "integer"
  30918. },
  30919. "publishdate": {
  30920. "description": "发布日期",
  30921. "type": "string"
  30922. },
  30923. "status": {
  30924. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  30925. "type": "integer"
  30926. },
  30927. "title": {
  30928. "description": "标题",
  30929. "type": "string"
  30930. },
  30931. "updatedate": {
  30932. "description": "修改时间",
  30933. "type": "string"
  30934. },
  30935. "userid": {
  30936. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  30937. "type": "integer"
  30938. },
  30939. "username": {
  30940. "description": "用户名称",
  30941. "type": "string"
  30942. }
  30943. }
  30944. },
  30945. "models.QhjTeamOrder": {
  30946. "type": "object",
  30947. "properties": {
  30948. "accountid": {
  30949. "description": "账户ID[报价币种]",
  30950. "type": "integer"
  30951. },
  30952. "accountname": {
  30953. "description": "账户名称",
  30954. "type": "string"
  30955. },
  30956. "agreeunit": {
  30957. "description": "合约乘数",
  30958. "type": "number"
  30959. },
  30960. "buyorsell": {
  30961. "description": "方向 - 0:买 1:卖",
  30962. "type": "integer"
  30963. },
  30964. "decimalplace": {
  30965. "description": "报价小数位",
  30966. "type": "integer"
  30967. },
  30968. "enumdicname": {
  30969. "description": "单位名称",
  30970. "type": "string"
  30971. },
  30972. "goodscode": {
  30973. "description": "商品代码(内部)",
  30974. "type": "string"
  30975. },
  30976. "goodsid": {
  30977. "description": "商品ID",
  30978. "type": "integer"
  30979. },
  30980. "goodsname": {
  30981. "description": "商品名称",
  30982. "type": "string"
  30983. },
  30984. "goodunitid": {
  30985. "description": "报价单位ID",
  30986. "type": "integer"
  30987. },
  30988. "marketid": {
  30989. "description": "市场ID",
  30990. "type": "integer"
  30991. },
  30992. "marketname": {
  30993. "description": "市场名称",
  30994. "type": "string"
  30995. },
  30996. "qtydecimalplace": {
  30997. "description": "成交量小数位",
  30998. "type": "integer"
  30999. },
  31000. "refereeuserid": {
  31001. "description": "推荐人ID",
  31002. "type": "integer"
  31003. },
  31004. "tradeamount": {
  31005. "description": "成交金额[账户币种,用于所有权]",
  31006. "type": "number"
  31007. },
  31008. "tradedate": {
  31009. "description": "交易日(yyyyMMdd)",
  31010. "type": "string"
  31011. },
  31012. "trademode": {
  31013. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31014. "type": "integer"
  31015. },
  31016. "tradeprice": {
  31017. "description": "成交价格",
  31018. "type": "number"
  31019. },
  31020. "tradeqty": {
  31021. "description": "成交数量",
  31022. "type": "number"
  31023. },
  31024. "tradetime": {
  31025. "description": "成交时间",
  31026. "type": "string"
  31027. },
  31028. "userid": {
  31029. "description": "用户ID",
  31030. "type": "integer"
  31031. }
  31032. }
  31033. },
  31034. "models.QhjTradeGoodsPickup": {
  31035. "type": "object",
  31036. "properties": {
  31037. "accountid": {
  31038. "description": "账户ID",
  31039. "type": "integer"
  31040. },
  31041. "address": {
  31042. "description": "提货人详细地址",
  31043. "type": "string"
  31044. },
  31045. "amount": {
  31046. "description": "提货金额",
  31047. "type": "number"
  31048. },
  31049. "artradedate": {
  31050. "description": "自动收货交易日(yyyyMMdd)",
  31051. "type": "string"
  31052. },
  31053. "auditer": {
  31054. "description": "审核人",
  31055. "type": "integer"
  31056. },
  31057. "auditsrc": {
  31058. "description": "更新来源 - 1:管理端 2:终端",
  31059. "type": "integer"
  31060. },
  31061. "audittime": {
  31062. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  31063. "type": "string"
  31064. },
  31065. "audittradedate": {
  31066. "description": "审核交易日(yyyyMMdd)",
  31067. "type": "string"
  31068. },
  31069. "cardnum": {
  31070. "description": "提货人证件号码",
  31071. "type": "string"
  31072. },
  31073. "cardtypeid": {
  31074. "description": "提货人证件类型",
  31075. "type": "integer"
  31076. },
  31077. "checkremark": {
  31078. "description": "审核备注",
  31079. "type": "string"
  31080. },
  31081. "cityid": {
  31082. "description": "市",
  31083. "type": "integer"
  31084. },
  31085. "cityname": {
  31086. "description": "城市名称",
  31087. "type": "string"
  31088. },
  31089. "confirmtime": {
  31090. "description": "取货时间 或 收货时间",
  31091. "type": "string"
  31092. },
  31093. "countryid": {
  31094. "description": "国家",
  31095. "type": "integer"
  31096. },
  31097. "countryname": {
  31098. "description": "国家名称",
  31099. "type": "string"
  31100. },
  31101. "decimalplace": {
  31102. "description": "商品报价小数位",
  31103. "type": "integer"
  31104. },
  31105. "districtid": {
  31106. "description": "地区",
  31107. "type": "integer"
  31108. },
  31109. "districtname": {
  31110. "description": "地区名称",
  31111. "type": "string"
  31112. },
  31113. "enumdicname": {
  31114. "description": "单位名称(提货商品)",
  31115. "type": "string"
  31116. },
  31117. "expresscompany": {
  31118. "description": "物流公司",
  31119. "type": "string"
  31120. },
  31121. "expressnum": {
  31122. "description": "物流单号",
  31123. "type": "string"
  31124. },
  31125. "goodsagreeunit": {
  31126. "description": "交易商品乘数",
  31127. "type": "number"
  31128. },
  31129. "goodscode": {
  31130. "description": "商品代码",
  31131. "type": "string"
  31132. },
  31133. "goodsid": {
  31134. "description": "商品ID",
  31135. "type": "integer"
  31136. },
  31137. "goodsname": {
  31138. "description": "商品名称",
  31139. "type": "string"
  31140. },
  31141. "goodsqty": {
  31142. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  31143. "type": "number"
  31144. },
  31145. "handlestatus": {
  31146. "description": "处理状态",
  31147. "type": "integer"
  31148. },
  31149. "logincode": {
  31150. "description": "账号(登录代码, 有可能为空)",
  31151. "type": "string"
  31152. },
  31153. "marketid": {
  31154. "description": "市场ID",
  31155. "type": "integer"
  31156. },
  31157. "phonenum": {
  31158. "description": "提货人联系方式",
  31159. "type": "string"
  31160. },
  31161. "pickupgoodsagreeunit": {
  31162. "description": "提货商品合约乘数",
  31163. "type": "number"
  31164. },
  31165. "pickupgoodsid": {
  31166. "description": "提货商品ID",
  31167. "type": "string"
  31168. },
  31169. "pickupgoodsname": {
  31170. "description": "提货商品名称",
  31171. "type": "string"
  31172. },
  31173. "pickupgoodsqty": {
  31174. "description": "提货商品手数(数量)",
  31175. "type": "number"
  31176. },
  31177. "pickupgoodsunitid": {
  31178. "description": "单位ID(提货商品)",
  31179. "type": "integer"
  31180. },
  31181. "pickupratio": {
  31182. "description": "提货系数",
  31183. "type": "number"
  31184. },
  31185. "preparedays": {
  31186. "description": "备货期(天)-提货单明细表",
  31187. "type": "integer"
  31188. },
  31189. "provinceid": {
  31190. "description": "省",
  31191. "type": "integer"
  31192. },
  31193. "provincename": {
  31194. "description": "省名称",
  31195. "type": "string"
  31196. },
  31197. "qty": {
  31198. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  31199. "type": "number"
  31200. },
  31201. "qtydecimalplace": {
  31202. "description": "商品数量小数位",
  31203. "type": "integer"
  31204. },
  31205. "recivername": {
  31206. "description": "提货人姓名",
  31207. "type": "string"
  31208. },
  31209. "reqtime": {
  31210. "description": "提货申请时间",
  31211. "type": "string"
  31212. },
  31213. "storeuserid": {
  31214. "description": "门店用户ID (千海金)",
  31215. "type": "integer"
  31216. },
  31217. "storeusername": {
  31218. "description": "门店用户名称",
  31219. "type": "string"
  31220. },
  31221. "takemode": {
  31222. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  31223. "type": "integer"
  31224. },
  31225. "takeorderid": {
  31226. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  31227. "type": "string"
  31228. },
  31229. "takeorderstatus": {
  31230. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  31231. "type": "integer"
  31232. },
  31233. "takeremark": {
  31234. "description": "提货备注",
  31235. "type": "string"
  31236. },
  31237. "tradedate": {
  31238. "description": "交易日(yyyyMMdd)",
  31239. "type": "string"
  31240. },
  31241. "updatetime": {
  31242. "description": "更新时间",
  31243. "type": "string"
  31244. },
  31245. "userid": {
  31246. "description": "用户ID",
  31247. "type": "integer"
  31248. },
  31249. "userinfotype": {
  31250. "description": "客户类型 1-个人 2-企业",
  31251. "type": "integer"
  31252. },
  31253. "username": {
  31254. "description": "用户名称",
  31255. "type": "string"
  31256. }
  31257. }
  31258. },
  31259. "models.QhjUserNodeCfgAndStatus": {
  31260. "type": "object",
  31261. "properties": {
  31262. "agreementcontent": {
  31263. "description": "协议内容",
  31264. "type": "string"
  31265. },
  31266. "agreementid": {
  31267. "description": "协议ID",
  31268. "type": "integer"
  31269. },
  31270. "agreementname": {
  31271. "description": "协议名称",
  31272. "type": "string"
  31273. },
  31274. "agreementno": {
  31275. "description": "协议编号",
  31276. "type": "string"
  31277. },
  31278. "agreementtype": {
  31279. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31280. "type": "integer"
  31281. },
  31282. "agreementversion": {
  31283. "description": "协议版本号",
  31284. "type": "integer"
  31285. },
  31286. "configid": {
  31287. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  31288. "type": "integer"
  31289. },
  31290. "createtime": {
  31291. "description": "创建时间",
  31292. "type": "string"
  31293. },
  31294. "goodsid": {
  31295. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  31296. "type": "integer"
  31297. },
  31298. "nodetype": {
  31299. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  31300. "type": "integer"
  31301. },
  31302. "signtimestamp": {
  31303. "description": "签约状态时间戳(最近一次)",
  31304. "type": "string"
  31305. },
  31306. "tradedate": {
  31307. "description": "签约交易日(yyyyMMdd)",
  31308. "type": "string"
  31309. },
  31310. "userid": {
  31311. "description": "客户ID",
  31312. "type": "integer"
  31313. }
  31314. }
  31315. },
  31316. "models.Qhjgoodsex": {
  31317. "type": "object",
  31318. "properties": {
  31319. "canfinance": {
  31320. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  31321. "type": "integer"
  31322. },
  31323. "canregularlybuy": {
  31324. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  31325. "type": "integer"
  31326. },
  31327. "defaulttradeuserid": {
  31328. "description": "默认交易用户ID",
  31329. "type": "integer"
  31330. },
  31331. "deliverygoodsid": {
  31332. "description": "现货品种ID",
  31333. "type": "integer"
  31334. },
  31335. "goodsid": {
  31336. "description": "商品ID(自增ID SEQ_GOODS)",
  31337. "type": "integer"
  31338. },
  31339. "minamount": {
  31340. "description": "最小购买金额",
  31341. "type": "number"
  31342. },
  31343. "regularlybuyminamount": {
  31344. "description": "定投最小金额",
  31345. "type": "number"
  31346. },
  31347. "regularlybuyminqty": {
  31348. "description": "定投最小数量",
  31349. "type": "number"
  31350. },
  31351. "spotgoodsbrandid": {
  31352. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  31353. "type": "integer"
  31354. },
  31355. "visibilityforenterprise": {
  31356. "description": "企业客户是否可见 - 0:不可见 1:可见",
  31357. "type": "integer"
  31358. },
  31359. "visibilityforpersonal": {
  31360. "description": "个人客户是否可见 - 0:不可见 1:可见",
  31361. "type": "integer"
  31362. },
  31363. "wrstandardid": {
  31364. "description": "现货商品ID",
  31365. "type": "integer"
  31366. }
  31367. }
  31368. },
  31369. "models.QueryErrorInfosRsp": {
  31370. "type": "object",
  31371. "required": [
  31372. "errorid"
  31373. ],
  31374. "properties": {
  31375. "description": {
  31376. "description": "异常描述",
  31377. "type": "string"
  31378. },
  31379. "errorcode": {
  31380. "description": "异常代码",
  31381. "type": "string"
  31382. },
  31383. "errorid": {
  31384. "description": "异常ID",
  31385. "type": "integer"
  31386. },
  31387. "modulecode": {
  31388. "description": "所属模块",
  31389. "type": "string"
  31390. },
  31391. "operatecode": {
  31392. "description": "所属操作",
  31393. "type": "string"
  31394. },
  31395. "rownumber": {
  31396. "description": "行号",
  31397. "type": "string"
  31398. }
  31399. }
  31400. },
  31401. "models.QueryHedgeOrderDetailRsp": {
  31402. "type": "object",
  31403. "properties": {
  31404. "accountid": {
  31405. "description": "账户ID",
  31406. "type": "integer"
  31407. },
  31408. "buyorsell": {
  31409. "description": "买卖 - 0:买 1:卖",
  31410. "type": "integer"
  31411. },
  31412. "cancellogincode": {
  31413. "description": "撤单人",
  31414. "type": "string"
  31415. },
  31416. "channelbuildtype": {
  31417. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  31418. "type": "integer"
  31419. },
  31420. "channelinnerorderstatus": {
  31421. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  31422. "type": "integer"
  31423. },
  31424. "channeloperatetype": {
  31425. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  31426. "type": "integer"
  31427. },
  31428. "closetype": {
  31429. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31430. "type": "integer"
  31431. },
  31432. "curexchangerate": {
  31433. "description": "当前汇率",
  31434. "type": "number"
  31435. },
  31436. "exchangefullname": {
  31437. "description": "外部交易所全称",
  31438. "type": "string"
  31439. },
  31440. "goodscode": {
  31441. "description": "商品代码(内部)",
  31442. "type": "string"
  31443. },
  31444. "goodsid": {
  31445. "description": "商品ID",
  31446. "type": "integer"
  31447. },
  31448. "goodsname": {
  31449. "description": "商品名称",
  31450. "type": "string"
  31451. },
  31452. "marketid": {
  31453. "description": "市场ID",
  31454. "type": "integer"
  31455. },
  31456. "openfreezemargin": {
  31457. "description": "冻结保证金(冻结交易金额)",
  31458. "type": "number"
  31459. },
  31460. "orderid": {
  31461. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31462. "type": "string"
  31463. },
  31464. "orderlogincode": {
  31465. "description": "委托人",
  31466. "type": "string"
  31467. },
  31468. "orderprice": {
  31469. "description": "委托价格(账户)",
  31470. "type": "number"
  31471. },
  31472. "orderqty": {
  31473. "description": "委托数量",
  31474. "type": "integer"
  31475. },
  31476. "ordertime": {
  31477. "description": "委托时间",
  31478. "type": "string"
  31479. },
  31480. "pricemode": {
  31481. "description": "取价方式 - 1:市价 2: 限价",
  31482. "type": "integer"
  31483. },
  31484. "tradedate": {
  31485. "description": "交易日(yyyyMMdd)",
  31486. "type": "string"
  31487. },
  31488. "tradeqty": {
  31489. "description": "成交数量",
  31490. "type": "integer"
  31491. }
  31492. }
  31493. },
  31494. "models.QueryHedgeTradeDetailRsp": {
  31495. "type": "object",
  31496. "properties": {
  31497. "accountid": {
  31498. "description": "账号ID",
  31499. "type": "integer"
  31500. },
  31501. "buyorsell": {
  31502. "description": "方向 - 0:买 1:卖",
  31503. "type": "integer"
  31504. },
  31505. "channelbuildtype": {
  31506. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  31507. "type": "integer"
  31508. },
  31509. "closecharge": {
  31510. "description": "平仓手续费(账户)",
  31511. "type": "number"
  31512. },
  31513. "closecharge2": {
  31514. "description": "平仓手续费(商品)",
  31515. "type": "number"
  31516. },
  31517. "closepl": {
  31518. "description": "平仓盈亏(账户)",
  31519. "type": "number"
  31520. },
  31521. "closepl2": {
  31522. "description": "平仓盈亏(商品)",
  31523. "type": "number"
  31524. },
  31525. "closepl3": {
  31526. "description": "平仓盈亏(账户)(逐笔)",
  31527. "type": "number"
  31528. },
  31529. "closepl4": {
  31530. "description": "平仓盈亏(商品)(逐笔)",
  31531. "type": "number"
  31532. },
  31533. "closetype": {
  31534. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31535. "type": "integer"
  31536. },
  31537. "curexchangerate": {
  31538. "description": "当前汇率",
  31539. "type": "number"
  31540. },
  31541. "exchangefullname": {
  31542. "description": "外部交易所全称",
  31543. "type": "string"
  31544. },
  31545. "goodscode": {
  31546. "description": "商品代码(内部)",
  31547. "type": "string"
  31548. },
  31549. "goodsid": {
  31550. "description": "商品ID",
  31551. "type": "integer"
  31552. },
  31553. "goodsname": {
  31554. "description": "商品名称",
  31555. "type": "string"
  31556. },
  31557. "marketid": {
  31558. "description": "市场ID",
  31559. "type": "integer"
  31560. },
  31561. "opencharge": {
  31562. "description": "建仓手续费(账户)",
  31563. "type": "number"
  31564. },
  31565. "opencharge2": {
  31566. "description": "建仓手续费(商品)",
  31567. "type": "number"
  31568. },
  31569. "orderid": {
  31570. "description": "委托单号",
  31571. "type": "string"
  31572. },
  31573. "orderlogincode": {
  31574. "description": "委托人",
  31575. "type": "string"
  31576. },
  31577. "tradeamount": {
  31578. "description": "成交金额(账户)",
  31579. "type": "number"
  31580. },
  31581. "tradedate": {
  31582. "description": "交易日(yyyyMMdd)",
  31583. "type": "string"
  31584. },
  31585. "tradeid": {
  31586. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31587. "type": "string"
  31588. },
  31589. "tradeprice": {
  31590. "description": "成交价格",
  31591. "type": "number"
  31592. },
  31593. "tradeqty": {
  31594. "description": "成交数量",
  31595. "type": "integer"
  31596. },
  31597. "tradetime": {
  31598. "description": "成交时间",
  31599. "type": "string"
  31600. },
  31601. "tradetype": {
  31602. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  31603. "type": "integer"
  31604. }
  31605. }
  31606. },
  31607. "models.QuotePrimaryMenu": {
  31608. "type": "object",
  31609. "properties": {
  31610. "Index": {
  31611. "description": "序号",
  31612. "type": "integer"
  31613. },
  31614. "Key": {
  31615. "description": "键名",
  31616. "type": "string"
  31617. },
  31618. "Name": {
  31619. "description": "菜单名称",
  31620. "type": "string"
  31621. },
  31622. "SubMenus": {
  31623. "description": "子菜单",
  31624. "type": "array",
  31625. "items": {
  31626. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  31627. }
  31628. },
  31629. "SubTitleType": {
  31630. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  31631. "type": "integer"
  31632. },
  31633. "TradeModes": {
  31634. "description": "包含市场交易类型",
  31635. "type": "string"
  31636. }
  31637. }
  31638. },
  31639. "models.QuoteSecondaryMenu": {
  31640. "type": "object",
  31641. "properties": {
  31642. "ExExchangeCode": {
  31643. "description": "外部交易所代码",
  31644. "type": "string"
  31645. },
  31646. "ExExchangeID": {
  31647. "description": "外部交易所ID",
  31648. "type": "integer"
  31649. },
  31650. "GoodsGroupIDs": {
  31651. "description": "商品组ID列表",
  31652. "type": "array",
  31653. "items": {
  31654. "type": "integer"
  31655. }
  31656. },
  31657. "Index": {
  31658. "description": "序号",
  31659. "type": "integer"
  31660. },
  31661. "MarketID": {
  31662. "description": "市场ID",
  31663. "type": "integer"
  31664. },
  31665. "MenuTitle": {
  31666. "description": "菜单标题(市场名称或外部交易所名称)",
  31667. "type": "string"
  31668. },
  31669. "TradeMode": {
  31670. "description": "交易模式",
  31671. "type": "integer"
  31672. }
  31673. }
  31674. },
  31675. "models.RoleMenu": {
  31676. "type": "object",
  31677. "properties": {
  31678. "hasright": {
  31679. "description": "是否有权限 0-没有权限 1-有权限",
  31680. "type": "integer"
  31681. },
  31682. "iconame": {
  31683. "description": "菜单图标",
  31684. "type": "string"
  31685. },
  31686. "menutype": {
  31687. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  31688. "type": "integer"
  31689. },
  31690. "parentcode": {
  31691. "description": "上级资源代码",
  31692. "type": "string"
  31693. },
  31694. "remark": {
  31695. "description": "菜单备注",
  31696. "type": "string"
  31697. },
  31698. "resourcecode": {
  31699. "description": "菜单代码",
  31700. "type": "string"
  31701. },
  31702. "resourcelevel": {
  31703. "description": "级别",
  31704. "type": "integer"
  31705. },
  31706. "resourcename": {
  31707. "description": "菜单名称",
  31708. "type": "string"
  31709. },
  31710. "roleid": {
  31711. "description": "角色id",
  31712. "type": "integer"
  31713. },
  31714. "sort": {
  31715. "description": "排序",
  31716. "type": "integer"
  31717. },
  31718. "subMenu": {
  31719. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  31720. "type": "array",
  31721. "items": {
  31722. "$ref": "#/definitions/models.RoleMenu"
  31723. }
  31724. },
  31725. "url": {
  31726. "description": "URL",
  31727. "type": "string"
  31728. },
  31729. "userid": {
  31730. "description": "用户id",
  31731. "type": "integer"
  31732. }
  31733. }
  31734. },
  31735. "models.SearchGoods": {
  31736. "type": "object",
  31737. "required": [
  31738. "goodscode",
  31739. "goodsid",
  31740. "goodsname",
  31741. "marketid",
  31742. "trademode"
  31743. ],
  31744. "properties": {
  31745. "goodscode": {
  31746. "description": "商品代码(内部)",
  31747. "type": "string"
  31748. },
  31749. "goodsid": {
  31750. "description": "商品ID(自增ID SEQ_GOODS)",
  31751. "type": "integer"
  31752. },
  31753. "goodsname": {
  31754. "description": "商品名称",
  31755. "type": "string"
  31756. },
  31757. "marketid": {
  31758. "description": "所属市场ID",
  31759. "type": "integer"
  31760. },
  31761. "marketname": {
  31762. "description": "市场名称",
  31763. "type": "string"
  31764. },
  31765. "trademode": {
  31766. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31767. "type": "integer"
  31768. }
  31769. }
  31770. },
  31771. "models.Systemparam": {
  31772. "type": "object",
  31773. "required": [
  31774. "paramcode"
  31775. ],
  31776. "properties": {
  31777. "loginid": {
  31778. "description": "更新用户账号,登录账号",
  31779. "type": "string"
  31780. },
  31781. "modifyflag": {
  31782. "description": "修改标志0 不允许修改 1 允许修改",
  31783. "type": "integer"
  31784. },
  31785. "paramcode": {
  31786. "description": "参数代码",
  31787. "type": "string"
  31788. },
  31789. "paramname": {
  31790. "description": "参数名",
  31791. "type": "string"
  31792. },
  31793. "paramtype": {
  31794. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  31795. "type": "integer"
  31796. },
  31797. "paramvalue": {
  31798. "description": "参数值",
  31799. "type": "string"
  31800. },
  31801. "paramvalue2": {
  31802. "description": "参数值(CLOB)",
  31803. "type": "string"
  31804. },
  31805. "regexpress": {
  31806. "description": "正则表达式",
  31807. "type": "string"
  31808. },
  31809. "remark": {
  31810. "description": "备注",
  31811. "type": "string"
  31812. },
  31813. "serverip": {
  31814. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  31815. "type": "string"
  31816. },
  31817. "showflag": {
  31818. "description": "是否显示0 不显示 1 显示",
  31819. "type": "integer"
  31820. },
  31821. "updatetime": {
  31822. "description": "更新时间",
  31823. "type": "string"
  31824. },
  31825. "userid": {
  31826. "description": "更新用户ID",
  31827. "type": "integer"
  31828. }
  31829. }
  31830. },
  31831. "models.Szdz3convertconfig": {
  31832. "type": "object",
  31833. "required": [
  31834. "converttype",
  31835. "innergoodsid",
  31836. "outergoodscode"
  31837. ],
  31838. "properties": {
  31839. "canin": {
  31840. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  31841. "type": "integer"
  31842. },
  31843. "canout": {
  31844. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  31845. "type": "integer"
  31846. },
  31847. "converttype": {
  31848. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  31849. "type": "integer"
  31850. },
  31851. "createtime": {
  31852. "description": "创建时间",
  31853. "type": "string"
  31854. },
  31855. "creatorid": {
  31856. "description": "创建人",
  31857. "type": "integer"
  31858. },
  31859. "daymaxvalue": {
  31860. "description": "当日最大转入限制",
  31861. "type": "number"
  31862. },
  31863. "freezedays": {
  31864. "description": "冻结天数 [5:花生米转交易]",
  31865. "type": "integer"
  31866. },
  31867. "innergoodsid": {
  31868. "description": "内部商品ID[交易]",
  31869. "type": "integer"
  31870. },
  31871. "inratio": {
  31872. "description": "目标值",
  31873. "type": "integer"
  31874. },
  31875. "modifierid": {
  31876. "description": "修改人",
  31877. "type": "integer"
  31878. },
  31879. "modifytime": {
  31880. "description": "修改时间",
  31881. "type": "string"
  31882. },
  31883. "outergoodscode": {
  31884. "description": "外部商品代码[JD\\PD]",
  31885. "type": "string"
  31886. },
  31887. "outratio": {
  31888. "description": "源值",
  31889. "type": "integer"
  31890. },
  31891. "pddecimalplace": {
  31892. "description": "PD小数位",
  31893. "type": "integer"
  31894. },
  31895. "timemaxvalue": {
  31896. "description": "单次最大转入限制",
  31897. "type": "number"
  31898. },
  31899. "timeminvalue": {
  31900. "description": "单次最小转入限制",
  31901. "type": "number"
  31902. }
  31903. }
  31904. },
  31905. "models.Szdz3searchwhitelist": {
  31906. "type": "object",
  31907. "required": [
  31908. "userid"
  31909. ],
  31910. "properties": {
  31911. "createtime": {
  31912. "description": "创建时间",
  31913. "type": "string"
  31914. },
  31915. "creatorid": {
  31916. "description": "创建人",
  31917. "type": "integer"
  31918. },
  31919. "modifierid": {
  31920. "description": "修改人",
  31921. "type": "integer"
  31922. },
  31923. "modifytime": {
  31924. "description": "修改时间",
  31925. "type": "string"
  31926. },
  31927. "userid": {
  31928. "description": "用户ID",
  31929. "type": "integer"
  31930. }
  31931. }
  31932. },
  31933. "models.TBGoods": {
  31934. "type": "object",
  31935. "properties": {
  31936. "agreeunit": {
  31937. "description": "合约乘数",
  31938. "type": "number"
  31939. },
  31940. "enumdicname": {
  31941. "description": "单位名称",
  31942. "type": "string"
  31943. },
  31944. "goodscode": {
  31945. "description": "商品代码(内部)",
  31946. "type": "string"
  31947. },
  31948. "goodsid": {
  31949. "description": "商品ID(自增ID SEQ_GOODS)",
  31950. "type": "integer"
  31951. },
  31952. "goodsname": {
  31953. "description": "商品名称",
  31954. "type": "string"
  31955. }
  31956. }
  31957. },
  31958. "models.TBGoodsGroup": {
  31959. "type": "object",
  31960. "properties": {
  31961. "convertratio": {
  31962. "description": "折算系数",
  31963. "type": "number"
  31964. },
  31965. "enumdicname": {
  31966. "description": "单位名称",
  31967. "type": "string"
  31968. },
  31969. "exexchangecode": {
  31970. "description": "交易所代码",
  31971. "type": "string"
  31972. },
  31973. "exexchangename": {
  31974. "description": "交易所名称",
  31975. "type": "string"
  31976. },
  31977. "gdlst": {
  31978. "description": "商品列表",
  31979. "type": "array",
  31980. "items": {
  31981. "$ref": "#/definitions/models.TBGoods"
  31982. }
  31983. },
  31984. "goodsgroupid": {
  31985. "description": "商品组ID(自增ID)",
  31986. "type": "integer"
  31987. },
  31988. "goodsgroupname": {
  31989. "description": "商品组名称",
  31990. "type": "string"
  31991. },
  31992. "goodunitid": {
  31993. "description": "报价单位ID",
  31994. "type": "integer"
  31995. }
  31996. }
  31997. },
  31998. "models.TBMiddleGoods": {
  31999. "type": "object",
  32000. "properties": {
  32001. "areauserid": {
  32002. "description": "机构用户ID",
  32003. "type": "integer"
  32004. },
  32005. "enumdicname": {
  32006. "description": "单位名称",
  32007. "type": "string"
  32008. },
  32009. "goodsunitid": {
  32010. "description": "套保品种单位id",
  32011. "type": "integer"
  32012. },
  32013. "gplst": {
  32014. "description": "期货品种列表",
  32015. "type": "array",
  32016. "items": {
  32017. "$ref": "#/definitions/models.TBGoodsGroup"
  32018. }
  32019. },
  32020. "middlegoodscode": {
  32021. "description": "套保品种代码",
  32022. "type": "string"
  32023. },
  32024. "middlegoodsid": {
  32025. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  32026. "type": "integer"
  32027. },
  32028. "middlegoodsname": {
  32029. "description": "套保品种名称",
  32030. "type": "string"
  32031. },
  32032. "needarbitrageratio": {
  32033. "description": "套利比率",
  32034. "type": "number"
  32035. },
  32036. "needhedgeratio": {
  32037. "description": "套保比率",
  32038. "type": "number"
  32039. },
  32040. "wdlst": {
  32041. "description": "商品信息列表(现货品类)",
  32042. "type": "array",
  32043. "items": {
  32044. "$ref": "#/definitions/models.TBWrstandard"
  32045. }
  32046. }
  32047. }
  32048. },
  32049. "models.TBWrstandard": {
  32050. "type": "object",
  32051. "properties": {
  32052. "convertratio": {
  32053. "description": "折算系数",
  32054. "type": "number"
  32055. },
  32056. "deliverygoodsname": {
  32057. "description": "品种名称",
  32058. "type": "string"
  32059. },
  32060. "enumdicname": {
  32061. "description": "单位名称",
  32062. "type": "string"
  32063. },
  32064. "vatrate": {
  32065. "description": "增值税率",
  32066. "type": "number"
  32067. },
  32068. "wrstandardcode": {
  32069. "description": "现货商品代码",
  32070. "type": "string"
  32071. },
  32072. "wrstandardid": {
  32073. "description": "现货商品ID(SEQ_WRSTANDARD)",
  32074. "type": "integer"
  32075. },
  32076. "wrstandardname": {
  32077. "description": "现货商品名称",
  32078. "type": "string"
  32079. }
  32080. }
  32081. },
  32082. "models.Taaccount": {
  32083. "type": "object",
  32084. "required": [
  32085. "accountid",
  32086. "userid"
  32087. ],
  32088. "properties": {
  32089. "accountflag": {
  32090. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  32091. "type": "integer"
  32092. },
  32093. "accountid": {
  32094. "description": "资金账户ID",
  32095. "type": "integer"
  32096. },
  32097. "accountname": {
  32098. "description": "账户名称",
  32099. "type": "string"
  32100. },
  32101. "balance": {
  32102. "description": "期初余额",
  32103. "type": "number"
  32104. },
  32105. "capitalbalance": {
  32106. "description": "本金余额[外部子账户实际出入金余额]",
  32107. "type": "number"
  32108. },
  32109. "changeflag": {
  32110. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  32111. "type": "integer"
  32112. },
  32113. "changetime": {
  32114. "description": "账户状态变更时间",
  32115. "type": "string"
  32116. },
  32117. "closepl": {
  32118. "description": "今日平仓盈亏",
  32119. "type": "number"
  32120. },
  32121. "creditdecrease": {
  32122. "description": "今日授信减少",
  32123. "type": "number"
  32124. },
  32125. "creditincrease": {
  32126. "description": "今日授信增加",
  32127. "type": "number"
  32128. },
  32129. "curamount": {
  32130. "description": "总市值(从持仓中统计)",
  32131. "type": "number"
  32132. },
  32133. "currencyid": {
  32134. "description": "货币ID",
  32135. "type": "integer"
  32136. },
  32137. "currentbalance": {
  32138. "description": "期末余额",
  32139. "type": "number"
  32140. },
  32141. "freezecharge": {
  32142. "description": "手续费冻结",
  32143. "type": "number"
  32144. },
  32145. "freezemargin": {
  32146. "description": "冻结保证金",
  32147. "type": "number"
  32148. },
  32149. "fromaccountid": {
  32150. "description": "所属上级账户",
  32151. "type": "integer"
  32152. },
  32153. "inamount": {
  32154. "description": "今日入金金额(包括三方入金)",
  32155. "type": "number"
  32156. },
  32157. "ismain": {
  32158. "description": "是否母账号 0:不是母账户 1:是母账户",
  32159. "type": "integer"
  32160. },
  32161. "ismarketaccount": {
  32162. "description": "是否机构接单账号 0:不是 1:是",
  32163. "type": "integer"
  32164. },
  32165. "isreckonaccount": {
  32166. "description": "是否机构分润账号 0:不是 1:是",
  32167. "type": "integer"
  32168. },
  32169. "mortgagecredit": {
  32170. "description": "授信金额",
  32171. "type": "number"
  32172. },
  32173. "orifreezecharge": {
  32174. "description": "期初手续费冻结",
  32175. "type": "number"
  32176. },
  32177. "orifreezemargin": {
  32178. "description": "期初冻结保证金",
  32179. "type": "number"
  32180. },
  32181. "orimortgagecredit": {
  32182. "description": "期初授信金额",
  32183. "type": "number"
  32184. },
  32185. "oriothercredit": {
  32186. "description": "期初其它授信金额",
  32187. "type": "number"
  32188. },
  32189. "oriotherfreezemargin": {
  32190. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  32191. "type": "number"
  32192. },
  32193. "orioutamountfreeze": {
  32194. "description": "期初出金冻结",
  32195. "type": "number"
  32196. },
  32197. "oriusedmargin": {
  32198. "description": "期初占用保证金",
  32199. "type": "number"
  32200. },
  32201. "othercredit": {
  32202. "description": "其它授信金额",
  32203. "type": "number"
  32204. },
  32205. "othercreditdecrease": {
  32206. "description": "今日其它授信减少",
  32207. "type": "number"
  32208. },
  32209. "othercreditincrease": {
  32210. "description": "今日其它授信增加",
  32211. "type": "number"
  32212. },
  32213. "otherfreezemargin": {
  32214. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  32215. "type": "number"
  32216. },
  32217. "otherincome": {
  32218. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  32219. "type": "number"
  32220. },
  32221. "otherpay": {
  32222. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  32223. "type": "number"
  32224. },
  32225. "outamount": {
  32226. "description": "今日出金金额(包括三方出金)",
  32227. "type": "number"
  32228. },
  32229. "outamountfreeze": {
  32230. "description": "出金冻结",
  32231. "type": "number"
  32232. },
  32233. "outthreshold": {
  32234. "description": "出金阈值",
  32235. "type": "number"
  32236. },
  32237. "parentaccountid": {
  32238. "description": "所属根账号",
  32239. "type": "integer"
  32240. },
  32241. "paycharge": {
  32242. "description": "今日手续费支出",
  32243. "type": "number"
  32244. },
  32245. "relatedaccountstatus": {
  32246. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  32247. "type": "integer"
  32248. },
  32249. "relateduserid": {
  32250. "description": "关联用户",
  32251. "type": "integer"
  32252. },
  32253. "remainamount": {
  32254. "description": "融资额(从融资合同中统计)",
  32255. "type": "number"
  32256. },
  32257. "serivcegroup": {
  32258. "description": "服务分组",
  32259. "type": "integer"
  32260. },
  32261. "signstatus": {
  32262. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  32263. "type": "integer"
  32264. },
  32265. "sublevelpath": {
  32266. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  32267. "type": "string"
  32268. },
  32269. "taaccounttype": {
  32270. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  32271. "type": "integer"
  32272. },
  32273. "thirdinamount": {
  32274. "description": "今日三方入金",
  32275. "type": "number"
  32276. },
  32277. "thirdoutamount": {
  32278. "description": "今日三方出金",
  32279. "type": "number"
  32280. },
  32281. "tradestatus": {
  32282. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  32283. "type": "integer"
  32284. },
  32285. "tradestatuschangetime": {
  32286. "description": "激活时间",
  32287. "type": "string"
  32288. },
  32289. "transferamount": {
  32290. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  32291. "type": "number"
  32292. },
  32293. "usedmargin": {
  32294. "description": "占用保证金",
  32295. "type": "number"
  32296. },
  32297. "userid": {
  32298. "description": "用户ID",
  32299. "type": "integer"
  32300. }
  32301. }
  32302. },
  32303. "models.Tablecolumnconfig": {
  32304. "type": "object",
  32305. "required": [
  32306. "autoid"
  32307. ],
  32308. "properties": {
  32309. "aligntype": {
  32310. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  32311. "type": "integer"
  32312. },
  32313. "autoid": {
  32314. "description": "AutoID",
  32315. "type": "integer"
  32316. },
  32317. "columnfield": {
  32318. "description": "列字段",
  32319. "type": "string"
  32320. },
  32321. "columntitle": {
  32322. "description": "列Title",
  32323. "type": "string"
  32324. },
  32325. "columnwidth": {
  32326. "description": "列宽",
  32327. "type": "string"
  32328. },
  32329. "formatterstring": {
  32330. "description": "格式化字符",
  32331. "type": "string"
  32332. },
  32333. "formattertype": {
  32334. "description": "格式化类型",
  32335. "type": "string"
  32336. },
  32337. "groupname": {
  32338. "description": "表头分组名称",
  32339. "type": "string"
  32340. },
  32341. "isshow": {
  32342. "description": "是否显示 - 0:不显示 1:显示",
  32343. "type": "integer"
  32344. },
  32345. "needsummary": {
  32346. "description": "是否需要汇总 - 0:不需要 1:需要",
  32347. "type": "integer"
  32348. },
  32349. "orderindex": {
  32350. "description": "顺序",
  32351. "type": "integer"
  32352. },
  32353. "remark": {
  32354. "description": "备注",
  32355. "type": "string"
  32356. },
  32357. "summarytype": {
  32358. "description": "汇总类型 - 1:加总 2:最后一个",
  32359. "type": "integer"
  32360. },
  32361. "tablekey": {
  32362. "description": "列表Key",
  32363. "type": "string"
  32364. }
  32365. }
  32366. },
  32367. "models.TjmdQuoteGoods": {
  32368. "type": "object",
  32369. "properties": {
  32370. "buyqty": {
  32371. "description": "买量(暂不做, 无值, 保留字段)",
  32372. "type": "number"
  32373. },
  32374. "goodscode": {
  32375. "description": "合约代码",
  32376. "type": "string"
  32377. },
  32378. "goodsgroupid": {
  32379. "description": "商品组ID(自增ID)",
  32380. "type": "integer"
  32381. },
  32382. "goodsgroupname": {
  32383. "description": "商品组名称",
  32384. "type": "string"
  32385. },
  32386. "goodsid": {
  32387. "description": "合约id",
  32388. "type": "integer"
  32389. },
  32390. "goodsname": {
  32391. "description": "合约名称",
  32392. "type": "string"
  32393. },
  32394. "refgoodscode": {
  32395. "description": "标的合约代码",
  32396. "type": "string"
  32397. },
  32398. "refgoodsid": {
  32399. "description": "标的合约id",
  32400. "type": "integer"
  32401. },
  32402. "refgoodsname": {
  32403. "description": "标的合约名称",
  32404. "type": "string"
  32405. },
  32406. "sellqty": {
  32407. "description": "卖量(暂不做, 无值, 保留字段)",
  32408. "type": "number"
  32409. }
  32410. }
  32411. },
  32412. "models.TjmdTodayAccountMargin": {
  32413. "type": "object",
  32414. "properties": {
  32415. "accountid": {
  32416. "description": "账号ID",
  32417. "type": "integer"
  32418. },
  32419. "goodsid": {
  32420. "description": "商品ID",
  32421. "type": "integer"
  32422. },
  32423. "infoc": {
  32424. "description": "配置参数",
  32425. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  32426. },
  32427. "marketid": {
  32428. "description": "市场ID",
  32429. "type": "integer"
  32430. }
  32431. }
  32432. },
  32433. "models.TjmdTradeOrderDetail": {
  32434. "type": "object",
  32435. "properties": {
  32436. "buyorsell": {
  32437. "description": "买卖方向 0-买 1-卖",
  32438. "type": "integer"
  32439. },
  32440. "goodsid": {
  32441. "description": "商品id",
  32442. "type": "integer"
  32443. },
  32444. "marketmaxsub": {
  32445. "description": "市价最大偏移范围 [浮动价 - 点差]",
  32446. "type": "number"
  32447. },
  32448. "orderid": {
  32449. "description": "委托单号",
  32450. "type": "string"
  32451. },
  32452. "orderprice": {
  32453. "description": "委托价格",
  32454. "type": "number"
  32455. },
  32456. "orderqty": {
  32457. "description": "委托数量",
  32458. "type": "integer"
  32459. },
  32460. "pricemode": {
  32461. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  32462. "type": "integer"
  32463. },
  32464. "userid": {
  32465. "description": "用户id",
  32466. "type": "integer"
  32467. },
  32468. "username": {
  32469. "description": "用户名称(已脱敏)",
  32470. "type": "string"
  32471. }
  32472. }
  32473. },
  32474. "models.TjmdTransferApply": {
  32475. "type": "object",
  32476. "properties": {
  32477. "applyid": {
  32478. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  32479. "type": "integer"
  32480. },
  32481. "applystatus": {
  32482. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  32483. "type": "integer"
  32484. },
  32485. "applytime": {
  32486. "description": "申请时间(时间)",
  32487. "type": "string"
  32488. },
  32489. "auditremark": {
  32490. "description": "审核备注(拒绝原因?)",
  32491. "type": "string"
  32492. },
  32493. "buyorsell": {
  32494. "description": "买卖 - 0:买 1:卖",
  32495. "type": "integer"
  32496. },
  32497. "goodscode": {
  32498. "description": "商品代码",
  32499. "type": "string"
  32500. },
  32501. "goodsid": {
  32502. "description": "商品ID",
  32503. "type": "integer"
  32504. },
  32505. "goodsname": {
  32506. "description": "商品名称",
  32507. "type": "string"
  32508. },
  32509. "marketid": {
  32510. "description": "市场ID",
  32511. "type": "integer"
  32512. },
  32513. "qty": {
  32514. "description": "转让数量(数量)",
  32515. "type": "number"
  32516. },
  32517. "tradeid": {
  32518. "description": "成交单号(关联持仓)",
  32519. "type": "string"
  32520. },
  32521. "transferamount": {
  32522. "description": "转让总金额(金额)",
  32523. "type": "number"
  32524. },
  32525. "transferprice": {
  32526. "description": "转让价格(协议价格)",
  32527. "type": "number"
  32528. }
  32529. }
  32530. },
  32531. "models.TradeHolderDetail": {
  32532. "type": "object",
  32533. "properties": {
  32534. "accountid": {
  32535. "description": "账号ID",
  32536. "type": "integer"
  32537. },
  32538. "agreeunit": {
  32539. "description": "合约乘数",
  32540. "type": "number"
  32541. },
  32542. "buyorsell": {
  32543. "description": "方向 - 0:买 1:卖",
  32544. "type": "integer"
  32545. },
  32546. "currencyid": {
  32547. "description": "商品币种id",
  32548. "type": "integer"
  32549. },
  32550. "currencyname": {
  32551. "description": "币种名称",
  32552. "type": "string"
  32553. },
  32554. "decimalplace": {
  32555. "description": "商品价格小数位",
  32556. "type": "integer"
  32557. },
  32558. "enumdicname": {
  32559. "description": "商品单位名称",
  32560. "type": "string"
  32561. },
  32562. "expirecycle": {
  32563. "description": "行权周期(天) - 1:滚动行权时填写",
  32564. "type": "integer"
  32565. },
  32566. "expiredate": {
  32567. "description": "行权日(yyyyMMdd) - 到期日",
  32568. "type": "string"
  32569. },
  32570. "expiretype": {
  32571. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  32572. "type": "integer"
  32573. },
  32574. "freezeqty": {
  32575. "description": "冻结数量",
  32576. "type": "number"
  32577. },
  32578. "goodscode": {
  32579. "description": "商品代码",
  32580. "type": "string"
  32581. },
  32582. "goodsid": {
  32583. "description": "商品ID",
  32584. "type": "integer"
  32585. },
  32586. "goodsname": {
  32587. "description": "商品名称",
  32588. "type": "string"
  32589. },
  32590. "goodunitid": {
  32591. "description": "商品单位id",
  32592. "type": "integer"
  32593. },
  32594. "holderamount": {
  32595. "description": "持仓金额",
  32596. "type": "number"
  32597. },
  32598. "holdercredit": {
  32599. "description": "持仓授信金额",
  32600. "type": "number"
  32601. },
  32602. "holderdays": {
  32603. "description": "剩余冻结天数",
  32604. "type": "integer"
  32605. },
  32606. "holderprice": {
  32607. "description": "持仓价格",
  32608. "type": "number"
  32609. },
  32610. "holderqty": {
  32611. "description": "持仓数量",
  32612. "type": "number"
  32613. },
  32614. "isconfirmexercise": {
  32615. "description": "是否确认行权- 0:否 1:是",
  32616. "type": "integer"
  32617. },
  32618. "ispreexercise": {
  32619. "description": "是否预申报- 0:否 1:是 2:不可行权",
  32620. "type": "integer"
  32621. },
  32622. "marketid": {
  32623. "description": "市场id",
  32624. "type": "integer"
  32625. },
  32626. "marketname": {
  32627. "description": "市场名称",
  32628. "type": "string"
  32629. },
  32630. "openprice": {
  32631. "description": "建仓价格",
  32632. "type": "number"
  32633. },
  32634. "openqty": {
  32635. "description": "建仓数量",
  32636. "type": "number"
  32637. },
  32638. "optiontype": {
  32639. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  32640. "type": "integer"
  32641. },
  32642. "preexerciseprice": {
  32643. "description": "预申报价格",
  32644. "type": "number"
  32645. },
  32646. "premium": {
  32647. "description": "权利金",
  32648. "type": "number"
  32649. },
  32650. "qtydecimalplace": {
  32651. "description": "商品成交量小数位",
  32652. "type": "integer"
  32653. },
  32654. "refgoodscode": {
  32655. "description": "标的合约代码",
  32656. "type": "string"
  32657. },
  32658. "refgoodsid": {
  32659. "description": "标的合约id",
  32660. "type": "integer"
  32661. },
  32662. "releaseamount": {
  32663. "description": "释放持仓金额",
  32664. "type": "number"
  32665. },
  32666. "releaseholdercredit": {
  32667. "description": "释放持仓授信金额",
  32668. "type": "number"
  32669. },
  32670. "taname": {
  32671. "description": "资金账号名称",
  32672. "type": "string"
  32673. },
  32674. "tradeamount": {
  32675. "description": "成交金额",
  32676. "type": "number"
  32677. },
  32678. "tradedate": {
  32679. "description": "交易日(yyyyMMdd)",
  32680. "type": "string"
  32681. },
  32682. "tradeid": {
  32683. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32684. "type": "string"
  32685. },
  32686. "trademode": {
  32687. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  32688. "type": "integer"
  32689. },
  32690. "tradeproperty": {
  32691. "description": "交易属性",
  32692. "type": "integer"
  32693. },
  32694. "tradetime": {
  32695. "description": "交易时间",
  32696. "type": "string"
  32697. },
  32698. "userid": {
  32699. "description": "用户id",
  32700. "type": "integer"
  32701. },
  32702. "username": {
  32703. "description": "用户名称",
  32704. "type": "string"
  32705. }
  32706. }
  32707. },
  32708. "models.UserCollectConfig": {
  32709. "type": "object",
  32710. "properties": {
  32711. "accountstatus": {
  32712. "description": "账户状态 - 1:正常 2:停用 3:注销",
  32713. "type": "integer"
  32714. },
  32715. "collectaccountname": {
  32716. "description": "收款人账户名称",
  32717. "type": "string"
  32718. },
  32719. "collectaccountno": {
  32720. "description": "收款人账户",
  32721. "type": "string"
  32722. },
  32723. "collectbankname": {
  32724. "description": "收款人开户行",
  32725. "type": "string"
  32726. },
  32727. "collectbranchbankname": {
  32728. "description": "收款人开户支行",
  32729. "type": "string"
  32730. },
  32731. "collectconfigid": {
  32732. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  32733. "type": "string"
  32734. },
  32735. "remark": {
  32736. "description": "备注",
  32737. "type": "string"
  32738. },
  32739. "userid": {
  32740. "description": "收款人用户ID",
  32741. "type": "integer"
  32742. }
  32743. }
  32744. },
  32745. "models.UserReceiveInfo": {
  32746. "type": "object",
  32747. "properties": {
  32748. "address": {
  32749. "description": "提货人详细地址",
  32750. "type": "string"
  32751. },
  32752. "autoid": {
  32753. "description": "AutoID",
  32754. "type": "integer"
  32755. },
  32756. "cardnum": {
  32757. "description": "证件号码(加密存储)",
  32758. "type": "string"
  32759. },
  32760. "cardtypeid": {
  32761. "description": "证件类型",
  32762. "type": "integer"
  32763. },
  32764. "cityid": {
  32765. "description": "市",
  32766. "type": "integer"
  32767. },
  32768. "cityname": {
  32769. "description": "城市名称",
  32770. "type": "string"
  32771. },
  32772. "countryid": {
  32773. "description": "国家",
  32774. "type": "integer"
  32775. },
  32776. "countryname": {
  32777. "description": "国家名称",
  32778. "type": "string"
  32779. },
  32780. "districtid": {
  32781. "description": "地区",
  32782. "type": "integer"
  32783. },
  32784. "districtname": {
  32785. "description": "地区名称",
  32786. "type": "string"
  32787. },
  32788. "hasencrypt": {
  32789. "description": "数据是否已加密 - 0:未加密 1:已加密",
  32790. "type": "integer"
  32791. },
  32792. "isdefault": {
  32793. "description": "是否默认地址 - 0:否 1:是",
  32794. "type": "integer"
  32795. },
  32796. "phonenum": {
  32797. "description": "提货人联系方式(加密存储)",
  32798. "type": "string"
  32799. },
  32800. "provinceid": {
  32801. "description": "省",
  32802. "type": "integer"
  32803. },
  32804. "provincename": {
  32805. "description": "省名称",
  32806. "type": "string"
  32807. },
  32808. "receivername": {
  32809. "description": "提货人姓名",
  32810. "type": "string"
  32811. },
  32812. "takeremark": {
  32813. "description": "提货备注",
  32814. "type": "string"
  32815. },
  32816. "userid": {
  32817. "description": "用户ID",
  32818. "type": "integer"
  32819. }
  32820. }
  32821. },
  32822. "models.Useraccount": {
  32823. "type": "object",
  32824. "required": [
  32825. "userid"
  32826. ],
  32827. "properties": {
  32828. "accountname": {
  32829. "description": "账户名称(机构名称)",
  32830. "type": "string"
  32831. },
  32832. "accountstatus": {
  32833. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  32834. "type": "integer"
  32835. },
  32836. "applysrc": {
  32837. "description": "申请来源 - 1:管理端 2:终端",
  32838. "type": "integer"
  32839. },
  32840. "auditremark": {
  32841. "description": "审核备注",
  32842. "type": "string"
  32843. },
  32844. "auditsrc": {
  32845. "description": "审核来源 - 1:管理端 2:终端",
  32846. "type": "integer"
  32847. },
  32848. "audittime": {
  32849. "description": "审核时间",
  32850. "type": "string"
  32851. },
  32852. "audituserid": {
  32853. "description": "审核人",
  32854. "type": "integer"
  32855. },
  32856. "broker": {
  32857. "description": "所属经纪人ID",
  32858. "type": "integer"
  32859. },
  32860. "canceltime": {
  32861. "description": "销户时间",
  32862. "type": "string"
  32863. },
  32864. "canceluserid": {
  32865. "description": "销户人",
  32866. "type": "integer"
  32867. },
  32868. "canrecommend": {
  32869. "description": "是否可推荐 - 0:不可 1;可",
  32870. "type": "integer"
  32871. },
  32872. "createtime": {
  32873. "description": "创建时间",
  32874. "type": "string"
  32875. },
  32876. "creatorid": {
  32877. "description": "创建人",
  32878. "type": "integer"
  32879. },
  32880. "hasauth": {
  32881. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  32882. "type": "integer"
  32883. },
  32884. "isanonymous": {
  32885. "description": "是否匿名下单 - 0:否 1:是",
  32886. "type": "integer"
  32887. },
  32888. "maxinvestornum": {
  32889. "description": "最大用户数(经纪会员下投资者个数)",
  32890. "type": "integer"
  32891. },
  32892. "memberuserid": {
  32893. "description": "所属会员ID",
  32894. "type": "integer"
  32895. },
  32896. "modifierid": {
  32897. "description": "修改人",
  32898. "type": "integer"
  32899. },
  32900. "modifyremark": {
  32901. "description": "变更备注",
  32902. "type": "string"
  32903. },
  32904. "modifystatus": {
  32905. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  32906. "type": "integer"
  32907. },
  32908. "modifytime": {
  32909. "description": "修改时间",
  32910. "type": "string"
  32911. },
  32912. "parenttopuser": {
  32913. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  32914. "type": "string"
  32915. },
  32916. "parentuserid": {
  32917. "description": "所属机构ID",
  32918. "type": "integer"
  32919. },
  32920. "reckonaccountid": {
  32921. "description": "默认结算资金账号ID(机构分润使用) 作废",
  32922. "type": "integer"
  32923. },
  32924. "refercount": {
  32925. "description": "推荐总人数",
  32926. "type": "integer"
  32927. },
  32928. "refereeuserid": {
  32929. "description": "推荐人ID",
  32930. "type": "integer"
  32931. },
  32932. "refernum": {
  32933. "description": "推荐码",
  32934. "type": "string"
  32935. },
  32936. "rootuserid": {
  32937. "description": "根用户ID",
  32938. "type": "integer"
  32939. },
  32940. "subaccountlevel": {
  32941. "description": "子账户层数",
  32942. "type": "integer"
  32943. },
  32944. "subarealevelpath": {
  32945. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  32946. "type": "string"
  32947. },
  32948. "userid": {
  32949. "description": "用户ID",
  32950. "type": "integer"
  32951. },
  32952. "usertype": {
  32953. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  32954. "type": "integer"
  32955. }
  32956. }
  32957. },
  32958. "models.Userfavoritegoods": {
  32959. "type": "object",
  32960. "required": [
  32961. "goodsid"
  32962. ],
  32963. "properties": {
  32964. "goodsid": {
  32965. "description": "商品ID",
  32966. "type": "integer"
  32967. }
  32968. }
  32969. },
  32970. "models.Userinfo": {
  32971. "type": "object",
  32972. "required": [
  32973. "userid"
  32974. ],
  32975. "properties": {
  32976. "address": {
  32977. "description": "地址",
  32978. "type": "string"
  32979. },
  32980. "attachment1": {
  32981. "description": "附件1",
  32982. "type": "string"
  32983. },
  32984. "attachment2": {
  32985. "description": "附件2",
  32986. "type": "string"
  32987. },
  32988. "bankaccount": {
  32989. "description": "银行帐号 (加密存储)",
  32990. "type": "string"
  32991. },
  32992. "bankaccountname": {
  32993. "description": "收款人名称",
  32994. "type": "string"
  32995. },
  32996. "bankcardfrontphotourl": {
  32997. "description": "银行卡正面照地址",
  32998. "type": "string"
  32999. },
  33000. "bankid": {
  33001. "description": "银行编码",
  33002. "type": "string"
  33003. },
  33004. "bankname": {
  33005. "description": "银行名称",
  33006. "type": "string"
  33007. },
  33008. "biznature": {
  33009. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  33010. "type": "integer"
  33011. },
  33012. "bizscope": {
  33013. "description": "企业经营范围(企业)",
  33014. "type": "string"
  33015. },
  33016. "cardbackphotourl": {
  33017. "description": "证件背面图片地址",
  33018. "type": "string"
  33019. },
  33020. "cardfrontphotourl": {
  33021. "description": "证件正面图片地址",
  33022. "type": "string"
  33023. },
  33024. "cardnum": {
  33025. "description": "证件号码(加密存储)",
  33026. "type": "string"
  33027. },
  33028. "cardtypeid": {
  33029. "description": "证件类型ID",
  33030. "type": "integer"
  33031. },
  33032. "cityid": {
  33033. "description": "市",
  33034. "type": "integer"
  33035. },
  33036. "company": {
  33037. "description": "公司(个人)",
  33038. "type": "string"
  33039. },
  33040. "contactname": {
  33041. "description": "联系人",
  33042. "type": "string"
  33043. },
  33044. "countryid": {
  33045. "description": "国家",
  33046. "type": "integer"
  33047. },
  33048. "createtime": {
  33049. "description": "创建时间",
  33050. "type": "string"
  33051. },
  33052. "creatorid": {
  33053. "description": "创建人",
  33054. "type": "integer"
  33055. },
  33056. "customername": {
  33057. "description": "客户名称(企业名称)",
  33058. "type": "string"
  33059. },
  33060. "districtid": {
  33061. "description": "地区",
  33062. "type": "integer"
  33063. },
  33064. "email": {
  33065. "description": "邮件(加密存储)",
  33066. "type": "string"
  33067. },
  33068. "fax": {
  33069. "description": "传真(加密存储)",
  33070. "type": "string"
  33071. },
  33072. "halfbodyphotourl": {
  33073. "description": "半身照地址",
  33074. "type": "string"
  33075. },
  33076. "hasencrypt": {
  33077. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33078. "type": "integer"
  33079. },
  33080. "headurl": {
  33081. "description": "头像地址",
  33082. "type": "string"
  33083. },
  33084. "legalcardbackphotourl": {
  33085. "description": "法人身份证背面照地址",
  33086. "type": "string"
  33087. },
  33088. "legalcardfrontphotourl": {
  33089. "description": "法人身份证正面照地址",
  33090. "type": "string"
  33091. },
  33092. "legalpersonname": {
  33093. "description": "法人姓名(企业)",
  33094. "type": "string"
  33095. },
  33096. "mobile": {
  33097. "description": "手机号码(加密存储)",
  33098. "type": "string"
  33099. },
  33100. "mobile2": {
  33101. "description": "手机号码[明文-尚志]",
  33102. "type": "string"
  33103. },
  33104. "modifierid": {
  33105. "description": "修改人",
  33106. "type": "integer"
  33107. },
  33108. "modifiertime": {
  33109. "description": "修改时间",
  33110. "type": "string"
  33111. },
  33112. "needinvoice": {
  33113. "description": "是否需要发票 - 0:不需要 1:需要",
  33114. "type": "integer"
  33115. },
  33116. "nickname": {
  33117. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  33118. "type": "string"
  33119. },
  33120. "openmode": {
  33121. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  33122. "type": "integer"
  33123. },
  33124. "otherurl": {
  33125. "description": "其它图片地址[使用分号分隔]",
  33126. "type": "string"
  33127. },
  33128. "postalcode": {
  33129. "description": "邮政编码",
  33130. "type": "string"
  33131. },
  33132. "provinceid": {
  33133. "description": "省",
  33134. "type": "integer"
  33135. },
  33136. "qq": {
  33137. "description": "QQ(加密存储",
  33138. "type": "string"
  33139. },
  33140. "remark": {
  33141. "description": "备注",
  33142. "type": "string"
  33143. },
  33144. "sex": {
  33145. "description": "用户性别 0: 女 1: 男",
  33146. "type": "integer"
  33147. },
  33148. "signpdfurl": {
  33149. "description": "签约pdf文件",
  33150. "type": "string"
  33151. },
  33152. "telphone": {
  33153. "description": "联系电话(加密存储)",
  33154. "type": "string"
  33155. },
  33156. "userid": {
  33157. "description": "用户ID",
  33158. "type": "integer"
  33159. },
  33160. "userinfotype": {
  33161. "description": "用户信息类型 - 1:个人 2:企业",
  33162. "type": "integer"
  33163. },
  33164. "userstatus": {
  33165. "description": "用户状态 - 1:正常 2:注销",
  33166. "type": "integer"
  33167. },
  33168. "usertype": {
  33169. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  33170. "type": "integer"
  33171. },
  33172. "wechat": {
  33173. "description": "微信(加密存储)",
  33174. "type": "string"
  33175. },
  33176. "wskhinfo": {
  33177. "description": "开户申请信息(JSON)",
  33178. "type": "string"
  33179. }
  33180. }
  33181. },
  33182. "models.WRSConverTDetail": {
  33183. "type": "object",
  33184. "properties": {
  33185. "convertratio": {
  33186. "description": "套保系数",
  33187. "type": "number"
  33188. },
  33189. "deliverygoodscode": {
  33190. "description": "现货商品代码",
  33191. "type": "string"
  33192. },
  33193. "deliverygoodsid": {
  33194. "description": "现货品种ID",
  33195. "type": "integer"
  33196. },
  33197. "deliverygoodsname": {
  33198. "description": "现货商品名称",
  33199. "type": "string"
  33200. },
  33201. "enumdicname": {
  33202. "description": "单位名称",
  33203. "type": "string"
  33204. },
  33205. "goodsunitid": {
  33206. "description": "套保品种单位id",
  33207. "type": "integer"
  33208. },
  33209. "middlegoodscode": {
  33210. "description": "套保品种代码",
  33211. "type": "string"
  33212. },
  33213. "middlegoodsid": {
  33214. "description": "套保品种ID",
  33215. "type": "integer"
  33216. },
  33217. "middlegoodsname": {
  33218. "description": "套保品种名称",
  33219. "type": "string"
  33220. },
  33221. "modifytime": {
  33222. "description": "修改时间",
  33223. "type": "string"
  33224. },
  33225. "wrstandardid": {
  33226. "description": "品类ID",
  33227. "type": "integer"
  33228. }
  33229. }
  33230. },
  33231. "models.WRStandardInfo": {
  33232. "type": "object",
  33233. "required": [
  33234. "wrstandardid"
  33235. ],
  33236. "properties": {
  33237. "areauserid": {
  33238. "description": "所属机构",
  33239. "type": "integer"
  33240. },
  33241. "convertfactor": {
  33242. "description": "标仓系数",
  33243. "type": "number"
  33244. },
  33245. "createtime": {
  33246. "description": "创建时间",
  33247. "type": "string"
  33248. },
  33249. "creatorid": {
  33250. "description": "创建人",
  33251. "type": "integer"
  33252. },
  33253. "deliverygoodsid": {
  33254. "description": "品种ID",
  33255. "type": "integer"
  33256. },
  33257. "deliverygoodsname": {
  33258. "description": "交割商品名称",
  33259. "type": "string"
  33260. },
  33261. "factoryitemjson": {
  33262. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  33263. "type": "string"
  33264. },
  33265. "isvalid": {
  33266. "description": "是否有效 - 0:无效 1:有效",
  33267. "type": "integer"
  33268. },
  33269. "minivalue": {
  33270. "description": "最小变动值",
  33271. "type": "integer"
  33272. },
  33273. "minivaluedp": {
  33274. "description": "最小变动值小数位",
  33275. "type": "integer"
  33276. },
  33277. "realminivalue": {
  33278. "description": "实际最小变动值",
  33279. "type": "integer"
  33280. },
  33281. "realminivaluedp": {
  33282. "description": "实际最小变动值小数位",
  33283. "type": "integer"
  33284. },
  33285. "remark": {
  33286. "description": "备注",
  33287. "type": "string"
  33288. },
  33289. "unitid": {
  33290. "description": "单位ID",
  33291. "type": "integer"
  33292. },
  33293. "unitname": {
  33294. "description": "单位",
  33295. "type": "string"
  33296. },
  33297. "updatetime": {
  33298. "description": "更新时间",
  33299. "type": "string"
  33300. },
  33301. "updatorid": {
  33302. "description": "更新人",
  33303. "type": "integer"
  33304. },
  33305. "wrsstatus": {
  33306. "description": "状态 - 作废 - 0:未激活 1:正常",
  33307. "type": "integer"
  33308. },
  33309. "wrstandardcode": {
  33310. "description": "现货品类代码",
  33311. "type": "string"
  33312. },
  33313. "wrstandardid": {
  33314. "description": "现货品类ID(SEQ_WRSTANDARD)",
  33315. "type": "integer"
  33316. },
  33317. "wrstandardname": {
  33318. "description": "现货品类名称",
  33319. "type": "string"
  33320. }
  33321. }
  33322. },
  33323. "models.WRTradeBargainApply": {
  33324. "type": "object",
  33325. "properties": {
  33326. "accountid": {
  33327. "description": "摘牌资金账号",
  33328. "type": "integer"
  33329. },
  33330. "applyprice": {
  33331. "description": "申请价格(议价价格)",
  33332. "type": "string"
  33333. },
  33334. "applyqty": {
  33335. "description": "摘牌数量(议价数量)",
  33336. "type": "number"
  33337. },
  33338. "applyremark": {
  33339. "description": "申请备注",
  33340. "type": "string"
  33341. },
  33342. "applystatus": {
  33343. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  33344. "type": "integer"
  33345. },
  33346. "applytime": {
  33347. "description": "申请时间(议价时间)",
  33348. "type": "string"
  33349. },
  33350. "buyorsell": {
  33351. "description": "买卖(挂牌类型) - 0:买 1:卖",
  33352. "type": "integer"
  33353. },
  33354. "confirmremark": {
  33355. "description": "确认备注",
  33356. "type": "string"
  33357. },
  33358. "confirmtime": {
  33359. "description": "确认时间",
  33360. "type": "string"
  33361. },
  33362. "confirmuserid": {
  33363. "description": "确认人",
  33364. "type": "integer"
  33365. },
  33366. "deliverygoodscode": {
  33367. "description": "品种代码",
  33368. "type": "string"
  33369. },
  33370. "deliverygoodsid": {
  33371. "description": "品种ID",
  33372. "type": "integer"
  33373. },
  33374. "deliverygoodsname": {
  33375. "description": "品种名称",
  33376. "type": "string"
  33377. },
  33378. "deliverymonth": {
  33379. "description": "交收月",
  33380. "type": "string"
  33381. },
  33382. "enumdicname": {
  33383. "description": "单位名称",
  33384. "type": "string"
  33385. },
  33386. "fixedprice": {
  33387. "description": "挂牌价格",
  33388. "type": "number"
  33389. },
  33390. "handlestatus": {
  33391. "description": "处理状态",
  33392. "type": "integer"
  33393. },
  33394. "marginvalue": {
  33395. "description": "履约保证金比例",
  33396. "type": "number"
  33397. },
  33398. "marketid": {
  33399. "description": "市场ID",
  33400. "type": "integer"
  33401. },
  33402. "matchaccountid": {
  33403. "description": "挂牌方资金账号",
  33404. "type": "integer"
  33405. },
  33406. "matchuserid": {
  33407. "description": "挂牌方用户id",
  33408. "type": "integer"
  33409. },
  33410. "matchusername": {
  33411. "description": "挂牌方用户名称(已脱敏)",
  33412. "type": "string"
  33413. },
  33414. "minivalue": {
  33415. "description": "现货商品最小变动值",
  33416. "type": "integer"
  33417. },
  33418. "optioncompare": {
  33419. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33420. "type": "string"
  33421. },
  33422. "orderqty": {
  33423. "description": "挂牌数量",
  33424. "type": "integer"
  33425. },
  33426. "refprice": {
  33427. "description": "参考价格",
  33428. "type": "string"
  33429. },
  33430. "retcode": {
  33431. "description": "委托返回代码",
  33432. "type": "integer"
  33433. },
  33434. "templatename": {
  33435. "description": "履约方式(履约模板名称)",
  33436. "type": "string"
  33437. },
  33438. "tradedate": {
  33439. "description": "交易日(yyyyMMdd)",
  33440. "type": "string"
  33441. },
  33442. "userid": {
  33443. "description": "摘牌人用户ID(议价人ID)",
  33444. "type": "integer"
  33445. },
  33446. "username": {
  33447. "description": "议价人名字(已脱敏)",
  33448. "type": "string"
  33449. },
  33450. "validtime": {
  33451. "description": "有效期限",
  33452. "type": "string"
  33453. },
  33454. "warehouseid": {
  33455. "description": "仓库ID",
  33456. "type": "integer"
  33457. },
  33458. "warehousename": {
  33459. "description": "仓库名称",
  33460. "type": "string"
  33461. },
  33462. "wrbargainid": {
  33463. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  33464. "type": "string"
  33465. },
  33466. "wrfactortypeid": {
  33467. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33468. "type": "string"
  33469. },
  33470. "wrfactortypename": {
  33471. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33472. "type": "string"
  33473. },
  33474. "wrstandardcode": {
  33475. "description": "现货商品代码",
  33476. "type": "string"
  33477. },
  33478. "wrstandardid": {
  33479. "description": "现货商品ID",
  33480. "type": "integer"
  33481. },
  33482. "wrstandardname": {
  33483. "description": "商品名称",
  33484. "type": "string"
  33485. },
  33486. "wrtradeorderid": {
  33487. "description": "关联委托单ID",
  33488. "type": "string"
  33489. },
  33490. "wrtypename": {
  33491. "description": "商品",
  33492. "type": "string"
  33493. }
  33494. }
  33495. },
  33496. "models.Warehouseinfo": {
  33497. "type": "object",
  33498. "required": [
  33499. "autoid",
  33500. "warehousecode"
  33501. ],
  33502. "properties": {
  33503. "address": {
  33504. "description": "详细地址",
  33505. "type": "string"
  33506. },
  33507. "areauserid": {
  33508. "description": "所属机构",
  33509. "type": "integer"
  33510. },
  33511. "autoid": {
  33512. "description": "自增ID",
  33513. "type": "integer"
  33514. },
  33515. "cityid": {
  33516. "description": "市",
  33517. "type": "integer"
  33518. },
  33519. "contactname": {
  33520. "description": "联系人",
  33521. "type": "string"
  33522. },
  33523. "contactnum": {
  33524. "description": "联系电话",
  33525. "type": "string"
  33526. },
  33527. "countryid": {
  33528. "description": "国家",
  33529. "type": "integer"
  33530. },
  33531. "createtime": {
  33532. "description": "创建时间",
  33533. "type": "string"
  33534. },
  33535. "districtid": {
  33536. "description": "区",
  33537. "type": "integer"
  33538. },
  33539. "hasvideo": {
  33540. "description": "是否有视频 - 0:无 1:有",
  33541. "type": "integer"
  33542. },
  33543. "provinceid": {
  33544. "description": "省",
  33545. "type": "integer"
  33546. },
  33547. "remark": {
  33548. "description": "审核备注",
  33549. "type": "string"
  33550. },
  33551. "videourl": {
  33552. "description": "视频地址",
  33553. "type": "string"
  33554. },
  33555. "warehousecode": {
  33556. "description": "仓库代码",
  33557. "type": "string"
  33558. },
  33559. "warehousename": {
  33560. "description": "仓库名称",
  33561. "type": "string"
  33562. },
  33563. "warehousestatus": {
  33564. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  33565. "type": "integer"
  33566. },
  33567. "warehousetype": {
  33568. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  33569. "type": "integer"
  33570. }
  33571. }
  33572. },
  33573. "models.WrAverageTradePrice": {
  33574. "type": "object",
  33575. "properties": {
  33576. "averageprice": {
  33577. "description": "成交均价",
  33578. "type": "number"
  33579. },
  33580. "tradedate": {
  33581. "description": "交易日yyyymm",
  33582. "type": "string"
  33583. }
  33584. }
  33585. },
  33586. "models.WrBsGoodsInfo": {
  33587. "type": "object",
  33588. "properties": {
  33589. "buyorsell": {
  33590. "description": "买卖方向 0-买 1-卖",
  33591. "type": "integer"
  33592. },
  33593. "goodsid": {
  33594. "description": "交易合约ID",
  33595. "type": "integer"
  33596. },
  33597. "lstitem": {
  33598. "description": "商品信息项",
  33599. "type": "array",
  33600. "items": {
  33601. "$ref": "#/definitions/models.WrTypeItem"
  33602. }
  33603. },
  33604. "lststep": {
  33605. "description": "履约规则",
  33606. "type": "array",
  33607. "items": {
  33608. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  33609. }
  33610. }
  33611. }
  33612. },
  33613. "models.WrBuybackDetail": {
  33614. "type": "object",
  33615. "properties": {
  33616. "buybackamount": {
  33617. "description": "回购金额",
  33618. "type": "number"
  33619. },
  33620. "buybackqty": {
  33621. "description": "回购数量",
  33622. "type": "number"
  33623. },
  33624. "buybackreleasemargin": {
  33625. "description": "回购释放保证金",
  33626. "type": "number"
  33627. },
  33628. "buybacktime": {
  33629. "description": "回购时间",
  33630. "type": "string"
  33631. },
  33632. "errordesc": {
  33633. "description": "错误描述",
  33634. "type": "string"
  33635. },
  33636. "handlestatus": {
  33637. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  33638. "type": "integer"
  33639. },
  33640. "relatedwrid": {
  33641. "description": "关联仓单ID",
  33642. "type": "integer"
  33643. },
  33644. "scfcontractid": {
  33645. "description": "SCF合同ID",
  33646. "type": "string"
  33647. },
  33648. "scfwrbuybackid": {
  33649. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  33650. "type": "integer"
  33651. },
  33652. "tradedate": {
  33653. "description": "交易日(yyyyMMdd)",
  33654. "type": "string"
  33655. }
  33656. }
  33657. },
  33658. "models.WrDeliveryAvalidHoldLB": {
  33659. "type": "object",
  33660. "properties": {
  33661. "accountid": {
  33662. "description": "资金账号",
  33663. "type": "integer"
  33664. },
  33665. "avalidqty": {
  33666. "description": "数量(可点选数量)",
  33667. "type": "number"
  33668. },
  33669. "deliverygoodsid": {
  33670. "description": "品种id",
  33671. "type": "integer"
  33672. },
  33673. "enumdicname": {
  33674. "description": "单位名称",
  33675. "type": "string"
  33676. },
  33677. "goodsid": {
  33678. "description": "x合约商品id",
  33679. "type": "integer"
  33680. },
  33681. "ladingbillid": {
  33682. "description": "提单id",
  33683. "type": "string"
  33684. },
  33685. "pgoodscode": {
  33686. "description": "p商品代码(点价合约)",
  33687. "type": "string"
  33688. },
  33689. "pgoodsid": {
  33690. "description": "p商品id(点价合约)",
  33691. "type": "integer"
  33692. },
  33693. "pgoodsname": {
  33694. "description": "p商品名称(点价合约)",
  33695. "type": "string"
  33696. },
  33697. "pricemove": {
  33698. "description": "升贴水",
  33699. "type": "number"
  33700. },
  33701. "subnum": {
  33702. "description": "提单子id",
  33703. "type": "integer"
  33704. },
  33705. "userid": {
  33706. "description": "用户id",
  33707. "type": "integer"
  33708. },
  33709. "username": {
  33710. "description": "仓单持有人",
  33711. "type": "string"
  33712. },
  33713. "warehousecode": {
  33714. "description": "仓库代码",
  33715. "type": "string"
  33716. },
  33717. "warehouseid": {
  33718. "description": "仓库id",
  33719. "type": "integer"
  33720. },
  33721. "warehousename": {
  33722. "description": "仓库名称",
  33723. "type": "string"
  33724. },
  33725. "wrfactortypeid": {
  33726. "description": "仓单要素id",
  33727. "type": "string"
  33728. },
  33729. "wrstandardcode": {
  33730. "description": "品代码",
  33731. "type": "string"
  33732. },
  33733. "wrstandardid": {
  33734. "description": "品类d",
  33735. "type": "integer"
  33736. },
  33737. "wrstandardname": {
  33738. "description": "品类名称",
  33739. "type": "string"
  33740. },
  33741. "wrtypename": {
  33742. "description": "商品",
  33743. "type": "string"
  33744. },
  33745. "xgoodscode": {
  33746. "description": "x合约代码",
  33747. "type": "string"
  33748. },
  33749. "xgoodsname": {
  33750. "description": "x合约名称",
  33751. "type": "string"
  33752. }
  33753. }
  33754. },
  33755. "models.WrDeliveryDetail": {
  33756. "type": "object",
  33757. "properties": {
  33758. "accountid": {
  33759. "description": "账号ID",
  33760. "type": "integer"
  33761. },
  33762. "averageprice": {
  33763. "description": "交割均价 = 交割金额 / 交割数量",
  33764. "type": "number"
  33765. },
  33766. "buyorsell": {
  33767. "description": "方向 - 0:买 1:卖",
  33768. "type": "integer"
  33769. },
  33770. "deliveryamount": {
  33771. "description": "货款金额(X总货款+P总货款)",
  33772. "type": "number"
  33773. },
  33774. "deliveryid": {
  33775. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  33776. "type": "string"
  33777. },
  33778. "deliveryorderid": {
  33779. "description": "申报单号",
  33780. "type": "string"
  33781. },
  33782. "deliverypricemove": {
  33783. "description": "升贴水(升贴水总额)",
  33784. "type": "number"
  33785. },
  33786. "deliveryqty": {
  33787. "description": "交收数量(点选数量)",
  33788. "type": "number"
  33789. },
  33790. "deliverystatus": {
  33791. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  33792. "type": "integer"
  33793. },
  33794. "deliverytime": {
  33795. "description": "交割时间",
  33796. "type": "string"
  33797. },
  33798. "deliverytotalamount": {
  33799. "description": "交收金额",
  33800. "type": "number"
  33801. },
  33802. "enumdicname": {
  33803. "description": "单位名称",
  33804. "type": "string"
  33805. },
  33806. "matchaccountid": {
  33807. "description": "对手账号ID",
  33808. "type": "integer"
  33809. },
  33810. "matchusername": {
  33811. "description": "对手方名称(仓单持有人)",
  33812. "type": "string"
  33813. },
  33814. "p1goodsremainamount": {
  33815. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  33816. "type": "number"
  33817. },
  33818. "pdeliverycloseqty": {
  33819. "description": "p合约平仓数量",
  33820. "type": "number"
  33821. },
  33822. "pdeliveryprice": {
  33823. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  33824. "type": "number"
  33825. },
  33826. "pgoodscode": {
  33827. "description": "商品代码",
  33828. "type": "string"
  33829. },
  33830. "pgoodsid": {
  33831. "description": "p点选合约id",
  33832. "type": "integer"
  33833. },
  33834. "pgoodsname": {
  33835. "description": "商品名称",
  33836. "type": "string"
  33837. },
  33838. "ppricemode": {
  33839. "description": "点价价格方式 - 1:商品价 2:固定值",
  33840. "type": "integer"
  33841. },
  33842. "tradedate": {
  33843. "description": "交易日(yyyymmdd)",
  33844. "type": "string"
  33845. },
  33846. "userid": {
  33847. "description": "用户id",
  33848. "type": "integer"
  33849. },
  33850. "username": {
  33851. "description": "用户名称",
  33852. "type": "string"
  33853. },
  33854. "warehousename": {
  33855. "description": "仓库名称",
  33856. "type": "string"
  33857. },
  33858. "wrfactortypeid": {
  33859. "description": "仓单要素类型ID",
  33860. "type": "string"
  33861. },
  33862. "wrtypename": {
  33863. "description": "商品",
  33864. "type": "string"
  33865. },
  33866. "xdeliverycloseqty": {
  33867. "description": "合约数量",
  33868. "type": "number"
  33869. },
  33870. "xgoodsamount": {
  33871. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  33872. "type": "number"
  33873. },
  33874. "xgoodscode": {
  33875. "description": "商品代码",
  33876. "type": "string"
  33877. },
  33878. "xgoodsid": {
  33879. "description": "x交易合约ID",
  33880. "type": "integer"
  33881. },
  33882. "xgoodsname": {
  33883. "description": "商品名称",
  33884. "type": "string"
  33885. }
  33886. }
  33887. },
  33888. "models.WrDeliveryGoodsSection": {
  33889. "type": "object",
  33890. "properties": {
  33891. "dglst": {
  33892. "description": "板块商品列表",
  33893. "type": "array",
  33894. "items": {
  33895. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  33896. }
  33897. },
  33898. "imagepath": {
  33899. "description": "图片地址",
  33900. "type": "string"
  33901. },
  33902. "orderindex": {
  33903. "description": "排序",
  33904. "type": "integer"
  33905. },
  33906. "sectionid": {
  33907. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  33908. "type": "integer"
  33909. },
  33910. "sectionname": {
  33911. "description": "版块名称",
  33912. "type": "string"
  33913. },
  33914. "sectiontype": {
  33915. "description": "版块类型 - 1:指数版块 2:普通版块",
  33916. "type": "integer"
  33917. }
  33918. }
  33919. },
  33920. "models.WrDeliveryGoodsSectionConfig": {
  33921. "type": "object",
  33922. "properties": {
  33923. "deliverygoodscode": {
  33924. "description": "现货商品代码",
  33925. "type": "string"
  33926. },
  33927. "deliverygoodsid": {
  33928. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  33929. "type": "integer"
  33930. },
  33931. "deliverygoodsname": {
  33932. "description": "现货商品名称",
  33933. "type": "string"
  33934. },
  33935. "orderindex": {
  33936. "description": "排序",
  33937. "type": "integer"
  33938. }
  33939. }
  33940. },
  33941. "models.WrFAProductDetail": {
  33942. "type": "object",
  33943. "properties": {
  33944. "accountid": {
  33945. "description": "资金账号",
  33946. "type": "integer"
  33947. },
  33948. "areauserid": {
  33949. "description": "金融机构ID",
  33950. "type": "integer"
  33951. },
  33952. "financingdays": {
  33953. "description": "天数(天)",
  33954. "type": "integer"
  33955. },
  33956. "interestminlen": {
  33957. "description": "最小起息天数",
  33958. "type": "integer"
  33959. },
  33960. "interestrate": {
  33961. "description": "利率",
  33962. "type": "number"
  33963. },
  33964. "interestratemode": {
  33965. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  33966. "type": "integer"
  33967. },
  33968. "interestsettlemode": {
  33969. "description": "结息方式 - 1:按日结息 3:按月结息",
  33970. "type": "integer"
  33971. },
  33972. "interestsettlevalue": {
  33973. "description": "结息方式值",
  33974. "type": "integer"
  33975. },
  33976. "isautoloan": {
  33977. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  33978. "type": "integer"
  33979. },
  33980. "loantag": {
  33981. "description": "放款标识: \"放款快\" 或者为空",
  33982. "type": "string"
  33983. },
  33984. "marginratio": {
  33985. "description": "保证金比率质押率 - [仓单质押]",
  33986. "type": "number"
  33987. },
  33988. "productdetailid": {
  33989. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  33990. "type": "integer"
  33991. },
  33992. "productid": {
  33993. "description": "金融产品ID",
  33994. "type": "integer"
  33995. },
  33996. "productname": {
  33997. "description": "产品名称",
  33998. "type": "string"
  33999. },
  34000. "updatetime": {
  34001. "description": "更新时间",
  34002. "type": "string"
  34003. },
  34004. "username": {
  34005. "description": "融出方",
  34006. "type": "string"
  34007. }
  34008. }
  34009. },
  34010. "models.WrFactorTypeInfo": {
  34011. "type": "object",
  34012. "properties": {
  34013. "deliverygoodscode": {
  34014. "description": "品种代码",
  34015. "type": "string"
  34016. },
  34017. "deliverygoodsname": {
  34018. "description": "品种名称",
  34019. "type": "string"
  34020. },
  34021. "dgfactoryitemid": {
  34022. "description": "选择项id",
  34023. "type": "integer"
  34024. },
  34025. "dgfactoryitemtypeid": {
  34026. "description": "要素选择项ID (1-仓库 2-品牌)",
  34027. "type": "integer"
  34028. },
  34029. "dgfactoryitemvalue": {
  34030. "description": "要素项值",
  34031. "type": "string"
  34032. },
  34033. "itemtypename": {
  34034. "description": "要素项名称",
  34035. "type": "string"
  34036. },
  34037. "optioncompare": {
  34038. "description": "选择比较串",
  34039. "type": "string"
  34040. },
  34041. "warehouseid": {
  34042. "description": "仓库id",
  34043. "type": "integer"
  34044. },
  34045. "wrfactortypeid": {
  34046. "description": "仓单要素ID",
  34047. "type": "string"
  34048. },
  34049. "wrfactortypename": {
  34050. "description": "要素名称",
  34051. "type": "string"
  34052. },
  34053. "wrfactortypename2": {
  34054. "description": "要素名称(不含仓库)",
  34055. "type": "string"
  34056. },
  34057. "wrstandardcode": {
  34058. "description": "品类代码",
  34059. "type": "string"
  34060. },
  34061. "wrstandardid": {
  34062. "description": "品类id",
  34063. "type": "integer"
  34064. },
  34065. "wrstandardname": {
  34066. "description": "品类名称",
  34067. "type": "string"
  34068. }
  34069. }
  34070. },
  34071. "models.WrFilterItem": {
  34072. "type": "object",
  34073. "properties": {
  34074. "itemcode": {
  34075. "description": "代码",
  34076. "type": "string"
  34077. },
  34078. "itemid": {
  34079. "description": "项id",
  34080. "type": "integer"
  34081. },
  34082. "itemname": {
  34083. "description": "名称",
  34084. "type": "string"
  34085. },
  34086. "itemtype": {
  34087. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  34088. "type": "integer"
  34089. }
  34090. }
  34091. },
  34092. "models.WrFinanceBuyApply": {
  34093. "type": "object",
  34094. "properties": {
  34095. "applydate": {
  34096. "description": "申请时间",
  34097. "type": "string"
  34098. },
  34099. "applystatus": {
  34100. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  34101. "type": "integer"
  34102. },
  34103. "applyuserid": {
  34104. "description": "申请人",
  34105. "type": "integer"
  34106. },
  34107. "auditdate": {
  34108. "description": "审核时间",
  34109. "type": "string"
  34110. },
  34111. "auditremark": {
  34112. "description": "审核备注",
  34113. "type": "string"
  34114. },
  34115. "audituserid": {
  34116. "description": "审核人",
  34117. "type": "integer"
  34118. },
  34119. "buyaccountid": {
  34120. "description": "买方资金账号",
  34121. "type": "integer"
  34122. },
  34123. "buyorsell": {
  34124. "description": "买卖 - 0:买 1:卖",
  34125. "type": "integer"
  34126. },
  34127. "buyuserid": {
  34128. "description": "买方用户ID",
  34129. "type": "integer"
  34130. },
  34131. "buyusername": {
  34132. "description": "买方名称",
  34133. "type": "string"
  34134. },
  34135. "buywrtradeorderid": {
  34136. "description": "融资方买委托单ID",
  34137. "type": "string"
  34138. },
  34139. "deliverygoodscode": {
  34140. "description": "品种代码",
  34141. "type": "string"
  34142. },
  34143. "deliverygoodsid": {
  34144. "description": "品种ID",
  34145. "type": "integer"
  34146. },
  34147. "deliverygoodsname": {
  34148. "description": "品种名称",
  34149. "type": "string"
  34150. },
  34151. "deliverymonth": {
  34152. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  34153. "type": "string"
  34154. },
  34155. "enumdicname": {
  34156. "description": "单位名称",
  34157. "type": "string"
  34158. },
  34159. "financeaccountid": {
  34160. "description": "融资方资金帐户ID",
  34161. "type": "integer"
  34162. },
  34163. "financeapplyid": {
  34164. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34165. "type": "string"
  34166. },
  34167. "financeareauserid": {
  34168. "description": "融资方用户ID",
  34169. "type": "string"
  34170. },
  34171. "financename": {
  34172. "description": "融出方名称",
  34173. "type": "string"
  34174. },
  34175. "financetype": {
  34176. "description": "融资类型 1-融资回购",
  34177. "type": "integer"
  34178. },
  34179. "financingdays": {
  34180. "description": "天数(天)",
  34181. "type": "integer"
  34182. },
  34183. "freezebuymargin": {
  34184. "description": "冻结融资保证金(买方)",
  34185. "type": "number"
  34186. },
  34187. "handleremark": {
  34188. "description": "处理备注",
  34189. "type": "string"
  34190. },
  34191. "handlestatus": {
  34192. "description": "处理状态",
  34193. "type": "integer"
  34194. },
  34195. "interestminlen": {
  34196. "description": "最小起息天数",
  34197. "type": "integer"
  34198. },
  34199. "interestrate": {
  34200. "description": "利率",
  34201. "type": "number"
  34202. },
  34203. "interestratemode": {
  34204. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34205. "type": "integer"
  34206. },
  34207. "interestsettlemode": {
  34208. "description": "结息方式 - 1:按日结息 3:按月结息",
  34209. "type": "integer"
  34210. },
  34211. "interestsettlevalue": {
  34212. "description": "结息方式值",
  34213. "type": "integer"
  34214. },
  34215. "isautoloan": {
  34216. "description": "是否自动放款 - 0:手动 1:自动",
  34217. "type": "integer"
  34218. },
  34219. "marginratio": {
  34220. "description": "保证金比率质押率 - [仓单质押]",
  34221. "type": "number"
  34222. },
  34223. "marketid": {
  34224. "description": "市场ID",
  34225. "type": "integer"
  34226. },
  34227. "minivalue": {
  34228. "description": "现货商品最小变动值",
  34229. "type": "integer"
  34230. },
  34231. "optioncompare": {
  34232. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34233. "type": "string"
  34234. },
  34235. "orderqty": {
  34236. "description": "委托数量(商品数量)",
  34237. "type": "number"
  34238. },
  34239. "productdetailid": {
  34240. "description": "产品组合ID",
  34241. "type": "integer"
  34242. },
  34243. "productid": {
  34244. "description": "金融产品ID",
  34245. "type": "integer"
  34246. },
  34247. "productname": {
  34248. "description": "产品名称",
  34249. "type": "string"
  34250. },
  34251. "remark": {
  34252. "description": "备注",
  34253. "type": "string"
  34254. },
  34255. "scfcontractid": {
  34256. "description": "仓单回购合同ID",
  34257. "type": "string"
  34258. },
  34259. "sellaccountid": {
  34260. "description": "卖方资金账号",
  34261. "type": "integer"
  34262. },
  34263. "selluserid": {
  34264. "description": "卖方用户ID",
  34265. "type": "integer"
  34266. },
  34267. "sellwrtradeorderid": {
  34268. "description": "卖方委托单ID",
  34269. "type": "string"
  34270. },
  34271. "tradeamount": {
  34272. "description": "成交金额(借款金额)",
  34273. "type": "number"
  34274. },
  34275. "tradedate": {
  34276. "description": "交易日(yyyyMMdd)",
  34277. "type": "string"
  34278. },
  34279. "tradeprice": {
  34280. "description": "成交价格",
  34281. "type": "number"
  34282. },
  34283. "warehouseid": {
  34284. "description": "仓库ID",
  34285. "type": "integer"
  34286. },
  34287. "warehousename": {
  34288. "description": "仓库名称",
  34289. "type": "string"
  34290. },
  34291. "wrfactortypeid": {
  34292. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34293. "type": "string"
  34294. },
  34295. "wrfactortypename": {
  34296. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34297. "type": "string"
  34298. },
  34299. "wrpricetype": {
  34300. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  34301. "type": "integer"
  34302. },
  34303. "wrstandardcode": {
  34304. "description": "现货商品代码",
  34305. "type": "string"
  34306. },
  34307. "wrstandardid": {
  34308. "description": "现货商品ID",
  34309. "type": "integer"
  34310. },
  34311. "wrstandardname": {
  34312. "description": "商品名称",
  34313. "type": "string"
  34314. },
  34315. "wrtypename": {
  34316. "description": "商品",
  34317. "type": "string"
  34318. }
  34319. }
  34320. },
  34321. "models.WrFriendApply": {
  34322. "type": "object",
  34323. "properties": {
  34324. "applicantid": {
  34325. "description": "申请人",
  34326. "type": "integer"
  34327. },
  34328. "applyname": {
  34329. "description": "申请人名称",
  34330. "type": "string"
  34331. },
  34332. "applysrc": {
  34333. "description": "申请来源 - 1:管理端 2:终端",
  34334. "type": "integer"
  34335. },
  34336. "applystatus": {
  34337. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  34338. "type": "integer"
  34339. },
  34340. "applytime": {
  34341. "description": "申请时间",
  34342. "type": "string"
  34343. },
  34344. "auditname": {
  34345. "description": "审核人名称",
  34346. "type": "string"
  34347. },
  34348. "auditorid": {
  34349. "description": "审核人",
  34350. "type": "integer"
  34351. },
  34352. "auditremark": {
  34353. "description": "审核备注",
  34354. "type": "string"
  34355. },
  34356. "auditsrc": {
  34357. "description": "审核来源 - 1:管理端 2:终端",
  34358. "type": "integer"
  34359. },
  34360. "audittime": {
  34361. "description": "审核时间",
  34362. "type": "string"
  34363. },
  34364. "friendapplyid": {
  34365. "description": "申请ID(SEQ_FRIENDAPPLY)",
  34366. "type": "string"
  34367. },
  34368. "friendname": {
  34369. "description": "好友名字(已脱敏)",
  34370. "type": "string"
  34371. },
  34372. "frienduserid": {
  34373. "description": "好友用户ID",
  34374. "type": "string"
  34375. },
  34376. "remark": {
  34377. "description": "备注",
  34378. "type": "string"
  34379. },
  34380. "userid": {
  34381. "description": "申请人用户ID",
  34382. "type": "integer"
  34383. }
  34384. }
  34385. },
  34386. "models.WrFtDeliveryGoods": {
  34387. "type": "object",
  34388. "properties": {
  34389. "deliverygoodscode": {
  34390. "description": "品种代码",
  34391. "type": "string"
  34392. },
  34393. "deliverygoodsid": {
  34394. "description": "品种ID",
  34395. "type": "integer"
  34396. },
  34397. "deliverygoodsname": {
  34398. "description": "品种名称",
  34399. "type": "string"
  34400. },
  34401. "wdlst": {
  34402. "description": "商品列表",
  34403. "type": "array",
  34404. "items": {
  34405. "$ref": "#/definitions/models.WrFtWrstandard"
  34406. }
  34407. }
  34408. }
  34409. },
  34410. "models.WrFtWrstandard": {
  34411. "type": "object",
  34412. "properties": {
  34413. "enumdicname": {
  34414. "description": "单位名称",
  34415. "type": "string"
  34416. },
  34417. "minivalue": {
  34418. "description": "最小变动值",
  34419. "type": "integer"
  34420. },
  34421. "wrstandardcode": {
  34422. "description": "现货商品代码",
  34423. "type": "string"
  34424. },
  34425. "wrstandardid": {
  34426. "description": "现货商品ID",
  34427. "type": "integer"
  34428. },
  34429. "wrstandardname": {
  34430. "description": "商品名称",
  34431. "type": "string"
  34432. }
  34433. }
  34434. },
  34435. "models.WrGoodsInfo": {
  34436. "type": "object",
  34437. "properties": {
  34438. "haswr": {
  34439. "description": "0:仓单预售 1:仓单贸易",
  34440. "type": "integer"
  34441. },
  34442. "lstitem": {
  34443. "description": "商品信息项",
  34444. "type": "array",
  34445. "items": {
  34446. "$ref": "#/definitions/models.WrTypeItem"
  34447. }
  34448. },
  34449. "lststep": {
  34450. "description": "履约规则",
  34451. "type": "array",
  34452. "items": {
  34453. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34454. }
  34455. },
  34456. "marketid": {
  34457. "description": "市场id",
  34458. "type": "integer"
  34459. }
  34460. }
  34461. },
  34462. "models.WrGoodsPerformanceStep": {
  34463. "type": "object",
  34464. "properties": {
  34465. "autoid": {
  34466. "description": "AutoID",
  34467. "type": "integer"
  34468. },
  34469. "isauto": {
  34470. "description": "是否自动 - 0:不自动 1:自动",
  34471. "type": "integer"
  34472. },
  34473. "remark": {
  34474. "description": "备注",
  34475. "type": "string"
  34476. },
  34477. "stepdate": {
  34478. "description": "天数信息(T+N)",
  34479. "type": "string"
  34480. },
  34481. "stepdays": {
  34482. "description": "距离上一步天数",
  34483. "type": "integer"
  34484. },
  34485. "stepindex": {
  34486. "description": "步骤序号",
  34487. "type": "integer"
  34488. },
  34489. "stepinfo": {
  34490. "description": "步骤信息(步骤名称+步骤值)",
  34491. "type": "string"
  34492. },
  34493. "steptypeid": {
  34494. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  34495. "type": "integer"
  34496. },
  34497. "steptypename": {
  34498. "description": "步骤名称",
  34499. "type": "string"
  34500. },
  34501. "stepvalue": {
  34502. "description": "步骤值",
  34503. "type": "number"
  34504. },
  34505. "templateid": {
  34506. "description": "履约计划模板ID",
  34507. "type": "integer"
  34508. }
  34509. }
  34510. },
  34511. "models.WrHoldLB": {
  34512. "type": "object",
  34513. "properties": {
  34514. "accountid": {
  34515. "description": "持有人帐户ID",
  34516. "type": "integer"
  34517. },
  34518. "createtime": {
  34519. "description": "创建时间(过户时间)",
  34520. "type": "string"
  34521. },
  34522. "deliverygoodscode": {
  34523. "description": "品种代码",
  34524. "type": "string"
  34525. },
  34526. "deliverygoodsid": {
  34527. "description": "品种ID",
  34528. "type": "integer"
  34529. },
  34530. "deliverygoodsname": {
  34531. "description": "品种名称",
  34532. "type": "string"
  34533. },
  34534. "enableqty": {
  34535. "description": "可用数量",
  34536. "type": "number"
  34537. },
  34538. "enumdicname": {
  34539. "description": "单位名称",
  34540. "type": "string"
  34541. },
  34542. "freezerqty": {
  34543. "description": "冻结数量",
  34544. "type": "number"
  34545. },
  34546. "ladingbillid": {
  34547. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  34548. "type": "string"
  34549. },
  34550. "minivalue": {
  34551. "description": "现货商品最小变动值",
  34552. "type": "integer"
  34553. },
  34554. "optioncompare": {
  34555. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34556. "type": "string"
  34557. },
  34558. "parentsubnum": {
  34559. "description": "拆分父子单号",
  34560. "type": "integer"
  34561. },
  34562. "pledgeqty": {
  34563. "description": "质押数量",
  34564. "type": "number"
  34565. },
  34566. "qty": {
  34567. "description": "数量",
  34568. "type": "number"
  34569. },
  34570. "subnum": {
  34571. "description": "提单子单号",
  34572. "type": "integer"
  34573. },
  34574. "tradedate": {
  34575. "description": "交易日(yyyyMMdd)",
  34576. "type": "string"
  34577. },
  34578. "userid": {
  34579. "description": "持有人ID",
  34580. "type": "integer"
  34581. },
  34582. "warehouseid": {
  34583. "description": "仓库ID",
  34584. "type": "integer"
  34585. },
  34586. "warehousename": {
  34587. "description": "仓库名称",
  34588. "type": "string"
  34589. },
  34590. "wrfactortypeid": {
  34591. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34592. "type": "string"
  34593. },
  34594. "wrfactortypename": {
  34595. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34596. "type": "string"
  34597. },
  34598. "wrholdeno": {
  34599. "description": "仓单编号",
  34600. "type": "string"
  34601. },
  34602. "wrid": {
  34603. "description": "仓单变更ID",
  34604. "type": "string"
  34605. },
  34606. "wrstandardcode": {
  34607. "description": "现货商品代码",
  34608. "type": "string"
  34609. },
  34610. "wrstandardid": {
  34611. "description": "现货商品ID",
  34612. "type": "integer"
  34613. },
  34614. "wrstandardname": {
  34615. "description": "商品名称",
  34616. "type": "string"
  34617. },
  34618. "wrtypename": {
  34619. "description": "商品",
  34620. "type": "string"
  34621. }
  34622. }
  34623. },
  34624. "models.WrMarketTradeConfig": {
  34625. "type": "object",
  34626. "properties": {
  34627. "basisdownratio": {
  34628. "description": "浮动价基差下限比例(仓单贸易)",
  34629. "type": "number"
  34630. },
  34631. "basisupratio": {
  34632. "description": "浮动价基差上限比例(仓单贸易)",
  34633. "type": "number"
  34634. },
  34635. "buychargealgorithm": {
  34636. "description": "买方手续费收取方式 1:比率 2:固定",
  34637. "type": "integer"
  34638. },
  34639. "buychargealgorithm2": {
  34640. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  34641. "type": "integer"
  34642. },
  34643. "buychargealgorithmvalue": {
  34644. "description": "买方手续费设置值(交易所部分)",
  34645. "type": "number"
  34646. },
  34647. "buychargealgorithmvalue2": {
  34648. "description": "买方手续费设置值(会员部分)",
  34649. "type": "number"
  34650. },
  34651. "buychargealgorithmvalue3": {
  34652. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  34653. "type": "number"
  34654. },
  34655. "buychargealgorithmvalue4": {
  34656. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  34657. "type": "number"
  34658. },
  34659. "buyfirstmarginalgorithm": {
  34660. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  34661. "type": "integer"
  34662. },
  34663. "buyfirstmarginvalue": {
  34664. "description": "买方出价保证金设置值 - [竞拍]",
  34665. "type": "number"
  34666. },
  34667. "buymarginalgorithm": {
  34668. "description": "买方保证金方式 - 1:比率 2:固定",
  34669. "type": "integer"
  34670. },
  34671. "buymarginvalue": {
  34672. "description": "买方保证金设置值",
  34673. "type": "number"
  34674. },
  34675. "buyreleaseratio": {
  34676. "description": "买方释放比率[2:分步履约]",
  34677. "type": "number"
  34678. },
  34679. "executemode": {
  34680. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  34681. "type": "integer"
  34682. },
  34683. "executeside": {
  34684. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  34685. "type": "integer"
  34686. },
  34687. "failedchargealgorithm": {
  34688. "description": "流拍手续费收取方式 1:比率 2:固定",
  34689. "type": "integer"
  34690. },
  34691. "failedchargevalue": {
  34692. "description": "流拍手续费设置值",
  34693. "type": "number"
  34694. },
  34695. "failedchargevalue2": {
  34696. "description": "流拍卖方手续费设置值",
  34697. "type": "number"
  34698. },
  34699. "holddays": {
  34700. "description": "合同期限[2:分步履约]",
  34701. "type": "integer"
  34702. },
  34703. "marketid": {
  34704. "description": "市场ID-仓单贸易、竞拍、预售",
  34705. "type": "integer"
  34706. },
  34707. "minqty": {
  34708. "description": "最小执行量[2:分步履约]",
  34709. "type": "number"
  34710. },
  34711. "modifierid": {
  34712. "description": "修改人",
  34713. "type": "integer"
  34714. },
  34715. "performancetempid": {
  34716. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  34717. "type": "integer"
  34718. },
  34719. "performancetempid2": {
  34720. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  34721. "type": "integer"
  34722. },
  34723. "performanceway": {
  34724. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  34725. "type": "integer"
  34726. },
  34727. "sellchargealgorithm": {
  34728. "description": "卖方手续费收取方式 1:比率 2:固定",
  34729. "type": "integer"
  34730. },
  34731. "sellchargealgorithm2": {
  34732. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  34733. "type": "integer"
  34734. },
  34735. "sellchargealgorithmvalue": {
  34736. "description": "卖方手续费设置值(交易所部分)",
  34737. "type": "number"
  34738. },
  34739. "sellchargealgorithmvalue2": {
  34740. "description": "卖方手续费设置值(会员部分)",
  34741. "type": "number"
  34742. },
  34743. "sellchargealgorithmvalue3": {
  34744. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  34745. "type": "number"
  34746. },
  34747. "sellchargealgorithmvalue4": {
  34748. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  34749. "type": "number"
  34750. },
  34751. "sellmarginalgorithm": {
  34752. "description": "卖方保证金方式 - 1:比率 2:固定",
  34753. "type": "integer"
  34754. },
  34755. "sellmarginvalue": {
  34756. "description": "卖方保证金设置值",
  34757. "type": "number"
  34758. },
  34759. "sellmarginvalue2": {
  34760. "description": "卖方保证金设置值(无仓单)",
  34761. "type": "number"
  34762. },
  34763. "sellreleaseratio": {
  34764. "description": "卖方释放比率[2:分步履约]",
  34765. "type": "number"
  34766. },
  34767. "updatetime": {
  34768. "description": "更新时间",
  34769. "type": "string"
  34770. }
  34771. }
  34772. },
  34773. "models.WrOrderDetail": {
  34774. "type": "object",
  34775. "properties": {
  34776. "accountid": {
  34777. "description": "交易账号(资金账号)",
  34778. "type": "integer"
  34779. },
  34780. "allfriendsflag": {
  34781. "description": "是否全好友可见 - 0:否 1:是",
  34782. "type": "integer"
  34783. },
  34784. "amount": {
  34785. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  34786. "type": "number"
  34787. },
  34788. "buyorsell": {
  34789. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  34790. "type": "integer"
  34791. },
  34792. "canbargain": {
  34793. "description": "是否可议价 - 0:不可 1:可",
  34794. "type": "integer"
  34795. },
  34796. "cancelqty": {
  34797. "description": "撤销数量",
  34798. "type": "number"
  34799. },
  34800. "canpart": {
  34801. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  34802. "type": "integer"
  34803. },
  34804. "delistminqty": {
  34805. "description": "起摘数量",
  34806. "type": "integer"
  34807. },
  34808. "deliverygoodscode": {
  34809. "description": "品种代码",
  34810. "type": "string"
  34811. },
  34812. "deliverygoodsid": {
  34813. "description": "品种ID",
  34814. "type": "integer"
  34815. },
  34816. "deliverygoodsname": {
  34817. "description": "品种名称",
  34818. "type": "string"
  34819. },
  34820. "deliverymonth": {
  34821. "description": "交收月",
  34822. "type": "string"
  34823. },
  34824. "enumdicname": {
  34825. "description": "单位名称",
  34826. "type": "string"
  34827. },
  34828. "fixedprice": {
  34829. "description": "固定价格 - [挂牌]",
  34830. "type": "number"
  34831. },
  34832. "freezemargin": {
  34833. "description": "冻结保证金(保证金)",
  34834. "type": "number"
  34835. },
  34836. "futupricemove": {
  34837. "description": "期货升贴水",
  34838. "type": "number"
  34839. },
  34840. "futushow": {
  34841. "description": "期货合约/升贴水",
  34842. "type": "string"
  34843. },
  34844. "goodscode": {
  34845. "description": "期货合约",
  34846. "type": "string"
  34847. },
  34848. "goodsid": {
  34849. "description": "期货商品id",
  34850. "type": "integer"
  34851. },
  34852. "goodsname": {
  34853. "description": "商品名称",
  34854. "type": "string"
  34855. },
  34856. "haswr": {
  34857. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34858. "type": "integer"
  34859. },
  34860. "isspecified": {
  34861. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  34862. "type": "integer"
  34863. },
  34864. "ladingbillid": {
  34865. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  34866. "type": "string"
  34867. },
  34868. "marginvalue": {
  34869. "description": "保证金设置值(履约保证金)",
  34870. "type": "number"
  34871. },
  34872. "marketid": {
  34873. "description": "市场ID",
  34874. "type": "integer"
  34875. },
  34876. "matchusername": {
  34877. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  34878. "type": "string"
  34879. },
  34880. "minivalue": {
  34881. "description": "现货商品最小变动值",
  34882. "type": "integer"
  34883. },
  34884. "optioncompare": {
  34885. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34886. "type": "string"
  34887. },
  34888. "orderqty": {
  34889. "description": "委托数量",
  34890. "type": "number"
  34891. },
  34892. "ordertime": {
  34893. "description": "委托时间(挂牌时间)",
  34894. "type": "string"
  34895. },
  34896. "performancetemplateid": {
  34897. "description": "履约模板id",
  34898. "type": "integer"
  34899. },
  34900. "pricemove": {
  34901. "description": "升贴水(浮动价时填写) - [挂牌]",
  34902. "type": "number"
  34903. },
  34904. "taname": {
  34905. "description": "交易用户名称(资金账号名称)",
  34906. "type": "string"
  34907. },
  34908. "tradedate": {
  34909. "description": "交易日(yyyyMMdd)",
  34910. "type": "string"
  34911. },
  34912. "tradeprice": {
  34913. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  34914. "type": "number"
  34915. },
  34916. "tradeqty": {
  34917. "description": "成交数量",
  34918. "type": "number"
  34919. },
  34920. "userid": {
  34921. "description": "用户ID",
  34922. "type": "integer"
  34923. },
  34924. "validtime": {
  34925. "description": "挂牌有效期",
  34926. "type": "string"
  34927. },
  34928. "warehouseid": {
  34929. "description": "仓库ID",
  34930. "type": "integer"
  34931. },
  34932. "warehousename": {
  34933. "description": "仓库名称",
  34934. "type": "string"
  34935. },
  34936. "wrfactortypeid": {
  34937. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34938. "type": "string"
  34939. },
  34940. "wrfactortypename": {
  34941. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34942. "type": "string"
  34943. },
  34944. "wrpricetype": {
  34945. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  34946. "type": "integer"
  34947. },
  34948. "wrstandardcode": {
  34949. "description": "现货商品代码",
  34950. "type": "string"
  34951. },
  34952. "wrstandardid": {
  34953. "description": "现货商品ID",
  34954. "type": "integer"
  34955. },
  34956. "wrstandardname": {
  34957. "description": "商品名称",
  34958. "type": "string"
  34959. },
  34960. "wrtradeorderid": {
  34961. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34962. "type": "string"
  34963. },
  34964. "wrtradeorderstatus": {
  34965. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败",
  34966. "type": "integer"
  34967. },
  34968. "wrtradetype": {
  34969. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  34970. "type": "integer"
  34971. },
  34972. "wrtypename": {
  34973. "description": "商品",
  34974. "type": "string"
  34975. }
  34976. }
  34977. },
  34978. "models.WrOrderQuote": {
  34979. "type": "object",
  34980. "properties": {
  34981. "buyprice": {
  34982. "description": "买价",
  34983. "type": "number"
  34984. },
  34985. "buypricemove": {
  34986. "description": "买升贴水(基差)",
  34987. "type": "number"
  34988. },
  34989. "buyqty": {
  34990. "description": "买量",
  34991. "type": "number"
  34992. },
  34993. "deliverygoodscode": {
  34994. "description": "品种代码",
  34995. "type": "string"
  34996. },
  34997. "deliverygoodsid": {
  34998. "description": "品种id",
  34999. "type": "integer"
  35000. },
  35001. "deliverygoodsname": {
  35002. "description": "品种名称",
  35003. "type": "string"
  35004. },
  35005. "deliverymonth": {
  35006. "description": "交收月",
  35007. "type": "string"
  35008. },
  35009. "enumdicname": {
  35010. "description": "单位名称",
  35011. "type": "string"
  35012. },
  35013. "goodscode": {
  35014. "description": "商品合约(浮动价列表才有)",
  35015. "type": "string"
  35016. },
  35017. "goodsid": {
  35018. "description": "商品id(浮动价列表才有)",
  35019. "type": "integer"
  35020. },
  35021. "minivalue": {
  35022. "description": "现货商品最小变动值",
  35023. "type": "integer"
  35024. },
  35025. "sellprice": {
  35026. "description": "卖价",
  35027. "type": "number"
  35028. },
  35029. "sellpricemove": {
  35030. "description": "卖升贴水(基差)",
  35031. "type": "number"
  35032. },
  35033. "sellqty": {
  35034. "description": "卖量",
  35035. "type": "number"
  35036. },
  35037. "warehousecode": {
  35038. "description": "仓库代码",
  35039. "type": "string"
  35040. },
  35041. "warehouseid": {
  35042. "description": "仓库id",
  35043. "type": "integer"
  35044. },
  35045. "warehousename": {
  35046. "description": "仓库名称",
  35047. "type": "string"
  35048. },
  35049. "wrfactortypeid": {
  35050. "description": "仓单要素id",
  35051. "type": "string"
  35052. },
  35053. "wrfactortypename": {
  35054. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35055. "type": "string"
  35056. },
  35057. "wrgoodsname": {
  35058. "description": "商品(商品名称+仓库要素名称 拼接)",
  35059. "type": "string"
  35060. },
  35061. "wrstandardcode": {
  35062. "description": "商品代码",
  35063. "type": "string"
  35064. },
  35065. "wrstandardid": {
  35066. "description": "商品id",
  35067. "type": "integer"
  35068. },
  35069. "wrstandardname": {
  35070. "description": "商品名称",
  35071. "type": "string"
  35072. }
  35073. }
  35074. },
  35075. "models.WrOrderQuoteDetail": {
  35076. "type": "object",
  35077. "properties": {
  35078. "buyorsell": {
  35079. "description": "买卖 - 0:买 1:卖",
  35080. "type": "integer"
  35081. },
  35082. "delistminqty": {
  35083. "description": "起摘数量",
  35084. "type": "number"
  35085. },
  35086. "deliverymonth": {
  35087. "description": "交收月",
  35088. "type": "string"
  35089. },
  35090. "enumdicname": {
  35091. "description": "单位名称",
  35092. "type": "string"
  35093. },
  35094. "fixedprice": {
  35095. "description": "买(卖)价",
  35096. "type": "number"
  35097. },
  35098. "minivalue": {
  35099. "description": "现货商品最小变动值",
  35100. "type": "integer"
  35101. },
  35102. "orderqty": {
  35103. "description": "买(卖)量(=委托量-成交量)",
  35104. "type": "number"
  35105. },
  35106. "ordertime": {
  35107. "description": "委托时间",
  35108. "type": "string"
  35109. },
  35110. "pricemove": {
  35111. "description": "买(卖)升贴水- 基差",
  35112. "type": "number"
  35113. },
  35114. "userid": {
  35115. "description": "购买方(销售方)用户ID",
  35116. "type": "integer"
  35117. },
  35118. "username": {
  35119. "description": "购买方(销售方)",
  35120. "type": "string"
  35121. },
  35122. "wrtradeorderid": {
  35123. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35124. "type": "string"
  35125. }
  35126. }
  35127. },
  35128. "models.WrOutInApply": {
  35129. "type": "object",
  35130. "properties": {
  35131. "applyid": {
  35132. "description": "申请单id",
  35133. "type": "string"
  35134. },
  35135. "applystatus": {
  35136. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  35137. "type": "integer"
  35138. },
  35139. "applytime": {
  35140. "description": "申请时间",
  35141. "type": "string"
  35142. },
  35143. "applytype": {
  35144. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  35145. "type": "integer"
  35146. },
  35147. "deliverygoodscode": {
  35148. "description": "品种代码",
  35149. "type": "string"
  35150. },
  35151. "deliverygoodsid": {
  35152. "description": "品种ID",
  35153. "type": "integer"
  35154. },
  35155. "deliverygoodsname": {
  35156. "description": "品种名称",
  35157. "type": "string"
  35158. },
  35159. "enumdicname": {
  35160. "description": "单位名称",
  35161. "type": "string"
  35162. },
  35163. "expresscompany": {
  35164. "description": "物流公司",
  35165. "type": "string"
  35166. },
  35167. "expressnum": {
  35168. "description": "物流单号",
  35169. "type": "string"
  35170. },
  35171. "minivalue": {
  35172. "description": "现货商品最小变动值",
  35173. "type": "integer"
  35174. },
  35175. "optioncompare": {
  35176. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35177. "type": "string"
  35178. },
  35179. "qty": {
  35180. "description": "数量",
  35181. "type": "integer"
  35182. },
  35183. "userid": {
  35184. "description": "用户id",
  35185. "type": "integer"
  35186. },
  35187. "warehouseid": {
  35188. "description": "仓库ID",
  35189. "type": "integer"
  35190. },
  35191. "warehousename": {
  35192. "description": "仓库名称",
  35193. "type": "string"
  35194. },
  35195. "wrfactortypeid": {
  35196. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35197. "type": "string"
  35198. },
  35199. "wrfactortypename": {
  35200. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35201. "type": "string"
  35202. },
  35203. "wrstandardcode": {
  35204. "description": "现货商品代码",
  35205. "type": "string"
  35206. },
  35207. "wrstandardid": {
  35208. "description": "现货商品ID",
  35209. "type": "integer"
  35210. },
  35211. "wrstandardname": {
  35212. "description": "商品名称",
  35213. "type": "string"
  35214. },
  35215. "wrtypename": {
  35216. "description": "商品",
  35217. "type": "string"
  35218. }
  35219. }
  35220. },
  35221. "models.WrPerformancePlan": {
  35222. "type": "object",
  35223. "required": [
  35224. "userid"
  35225. ],
  35226. "properties": {
  35227. "activatemonth": {
  35228. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  35229. "type": "string"
  35230. },
  35231. "amount": {
  35232. "description": "履约金额(总金额)",
  35233. "type": "number"
  35234. },
  35235. "buyaccountid": {
  35236. "description": "买方账号",
  35237. "type": "integer"
  35238. },
  35239. "buyerfreezeamount": {
  35240. "description": "履约冻结(买履约)",
  35241. "type": "number"
  35242. },
  35243. "buyerfreezeamountremain": {
  35244. "description": "履约冻结剩余(买履约)",
  35245. "type": "number"
  35246. },
  35247. "buyorsell": {
  35248. "description": "买卖方向 0-买 1-卖",
  35249. "type": "integer"
  35250. },
  35251. "buypaidamount": {
  35252. "description": "买方已冻/已扣金额 (已付金额)",
  35253. "type": "number"
  35254. },
  35255. "buyusername": {
  35256. "description": "买方名字",
  35257. "type": "string"
  35258. },
  35259. "contractid": {
  35260. "description": "合同ID",
  35261. "type": "integer"
  35262. },
  35263. "createtime": {
  35264. "description": "创建时间",
  35265. "type": "string"
  35266. },
  35267. "creatorid": {
  35268. "description": "创建人",
  35269. "type": "integer"
  35270. },
  35271. "curstepdeadline": {
  35272. "description": "当前步骤到期时间",
  35273. "type": "string"
  35274. },
  35275. "curstepid": {
  35276. "description": "当前步骤ID",
  35277. "type": "string"
  35278. },
  35279. "curstepname": {
  35280. "description": "当前步骤名称",
  35281. "type": "string"
  35282. },
  35283. "deliverygoodscode": {
  35284. "description": "品种代码",
  35285. "type": "string"
  35286. },
  35287. "deliverygoodsid": {
  35288. "description": "品种ID",
  35289. "type": "integer"
  35290. },
  35291. "deliverygoodsname": {
  35292. "description": "品种名称",
  35293. "type": "string"
  35294. },
  35295. "enumdicname": {
  35296. "description": "单位名称",
  35297. "type": "string"
  35298. },
  35299. "expressfee": {
  35300. "description": "运费",
  35301. "type": "number"
  35302. },
  35303. "expressfeeconfirmed": {
  35304. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  35305. "type": "integer"
  35306. },
  35307. "hasovershort": {
  35308. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  35309. "type": "integer"
  35310. },
  35311. "haswr": {
  35312. "description": "类型 0-仓单预售 1-仓单贸易",
  35313. "type": "integer"
  35314. },
  35315. "marketid": {
  35316. "description": "市场ID",
  35317. "type": "integer"
  35318. },
  35319. "middleaccountid": {
  35320. "description": "中间商资金账号ID",
  35321. "type": "integer"
  35322. },
  35323. "middleuserid": {
  35324. "description": "中间商用户ID",
  35325. "type": "integer"
  35326. },
  35327. "minivalue": {
  35328. "description": "现货商品最小变动值",
  35329. "type": "integer"
  35330. },
  35331. "optioncompare": {
  35332. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35333. "type": "string"
  35334. },
  35335. "overshortamount": {
  35336. "description": "溢短金额",
  35337. "type": "number"
  35338. },
  35339. "overshortqty": {
  35340. "description": "溢短数量",
  35341. "type": "number"
  35342. },
  35343. "paymenttype": {
  35344. "description": "付款方式 - 1:冻结 2:扣款",
  35345. "type": "integer"
  35346. },
  35347. "performanceplanid": {
  35348. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  35349. "type": "string"
  35350. },
  35351. "performancestatus": {
  35352. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  35353. "type": "integer"
  35354. },
  35355. "performancetype": {
  35356. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  35357. "type": "integer"
  35358. },
  35359. "qty": {
  35360. "description": "履约数量",
  35361. "type": "number"
  35362. },
  35363. "relatedorderid": {
  35364. "description": "关联单号(履约类型的关联单号)",
  35365. "type": "string"
  35366. },
  35367. "remark": {
  35368. "description": "备注",
  35369. "type": "string"
  35370. },
  35371. "sellaccountid": {
  35372. "description": "卖方账号",
  35373. "type": "integer"
  35374. },
  35375. "sellerfreezeamount": {
  35376. "description": "履约冻结(卖履约)",
  35377. "type": "number"
  35378. },
  35379. "sellerfreezeamountremain": {
  35380. "description": "履约冻结剩余(卖履约)",
  35381. "type": "number"
  35382. },
  35383. "sellreceivedamount": {
  35384. "description": "卖方已收金额",
  35385. "type": "number"
  35386. },
  35387. "sellusername": {
  35388. "description": "卖方名字",
  35389. "type": "string"
  35390. },
  35391. "shipremark": {
  35392. "description": "发货备注[物流单号]",
  35393. "type": "string"
  35394. },
  35395. "starttime": {
  35396. "description": "开始时间",
  35397. "type": "string"
  35398. },
  35399. "steptypeid": {
  35400. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35401. "type": "integer"
  35402. },
  35403. "typename": {
  35404. "description": "履约类型 名称",
  35405. "type": "string"
  35406. },
  35407. "unpaidamount": {
  35408. "description": "剩余款(待支付金额)",
  35409. "type": "number"
  35410. },
  35411. "userid": {
  35412. "description": "用户id",
  35413. "type": "integer"
  35414. },
  35415. "warehouseid": {
  35416. "description": "仓库ID",
  35417. "type": "integer"
  35418. },
  35419. "warehousename": {
  35420. "description": "仓库名称",
  35421. "type": "string"
  35422. },
  35423. "wrfactortypeid": {
  35424. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35425. "type": "string"
  35426. },
  35427. "wrfactortypename": {
  35428. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35429. "type": "string"
  35430. },
  35431. "wrstandardcode": {
  35432. "description": "现货商品代码",
  35433. "type": "string"
  35434. },
  35435. "wrstandardid": {
  35436. "description": "现货商品ID",
  35437. "type": "integer"
  35438. },
  35439. "wrstandardname": {
  35440. "description": "商品名称",
  35441. "type": "string"
  35442. },
  35443. "wrtransferuserid": {
  35444. "description": "仓单受让用户",
  35445. "type": "integer"
  35446. },
  35447. "wrtypename": {
  35448. "description": "商品",
  35449. "type": "string"
  35450. }
  35451. }
  35452. },
  35453. "models.WrPerformancePlanStep": {
  35454. "type": "object",
  35455. "properties": {
  35456. "delaydays": {
  35457. "description": "延期申请天数",
  35458. "type": "integer"
  35459. },
  35460. "deliverygoodscode": {
  35461. "description": "品种代码",
  35462. "type": "string"
  35463. },
  35464. "deliverygoodsid": {
  35465. "description": "品种ID",
  35466. "type": "integer"
  35467. },
  35468. "deliverygoodsname": {
  35469. "description": "品种名称",
  35470. "type": "string"
  35471. },
  35472. "endtime": {
  35473. "description": "结束日期",
  35474. "type": "string"
  35475. },
  35476. "enumdicname": {
  35477. "description": "单位名称",
  35478. "type": "string"
  35479. },
  35480. "executeside": {
  35481. "description": "步骤执行方 - 1:买方 2:卖方",
  35482. "type": "integer"
  35483. },
  35484. "handlestatus": {
  35485. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  35486. "type": "integer"
  35487. },
  35488. "isauto": {
  35489. "description": "是否自动 - 0:不自动 1:自动",
  35490. "type": "integer"
  35491. },
  35492. "islastreceivestep": {
  35493. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  35494. "type": "integer"
  35495. },
  35496. "minivalue": {
  35497. "description": "现货商品最小变动值",
  35498. "type": "integer"
  35499. },
  35500. "optioncompare": {
  35501. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35502. "type": "string"
  35503. },
  35504. "overdays": {
  35505. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  35506. "type": "integer"
  35507. },
  35508. "performancestepid": {
  35509. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  35510. "type": "string"
  35511. },
  35512. "planid": {
  35513. "description": "所属履约计划ID",
  35514. "type": "string"
  35515. },
  35516. "realamount": {
  35517. "description": "实际完成金额",
  35518. "type": "number"
  35519. },
  35520. "relatedorderid": {
  35521. "description": "关联单号",
  35522. "type": "string"
  35523. },
  35524. "remaindays": {
  35525. "description": "剩余天数",
  35526. "type": "integer"
  35527. },
  35528. "remark": {
  35529. "description": "错误备注",
  35530. "type": "string"
  35531. },
  35532. "starttime": {
  35533. "description": "开始日期",
  35534. "type": "string"
  35535. },
  35536. "stepamount": {
  35537. "description": "步骤金额",
  35538. "type": "number"
  35539. },
  35540. "stepdays": {
  35541. "description": "距离上一步天数(分钟)",
  35542. "type": "integer"
  35543. },
  35544. "stepindex": {
  35545. "description": "步骤序号",
  35546. "type": "integer"
  35547. },
  35548. "steplanchtype": {
  35549. "description": "步骤启动类型 - 1:系统自动 2:手动",
  35550. "type": "integer"
  35551. },
  35552. "stepremark": {
  35553. "description": "步骤备注",
  35554. "type": "string"
  35555. },
  35556. "stepstatus": {
  35557. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  35558. "type": "integer"
  35559. },
  35560. "steptypeid": {
  35561. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35562. "type": "integer"
  35563. },
  35564. "steptypename": {
  35565. "description": "步骤名称",
  35566. "type": "string"
  35567. },
  35568. "stepvalue": {
  35569. "description": "步骤值",
  35570. "type": "number"
  35571. },
  35572. "warehouseid": {
  35573. "description": "仓库ID",
  35574. "type": "integer"
  35575. },
  35576. "warehousename": {
  35577. "description": "仓库名称",
  35578. "type": "string"
  35579. },
  35580. "wrfactortypeid": {
  35581. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35582. "type": "string"
  35583. },
  35584. "wrfactortypename": {
  35585. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35586. "type": "string"
  35587. },
  35588. "wrstandardcode": {
  35589. "description": "现货商品代码",
  35590. "type": "string"
  35591. },
  35592. "wrstandardid": {
  35593. "description": "现货商品ID",
  35594. "type": "integer"
  35595. },
  35596. "wrstandardname": {
  35597. "description": "商品名称",
  35598. "type": "string"
  35599. },
  35600. "wrtypename": {
  35601. "description": "商品",
  35602. "type": "string"
  35603. }
  35604. }
  35605. },
  35606. "models.WrPerformanceStepType": {
  35607. "type": "object",
  35608. "properties": {
  35609. "canauto": {
  35610. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  35611. "type": "integer"
  35612. },
  35613. "steptypeid": {
  35614. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  35615. "type": "integer"
  35616. },
  35617. "steptypename": {
  35618. "description": "步骤类型名称",
  35619. "type": "string"
  35620. }
  35621. }
  35622. },
  35623. "models.WrPerformanceTemplateEx": {
  35624. "type": "object",
  35625. "properties": {
  35626. "autoid": {
  35627. "description": "AutoID 模板id",
  35628. "type": "integer"
  35629. },
  35630. "createtime": {
  35631. "description": "创建时间",
  35632. "type": "string"
  35633. },
  35634. "creatorid": {
  35635. "description": "创建人",
  35636. "type": "integer"
  35637. },
  35638. "lstStep": {
  35639. "description": "步骤信息列表",
  35640. "type": "array",
  35641. "items": {
  35642. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  35643. }
  35644. },
  35645. "paymenttype": {
  35646. "description": "支付方式 - 1:冻结 2:扣款",
  35647. "type": "integer"
  35648. },
  35649. "takemode": {
  35650. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  35651. "type": "integer"
  35652. },
  35653. "templatename": {
  35654. "description": "模板名称",
  35655. "type": "string"
  35656. },
  35657. "templatetype": {
  35658. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  35659. "type": "integer"
  35660. },
  35661. "userid": {
  35662. "description": "所属用户",
  35663. "type": "integer"
  35664. }
  35665. }
  35666. },
  35667. "models.WrPosition": {
  35668. "type": "object",
  35669. "properties": {
  35670. "accountid": {
  35671. "description": "帐户ID",
  35672. "type": "integer"
  35673. },
  35674. "buyexcuteqty": {
  35675. "description": "采购履约中数量",
  35676. "type": "number"
  35677. },
  35678. "creditcurqty": {
  35679. "description": "授信当前数量(预售仓单:预售当前量)",
  35680. "type": "number"
  35681. },
  35682. "creditenableqty": {
  35683. "description": "授信可用数量(预售仓单: 可用数量)",
  35684. "type": "number"
  35685. },
  35686. "creditfreezeqty": {
  35687. "description": "授信冻结数量(预售仓单: 当前数量)",
  35688. "type": "number"
  35689. },
  35690. "credittotalqty": {
  35691. "description": "授信总数量(预售仓单:预售总量)",
  35692. "type": "number"
  35693. },
  35694. "credittradeqty": {
  35695. "description": "授信成交数量(预售仓单:成交总量)",
  35696. "type": "number"
  35697. },
  35698. "deliverygoodscode": {
  35699. "description": "品种代码",
  35700. "type": "string"
  35701. },
  35702. "deliverygoodsid": {
  35703. "description": "品种ID",
  35704. "type": "integer"
  35705. },
  35706. "deliverygoodsname": {
  35707. "description": "品种名称",
  35708. "type": "string"
  35709. },
  35710. "enalbeqty": {
  35711. "description": "可用数量",
  35712. "type": "number"
  35713. },
  35714. "enumdicname": {
  35715. "description": "单位名称",
  35716. "type": "string"
  35717. },
  35718. "freezeqty": {
  35719. "description": "总冻结数量",
  35720. "type": "number"
  35721. },
  35722. "haswr": {
  35723. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35724. "type": "integer"
  35725. },
  35726. "minivalue": {
  35727. "description": "现货商品最小变动值",
  35728. "type": "integer"
  35729. },
  35730. "modifytime": {
  35731. "description": "修改时间(过户时间)",
  35732. "type": "string"
  35733. },
  35734. "optioncompare": {
  35735. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35736. "type": "string"
  35737. },
  35738. "pledgeqty": {
  35739. "description": "质押数量",
  35740. "type": "number"
  35741. },
  35742. "querytype": {
  35743. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  35744. "type": "integer"
  35745. },
  35746. "sellexcuteqty": {
  35747. "description": "销售履约中数量",
  35748. "type": "number"
  35749. },
  35750. "totalqty": {
  35751. "description": "总数量(库存数量)",
  35752. "type": "number"
  35753. },
  35754. "warehouseid": {
  35755. "description": "仓库ID",
  35756. "type": "integer"
  35757. },
  35758. "warehousename": {
  35759. "description": "仓库名称",
  35760. "type": "string"
  35761. },
  35762. "wrfactortypeid": {
  35763. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35764. "type": "string"
  35765. },
  35766. "wrfactortypename": {
  35767. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35768. "type": "string"
  35769. },
  35770. "wrpositionid": {
  35771. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  35772. "type": "string"
  35773. },
  35774. "wrpositionno": {
  35775. "description": "仓单编号",
  35776. "type": "string"
  35777. },
  35778. "wrstandardcode": {
  35779. "description": "现货商品代码",
  35780. "type": "string"
  35781. },
  35782. "wrstandardid": {
  35783. "description": "现货商品ID",
  35784. "type": "integer"
  35785. },
  35786. "wrstandardname": {
  35787. "description": "商品名称",
  35788. "type": "string"
  35789. },
  35790. "wrtypename": {
  35791. "description": "商品",
  35792. "type": "string"
  35793. },
  35794. "wruserid": {
  35795. "description": "持有人ID",
  35796. "type": "integer"
  35797. }
  35798. }
  35799. },
  35800. "models.WrQuoteOrderMyq": {
  35801. "type": "object",
  35802. "properties": {
  35803. "buyorsell": {
  35804. "description": "买卖 - 0:买 1:卖",
  35805. "type": "integer"
  35806. },
  35807. "canbargain": {
  35808. "description": "是否可议价 - 0:不可 1:可",
  35809. "type": "integer"
  35810. },
  35811. "canpart": {
  35812. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  35813. "type": "integer"
  35814. },
  35815. "delistminqty": {
  35816. "description": "起摘数量",
  35817. "type": "number"
  35818. },
  35819. "deliverygoodscode": {
  35820. "description": "品种代码",
  35821. "type": "string"
  35822. },
  35823. "deliverygoodsid": {
  35824. "description": "品种ID",
  35825. "type": "integer"
  35826. },
  35827. "deliverygoodsname": {
  35828. "description": "品种名称",
  35829. "type": "string"
  35830. },
  35831. "deliverymonth": {
  35832. "description": "交收月",
  35833. "type": "string"
  35834. },
  35835. "enumdicname": {
  35836. "description": "单位名称",
  35837. "type": "string"
  35838. },
  35839. "fixedprice": {
  35840. "description": "买(卖)价",
  35841. "type": "number"
  35842. },
  35843. "goodscode": {
  35844. "description": "商品合约代码",
  35845. "type": "string"
  35846. },
  35847. "marginflag": {
  35848. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  35849. "type": "integer"
  35850. },
  35851. "marginvalue": {
  35852. "description": "保证金设置值",
  35853. "type": "number"
  35854. },
  35855. "minivalue": {
  35856. "description": "现货商品最小变动值",
  35857. "type": "integer"
  35858. },
  35859. "orderqty": {
  35860. "description": "买(卖)量(=委托量-成交量)",
  35861. "type": "number"
  35862. },
  35863. "ordertime": {
  35864. "description": "委托时间",
  35865. "type": "string"
  35866. },
  35867. "performancetemplateid": {
  35868. "description": "履约模板id",
  35869. "type": "integer"
  35870. },
  35871. "pricemove": {
  35872. "description": "买(卖)升贴水- 基差",
  35873. "type": "number"
  35874. },
  35875. "templatename": {
  35876. "description": "履约模板名称",
  35877. "type": "string"
  35878. },
  35879. "userid": {
  35880. "description": "购买方(销售方)用户ID",
  35881. "type": "integer"
  35882. },
  35883. "username": {
  35884. "description": "购买方(销售方)",
  35885. "type": "string"
  35886. },
  35887. "validtime": {
  35888. "description": "有效期限",
  35889. "type": "string"
  35890. },
  35891. "validtype": {
  35892. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  35893. "type": "integer"
  35894. },
  35895. "warehousename": {
  35896. "description": "仓库名称",
  35897. "type": "string"
  35898. },
  35899. "wrfactortypeid": {
  35900. "description": "仓单要素id",
  35901. "type": "string"
  35902. },
  35903. "wrstandardcode": {
  35904. "description": "现货商品代码",
  35905. "type": "string"
  35906. },
  35907. "wrstandardid": {
  35908. "description": "现货商品ID",
  35909. "type": "integer"
  35910. },
  35911. "wrstandardname": {
  35912. "description": "商品名称",
  35913. "type": "string"
  35914. },
  35915. "wrtradeorderid": {
  35916. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35917. "type": "string"
  35918. },
  35919. "wrtypename": {
  35920. "description": "商品",
  35921. "type": "string"
  35922. }
  35923. }
  35924. },
  35925. "models.WrScfContract": {
  35926. "type": "object",
  35927. "properties": {
  35928. "borroweruserid": {
  35929. "description": "借款用户ID",
  35930. "type": "integer"
  35931. },
  35932. "buybackwrpositionqty": {
  35933. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  35934. "type": "number"
  35935. },
  35936. "closeinterest": {
  35937. "description": "已结利息 -\u003e 已结费用",
  35938. "type": "number"
  35939. },
  35940. "currisklevel": {
  35941. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  35942. "type": "integer"
  35943. },
  35944. "deadline": {
  35945. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  35946. "type": "string"
  35947. },
  35948. "deliverygoodscode": {
  35949. "description": "品种代码",
  35950. "type": "string"
  35951. },
  35952. "deliverygoodsid": {
  35953. "description": "品种ID",
  35954. "type": "integer"
  35955. },
  35956. "deliverygoodsname": {
  35957. "description": "品种名称",
  35958. "type": "string"
  35959. },
  35960. "enumdicname": {
  35961. "description": "单位名称",
  35962. "type": "string"
  35963. },
  35964. "financingdays": {
  35965. "description": "天数(天)",
  35966. "type": "integer"
  35967. },
  35968. "initmargin": {
  35969. "description": "保证金 - [仓单回购]",
  35970. "type": "number"
  35971. },
  35972. "interestamount": {
  35973. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  35974. "type": "number"
  35975. },
  35976. "interestdebt": {
  35977. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  35978. "type": "number"
  35979. },
  35980. "interestminlen": {
  35981. "description": "最小起息天数",
  35982. "type": "integer"
  35983. },
  35984. "interestrate": {
  35985. "description": "利率",
  35986. "type": "number"
  35987. },
  35988. "interestratemode": {
  35989. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  35990. "type": "integer"
  35991. },
  35992. "interestsettlemode": {
  35993. "description": "结息方式 - 1:按日结息 3:按月结息",
  35994. "type": "integer"
  35995. },
  35996. "interestsettlevalue": {
  35997. "description": "结息方式值",
  35998. "type": "integer"
  35999. },
  36000. "isautoloan": {
  36001. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  36002. "type": "integer"
  36003. },
  36004. "lastcloseinterestday": {
  36005. "description": "最近结息日(yyyyMMdd)",
  36006. "type": "string"
  36007. },
  36008. "lenderamount": {
  36009. "description": "贷款金额 -\u003e 借款金额",
  36010. "type": "number"
  36011. },
  36012. "lenderuserid": {
  36013. "description": "贷款方用户ID -\u003e 融出方用户ID",
  36014. "type": "integer"
  36015. },
  36016. "lenderusername": {
  36017. "description": "融出方",
  36018. "type": "string"
  36019. },
  36020. "marginratio": {
  36021. "description": "保证金比率质押率 - [仓单质押]",
  36022. "type": "number"
  36023. },
  36024. "marketid": {
  36025. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  36026. "type": "integer"
  36027. },
  36028. "minivalue": {
  36029. "description": "现货商品最小变动值",
  36030. "type": "integer"
  36031. },
  36032. "optioncompare": {
  36033. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36034. "type": "string"
  36035. },
  36036. "pricemove": {
  36037. "description": "估值升贴水值",
  36038. "type": "number"
  36039. },
  36040. "productdetailid": {
  36041. "description": "产品组合ID",
  36042. "type": "integer"
  36043. },
  36044. "productid": {
  36045. "description": "金融产品ID",
  36046. "type": "integer"
  36047. },
  36048. "productname": {
  36049. "description": "产品名称",
  36050. "type": "string"
  36051. },
  36052. "remainamount": {
  36053. "description": "合同剩余金额 -\u003e 剩余金额",
  36054. "type": "number"
  36055. },
  36056. "remainwrpositionqty": {
  36057. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  36058. "type": "number"
  36059. },
  36060. "remark": {
  36061. "description": "备注",
  36062. "type": "string"
  36063. },
  36064. "scfcontractid": {
  36065. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  36066. "type": "string"
  36067. },
  36068. "scfcontractstatus": {
  36069. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  36070. "type": "integer"
  36071. },
  36072. "scfcontracttype": {
  36073. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  36074. "type": "integer"
  36075. },
  36076. "startinterestday": {
  36077. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  36078. "type": "string"
  36079. },
  36080. "totalinterest": {
  36081. "description": "已计利息 -\u003e 已计费用",
  36082. "type": "number"
  36083. },
  36084. "unpaidinterest": {
  36085. "description": "未结费用",
  36086. "type": "number"
  36087. },
  36088. "updatetime": {
  36089. "description": "更新时间",
  36090. "type": "string"
  36091. },
  36092. "warehouseid": {
  36093. "description": "仓库ID",
  36094. "type": "integer"
  36095. },
  36096. "warehousename": {
  36097. "description": "仓库名称",
  36098. "type": "string"
  36099. },
  36100. "wrfactortypeid": {
  36101. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36102. "type": "string"
  36103. },
  36104. "wrfactortypename": {
  36105. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36106. "type": "string"
  36107. },
  36108. "wrqty": {
  36109. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  36110. "type": "number"
  36111. },
  36112. "wrstandardcode": {
  36113. "description": "现货商品代码",
  36114. "type": "string"
  36115. },
  36116. "wrstandardid": {
  36117. "description": "现货商品ID",
  36118. "type": "integer"
  36119. },
  36120. "wrstandardname": {
  36121. "description": "商品名称",
  36122. "type": "string"
  36123. },
  36124. "wrtypename": {
  36125. "description": "商品",
  36126. "type": "string"
  36127. }
  36128. }
  36129. },
  36130. "models.WrScfContractInterest": {
  36131. "type": "object",
  36132. "properties": {
  36133. "closeinterest": {
  36134. "description": "已结利息",
  36135. "type": "number"
  36136. },
  36137. "closeintereststatus": {
  36138. "description": "结息状态 - 1:未结 2:已结",
  36139. "type": "integer"
  36140. },
  36141. "closetime": {
  36142. "description": "结息时间",
  36143. "type": "string"
  36144. },
  36145. "closetradedate": {
  36146. "description": "结息交易日",
  36147. "type": "string"
  36148. },
  36149. "creatorid": {
  36150. "description": "操作人ID",
  36151. "type": "integer"
  36152. },
  36153. "dayrate": {
  36154. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  36155. "type": "number"
  36156. },
  36157. "interest": {
  36158. "description": "利息",
  36159. "type": "number"
  36160. },
  36161. "interestamount": {
  36162. "description": "计息金额",
  36163. "type": "number"
  36164. },
  36165. "interestday": {
  36166. "description": "计息日(yyyyMMdd)",
  36167. "type": "string"
  36168. },
  36169. "scfcontractid": {
  36170. "description": "SCF合同ID",
  36171. "type": "string"
  36172. },
  36173. "scfcontractinterestid": {
  36174. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  36175. "type": "integer"
  36176. },
  36177. "updatetime": {
  36178. "description": "更新时间",
  36179. "type": "string"
  36180. }
  36181. }
  36182. },
  36183. "models.WrSiteColumnDetail": {
  36184. "type": "object",
  36185. "properties": {
  36186. "brief": {
  36187. "description": "简介",
  36188. "type": "string"
  36189. },
  36190. "context": {
  36191. "description": "内容",
  36192. "type": "string"
  36193. },
  36194. "coverimage": {
  36195. "description": "封面图片",
  36196. "type": "string"
  36197. },
  36198. "creaedate": {
  36199. "description": "创建时间",
  36200. "type": "string"
  36201. },
  36202. "id": {
  36203. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  36204. "type": "integer"
  36205. },
  36206. "istop": {
  36207. "description": "是否置顶 - 0:不置 1:置顶",
  36208. "type": "integer"
  36209. },
  36210. "publishdate": {
  36211. "description": "发布日期",
  36212. "type": "string"
  36213. },
  36214. "title": {
  36215. "description": "标题",
  36216. "type": "string"
  36217. },
  36218. "updatedate": {
  36219. "description": "修改时间",
  36220. "type": "string"
  36221. }
  36222. }
  36223. },
  36224. "models.WrSpecialMatchOrder": {
  36225. "type": "object",
  36226. "properties": {
  36227. "amount": {
  36228. "description": "金额 = 数量 * 价格",
  36229. "type": "number"
  36230. },
  36231. "buyorsell": {
  36232. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36233. "type": "integer"
  36234. },
  36235. "cancelqty": {
  36236. "description": "撤销数量",
  36237. "type": "number"
  36238. },
  36239. "deliverygoodscode": {
  36240. "description": "品种代码",
  36241. "type": "string"
  36242. },
  36243. "deliverygoodsid": {
  36244. "description": "品种ID",
  36245. "type": "integer"
  36246. },
  36247. "deliverygoodsname": {
  36248. "description": "品种名称",
  36249. "type": "string"
  36250. },
  36251. "enumdicname": {
  36252. "description": "单位名称",
  36253. "type": "string"
  36254. },
  36255. "fixedprice": {
  36256. "description": "固定价格(价格)",
  36257. "type": "number"
  36258. },
  36259. "haswr": {
  36260. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36261. "type": "integer"
  36262. },
  36263. "marketid": {
  36264. "description": "市场ID",
  36265. "type": "integer"
  36266. },
  36267. "matchuserid": {
  36268. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  36269. "type": "integer"
  36270. },
  36271. "matchusername": {
  36272. "description": "指定方",
  36273. "type": "string"
  36274. },
  36275. "minivalue": {
  36276. "description": "现货商品最小变动值",
  36277. "type": "integer"
  36278. },
  36279. "optioncompare": {
  36280. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36281. "type": "string"
  36282. },
  36283. "orderqty": {
  36284. "description": "委托数量",
  36285. "type": "number"
  36286. },
  36287. "ordertime": {
  36288. "description": "委托时间",
  36289. "type": "string"
  36290. },
  36291. "pricemove": {
  36292. "description": "升贴水(浮动价时填写) - [挂牌]",
  36293. "type": "number"
  36294. },
  36295. "tradedate": {
  36296. "description": "交易日(yyyyMMdd)",
  36297. "type": "string"
  36298. },
  36299. "tradeprice": {
  36300. "description": "成交价格",
  36301. "type": "number"
  36302. },
  36303. "tradeqty": {
  36304. "description": "成交数量",
  36305. "type": "number"
  36306. },
  36307. "userid": {
  36308. "description": "用户ID",
  36309. "type": "integer"
  36310. },
  36311. "username": {
  36312. "description": "发起方",
  36313. "type": "string"
  36314. },
  36315. "warehouseid": {
  36316. "description": "仓库ID",
  36317. "type": "integer"
  36318. },
  36319. "warehousename": {
  36320. "description": "仓库名称",
  36321. "type": "string"
  36322. },
  36323. "wrfactortypeid": {
  36324. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36325. "type": "string"
  36326. },
  36327. "wrfactortypename": {
  36328. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36329. "type": "string"
  36330. },
  36331. "wrpricetype": {
  36332. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  36333. "type": "integer"
  36334. },
  36335. "wrstandardcode": {
  36336. "description": "现货商品代码",
  36337. "type": "string"
  36338. },
  36339. "wrstandardid": {
  36340. "description": "现货商品ID",
  36341. "type": "integer"
  36342. },
  36343. "wrstandardname": {
  36344. "description": "商品名称",
  36345. "type": "string"
  36346. },
  36347. "wrtradeorderid": {
  36348. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36349. "type": "string"
  36350. },
  36351. "wrtradeorderstatus": {
  36352. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  36353. "type": "integer"
  36354. },
  36355. "wrtradetype": {
  36356. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36357. "type": "integer"
  36358. },
  36359. "wrtypename": {
  36360. "description": "商品",
  36361. "type": "string"
  36362. }
  36363. }
  36364. },
  36365. "models.WrSpotGroupTradeSum": {
  36366. "type": "object",
  36367. "properties": {
  36368. "deliverygoodscode": {
  36369. "description": "现货品种代码",
  36370. "type": "string"
  36371. },
  36372. "deliverygoodsid": {
  36373. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  36374. "type": "integer"
  36375. },
  36376. "deliverygoodsname": {
  36377. "description": "现货品种名称",
  36378. "type": "string"
  36379. },
  36380. "lastavgprice": {
  36381. "description": "上上个交易日价格(前2天价格)",
  36382. "type": "string"
  36383. },
  36384. "lastreckondate": {
  36385. "description": "上上个交易日(前2天交易日)",
  36386. "type": "string"
  36387. },
  36388. "reckondate": {
  36389. "description": "上个交易日(前1天交易日)",
  36390. "type": "string"
  36391. },
  36392. "todayavgprice": {
  36393. "description": "上个交易日价格(前1天价格)",
  36394. "type": "string"
  36395. },
  36396. "updown": {
  36397. "description": "涨跌",
  36398. "type": "string"
  36399. },
  36400. "updownratio": {
  36401. "description": "涨幅(已格式化, 直接显示即可)",
  36402. "type": "string"
  36403. }
  36404. }
  36405. },
  36406. "models.WrSpotGroupTradeSumDetail": {
  36407. "type": "object",
  36408. "properties": {
  36409. "deliverygoodsid": {
  36410. "description": "现货商品id",
  36411. "type": "integer"
  36412. },
  36413. "price": {
  36414. "description": "价格",
  36415. "type": "number"
  36416. },
  36417. "reckondate": {
  36418. "description": "日期(yyymmdd, 如:20211031)",
  36419. "type": "string"
  36420. }
  36421. }
  36422. },
  36423. "models.WrSpotGroupTradeSumEx": {
  36424. "type": "object",
  36425. "properties": {
  36426. "lst": {
  36427. "description": "指数列表",
  36428. "type": "array",
  36429. "items": {
  36430. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  36431. }
  36432. },
  36433. "prereckondate": {
  36434. "description": "上上个交易日(yyymmdd)",
  36435. "type": "string"
  36436. },
  36437. "reckondate": {
  36438. "description": "上个交易日(yyyymmdd)",
  36439. "type": "string"
  36440. }
  36441. }
  36442. },
  36443. "models.WrStandardFactoryItem": {
  36444. "type": "object",
  36445. "properties": {
  36446. "dgfactoryitemid": {
  36447. "description": "选择项id",
  36448. "type": "integer"
  36449. },
  36450. "dgfactoryitemvalue": {
  36451. "description": "要素项值",
  36452. "type": "string"
  36453. },
  36454. "warehouseid": {
  36455. "description": "仓库id",
  36456. "type": "integer"
  36457. }
  36458. }
  36459. },
  36460. "models.WrStandardFactoryItemEx": {
  36461. "type": "object",
  36462. "properties": {
  36463. "dgfactoryitemtypeid": {
  36464. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  36465. "type": "integer"
  36466. },
  36467. "itemlst": {
  36468. "description": "要素项列表",
  36469. "type": "array",
  36470. "items": {
  36471. "$ref": "#/definitions/models.WrStandardFactoryItem"
  36472. }
  36473. },
  36474. "itemtypename": {
  36475. "description": "要素项类型名称",
  36476. "type": "string"
  36477. },
  36478. "wrstandardid": {
  36479. "description": "品类",
  36480. "type": "integer"
  36481. }
  36482. }
  36483. },
  36484. "models.WrTradeDetail": {
  36485. "type": "object",
  36486. "properties": {
  36487. "accountid": {
  36488. "description": "资金账号",
  36489. "type": "integer"
  36490. },
  36491. "buyorsell": {
  36492. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36493. "type": "integer"
  36494. },
  36495. "chargevalue": {
  36496. "description": "手续费",
  36497. "type": "number"
  36498. },
  36499. "deliverygoodscode": {
  36500. "description": "品种代码",
  36501. "type": "string"
  36502. },
  36503. "deliverygoodsid": {
  36504. "description": "品种ID",
  36505. "type": "integer"
  36506. },
  36507. "deliverygoodsname": {
  36508. "description": "品种名称",
  36509. "type": "string"
  36510. },
  36511. "deliverymonth": {
  36512. "description": "交收月",
  36513. "type": "string"
  36514. },
  36515. "enumdicname": {
  36516. "description": "单位名称",
  36517. "type": "string"
  36518. },
  36519. "haswr": {
  36520. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36521. "type": "integer"
  36522. },
  36523. "marketid": {
  36524. "description": "市场ID",
  36525. "type": "integer"
  36526. },
  36527. "matchaccountid": {
  36528. "description": "对手账号",
  36529. "type": "integer"
  36530. },
  36531. "matchusername": {
  36532. "description": "对手方",
  36533. "type": "string"
  36534. },
  36535. "minivalue": {
  36536. "description": "现货商品最小变动值",
  36537. "type": "integer"
  36538. },
  36539. "optioncompare": {
  36540. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36541. "type": "string"
  36542. },
  36543. "tradedate": {
  36544. "description": "交易日(yyyyMMdd)",
  36545. "type": "string"
  36546. },
  36547. "tradeprice": {
  36548. "description": "成交价格",
  36549. "type": "number"
  36550. },
  36551. "tradeqty": {
  36552. "description": "成交数量",
  36553. "type": "number"
  36554. },
  36555. "tradetime": {
  36556. "description": "成交时间",
  36557. "type": "string"
  36558. },
  36559. "userid": {
  36560. "description": "用户ID",
  36561. "type": "integer"
  36562. },
  36563. "warehouseid": {
  36564. "description": "仓库ID",
  36565. "type": "integer"
  36566. },
  36567. "warehousename": {
  36568. "description": "仓库名称",
  36569. "type": "string"
  36570. },
  36571. "wrfactortypeid": {
  36572. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36573. "type": "string"
  36574. },
  36575. "wrfactortypename": {
  36576. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36577. "type": "string"
  36578. },
  36579. "wrstandardcode": {
  36580. "description": "现货商品代码",
  36581. "type": "string"
  36582. },
  36583. "wrstandardid": {
  36584. "description": "现货商品ID",
  36585. "type": "integer"
  36586. },
  36587. "wrstandardname": {
  36588. "description": "商品名称",
  36589. "type": "string"
  36590. },
  36591. "wrtradedetailid": {
  36592. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  36593. "type": "string"
  36594. },
  36595. "wrtradetype": {
  36596. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36597. "type": "integer"
  36598. },
  36599. "wrtypename": {
  36600. "description": "商品",
  36601. "type": "string"
  36602. }
  36603. }
  36604. },
  36605. "models.WrTradeOrderDetail": {
  36606. "type": "object",
  36607. "properties": {
  36608. "buyorsell": {
  36609. "description": "买卖方向 0-买 1-卖",
  36610. "type": "integer"
  36611. },
  36612. "goodsid": {
  36613. "description": "商品id",
  36614. "type": "integer"
  36615. },
  36616. "orderid": {
  36617. "description": "委托单号",
  36618. "type": "string"
  36619. },
  36620. "orderprice": {
  36621. "description": "委托价格",
  36622. "type": "number"
  36623. },
  36624. "orderqty": {
  36625. "description": "委托数量",
  36626. "type": "integer"
  36627. },
  36628. "userid": {
  36629. "description": "用户id",
  36630. "type": "integer"
  36631. },
  36632. "username": {
  36633. "description": "用户名称(已脱敏)",
  36634. "type": "string"
  36635. }
  36636. }
  36637. },
  36638. "models.WrTypeItem": {
  36639. "type": "object",
  36640. "properties": {
  36641. "name": {
  36642. "description": "名称",
  36643. "type": "string"
  36644. },
  36645. "value": {
  36646. "description": "值",
  36647. "type": "string"
  36648. }
  36649. }
  36650. },
  36651. "models.WrUserFriend": {
  36652. "type": "object",
  36653. "properties": {
  36654. "friendname": {
  36655. "description": "朋友名称(已脱敏)",
  36656. "type": "string"
  36657. },
  36658. "frienduserid": {
  36659. "description": "朋友id",
  36660. "type": "integer"
  36661. },
  36662. "isfriend": {
  36663. "description": "是否好友 0-不是 1-是",
  36664. "type": "integer"
  36665. },
  36666. "userid": {
  36667. "description": "用户id",
  36668. "type": "integer"
  36669. }
  36670. }
  36671. },
  36672. "models.WrUserReceiptInfo": {
  36673. "type": "object",
  36674. "properties": {
  36675. "address": {
  36676. "description": "地址[发票类型:企业]",
  36677. "type": "string"
  36678. },
  36679. "autoid": {
  36680. "description": "AutoID",
  36681. "type": "integer"
  36682. },
  36683. "contactinfo": {
  36684. "description": "联系方式",
  36685. "type": "string"
  36686. },
  36687. "idnum": {
  36688. "description": "身份证号码[发票类型:个人]",
  36689. "type": "string"
  36690. },
  36691. "isdefault": {
  36692. "description": "是否默认地址 - 0:否 1:是",
  36693. "type": "integer"
  36694. },
  36695. "receiptaccount": {
  36696. "description": "发票帐号[发票类型:企业]",
  36697. "type": "string"
  36698. },
  36699. "receiptbank": {
  36700. "description": "发票开户行[发票类型:企业]",
  36701. "type": "string"
  36702. },
  36703. "receipttype": {
  36704. "description": "发票类型 - 1:个人 2:企业",
  36705. "type": "integer"
  36706. },
  36707. "taxpayerid": {
  36708. "description": "纳税人识别号",
  36709. "type": "string"
  36710. },
  36711. "userid": {
  36712. "description": "用户ID",
  36713. "type": "integer"
  36714. },
  36715. "username": {
  36716. "description": "户名(个人姓名或企业名称)",
  36717. "type": "string"
  36718. }
  36719. }
  36720. },
  36721. "models.XHBRAND": {
  36722. "type": "object",
  36723. "properties": {
  36724. "brandid": {
  36725. "description": "品牌id",
  36726. "type": "integer"
  36727. },
  36728. "brandname": {
  36729. "description": "品牌名称",
  36730. "type": "string"
  36731. },
  36732. "isvalid": {
  36733. "description": "是否有效 0-无效 1-有效",
  36734. "type": "integer"
  36735. }
  36736. }
  36737. },
  36738. "models.XHDeliveryGoods": {
  36739. "type": "object",
  36740. "properties": {
  36741. "areauserid": {
  36742. "description": "所属机构",
  36743. "type": "integer"
  36744. },
  36745. "bdlst": {
  36746. "description": "品牌列表",
  36747. "type": "array",
  36748. "items": {
  36749. "$ref": "#/definitions/models.XHBRAND"
  36750. }
  36751. },
  36752. "deliverygoodscode": {
  36753. "description": "现货品种代码",
  36754. "type": "string"
  36755. },
  36756. "deliverygoodsid": {
  36757. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  36758. "type": "integer"
  36759. },
  36760. "deliverygoodsname": {
  36761. "description": "现货品种名称",
  36762. "type": "string"
  36763. },
  36764. "dgstatus": {
  36765. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  36766. "type": "integer"
  36767. },
  36768. "isvalid": {
  36769. "description": "是否有效 - 0:无效 1:有效",
  36770. "type": "integer"
  36771. },
  36772. "remark": {
  36773. "description": "备注",
  36774. "type": "string"
  36775. },
  36776. "unitid": {
  36777. "description": "单位id(目前看,数据库中是空值)",
  36778. "type": "integer"
  36779. },
  36780. "wdlst": {
  36781. "description": "品类(现货商品)列表",
  36782. "type": "array",
  36783. "items": {
  36784. "$ref": "#/definitions/models.XHWrstandard"
  36785. }
  36786. }
  36787. }
  36788. },
  36789. "models.XHMiddleGoods": {
  36790. "type": "object",
  36791. "properties": {
  36792. "convertratio": {
  36793. "description": "拆算系数",
  36794. "type": "number"
  36795. },
  36796. "costratio": {
  36797. "description": "成本权重",
  36798. "type": "number"
  36799. },
  36800. "deliverygoodsid": {
  36801. "description": "现货商品id",
  36802. "type": "integer"
  36803. },
  36804. "enumdicname": {
  36805. "description": "单位名称",
  36806. "type": "string"
  36807. },
  36808. "gplst": {
  36809. "description": "期货品种列表",
  36810. "type": "array",
  36811. "items": {
  36812. "$ref": "#/definitions/models.TBGoodsGroup"
  36813. }
  36814. },
  36815. "middlegoodscode": {
  36816. "description": "套保品种代码",
  36817. "type": "string"
  36818. },
  36819. "middlegoodsid": {
  36820. "description": "套保品种id",
  36821. "type": "integer"
  36822. },
  36823. "middlegoodsname": {
  36824. "description": "套保品种名称",
  36825. "type": "string"
  36826. },
  36827. "unitid": {
  36828. "description": "单位id",
  36829. "type": "integer"
  36830. }
  36831. }
  36832. },
  36833. "models.XHWrstandard": {
  36834. "type": "object",
  36835. "properties": {
  36836. "deliverygoodsid": {
  36837. "description": "品种ID",
  36838. "type": "integer"
  36839. },
  36840. "enumdicname": {
  36841. "description": "单位名称",
  36842. "type": "string"
  36843. },
  36844. "mglst": {
  36845. "description": "套保品列表",
  36846. "type": "array",
  36847. "items": {
  36848. "$ref": "#/definitions/models.XHMiddleGoods"
  36849. }
  36850. },
  36851. "unitid": {
  36852. "description": "单位id",
  36853. "type": "integer"
  36854. },
  36855. "vatrate": {
  36856. "description": "增值税率",
  36857. "type": "number"
  36858. },
  36859. "wrstandardcode": {
  36860. "description": "现货商品代码",
  36861. "type": "string"
  36862. },
  36863. "wrstandardid": {
  36864. "description": "现货商品ID(SEQ_WRSTANDARD)",
  36865. "type": "integer"
  36866. },
  36867. "wrstandardname": {
  36868. "description": "现货商品名称",
  36869. "type": "string"
  36870. }
  36871. }
  36872. },
  36873. "order.QueryHisTradeDetailRsp": {
  36874. "type": "object",
  36875. "required": [
  36876. "accountid",
  36877. "buyorsell",
  36878. "goodsid",
  36879. "histradedate",
  36880. "marketid",
  36881. "memberuserid",
  36882. "orderid",
  36883. "tradeamount",
  36884. "tradedate",
  36885. "tradeid",
  36886. "tradeprice",
  36887. "tradeqty",
  36888. "tradetime"
  36889. ],
  36890. "properties": {
  36891. "accountid": {
  36892. "description": "账户ID[报价币种]",
  36893. "type": "integer"
  36894. },
  36895. "advanceratio": {
  36896. "description": "首付比率",
  36897. "type": "number"
  36898. },
  36899. "buildtype": {
  36900. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  36901. "type": "integer"
  36902. },
  36903. "buyorsell": {
  36904. "description": "方向 - 0:买 1:卖",
  36905. "type": "integer"
  36906. },
  36907. "charge": {
  36908. "description": "手续费",
  36909. "type": "number"
  36910. },
  36911. "closecharge": {
  36912. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36913. "type": "number"
  36914. },
  36915. "closeexchagechargevalue": {
  36916. "description": "平仓交易所手续费设置值",
  36917. "type": "number"
  36918. },
  36919. "closefeealgorithm": {
  36920. "description": "平仓手续费收取方式 1:比率 2:固定",
  36921. "type": "integer"
  36922. },
  36923. "closememberchargevalue": {
  36924. "description": "平仓会员手续费设置值",
  36925. "type": "number"
  36926. },
  36927. "closepl": {
  36928. "description": "平仓盈亏",
  36929. "type": "number"
  36930. },
  36931. "closepl2": {
  36932. "description": "平仓盈亏[逐笔]",
  36933. "type": "number"
  36934. },
  36935. "closeqty": {
  36936. "description": "平仓数量(先建后平操作 需要记录)",
  36937. "type": "number"
  36938. },
  36939. "creditamount": {
  36940. "description": "授信金额",
  36941. "type": "number"
  36942. },
  36943. "decimalplace": {
  36944. "description": "商品报价小数位",
  36945. "type": "integer"
  36946. },
  36947. "enumdicname": {
  36948. "description": "单位名称",
  36949. "type": "string"
  36950. },
  36951. "gcaccountid": {
  36952. "description": "账户ID[合约币种]",
  36953. "type": "integer"
  36954. },
  36955. "goodscode": {
  36956. "description": "商品代码",
  36957. "type": "string"
  36958. },
  36959. "goodsid": {
  36960. "description": "商品ID",
  36961. "type": "integer"
  36962. },
  36963. "goodsname": {
  36964. "description": "商品名称",
  36965. "type": "string"
  36966. },
  36967. "goodunitid": {
  36968. "description": "商品单位id",
  36969. "type": "integer"
  36970. },
  36971. "histradedate": {
  36972. "description": "历史交易日",
  36973. "type": "string"
  36974. },
  36975. "intclosepl": {
  36976. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  36977. "type": "integer"
  36978. },
  36979. "isconfirmexercise": {
  36980. "description": "是否确认行权- 0:否 1:是",
  36981. "type": "integer"
  36982. },
  36983. "ismain": {
  36984. "description": "是否主单 - 0:不是 1:是",
  36985. "type": "integer"
  36986. },
  36987. "ispreexercise": {
  36988. "description": "是否预申报- 0:否 1:是",
  36989. "type": "integer"
  36990. },
  36991. "isreckoned": {
  36992. "description": "是否结算 - 0:未结算 1:已结算",
  36993. "type": "integer"
  36994. },
  36995. "isvaliddata": {
  36996. "description": "是否有效 - 0:无效 1:有效",
  36997. "type": "integer"
  36998. },
  36999. "listingselecttype": {
  37000. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37001. "type": "integer"
  37002. },
  37003. "marketid": {
  37004. "description": "市场ID",
  37005. "type": "integer"
  37006. },
  37007. "marketname": {
  37008. "description": "市场名称",
  37009. "type": "string"
  37010. },
  37011. "matchaccountid": {
  37012. "description": "对手账号id",
  37013. "type": "integer"
  37014. },
  37015. "memberuserid": {
  37016. "description": "会员id 个人投资者 需要填写",
  37017. "type": "integer"
  37018. },
  37019. "opencharge": {
  37020. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37021. "type": "number"
  37022. },
  37023. "openexchagechargevalue": {
  37024. "description": "建仓交易所手续费设置值",
  37025. "type": "number"
  37026. },
  37027. "openfeealgorithm": {
  37028. "description": "建仓手续费收取方式 1:比率 2:固定",
  37029. "type": "integer"
  37030. },
  37031. "openmemberchargevalue": {
  37032. "description": "建仓会员手续费设置值",
  37033. "type": "number"
  37034. },
  37035. "openqty": {
  37036. "description": "开仓数量(先建后平操作 需要记录)",
  37037. "type": "number"
  37038. },
  37039. "optiontype": {
  37040. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37041. "type": "integer"
  37042. },
  37043. "orderid": {
  37044. "description": "委托单号",
  37045. "type": "string"
  37046. },
  37047. "payamount": {
  37048. "description": "支付金额(付款金额)",
  37049. "type": "number"
  37050. },
  37051. "performanceplanid": {
  37052. "description": "履约计划ID[期权]",
  37053. "type": "integer"
  37054. },
  37055. "performancestatus": {
  37056. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  37057. "type": "integer"
  37058. },
  37059. "preexerciseprice": {
  37060. "description": "预申报价格",
  37061. "type": "number"
  37062. },
  37063. "premium": {
  37064. "description": "权利金 - [持仓单的权利金]",
  37065. "type": "number"
  37066. },
  37067. "qtydecimalplace": {
  37068. "description": "商品报价小数位",
  37069. "type": "integer"
  37070. },
  37071. "recvamount": {
  37072. "description": "到账金额 = 成交金额 - 手续费",
  37073. "type": "number"
  37074. },
  37075. "relatedouttradeid": {
  37076. "description": "关联外部成交单ID",
  37077. "type": "integer"
  37078. },
  37079. "status": {
  37080. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  37081. "type": "integer"
  37082. },
  37083. "totalamount": {
  37084. "description": "订单总额 = 成交金额 + 手续费",
  37085. "type": "number"
  37086. },
  37087. "tradeamount": {
  37088. "description": "成交金额[账户币种,用于所有权]",
  37089. "type": "number"
  37090. },
  37091. "tradedate": {
  37092. "description": "交易日(yyyyMMdd)",
  37093. "type": "string"
  37094. },
  37095. "tradeid": {
  37096. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37097. "type": "string"
  37098. },
  37099. "trademode": {
  37100. "description": "交易模式",
  37101. "type": "integer"
  37102. },
  37103. "tradeprice": {
  37104. "description": "成交价格",
  37105. "type": "number"
  37106. },
  37107. "tradeproperty": {
  37108. "description": "交易属性",
  37109. "type": "integer"
  37110. },
  37111. "tradeqty": {
  37112. "description": "成交数量",
  37113. "type": "number"
  37114. },
  37115. "tradetime": {
  37116. "description": "成交时间",
  37117. "type": "string"
  37118. },
  37119. "tradetype": {
  37120. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  37121. "type": "integer"
  37122. }
  37123. }
  37124. },
  37125. "order.QueryHisTradeOrderDetailRsp": {
  37126. "type": "object",
  37127. "required": [
  37128. "accountid",
  37129. "buildtype",
  37130. "buyorsell",
  37131. "goodsid",
  37132. "histradedate",
  37133. "marketid",
  37134. "memberuserid",
  37135. "operatetype",
  37136. "orderid",
  37137. "orderqty",
  37138. "ordertime",
  37139. "pricemode",
  37140. "tradedate",
  37141. "validtype"
  37142. ],
  37143. "properties": {
  37144. "accountid": {
  37145. "description": "账户ID[报价币种]",
  37146. "type": "integer"
  37147. },
  37148. "buildtype": {
  37149. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  37150. "type": "integer"
  37151. },
  37152. "buyorsell": {
  37153. "description": "买卖 - 0:买 1:卖",
  37154. "type": "integer"
  37155. },
  37156. "cancelorderid": {
  37157. "description": "撤单单号(撤单时填写)",
  37158. "type": "string"
  37159. },
  37160. "cancelqty": {
  37161. "description": "撤单数量",
  37162. "type": "number"
  37163. },
  37164. "clientordertime": {
  37165. "description": "客户端委托时间",
  37166. "type": "string"
  37167. },
  37168. "clientticket": {
  37169. "description": "客户端流水号",
  37170. "type": "string"
  37171. },
  37172. "clienttype": {
  37173. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  37174. "type": "integer"
  37175. },
  37176. "closeexchagechargevalue": {
  37177. "description": "平仓交易所手续费设置值",
  37178. "type": "number"
  37179. },
  37180. "closefeealgorithm": {
  37181. "description": "平仓手续费收取方式 1:比率 2:固定",
  37182. "type": "integer"
  37183. },
  37184. "closefreezecharge": {
  37185. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  37186. "type": "number"
  37187. },
  37188. "closememberchargevalue": {
  37189. "description": "平仓会员手续费设置值",
  37190. "type": "number"
  37191. },
  37192. "closeqty": {
  37193. "description": "平仓数量(先建后平操作 需要记录)",
  37194. "type": "number"
  37195. },
  37196. "closetradeqty": {
  37197. "description": "平仓成交数量(先建后平操作,需要记录)",
  37198. "type": "number"
  37199. },
  37200. "closeunfreezecharge": {
  37201. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  37202. "type": "number"
  37203. },
  37204. "decimalplace": {
  37205. "description": "商品报价小数位",
  37206. "type": "integer"
  37207. },
  37208. "delistingtype": {
  37209. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  37210. "type": "integer"
  37211. },
  37212. "enumdicname": {
  37213. "description": "单位名称",
  37214. "type": "string"
  37215. },
  37216. "freezecharge": {
  37217. "description": "冻结手续费",
  37218. "type": "number"
  37219. },
  37220. "freezemargin": {
  37221. "description": "冻结保证金(冻结交易金额)",
  37222. "type": "number"
  37223. },
  37224. "gcaccountid": {
  37225. "description": "账户ID[合约币种]",
  37226. "type": "integer"
  37227. },
  37228. "goodscode": {
  37229. "description": "商品代码",
  37230. "type": "string"
  37231. },
  37232. "goodsid": {
  37233. "description": "商品ID",
  37234. "type": "integer"
  37235. },
  37236. "goodsname": {
  37237. "description": "商品名称",
  37238. "type": "string"
  37239. },
  37240. "goodunitid": {
  37241. "description": "商品单位id",
  37242. "type": "integer"
  37243. },
  37244. "histradedate": {
  37245. "description": "历史交易日",
  37246. "type": "string"
  37247. },
  37248. "isconfirmexercise": {
  37249. "description": "是否确认行权- 0:否 1:是",
  37250. "type": "integer"
  37251. },
  37252. "ispreexercise": {
  37253. "description": "是否预申报- 0:否 1:是",
  37254. "type": "integer"
  37255. },
  37256. "isvaliddata": {
  37257. "description": "是否有效 - 0:无效 1:有效",
  37258. "type": "integer"
  37259. },
  37260. "listingselecttype": {
  37261. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37262. "type": "integer"
  37263. },
  37264. "marginalgorithm": {
  37265. "description": "保证金收取方式 1:比率 2:固定",
  37266. "type": "integer"
  37267. },
  37268. "marginvalue": {
  37269. "description": "即市保证金设置值",
  37270. "type": "number"
  37271. },
  37272. "marketid": {
  37273. "description": "市场ID",
  37274. "type": "integer"
  37275. },
  37276. "marketmaxsub": {
  37277. "description": "市价最大偏移范围",
  37278. "type": "number"
  37279. },
  37280. "marketname": {
  37281. "description": "市场名称",
  37282. "type": "string"
  37283. },
  37284. "memberuserid": {
  37285. "description": "所属会员UserID",
  37286. "type": "integer"
  37287. },
  37288. "openexchagechargevalue": {
  37289. "description": "建仓交易所手续费设置值",
  37290. "type": "number"
  37291. },
  37292. "openfeealgorithm": {
  37293. "description": "建仓手续费收取方式 1:比率 2:固定",
  37294. "type": "integer"
  37295. },
  37296. "openfreezecharge": {
  37297. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  37298. "type": "number"
  37299. },
  37300. "openmemberchargevalue": {
  37301. "description": "建仓会员手续费设置值",
  37302. "type": "number"
  37303. },
  37304. "openqty": {
  37305. "description": "开仓数量(先建后平操作,需要记录)",
  37306. "type": "number"
  37307. },
  37308. "opentradeqty": {
  37309. "description": "开仓成交数量(先建后平操作,需要记录)",
  37310. "type": "number"
  37311. },
  37312. "openunfreezecharge": {
  37313. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  37314. "type": "number"
  37315. },
  37316. "operatetype": {
  37317. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  37318. "type": "integer"
  37319. },
  37320. "operatorid": {
  37321. "description": "登录账号(LoginID)",
  37322. "type": "integer"
  37323. },
  37324. "optiontype": {
  37325. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37326. "type": "integer"
  37327. },
  37328. "orderid": {
  37329. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37330. "type": "string"
  37331. },
  37332. "orderprice": {
  37333. "description": "委托价格",
  37334. "type": "number"
  37335. },
  37336. "orderqty": {
  37337. "description": "委托数量",
  37338. "type": "number"
  37339. },
  37340. "ordersrc": {
  37341. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  37342. "type": "integer"
  37343. },
  37344. "orderstatus": {
  37345. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  37346. "type": "integer"
  37347. },
  37348. "ordertime": {
  37349. "description": "委托时间",
  37350. "type": "string"
  37351. },
  37352. "preexerciseprice": {
  37353. "description": "预申报价格",
  37354. "type": "number"
  37355. },
  37356. "premium": {
  37357. "description": "权利金",
  37358. "type": "number"
  37359. },
  37360. "preorderid": {
  37361. "description": "关联预埋单号(止盈止损单时填写)",
  37362. "type": "string"
  37363. },
  37364. "pricemode": {
  37365. "description": "取价方式 - 1:市价 2: 限价",
  37366. "type": "integer"
  37367. },
  37368. "qtydecimalplace": {
  37369. "description": "成交量小数位",
  37370. "type": "integer"
  37371. },
  37372. "quoteid": {
  37373. "description": "报价单ID",
  37374. "type": "integer"
  37375. },
  37376. "relatedid": {
  37377. "description": "关联单号(交割单)",
  37378. "type": "string"
  37379. },
  37380. "retcode": {
  37381. "description": "错误代码",
  37382. "type": "integer"
  37383. },
  37384. "sessionid": {
  37385. "description": "会话ID",
  37386. "type": "integer"
  37387. },
  37388. "tradedate": {
  37389. "description": "交易日(yyyyMMdd)",
  37390. "type": "string"
  37391. },
  37392. "trademode": {
  37393. "description": "交易模式",
  37394. "type": "integer"
  37395. },
  37396. "tradeproperty": {
  37397. "description": "交易属性",
  37398. "type": "integer"
  37399. },
  37400. "tradeqty": {
  37401. "description": "成交数量",
  37402. "type": "number"
  37403. },
  37404. "unfreezecharge": {
  37405. "description": "解冻手续费",
  37406. "type": "number"
  37407. },
  37408. "unfreezemargin": {
  37409. "description": "解冻保证金",
  37410. "type": "number"
  37411. },
  37412. "updatetime": {
  37413. "description": "更新时间",
  37414. "type": "string"
  37415. },
  37416. "uuid": {
  37417. "description": "发起端唯一id",
  37418. "type": "string"
  37419. },
  37420. "validtime": {
  37421. "description": "有效期限",
  37422. "type": "string"
  37423. },
  37424. "validtype": {
  37425. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  37426. "type": "integer"
  37427. },
  37428. "volumetype": {
  37429. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  37430. "type": "integer"
  37431. }
  37432. }
  37433. },
  37434. "order.QueryTradeDetailRsp": {
  37435. "type": "object",
  37436. "required": [
  37437. "accountid",
  37438. "buyorsell",
  37439. "goodsid",
  37440. "marketid",
  37441. "memberuserid",
  37442. "orderid",
  37443. "tradeamount",
  37444. "tradedate",
  37445. "tradeid",
  37446. "tradeprice",
  37447. "tradeqty",
  37448. "tradetime"
  37449. ],
  37450. "properties": {
  37451. "accountid": {
  37452. "description": "账户ID[报价币种]",
  37453. "type": "integer"
  37454. },
  37455. "advanceratio": {
  37456. "description": "首付比率",
  37457. "type": "number"
  37458. },
  37459. "buildtype": {
  37460. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  37461. "type": "integer"
  37462. },
  37463. "buyorsell": {
  37464. "description": "方向 - 0:买 1:卖",
  37465. "type": "integer"
  37466. },
  37467. "charge": {
  37468. "description": "手续费",
  37469. "type": "number"
  37470. },
  37471. "closecharge": {
  37472. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37473. "type": "number"
  37474. },
  37475. "closeexchagechargevalue": {
  37476. "description": "平仓交易所手续费设置值",
  37477. "type": "number"
  37478. },
  37479. "closefeealgorithm": {
  37480. "description": "平仓手续费收取方式 1:比率 2:固定",
  37481. "type": "integer"
  37482. },
  37483. "closememberchargevalue": {
  37484. "description": "平仓会员手续费设置值",
  37485. "type": "number"
  37486. },
  37487. "closepl": {
  37488. "description": "平仓盈亏",
  37489. "type": "number"
  37490. },
  37491. "closepl2": {
  37492. "description": "平仓盈亏[逐笔]",
  37493. "type": "number"
  37494. },
  37495. "closeqty": {
  37496. "description": "平仓数量(先建后平操作 需要记录)",
  37497. "type": "number"
  37498. },
  37499. "creditamount": {
  37500. "description": "授信金额",
  37501. "type": "number"
  37502. },
  37503. "decimalplace": {
  37504. "description": "商品报价小数位",
  37505. "type": "integer"
  37506. },
  37507. "enumdicname": {
  37508. "description": "单位名称",
  37509. "type": "string"
  37510. },
  37511. "gcaccountid": {
  37512. "description": "账户ID[合约币种]",
  37513. "type": "integer"
  37514. },
  37515. "goodscode": {
  37516. "description": "商品代码",
  37517. "type": "string"
  37518. },
  37519. "goodsid": {
  37520. "description": "商品ID",
  37521. "type": "integer"
  37522. },
  37523. "goodsname": {
  37524. "description": "商品名称",
  37525. "type": "string"
  37526. },
  37527. "goodunitid": {
  37528. "description": "商品单位id",
  37529. "type": "integer"
  37530. },
  37531. "intclosepl": {
  37532. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  37533. "type": "integer"
  37534. },
  37535. "isconfirmexercise": {
  37536. "description": "是否确认行权- 0:否 1:是",
  37537. "type": "integer"
  37538. },
  37539. "ismain": {
  37540. "description": "是否主单 - 0:不是 1:是",
  37541. "type": "integer"
  37542. },
  37543. "ispreexercise": {
  37544. "description": "是否预申报- 0:否 1:是",
  37545. "type": "integer"
  37546. },
  37547. "isreckoned": {
  37548. "description": "是否结算 - 0:未结算 1:已结算",
  37549. "type": "integer"
  37550. },
  37551. "listingselecttype": {
  37552. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37553. "type": "integer"
  37554. },
  37555. "marketid": {
  37556. "description": "市场ID",
  37557. "type": "integer"
  37558. },
  37559. "marketname": {
  37560. "description": "市场名称",
  37561. "type": "string"
  37562. },
  37563. "matchaccountid": {
  37564. "description": "对手账号id",
  37565. "type": "integer"
  37566. },
  37567. "memberuserid": {
  37568. "description": "会员id 个人投资者 需要填写",
  37569. "type": "integer"
  37570. },
  37571. "opencharge": {
  37572. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37573. "type": "number"
  37574. },
  37575. "openexchagechargevalue": {
  37576. "description": "建仓交易所手续费设置值",
  37577. "type": "number"
  37578. },
  37579. "openfeealgorithm": {
  37580. "description": "建仓手续费收取方式 1:比率 2:固定",
  37581. "type": "integer"
  37582. },
  37583. "openmemberchargevalue": {
  37584. "description": "建仓会员手续费设置值",
  37585. "type": "number"
  37586. },
  37587. "openqty": {
  37588. "description": "开仓数量(先建后平操作 需要记录)",
  37589. "type": "number"
  37590. },
  37591. "optiontype": {
  37592. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37593. "type": "integer"
  37594. },
  37595. "orderid": {
  37596. "description": "委托单号",
  37597. "type": "string"
  37598. },
  37599. "payamount": {
  37600. "description": "支付金额(付款金额)",
  37601. "type": "number"
  37602. },
  37603. "performanceplanid": {
  37604. "description": "履约计划ID[期权]",
  37605. "type": "integer"
  37606. },
  37607. "performancestatus": {
  37608. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  37609. "type": "integer"
  37610. },
  37611. "preexerciseprice": {
  37612. "description": "预申报价格",
  37613. "type": "number"
  37614. },
  37615. "premium": {
  37616. "description": "权利金 - [持仓单的权利金]",
  37617. "type": "number"
  37618. },
  37619. "qtydecimalplace": {
  37620. "description": "商品报价小数位",
  37621. "type": "integer"
  37622. },
  37623. "recvamount": {
  37624. "description": "到账金额 = 成交金额 - 手续费",
  37625. "type": "number"
  37626. },
  37627. "relatedouttradeid": {
  37628. "description": "关联外部成交单ID",
  37629. "type": "integer"
  37630. },
  37631. "status": {
  37632. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  37633. "type": "integer"
  37634. },
  37635. "totalamount": {
  37636. "description": "订单总额 = 成交金额 + 手续费",
  37637. "type": "number"
  37638. },
  37639. "tradeamount": {
  37640. "description": "成交金额[账户币种,用于所有权]",
  37641. "type": "number"
  37642. },
  37643. "tradedate": {
  37644. "description": "交易日(yyyyMMdd)",
  37645. "type": "string"
  37646. },
  37647. "tradeid": {
  37648. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37649. "type": "string"
  37650. },
  37651. "trademode": {
  37652. "description": "交易模式",
  37653. "type": "integer"
  37654. },
  37655. "tradeprice": {
  37656. "description": "成交价格",
  37657. "type": "number"
  37658. },
  37659. "tradeproperty": {
  37660. "description": "交易属性",
  37661. "type": "integer"
  37662. },
  37663. "tradeqty": {
  37664. "description": "成交数量",
  37665. "type": "number"
  37666. },
  37667. "tradetime": {
  37668. "description": "成交时间",
  37669. "type": "string"
  37670. },
  37671. "tradetype": {
  37672. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  37673. "type": "integer"
  37674. }
  37675. }
  37676. },
  37677. "order.QueryTradeOrderDetailRsp": {
  37678. "type": "object",
  37679. "required": [
  37680. "accountid",
  37681. "buildtype",
  37682. "buyorsell",
  37683. "goodsid",
  37684. "marketid",
  37685. "operatetype",
  37686. "orderqty",
  37687. "ordertime",
  37688. "pricemode",
  37689. "tradedate",
  37690. "validtype"
  37691. ],
  37692. "properties": {
  37693. "accountid": {
  37694. "description": "账户ID[报价币种]",
  37695. "type": "integer"
  37696. },
  37697. "buildtype": {
  37698. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  37699. "type": "integer"
  37700. },
  37701. "buyorsell": {
  37702. "description": "买卖 - 0:买 1:卖",
  37703. "type": "integer"
  37704. },
  37705. "cancelorderid": {
  37706. "description": "撤单单号(撤单时填写)",
  37707. "type": "string"
  37708. },
  37709. "cancelqty": {
  37710. "description": "撤单数量",
  37711. "type": "number"
  37712. },
  37713. "clienttype": {
  37714. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  37715. "type": "integer"
  37716. },
  37717. "closefreezecharge": {
  37718. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  37719. "type": "number"
  37720. },
  37721. "closeqty": {
  37722. "description": "平仓数量(先建后平操作 需要记录)",
  37723. "type": "number"
  37724. },
  37725. "closetradeqty": {
  37726. "description": "平仓成交数量(先建后平操作,需要记录)",
  37727. "type": "number"
  37728. },
  37729. "closeunfreezecharge": {
  37730. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  37731. "type": "number"
  37732. },
  37733. "decimalplace": {
  37734. "description": "商品报价小数位",
  37735. "type": "integer"
  37736. },
  37737. "delistingtype": {
  37738. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  37739. "type": "integer"
  37740. },
  37741. "enableqty": {
  37742. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  37743. "type": "number"
  37744. },
  37745. "enumdicname": {
  37746. "description": "单位名称",
  37747. "type": "string"
  37748. },
  37749. "freezecharge": {
  37750. "description": "冻结手续费",
  37751. "type": "number"
  37752. },
  37753. "freezemargin": {
  37754. "description": "冻结保证金(冻结交易金额)",
  37755. "type": "number"
  37756. },
  37757. "goodscode": {
  37758. "description": "商品代码",
  37759. "type": "string"
  37760. },
  37761. "goodsid": {
  37762. "description": "商品ID",
  37763. "type": "integer"
  37764. },
  37765. "goodsname": {
  37766. "description": "商品名称",
  37767. "type": "string"
  37768. },
  37769. "goodunitid": {
  37770. "description": "商品单位id",
  37771. "type": "integer"
  37772. },
  37773. "listingselecttype": {
  37774. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37775. "type": "integer"
  37776. },
  37777. "marketid": {
  37778. "description": "市场ID",
  37779. "type": "integer"
  37780. },
  37781. "marketname": {
  37782. "description": "市场名称",
  37783. "type": "string"
  37784. },
  37785. "openfreezecharge": {
  37786. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  37787. "type": "number"
  37788. },
  37789. "openqty": {
  37790. "description": "开仓数量(先建后平操作,需要记录)",
  37791. "type": "number"
  37792. },
  37793. "opentradeqty": {
  37794. "description": "开仓成交数量(先建后平操作,需要记录)",
  37795. "type": "number"
  37796. },
  37797. "openunfreezecharge": {
  37798. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  37799. "type": "number"
  37800. },
  37801. "operatetype": {
  37802. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  37803. "type": "integer"
  37804. },
  37805. "operatorid": {
  37806. "description": "登录账号(LoginID)",
  37807. "type": "integer"
  37808. },
  37809. "orderid": {
  37810. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37811. "type": "string"
  37812. },
  37813. "orderprice": {
  37814. "description": "委托价格",
  37815. "type": "number"
  37816. },
  37817. "orderqty": {
  37818. "description": "委托数量",
  37819. "type": "number"
  37820. },
  37821. "ordersrc": {
  37822. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  37823. "type": "integer"
  37824. },
  37825. "orderstatus": {
  37826. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  37827. "type": "integer"
  37828. },
  37829. "ordertime": {
  37830. "description": "委托时间",
  37831. "type": "string"
  37832. },
  37833. "preorderid": {
  37834. "description": "关联预埋单号(止盈止损单时填写)",
  37835. "type": "string"
  37836. },
  37837. "pricemode": {
  37838. "description": "取价方式 - 1:市价 2: 限价",
  37839. "type": "integer"
  37840. },
  37841. "qtydecimalplace": {
  37842. "description": "商品报价小数位",
  37843. "type": "integer"
  37844. },
  37845. "relatedid": {
  37846. "description": "关联单号(交割单)",
  37847. "type": "string"
  37848. },
  37849. "tradedate": {
  37850. "description": "交易日(yyyyMMdd)",
  37851. "type": "string"
  37852. },
  37853. "trademode": {
  37854. "description": "交易模式",
  37855. "type": "integer"
  37856. },
  37857. "tradeqty": {
  37858. "description": "成交数量",
  37859. "type": "number"
  37860. },
  37861. "unfreezecharge": {
  37862. "description": "解冻手续费",
  37863. "type": "number"
  37864. },
  37865. "unfreezemargin": {
  37866. "description": "解冻保证金",
  37867. "type": "number"
  37868. },
  37869. "validtime": {
  37870. "description": "有效期限",
  37871. "type": "string"
  37872. },
  37873. "validtype": {
  37874. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  37875. "type": "integer"
  37876. },
  37877. "volumetype": {
  37878. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  37879. "type": "integer"
  37880. }
  37881. }
  37882. },
  37883. "order.QueryTradePositionRsp": {
  37884. "type": "object",
  37885. "required": [
  37886. "goodsid"
  37887. ],
  37888. "properties": {
  37889. "accountid": {
  37890. "description": "资金账户",
  37891. "type": "integer"
  37892. },
  37893. "agreeunit": {
  37894. "description": "合约单位",
  37895. "type": "number"
  37896. },
  37897. "averageprice": {
  37898. "description": "持仓均价",
  37899. "type": "number"
  37900. },
  37901. "buyorsell": {
  37902. "description": "方向 - 0:买 1:卖",
  37903. "type": "integer"
  37904. },
  37905. "closetotalqty": {
  37906. "description": "平仓总数量",
  37907. "type": "number"
  37908. },
  37909. "curholderamount": {
  37910. "description": "当前持仓总金额[商品币种]",
  37911. "type": "number"
  37912. },
  37913. "curpositionqty": {
  37914. "description": "当前持仓总数量",
  37915. "type": "number"
  37916. },
  37917. "currencyid": {
  37918. "description": "报价货币ID",
  37919. "type": "integer"
  37920. },
  37921. "curtdposition": {
  37922. "description": "期末今日头寸",
  37923. "type": "number"
  37924. },
  37925. "decimalplace": {
  37926. "description": "报价小数位",
  37927. "type": "integer"
  37928. },
  37929. "enableqty": {
  37930. "description": "可用量",
  37931. "type": "number"
  37932. },
  37933. "fretdposition": {
  37934. "description": "冻结今日头寸",
  37935. "type": "number"
  37936. },
  37937. "frozenqty": {
  37938. "description": "持仓冻结数量",
  37939. "type": "number"
  37940. },
  37941. "goodscode": {
  37942. "description": "商品代码",
  37943. "type": "string"
  37944. },
  37945. "goodsid": {
  37946. "description": "商品Id",
  37947. "type": "integer"
  37948. },
  37949. "goodsname": {
  37950. "description": "商品名称",
  37951. "type": "string"
  37952. },
  37953. "goodunit": {
  37954. "description": "报价单位",
  37955. "type": "string"
  37956. },
  37957. "goodunitid": {
  37958. "description": "报价单位ID",
  37959. "type": "integer"
  37960. },
  37961. "holderamount": {
  37962. "description": "期初持仓总金额[商品币种]",
  37963. "type": "number"
  37964. },
  37965. "lastprice": {
  37966. "description": "最新价",
  37967. "type": "number"
  37968. },
  37969. "marketamount": {
  37970. "description": "市值",
  37971. "type": "number"
  37972. },
  37973. "marketid": {
  37974. "description": "所属市场ID",
  37975. "type": "integer"
  37976. },
  37977. "openreqqty": {
  37978. "description": "开仓申请数量(用于比较最大持仓数量)",
  37979. "type": "number"
  37980. },
  37981. "opentotalqty": {
  37982. "description": "开仓总数量",
  37983. "type": "number"
  37984. },
  37985. "otherfrozenqty": {
  37986. "description": "持仓其他冻结数量(交割冻结)",
  37987. "type": "number"
  37988. },
  37989. "positionpl": {
  37990. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  37991. "type": "number"
  37992. },
  37993. "positionplrate": {
  37994. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  37995. "type": "number"
  37996. },
  37997. "positionqty": {
  37998. "description": "期初持仓数量",
  37999. "type": "number"
  38000. },
  38001. "qtydecimalplace": {
  38002. "description": "成交量小数位",
  38003. "type": "integer"
  38004. },
  38005. "refgoodscode": {
  38006. "description": "参考商品代码",
  38007. "type": "string"
  38008. },
  38009. "refgoodsid": {
  38010. "description": "参考商品ID",
  38011. "type": "integer"
  38012. },
  38013. "tnqty": {
  38014. "description": "T+N冻结总量",
  38015. "type": "number"
  38016. },
  38017. "tnusedqty": {
  38018. "description": "T+N使用量(可以使用T+N的冻结数量)",
  38019. "type": "number"
  38020. },
  38021. "trademode": {
  38022. "description": "交易模式",
  38023. "type": "integer"
  38024. },
  38025. "tradeproperty": {
  38026. "description": "交易属性",
  38027. "type": "integer"
  38028. },
  38029. "usedmargin": {
  38030. "description": "占用保证金[商品币种]",
  38031. "type": "number"
  38032. }
  38033. }
  38034. },
  38035. "pb.GoodsMarginCfgStruct": {
  38036. "type": "object",
  38037. "properties": {
  38038. "CustomerTypeID": {
  38039. "description": "投资者客户类型",
  38040. "type": "integer"
  38041. },
  38042. "GoodsID": {
  38043. "description": "商品ID",
  38044. "type": "integer"
  38045. },
  38046. "IsDefault": {
  38047. "description": "是否默认标志位",
  38048. "type": "integer"
  38049. },
  38050. "LockMarginValue": {
  38051. "description": "锁仓保证金",
  38052. "type": "number"
  38053. },
  38054. "MarginAlgorithm": {
  38055. "description": "保证金计算方式",
  38056. "type": "integer"
  38057. },
  38058. "MarketMarginValue": {
  38059. "description": "即市保证金值",
  38060. "type": "number"
  38061. },
  38062. "RealMarginAlgorithm": {
  38063. "description": "实付保证金计算方式",
  38064. "type": "integer"
  38065. },
  38066. "RealMarginValue": {
  38067. "description": "实付比例",
  38068. "type": "number"
  38069. },
  38070. "ReckonMarginValue": {
  38071. "description": "结算保证金值",
  38072. "type": "number"
  38073. }
  38074. }
  38075. },
  38076. "quote.HistoryData": {
  38077. "type": "object",
  38078. "properties": {
  38079. "c": {
  38080. "description": "收盘价",
  38081. "type": "number"
  38082. },
  38083. "f": {
  38084. "description": "是否补充数据",
  38085. "type": "boolean"
  38086. },
  38087. "h": {
  38088. "description": "最高价",
  38089. "type": "number"
  38090. },
  38091. "hv": {
  38092. "description": "持仓量",
  38093. "type": "integer"
  38094. },
  38095. "l": {
  38096. "description": "最低价",
  38097. "type": "number"
  38098. },
  38099. "o": {
  38100. "description": "开盘价",
  38101. "type": "number"
  38102. },
  38103. "s": {
  38104. "description": "结算价,日线周期(包括)以上才有",
  38105. "type": "number"
  38106. },
  38107. "ts": {
  38108. "description": "时间",
  38109. "type": "string"
  38110. },
  38111. "tt": {
  38112. "description": "总金额",
  38113. "type": "number"
  38114. },
  38115. "tv": {
  38116. "description": "总量(成交量)",
  38117. "type": "integer"
  38118. }
  38119. }
  38120. },
  38121. "quote.HistoryTikData": {
  38122. "type": "object",
  38123. "properties": {
  38124. "AV": {
  38125. "description": "卖量",
  38126. "type": "integer"
  38127. },
  38128. "Ask": {
  38129. "description": "卖价",
  38130. "type": "number"
  38131. },
  38132. "BV": {
  38133. "description": "买量",
  38134. "type": "integer"
  38135. },
  38136. "Bid": {
  38137. "description": "买价",
  38138. "type": "number"
  38139. },
  38140. "HI": {
  38141. "description": "单笔持仓",
  38142. "type": "integer"
  38143. },
  38144. "HV": {
  38145. "description": "持仓量",
  38146. "type": "integer"
  38147. },
  38148. "PE": {
  38149. "description": "现价",
  38150. "type": "number"
  38151. },
  38152. "TDR": {
  38153. "description": "交易方向,0:买 1:卖",
  38154. "type": "integer"
  38155. },
  38156. "TK": {
  38157. "description": "交易类型",
  38158. "type": "integer"
  38159. },
  38160. "TS": {
  38161. "description": "行情时间文本",
  38162. "type": "string"
  38163. },
  38164. "TT": {
  38165. "description": "现金额",
  38166. "type": "number"
  38167. },
  38168. "Vol": {
  38169. "description": "现量",
  38170. "type": "integer"
  38171. }
  38172. }
  38173. },
  38174. "quote.QueryQuoteDayRsp": {
  38175. "type": "object",
  38176. "properties": {
  38177. "ask": {
  38178. "description": "卖1",
  38179. "type": "number"
  38180. },
  38181. "ask10": {
  38182. "description": "卖10",
  38183. "type": "number"
  38184. },
  38185. "ask2": {
  38186. "description": "卖2",
  38187. "type": "number"
  38188. },
  38189. "ask3": {
  38190. "description": "卖3",
  38191. "type": "number"
  38192. },
  38193. "ask4": {
  38194. "description": "卖4",
  38195. "type": "number"
  38196. },
  38197. "ask5": {
  38198. "description": "卖5",
  38199. "type": "number"
  38200. },
  38201. "ask6": {
  38202. "description": "卖6",
  38203. "type": "number"
  38204. },
  38205. "ask7": {
  38206. "description": "卖7",
  38207. "type": "number"
  38208. },
  38209. "ask8": {
  38210. "description": "卖8",
  38211. "type": "number"
  38212. },
  38213. "ask9": {
  38214. "description": "卖9",
  38215. "type": "number"
  38216. },
  38217. "askorderid": {
  38218. "description": "卖单号1",
  38219. "type": "integer"
  38220. },
  38221. "askorderid2": {
  38222. "description": "卖单号2",
  38223. "type": "integer"
  38224. },
  38225. "askorderid3": {
  38226. "description": "卖单号3",
  38227. "type": "integer"
  38228. },
  38229. "askorderid4": {
  38230. "description": "卖单号4",
  38231. "type": "integer"
  38232. },
  38233. "askorderid5": {
  38234. "description": "卖单号5",
  38235. "type": "integer"
  38236. },
  38237. "askordervolume": {
  38238. "description": "卖单量1",
  38239. "type": "integer"
  38240. },
  38241. "askordervolume10": {
  38242. "description": "卖单量10",
  38243. "type": "integer"
  38244. },
  38245. "askordervolume2": {
  38246. "description": "卖单量2",
  38247. "type": "integer"
  38248. },
  38249. "askordervolume3": {
  38250. "description": "卖单量3",
  38251. "type": "integer"
  38252. },
  38253. "askordervolume4": {
  38254. "description": "卖单量4",
  38255. "type": "integer"
  38256. },
  38257. "askordervolume5": {
  38258. "description": "卖单量5",
  38259. "type": "integer"
  38260. },
  38261. "askordervolume6": {
  38262. "description": "卖单量6",
  38263. "type": "integer"
  38264. },
  38265. "askordervolume7": {
  38266. "description": "卖单量7",
  38267. "type": "integer"
  38268. },
  38269. "askordervolume8": {
  38270. "description": "卖单量8",
  38271. "type": "integer"
  38272. },
  38273. "askordervolume9": {
  38274. "description": "卖单量9",
  38275. "type": "integer"
  38276. },
  38277. "askqueueinfo": {
  38278. "description": "大利市卖港股用",
  38279. "type": "string"
  38280. },
  38281. "askvolume": {
  38282. "description": "卖量1",
  38283. "type": "integer"
  38284. },
  38285. "askvolume10": {
  38286. "description": "卖量10",
  38287. "type": "integer"
  38288. },
  38289. "askvolume2": {
  38290. "description": "卖量2",
  38291. "type": "integer"
  38292. },
  38293. "askvolume3": {
  38294. "description": "卖量3",
  38295. "type": "integer"
  38296. },
  38297. "askvolume4": {
  38298. "description": "卖量4",
  38299. "type": "integer"
  38300. },
  38301. "askvolume5": {
  38302. "description": "卖量5",
  38303. "type": "integer"
  38304. },
  38305. "askvolume6": {
  38306. "description": "卖量6",
  38307. "type": "integer"
  38308. },
  38309. "askvolume7": {
  38310. "description": "卖量7",
  38311. "type": "integer"
  38312. },
  38313. "askvolume8": {
  38314. "description": "卖量8",
  38315. "type": "integer"
  38316. },
  38317. "askvolume9": {
  38318. "description": "卖量9",
  38319. "type": "integer"
  38320. },
  38321. "averageprice": {
  38322. "description": "均价",
  38323. "type": "number"
  38324. },
  38325. "bid": {
  38326. "description": "买1",
  38327. "type": "number"
  38328. },
  38329. "bid10": {
  38330. "description": "买10",
  38331. "type": "number"
  38332. },
  38333. "bid2": {
  38334. "description": "买2",
  38335. "type": "number"
  38336. },
  38337. "bid3": {
  38338. "description": "买3",
  38339. "type": "number"
  38340. },
  38341. "bid4": {
  38342. "description": "买4",
  38343. "type": "number"
  38344. },
  38345. "bid5": {
  38346. "description": "买5",
  38347. "type": "number"
  38348. },
  38349. "bid6": {
  38350. "description": "买6",
  38351. "type": "number"
  38352. },
  38353. "bid7": {
  38354. "description": "买7",
  38355. "type": "number"
  38356. },
  38357. "bid8": {
  38358. "description": "买8",
  38359. "type": "number"
  38360. },
  38361. "bid9": {
  38362. "description": "买9",
  38363. "type": "number"
  38364. },
  38365. "bidorderid": {
  38366. "description": "买单号1",
  38367. "type": "integer"
  38368. },
  38369. "bidorderid2": {
  38370. "description": "买单号2",
  38371. "type": "integer"
  38372. },
  38373. "bidorderid3": {
  38374. "description": "买单号3",
  38375. "type": "integer"
  38376. },
  38377. "bidorderid4": {
  38378. "description": "买单号4",
  38379. "type": "integer"
  38380. },
  38381. "bidorderid5": {
  38382. "description": "买单号5",
  38383. "type": "integer"
  38384. },
  38385. "bidordervolume": {
  38386. "description": "买单量1",
  38387. "type": "integer"
  38388. },
  38389. "bidordervolume10": {
  38390. "description": "买单量10",
  38391. "type": "integer"
  38392. },
  38393. "bidordervolume2": {
  38394. "description": "买单量2",
  38395. "type": "integer"
  38396. },
  38397. "bidordervolume3": {
  38398. "description": "买单量3",
  38399. "type": "integer"
  38400. },
  38401. "bidordervolume4": {
  38402. "description": "买单量4",
  38403. "type": "integer"
  38404. },
  38405. "bidordervolume5": {
  38406. "description": "买单量5",
  38407. "type": "integer"
  38408. },
  38409. "bidordervolume6": {
  38410. "description": "买单量6",
  38411. "type": "integer"
  38412. },
  38413. "bidordervolume7": {
  38414. "description": "买单量7",
  38415. "type": "integer"
  38416. },
  38417. "bidordervolume8": {
  38418. "description": "买单量8",
  38419. "type": "integer"
  38420. },
  38421. "bidordervolume9": {
  38422. "description": "买单量9",
  38423. "type": "integer"
  38424. },
  38425. "bidqueueinfo": {
  38426. "description": "大利市买港股用",
  38427. "type": "string"
  38428. },
  38429. "bidvolume": {
  38430. "description": "买量1",
  38431. "type": "integer"
  38432. },
  38433. "bidvolume10": {
  38434. "description": "买量10",
  38435. "type": "integer"
  38436. },
  38437. "bidvolume2": {
  38438. "description": "买量2",
  38439. "type": "integer"
  38440. },
  38441. "bidvolume3": {
  38442. "description": "买量3",
  38443. "type": "integer"
  38444. },
  38445. "bidvolume4": {
  38446. "description": "买量4",
  38447. "type": "integer"
  38448. },
  38449. "bidvolume5": {
  38450. "description": "买量5",
  38451. "type": "integer"
  38452. },
  38453. "bidvolume6": {
  38454. "description": "买量6",
  38455. "type": "integer"
  38456. },
  38457. "bidvolume7": {
  38458. "description": "买量7",
  38459. "type": "integer"
  38460. },
  38461. "bidvolume8": {
  38462. "description": "买量8",
  38463. "type": "integer"
  38464. },
  38465. "bidvolume9": {
  38466. "description": "买量9",
  38467. "type": "integer"
  38468. },
  38469. "calloptionpremiums": {
  38470. "description": "认购期权1",
  38471. "type": "integer"
  38472. },
  38473. "calloptionpremiums2": {
  38474. "description": "认购期权2",
  38475. "type": "integer"
  38476. },
  38477. "calloptionpremiums3": {
  38478. "description": "认购期权3",
  38479. "type": "integer"
  38480. },
  38481. "calloptionpremiums4": {
  38482. "description": "认购期权4",
  38483. "type": "integer"
  38484. },
  38485. "calloptionpremiums5": {
  38486. "description": "认购期权5",
  38487. "type": "integer"
  38488. },
  38489. "cleartime": {
  38490. "description": "清盘时间",
  38491. "type": "integer"
  38492. },
  38493. "exchangecode": {
  38494. "description": "交易所代码",
  38495. "type": "integer"
  38496. },
  38497. "exchangedate": {
  38498. "description": "交易日",
  38499. "type": "integer"
  38500. },
  38501. "goodscode": {
  38502. "description": "商品代码",
  38503. "type": "string"
  38504. },
  38505. "grepmarketprice": {
  38506. "description": "暗盘价 港股专用",
  38507. "type": "number"
  38508. },
  38509. "highest": {
  38510. "description": "最高价",
  38511. "type": "number"
  38512. },
  38513. "holdincrement": {
  38514. "description": "单笔持仓",
  38515. "type": "integer"
  38516. },
  38517. "holdvolume": {
  38518. "description": "持仓",
  38519. "type": "integer"
  38520. },
  38521. "iep": {
  38522. "description": "平衡价 港股专用",
  38523. "type": "number"
  38524. },
  38525. "iev": {
  38526. "description": "平衡量 港股专用",
  38527. "type": "number"
  38528. },
  38529. "inventory": {
  38530. "description": "库存",
  38531. "type": "integer"
  38532. },
  38533. "iscleared": {
  38534. "description": "是否清盘标志",
  38535. "type": "integer"
  38536. },
  38537. "issettled": {
  38538. "description": "是否结算标志",
  38539. "type": "integer"
  38540. },
  38541. "last": {
  38542. "description": "最新价",
  38543. "type": "number"
  38544. },
  38545. "lastlot": {
  38546. "description": "最新成交手数",
  38547. "type": "integer"
  38548. },
  38549. "lasttime": {
  38550. "description": "行情时间(只有现价变化行情时间才变化)",
  38551. "type": "string"
  38552. },
  38553. "lastturnover": {
  38554. "description": "最新成交金额",
  38555. "type": "number"
  38556. },
  38557. "lastvolume": {
  38558. "description": "最新成交量",
  38559. "type": "integer"
  38560. },
  38561. "limitdown": {
  38562. "description": "跌停价",
  38563. "type": "number"
  38564. },
  38565. "limitup": {
  38566. "description": "涨停价",
  38567. "type": "number"
  38568. },
  38569. "lowest": {
  38570. "description": "最低价",
  38571. "type": "number"
  38572. },
  38573. "nontotalholdervolume": {
  38574. "description": "非交易持仓量",
  38575. "type": "integer"
  38576. },
  38577. "nontotallot": {
  38578. "description": "非交易总手数",
  38579. "type": "integer"
  38580. },
  38581. "nontotalturnover": {
  38582. "description": "非交易总金额",
  38583. "type": "integer"
  38584. },
  38585. "nontotalvolume": {
  38586. "description": "非交易总量",
  38587. "type": "integer"
  38588. },
  38589. "opened": {
  38590. "description": "开盘价",
  38591. "type": "number"
  38592. },
  38593. "opentime": {
  38594. "description": "开盘时间",
  38595. "type": "string"
  38596. },
  38597. "orderid": {
  38598. "description": "序号",
  38599. "type": "integer"
  38600. },
  38601. "preclose": {
  38602. "description": "昨收",
  38603. "type": "number"
  38604. },
  38605. "preholdvolume": {
  38606. "description": "昨持仓",
  38607. "type": "integer"
  38608. },
  38609. "presettle": {
  38610. "description": "昨结价",
  38611. "type": "number"
  38612. },
  38613. "publictradetype": {
  38614. "description": "公共交易标志类型 港股专用",
  38615. "type": "string"
  38616. },
  38617. "putoptionpremiums": {
  38618. "description": "认沽期权1",
  38619. "type": "integer"
  38620. },
  38621. "putoptionpremiums2": {
  38622. "description": "认沽期权2",
  38623. "type": "integer"
  38624. },
  38625. "putoptionpremiums3": {
  38626. "description": "认沽期权3",
  38627. "type": "integer"
  38628. },
  38629. "putoptionpremiums4": {
  38630. "description": "认沽期权4",
  38631. "type": "integer"
  38632. },
  38633. "putoptionpremiums5": {
  38634. "description": "认沽期权5",
  38635. "type": "integer"
  38636. },
  38637. "settle": {
  38638. "description": "结算价",
  38639. "type": "number"
  38640. },
  38641. "strikeprice": {
  38642. "description": "发行价",
  38643. "type": "number"
  38644. },
  38645. "totalaskvolume": {
  38646. "description": "内盘",
  38647. "type": "integer"
  38648. },
  38649. "totalbidvolume": {
  38650. "description": "外盘",
  38651. "type": "integer"
  38652. },
  38653. "totallot": {
  38654. "description": "总手数",
  38655. "type": "integer"
  38656. },
  38657. "totalturnover": {
  38658. "description": "总金额",
  38659. "type": "number"
  38660. },
  38661. "totalvolume": {
  38662. "description": "总量",
  38663. "type": "integer"
  38664. },
  38665. "utclasttime": {
  38666. "description": "utc的行情时间",
  38667. "type": "string"
  38668. }
  38669. }
  38670. },
  38671. "quote.QueryTSDataRsp": {
  38672. "type": "object",
  38673. "properties": {
  38674. "Count": {
  38675. "description": "交易日应有数据个数",
  38676. "type": "integer"
  38677. },
  38678. "decimalPlace": {
  38679. "description": "小数位",
  38680. "type": "integer"
  38681. },
  38682. "endTime": {
  38683. "description": "结束时间",
  38684. "type": "string"
  38685. },
  38686. "goodsCode": {
  38687. "description": "商品代码",
  38688. "type": "string"
  38689. },
  38690. "historyDatas": {
  38691. "description": "历史数据",
  38692. "type": "array",
  38693. "items": {
  38694. "$ref": "#/definitions/quote.HistoryData"
  38695. }
  38696. },
  38697. "outGoodsCode": {
  38698. "description": "外部商品代码",
  38699. "type": "string"
  38700. },
  38701. "preSettle": {
  38702. "description": "昨结价",
  38703. "type": "number"
  38704. },
  38705. "runSteps": {
  38706. "description": "交易日开休市计划",
  38707. "type": "array",
  38708. "items": {
  38709. "$ref": "#/definitions/quote.TSDataRunStep"
  38710. }
  38711. },
  38712. "startTime": {
  38713. "description": "开始时间",
  38714. "type": "string"
  38715. },
  38716. "tradeDate": {
  38717. "description": "交易日",
  38718. "type": "string"
  38719. }
  38720. }
  38721. },
  38722. "quote.TSDataRunStep": {
  38723. "type": "object",
  38724. "properties": {
  38725. "end": {
  38726. "description": "真实结束时间",
  38727. "type": "string"
  38728. },
  38729. "endflag": {
  38730. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  38731. "type": "integer"
  38732. },
  38733. "endtime": {
  38734. "description": "结束时间(HH:mm)",
  38735. "type": "string"
  38736. },
  38737. "endweekday": {
  38738. "description": "结束周几",
  38739. "type": "integer"
  38740. },
  38741. "groupid": {
  38742. "description": "分组ID",
  38743. "type": "integer"
  38744. },
  38745. "runstep": {
  38746. "description": "运行阶段 - 2:连续交易",
  38747. "type": "integer"
  38748. },
  38749. "sectionid": {
  38750. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  38751. "type": "integer"
  38752. },
  38753. "start": {
  38754. "description": "真实开始时间",
  38755. "type": "string"
  38756. },
  38757. "startflag": {
  38758. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  38759. "type": "integer"
  38760. },
  38761. "starttime": {
  38762. "description": "起始时间(HH:mm)",
  38763. "type": "string"
  38764. },
  38765. "startweekday": {
  38766. "description": "起始周几",
  38767. "type": "integer"
  38768. },
  38769. "tradeweekday": {
  38770. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  38771. "type": "integer"
  38772. }
  38773. }
  38774. },
  38775. "szdz.QueryConvertLogRsp": {
  38776. "type": "object",
  38777. "required": [
  38778. "logid"
  38779. ],
  38780. "properties": {
  38781. "accountid": {
  38782. "description": "资金账户ID",
  38783. "type": "integer"
  38784. },
  38785. "clientticket": {
  38786. "description": "客户端流水号",
  38787. "type": "string"
  38788. },
  38789. "converttype": {
  38790. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  38791. "type": "integer"
  38792. },
  38793. "createtime": {
  38794. "description": "记账时间",
  38795. "type": "string"
  38796. },
  38797. "daymaxvalue": {
  38798. "description": "配置当日最大转入限制",
  38799. "type": "number"
  38800. },
  38801. "daymaxvalue2": {
  38802. "description": "配置当日最大转入限制(转入)",
  38803. "type": "number"
  38804. },
  38805. "goodscode": {
  38806. "description": "商品代码",
  38807. "type": "string"
  38808. },
  38809. "goodsname": {
  38810. "description": "商品名称",
  38811. "type": "string"
  38812. },
  38813. "handlestatus": {
  38814. "description": "处理状态",
  38815. "type": "integer"
  38816. },
  38817. "innergoodsid": {
  38818. "description": "内部商品ID",
  38819. "type": "integer"
  38820. },
  38821. "inratio": {
  38822. "description": "配置转入比值",
  38823. "type": "integer"
  38824. },
  38825. "invalue": {
  38826. "description": "目标值",
  38827. "type": "number"
  38828. },
  38829. "logid": {
  38830. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38831. "type": "integer"
  38832. },
  38833. "mobile": {
  38834. "description": "手机号码(加密存储)",
  38835. "type": "string"
  38836. },
  38837. "outergoodscode": {
  38838. "description": "外部商品代码[JD\\PD]",
  38839. "type": "string"
  38840. },
  38841. "outratio": {
  38842. "description": "配置转出比值",
  38843. "type": "integer"
  38844. },
  38845. "outvalue": {
  38846. "description": "源值",
  38847. "type": "number"
  38848. },
  38849. "pddecimalplace": {
  38850. "description": "PD小数位",
  38851. "type": "integer"
  38852. },
  38853. "qty": {
  38854. "description": "数量",
  38855. "type": "string"
  38856. },
  38857. "remark": {
  38858. "description": "备注",
  38859. "type": "string"
  38860. },
  38861. "sessionid": {
  38862. "description": "会话ID",
  38863. "type": "integer"
  38864. },
  38865. "timemaxvalue": {
  38866. "description": "配置单次最大转入限制",
  38867. "type": "number"
  38868. },
  38869. "timemaxvalue2": {
  38870. "description": "配置单次最大转入限制(转入)",
  38871. "type": "number"
  38872. },
  38873. "timeminvalue": {
  38874. "description": "配置单次最小数量限制",
  38875. "type": "number"
  38876. },
  38877. "timeminvalue2": {
  38878. "description": "配置单次最小数量限制(转入)",
  38879. "type": "number"
  38880. },
  38881. "tradedate": {
  38882. "description": "交易日(yyyyMMdd)",
  38883. "type": "string"
  38884. },
  38885. "userid": {
  38886. "description": "用户ID",
  38887. "type": "integer"
  38888. }
  38889. }
  38890. },
  38891. "szdz.QueryGoodsPickupRsp": {
  38892. "type": "object",
  38893. "required": [
  38894. "takeorderid"
  38895. ],
  38896. "properties": {
  38897. "accountid": {
  38898. "description": "账户ID",
  38899. "type": "integer"
  38900. },
  38901. "address": {
  38902. "description": "提货人详细地址",
  38903. "type": "string"
  38904. },
  38905. "auditer": {
  38906. "description": "审核人",
  38907. "type": "integer"
  38908. },
  38909. "audittime": {
  38910. "description": "审核时间",
  38911. "type": "string"
  38912. },
  38913. "cardnum": {
  38914. "description": "提货人证件号码",
  38915. "type": "string"
  38916. },
  38917. "cardtypeid": {
  38918. "description": "提货人证件类型",
  38919. "type": "integer"
  38920. },
  38921. "checkremark": {
  38922. "description": "审核备注",
  38923. "type": "string"
  38924. },
  38925. "goodscode": {
  38926. "description": "商品代码",
  38927. "type": "string"
  38928. },
  38929. "goodsid": {
  38930. "description": "商品ID",
  38931. "type": "integer"
  38932. },
  38933. "goodsname": {
  38934. "description": "商品名称",
  38935. "type": "string"
  38936. },
  38937. "handlestatus": {
  38938. "description": "处理状态",
  38939. "type": "integer"
  38940. },
  38941. "marketid": {
  38942. "description": "市场ID",
  38943. "type": "integer"
  38944. },
  38945. "phonenum": {
  38946. "description": "提货人联系方式",
  38947. "type": "string"
  38948. },
  38949. "qty": {
  38950. "description": "提货数量",
  38951. "type": "number"
  38952. },
  38953. "recivername": {
  38954. "description": "提货人姓名",
  38955. "type": "string"
  38956. },
  38957. "reqtime": {
  38958. "description": "更新时间",
  38959. "type": "string"
  38960. },
  38961. "takemode": {
  38962. "description": "提货方式 - 2:自提 3:配送",
  38963. "type": "integer"
  38964. },
  38965. "takeorderid": {
  38966. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  38967. "type": "string"
  38968. },
  38969. "takeorderstatus": {
  38970. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  38971. "type": "integer"
  38972. },
  38973. "takeremark": {
  38974. "description": "提货备注",
  38975. "type": "string"
  38976. },
  38977. "tradedate": {
  38978. "description": "交易日(yyyyMMdd)",
  38979. "type": "string"
  38980. },
  38981. "userid": {
  38982. "description": "用户ID",
  38983. "type": "integer"
  38984. }
  38985. }
  38986. },
  38987. "szdz.QueryRecieptOrderRsp": {
  38988. "type": "object",
  38989. "required": [
  38990. "ordertime"
  38991. ],
  38992. "properties": {
  38993. "accountName": {
  38994. "description": "所属账号名称(已脱敏)",
  38995. "type": "string"
  38996. },
  38997. "accountid": {
  38998. "description": "资金账号",
  38999. "type": "integer"
  39000. },
  39001. "buyorsell": {
  39002. "description": "方向 - 0:买 1:卖",
  39003. "type": "integer"
  39004. },
  39005. "enableqty": {
  39006. "description": "可摘数量",
  39007. "type": "integer"
  39008. },
  39009. "goodscode": {
  39010. "description": "商品代码",
  39011. "type": "string"
  39012. },
  39013. "goodsid": {
  39014. "description": "商品ID",
  39015. "type": "integer"
  39016. },
  39017. "goodsname": {
  39018. "description": "商品名称",
  39019. "type": "string"
  39020. },
  39021. "orderid": {
  39022. "description": "委托单号",
  39023. "type": "string"
  39024. },
  39025. "orderprice": {
  39026. "description": "委托价格",
  39027. "type": "number"
  39028. },
  39029. "ordertime": {
  39030. "description": "委托时间",
  39031. "type": "string"
  39032. },
  39033. "tradedate": {
  39034. "description": "交易日(yyyyMMdd)",
  39035. "type": "string"
  39036. }
  39037. }
  39038. },
  39039. "szdz.QuerySZDZTradePositionRsp": {
  39040. "type": "object",
  39041. "properties": {
  39042. "accountid": {
  39043. "description": "账号Id",
  39044. "type": "integer"
  39045. },
  39046. "agreeunit": {
  39047. "description": "合约单位",
  39048. "type": "number"
  39049. },
  39050. "averageprice": {
  39051. "description": "持仓均价",
  39052. "type": "number"
  39053. },
  39054. "buyorsell": {
  39055. "description": "方向 - 0:买 1:卖",
  39056. "type": "integer"
  39057. },
  39058. "closetotalqty": {
  39059. "description": "平仓总数量",
  39060. "type": "integer"
  39061. },
  39062. "curholderamount": {
  39063. "description": "当前持仓总金额",
  39064. "type": "number"
  39065. },
  39066. "curpositionqty": {
  39067. "description": "当前持仓总数量",
  39068. "type": "integer"
  39069. },
  39070. "currencyid": {
  39071. "description": "报价货币ID",
  39072. "type": "integer"
  39073. },
  39074. "curtdposition": {
  39075. "description": "期末今日头寸",
  39076. "type": "integer"
  39077. },
  39078. "decimalplace": {
  39079. "description": "报价小数位",
  39080. "type": "integer"
  39081. },
  39082. "enableqty": {
  39083. "description": "可用量",
  39084. "type": "integer"
  39085. },
  39086. "fretdposition": {
  39087. "description": "冻结今日头寸",
  39088. "type": "integer"
  39089. },
  39090. "frozenqty": {
  39091. "description": "持仓冻结数量",
  39092. "type": "integer"
  39093. },
  39094. "goodscode": {
  39095. "description": "商品代码(内部)",
  39096. "type": "string"
  39097. },
  39098. "goodsid": {
  39099. "description": "商品Id",
  39100. "type": "integer"
  39101. },
  39102. "goodsname": {
  39103. "description": "商品名称",
  39104. "type": "string"
  39105. },
  39106. "goodunit": {
  39107. "description": "报价单位",
  39108. "type": "string"
  39109. },
  39110. "goodunitid": {
  39111. "description": "报价单位ID",
  39112. "type": "integer"
  39113. },
  39114. "holderamount": {
  39115. "description": "期初持仓总金额",
  39116. "type": "number"
  39117. },
  39118. "marketid": {
  39119. "description": "市场ID",
  39120. "type": "integer"
  39121. },
  39122. "openreqqty": {
  39123. "description": "开仓申请数量",
  39124. "type": "integer"
  39125. },
  39126. "opentotalqty": {
  39127. "description": "开仓总数量",
  39128. "type": "integer"
  39129. },
  39130. "otherfrozenqty": {
  39131. "description": "持仓其他冻结数量(交割冻结)",
  39132. "type": "integer"
  39133. },
  39134. "positionqty": {
  39135. "description": "期初持仓数量",
  39136. "type": "integer"
  39137. },
  39138. "szdz3freezqty": {
  39139. "description": "尚志大宗转换冻结总数量",
  39140. "type": "integer"
  39141. },
  39142. "tnqty": {
  39143. "description": "T+N冻结总量",
  39144. "type": "integer"
  39145. },
  39146. "tnusedqty": {
  39147. "description": "T+N使用量",
  39148. "type": "integer"
  39149. },
  39150. "trademode": {
  39151. "description": "交易模式",
  39152. "type": "integer"
  39153. },
  39154. "usedmargin": {
  39155. "description": "占用保证金",
  39156. "type": "number"
  39157. }
  39158. }
  39159. },
  39160. "taaccount.QueryAmountLogRsp": {
  39161. "type": "object",
  39162. "required": [
  39163. "accountid",
  39164. "amount",
  39165. "amountadjusttype",
  39166. "autoid",
  39167. "balance",
  39168. "createtime",
  39169. "currentbalance",
  39170. "operatetype"
  39171. ],
  39172. "properties": {
  39173. "OPERATETYPENAME": {
  39174. "description": "资金操作类型名称",
  39175. "type": "string"
  39176. },
  39177. "accountid": {
  39178. "description": "资金账户ID",
  39179. "type": "integer"
  39180. },
  39181. "agoodscode": {
  39182. "description": "竞拍商品代码",
  39183. "type": "string"
  39184. },
  39185. "agoodsname": {
  39186. "description": "竞拍商品名称",
  39187. "type": "string"
  39188. },
  39189. "amount": {
  39190. "description": "资金金额",
  39191. "type": "number"
  39192. },
  39193. "amountadjusttype": {
  39194. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  39195. "type": "integer"
  39196. },
  39197. "autoid": {
  39198. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  39199. "type": "integer"
  39200. },
  39201. "balance": {
  39202. "description": "期初余额",
  39203. "type": "number"
  39204. },
  39205. "businesscode": {
  39206. "description": "业务编号",
  39207. "type": "integer"
  39208. },
  39209. "createtime": {
  39210. "description": "发生时间",
  39211. "type": "string"
  39212. },
  39213. "currencyid": {
  39214. "description": "币种ID",
  39215. "type": "integer"
  39216. },
  39217. "currentbalance": {
  39218. "description": "期末余额(变动后金额)",
  39219. "type": "number"
  39220. },
  39221. "dgoodscode": {
  39222. "description": "交割商品代码",
  39223. "type": "string"
  39224. },
  39225. "dgoodsname": {
  39226. "description": "交割商品名称",
  39227. "type": "string"
  39228. },
  39229. "goodscode": {
  39230. "description": "商品代码",
  39231. "type": "string"
  39232. },
  39233. "goodsid": {
  39234. "description": "商品ID",
  39235. "type": "integer"
  39236. },
  39237. "goodsname": {
  39238. "description": "商品名称",
  39239. "type": "string"
  39240. },
  39241. "marketid": {
  39242. "description": "市场ID",
  39243. "type": "integer"
  39244. },
  39245. "marketname": {
  39246. "description": "市场名称",
  39247. "type": "string"
  39248. },
  39249. "moneyticket": {
  39250. "description": "资金流水号:银行端流水号",
  39251. "type": "integer"
  39252. },
  39253. "operatetype": {
  39254. "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:营销收款",
  39255. "type": "integer"
  39256. },
  39257. "relationorderid": {
  39258. "description": "关联单号",
  39259. "type": "string"
  39260. },
  39261. "remark": {
  39262. "description": "备注",
  39263. "type": "string"
  39264. },
  39265. "trademode": {
  39266. "description": "交易模式",
  39267. "type": "integer"
  39268. }
  39269. }
  39270. },
  39271. "taaccount.QueryHisAmountLogRsp": {
  39272. "type": "object",
  39273. "required": [
  39274. "accountid",
  39275. "amount",
  39276. "amountadjusttype",
  39277. "autoid",
  39278. "balance",
  39279. "createtime",
  39280. "currentbalance",
  39281. "histradedate",
  39282. "operatetype"
  39283. ],
  39284. "properties": {
  39285. "OPERATETYPENAME": {
  39286. "description": "资金操作类型名称",
  39287. "type": "string"
  39288. },
  39289. "accountid": {
  39290. "description": "资金账户ID",
  39291. "type": "integer"
  39292. },
  39293. "agoodscode": {
  39294. "description": "竞拍商品代码",
  39295. "type": "string"
  39296. },
  39297. "agoodsname": {
  39298. "description": "竞拍商品名称",
  39299. "type": "string"
  39300. },
  39301. "amount": {
  39302. "description": "资金金额",
  39303. "type": "number"
  39304. },
  39305. "amountadjusttype": {
  39306. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  39307. "type": "integer"
  39308. },
  39309. "autoid": {
  39310. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  39311. "type": "integer"
  39312. },
  39313. "balance": {
  39314. "description": "期初余额",
  39315. "type": "number"
  39316. },
  39317. "businesscode": {
  39318. "description": "业务编号",
  39319. "type": "integer"
  39320. },
  39321. "createtime": {
  39322. "description": "发生时间",
  39323. "type": "string"
  39324. },
  39325. "currencyid": {
  39326. "description": "币种ID",
  39327. "type": "integer"
  39328. },
  39329. "currentbalance": {
  39330. "description": "期末余额(变动后金额)",
  39331. "type": "number"
  39332. },
  39333. "dgoodscode": {
  39334. "description": "交割商品代码",
  39335. "type": "string"
  39336. },
  39337. "dgoodsname": {
  39338. "description": "交割商品名称",
  39339. "type": "string"
  39340. },
  39341. "goodscode": {
  39342. "description": "商品代码",
  39343. "type": "string"
  39344. },
  39345. "goodsid": {
  39346. "description": "商品ID",
  39347. "type": "integer"
  39348. },
  39349. "goodsname": {
  39350. "description": "商品名称",
  39351. "type": "string"
  39352. },
  39353. "histradedate": {
  39354. "description": "历史交易日",
  39355. "type": "string"
  39356. },
  39357. "isvaliddata": {
  39358. "description": "是否有效 - 0:无效 1:有效",
  39359. "type": "integer"
  39360. },
  39361. "marketid": {
  39362. "description": "市场ID",
  39363. "type": "integer"
  39364. },
  39365. "marketname": {
  39366. "description": "市场名称",
  39367. "type": "string"
  39368. },
  39369. "moneyticket": {
  39370. "description": "资金流水号:银行端流水号",
  39371. "type": "integer"
  39372. },
  39373. "operatetype": {
  39374. "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:营销收款",
  39375. "type": "integer"
  39376. },
  39377. "relationorderid": {
  39378. "description": "关联单号",
  39379. "type": "string"
  39380. },
  39381. "remark": {
  39382. "description": "备注",
  39383. "type": "string"
  39384. },
  39385. "trademode": {
  39386. "description": "交易模式",
  39387. "type": "integer"
  39388. }
  39389. }
  39390. },
  39391. "trade.QueryRecieptOrderRsp": {
  39392. "type": "object",
  39393. "required": [
  39394. "ordertime"
  39395. ],
  39396. "properties": {
  39397. "accountName": {
  39398. "description": "所属账号名称(已脱敏)",
  39399. "type": "string"
  39400. },
  39401. "accountid": {
  39402. "description": "资金账号",
  39403. "type": "integer"
  39404. },
  39405. "buyorsell": {
  39406. "description": "方向 - 0:买 1:卖",
  39407. "type": "integer"
  39408. },
  39409. "enableqty": {
  39410. "description": "可摘数量",
  39411. "type": "integer"
  39412. },
  39413. "goodscode": {
  39414. "description": "商品代码",
  39415. "type": "string"
  39416. },
  39417. "goodsid": {
  39418. "description": "商品ID",
  39419. "type": "integer"
  39420. },
  39421. "goodsname": {
  39422. "description": "商品名称",
  39423. "type": "string"
  39424. },
  39425. "orderid": {
  39426. "description": "委托单号",
  39427. "type": "string"
  39428. },
  39429. "orderprice": {
  39430. "description": "委托价格",
  39431. "type": "number"
  39432. },
  39433. "ordertime": {
  39434. "description": "委托时间",
  39435. "type": "string"
  39436. },
  39437. "tradedate": {
  39438. "description": "交易日(yyyyMMdd)",
  39439. "type": "string"
  39440. }
  39441. }
  39442. },
  39443. "user.LoginQueryRsp": {
  39444. "type": "object",
  39445. "properties": {
  39446. "areaRoles": {
  39447. "description": "所属角色信息",
  39448. "type": "array",
  39449. "items": {
  39450. "$ref": "#/definitions/models.Arearole"
  39451. }
  39452. },
  39453. "externalExchanges": {
  39454. "description": "外部交易所",
  39455. "type": "array",
  39456. "items": {
  39457. "$ref": "#/definitions/models.Externalexchange"
  39458. }
  39459. },
  39460. "goodsgroups": {
  39461. "description": "商品组",
  39462. "type": "array",
  39463. "items": {
  39464. "$ref": "#/definitions/models.Goodsgroup"
  39465. }
  39466. },
  39467. "loginAccount": {
  39468. "description": "登录账号",
  39469. "$ref": "#/definitions/models.Loginaccount"
  39470. },
  39471. "markets": {
  39472. "description": "市场",
  39473. "type": "array",
  39474. "items": {
  39475. "$ref": "#/definitions/models.Market"
  39476. }
  39477. },
  39478. "systemParams": {
  39479. "description": "系统参数",
  39480. "type": "array",
  39481. "items": {
  39482. "$ref": "#/definitions/models.Systemparam"
  39483. }
  39484. },
  39485. "userAccount": {
  39486. "description": "用户账号",
  39487. "$ref": "#/definitions/models.Useraccount"
  39488. },
  39489. "userInfo": {
  39490. "description": "用户信息",
  39491. "$ref": "#/definitions/models.Userinfo"
  39492. },
  39493. "username": {
  39494. "description": "用户姓名",
  39495. "type": "string"
  39496. }
  39497. }
  39498. }
  39499. },
  39500. "securityDefinitions": {
  39501. "ApiKeyAuth": {
  39502. "type": "apiKey",
  39503. "name": "Authorization",
  39504. "in": "header"
  39505. }
  39506. }
  39507. }`
  39508. type swaggerInfo struct {
  39509. Version string
  39510. Host string
  39511. BasePath string
  39512. Schemes []string
  39513. Title string
  39514. Description string
  39515. }
  39516. // SwaggerInfo holds exported Swagger Info so clients can modify it
  39517. var SwaggerInfo = swaggerInfo{
  39518. Version: "1.0",
  39519. Host: "",
  39520. BasePath: "/api",
  39521. Schemes: []string{},
  39522. Title: "MTP2.0 查询服务 API",
  39523. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  39524. }
  39525. type s struct{}
  39526. func (s *s) ReadDoc() string {
  39527. sInfo := SwaggerInfo
  39528. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  39529. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  39530. "marshal": func(v interface{}) string {
  39531. a, _ := json.Marshal(v)
  39532. return string(a)
  39533. },
  39534. }).Parse(doc)
  39535. if err != nil {
  39536. return doc
  39537. }
  39538. var tpl bytes.Buffer
  39539. if err := t.Execute(&tpl, sInfo); err != nil {
  39540. return doc
  39541. }
  39542. return tpl.String()
  39543. }
  39544. func init() {
  39545. swag.Register(swag.Name, &s{})
  39546. }