docs.go 1.4 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187
  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. "responses": {
  3730. "200": {
  3731. "description": "OK",
  3732. "schema": {
  3733. "type": "array",
  3734. "items": {
  3735. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  3736. }
  3737. }
  3738. },
  3739. "500": {
  3740. "description": "Internal Server Error",
  3741. "schema": {
  3742. "$ref": "#/definitions/app.Response"
  3743. }
  3744. }
  3745. }
  3746. }
  3747. },
  3748. "/Ermcp3/QryTaFutureDataReport": {
  3749. "get": {
  3750. "security": [
  3751. {
  3752. "ApiKeyAuth": []
  3753. }
  3754. ],
  3755. "produces": [
  3756. "application/json"
  3757. ],
  3758. "tags": [
  3759. "企业风险管理v3(app)"
  3760. ],
  3761. "summary": "查询期货报表",
  3762. "parameters": [
  3763. {
  3764. "type": "integer",
  3765. "description": "用户ID",
  3766. "name": "userid",
  3767. "in": "query",
  3768. "required": true
  3769. },
  3770. {
  3771. "type": "integer",
  3772. "description": "查询类型 1-报表 2-报表明细",
  3773. "name": "querytype",
  3774. "in": "query",
  3775. "required": true
  3776. },
  3777. {
  3778. "type": "integer",
  3779. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3780. "name": "cycletype",
  3781. "in": "query",
  3782. "required": true
  3783. },
  3784. {
  3785. "type": "string",
  3786. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3787. "name": "cycletime",
  3788. "in": "query",
  3789. "required": true
  3790. },
  3791. {
  3792. "type": "integer",
  3793. "description": "币种id(查明细必填)",
  3794. "name": "currencyid",
  3795. "in": "query"
  3796. },
  3797. {
  3798. "type": "integer",
  3799. "description": "品种id(查明细必填)",
  3800. "name": "goodsgroupid",
  3801. "in": "query"
  3802. },
  3803. {
  3804. "type": "integer",
  3805. "description": "商品id(查明细必填)",
  3806. "name": "goodsid",
  3807. "in": "query"
  3808. },
  3809. {
  3810. "type": "integer",
  3811. "description": "买卖方向(查明细必填)",
  3812. "name": "buyorsell",
  3813. "in": "query"
  3814. }
  3815. ],
  3816. "responses": {
  3817. "200": {
  3818. "description": "OK",
  3819. "schema": {
  3820. "type": "array",
  3821. "items": {
  3822. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3823. }
  3824. }
  3825. },
  3826. "500": {
  3827. "description": "Internal Server Error",
  3828. "schema": {
  3829. "$ref": "#/definitions/app.Response"
  3830. }
  3831. }
  3832. }
  3833. }
  3834. },
  3835. "/Ermcp3/QueryAreaStock": {
  3836. "get": {
  3837. "security": [
  3838. {
  3839. "ApiKeyAuth": []
  3840. }
  3841. ],
  3842. "produces": [
  3843. "application/json"
  3844. ],
  3845. "tags": [
  3846. "企业风险管理v3(app)"
  3847. ],
  3848. "summary": "查询机构库存(库存管理/当前库存)",
  3849. "parameters": [
  3850. {
  3851. "type": "integer",
  3852. "description": "用户ID",
  3853. "name": "userid",
  3854. "in": "query",
  3855. "required": true
  3856. }
  3857. ],
  3858. "responses": {
  3859. "200": {
  3860. "description": "OK",
  3861. "schema": {
  3862. "type": "array",
  3863. "items": {
  3864. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3865. }
  3866. }
  3867. },
  3868. "500": {
  3869. "description": "Internal Server Error",
  3870. "schema": {
  3871. "$ref": "#/definitions/app.Response"
  3872. }
  3873. }
  3874. }
  3875. }
  3876. },
  3877. "/Ermcp3/QueryAreaStockApply": {
  3878. "get": {
  3879. "security": [
  3880. {
  3881. "ApiKeyAuth": []
  3882. }
  3883. ],
  3884. "produces": [
  3885. "application/json"
  3886. ],
  3887. "tags": [
  3888. "企业风险管理v3(app)"
  3889. ],
  3890. "summary": "查询库存申请(出入库记录|库存审核)",
  3891. "parameters": [
  3892. {
  3893. "type": "integer",
  3894. "description": "用户ID",
  3895. "name": "userid",
  3896. "in": "query",
  3897. "required": true
  3898. },
  3899. {
  3900. "type": "integer",
  3901. "description": "用户类型 2-机构 7-企业成员",
  3902. "name": "usertype",
  3903. "in": "query"
  3904. },
  3905. {
  3906. "type": "integer",
  3907. "description": "现货商品ID",
  3908. "name": "deliverygoodsid",
  3909. "in": "query"
  3910. },
  3911. {
  3912. "type": "string",
  3913. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3914. "name": "inouttype",
  3915. "in": "query"
  3916. },
  3917. {
  3918. "type": "integer",
  3919. "description": "合同ID",
  3920. "name": "spotcontractid",
  3921. "in": "query"
  3922. },
  3923. {
  3924. "type": "integer",
  3925. "description": "品类ID",
  3926. "name": "wrstandardid",
  3927. "in": "query"
  3928. },
  3929. {
  3930. "type": "integer",
  3931. "description": "品牌ID",
  3932. "name": "spotgoodsbrandid",
  3933. "in": "query"
  3934. },
  3935. {
  3936. "type": "integer",
  3937. "description": "仓库ID",
  3938. "name": "warehouseinfoid",
  3939. "in": "query"
  3940. },
  3941. {
  3942. "type": "string",
  3943. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3944. "name": "applystatus",
  3945. "in": "query"
  3946. }
  3947. ],
  3948. "responses": {
  3949. "200": {
  3950. "description": "OK",
  3951. "schema": {
  3952. "type": "array",
  3953. "items": {
  3954. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3955. }
  3956. }
  3957. },
  3958. "500": {
  3959. "description": "Internal Server Error",
  3960. "schema": {
  3961. "$ref": "#/definitions/app.Response"
  3962. }
  3963. }
  3964. }
  3965. }
  3966. },
  3967. "/Ermcp3/QueryAreaStockApplySum": {
  3968. "get": {
  3969. "security": [
  3970. {
  3971. "ApiKeyAuth": []
  3972. }
  3973. ],
  3974. "produces": [
  3975. "application/json"
  3976. ],
  3977. "tags": [
  3978. "企业风险管理v3(app)"
  3979. ],
  3980. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3981. "parameters": [
  3982. {
  3983. "type": "integer",
  3984. "description": "合同ID",
  3985. "name": "spotcontractid",
  3986. "in": "query",
  3987. "required": true
  3988. }
  3989. ],
  3990. "responses": {
  3991. "200": {
  3992. "description": "OK",
  3993. "schema": {
  3994. "type": "array",
  3995. "items": {
  3996. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3997. }
  3998. }
  3999. },
  4000. "500": {
  4001. "description": "Internal Server Error",
  4002. "schema": {
  4003. "$ref": "#/definitions/app.Response"
  4004. }
  4005. }
  4006. }
  4007. }
  4008. },
  4009. "/Ermcp3/QueryDGFactoryItem": {
  4010. "get": {
  4011. "security": [
  4012. {
  4013. "ApiKeyAuth": []
  4014. }
  4015. ],
  4016. "produces": [
  4017. "application/json"
  4018. ],
  4019. "tags": [
  4020. "企业风险管理v3(app)"
  4021. ],
  4022. "summary": "查询品种要素定义项",
  4023. "parameters": [
  4024. {
  4025. "type": "integer",
  4026. "description": "用户id",
  4027. "name": "userid",
  4028. "in": "query"
  4029. },
  4030. {
  4031. "type": "integer",
  4032. "description": "用户类型 2-机构 7-企业成员",
  4033. "name": "usertype",
  4034. "in": "query"
  4035. },
  4036. {
  4037. "type": "integer",
  4038. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4039. "name": "dgfactoryitemid",
  4040. "in": "query"
  4041. },
  4042. {
  4043. "type": "integer",
  4044. "description": "现货品种ID",
  4045. "name": "deliverygoodsid",
  4046. "in": "query"
  4047. },
  4048. {
  4049. "type": "integer",
  4050. "description": "要素项类型",
  4051. "name": "dgfactoryitemtypeid",
  4052. "in": "query"
  4053. },
  4054. {
  4055. "type": "integer",
  4056. "description": "顺序",
  4057. "name": "orderindex",
  4058. "in": "query"
  4059. }
  4060. ],
  4061. "responses": {
  4062. "200": {
  4063. "description": "OK",
  4064. "schema": {
  4065. "type": "array",
  4066. "items": {
  4067. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4068. }
  4069. }
  4070. },
  4071. "500": {
  4072. "description": "Internal Server Error",
  4073. "schema": {
  4074. "$ref": "#/definitions/app.Response"
  4075. }
  4076. }
  4077. }
  4078. }
  4079. },
  4080. "/Ermcp3/QueryDeliveryGoods": {
  4081. "get": {
  4082. "security": [
  4083. {
  4084. "ApiKeyAuth": []
  4085. }
  4086. ],
  4087. "produces": [
  4088. "application/json"
  4089. ],
  4090. "tags": [
  4091. "企业风险管理v3(app)"
  4092. ],
  4093. "summary": "查询现货商品",
  4094. "parameters": [
  4095. {
  4096. "type": "integer",
  4097. "description": "用户id",
  4098. "name": "userid",
  4099. "in": "query",
  4100. "required": true
  4101. },
  4102. {
  4103. "type": "integer",
  4104. "description": "用户类型 2-机构 7-企业成员",
  4105. "name": "usertype",
  4106. "in": "query"
  4107. },
  4108. {
  4109. "type": "integer",
  4110. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4111. "name": "excludecfg",
  4112. "in": "query"
  4113. }
  4114. ],
  4115. "responses": {
  4116. "200": {
  4117. "description": "OK",
  4118. "schema": {
  4119. "type": "array",
  4120. "items": {
  4121. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4122. }
  4123. }
  4124. },
  4125. "500": {
  4126. "description": "Internal Server Error",
  4127. "schema": {
  4128. "$ref": "#/definitions/app.Response"
  4129. }
  4130. }
  4131. }
  4132. }
  4133. },
  4134. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4135. "get": {
  4136. "security": [
  4137. {
  4138. "ApiKeyAuth": []
  4139. }
  4140. ],
  4141. "produces": [
  4142. "application/json"
  4143. ],
  4144. "tags": [
  4145. "企业风险管理v3(app)"
  4146. ],
  4147. "summary": "查询现货商品详情",
  4148. "parameters": [
  4149. {
  4150. "type": "integer",
  4151. "description": "用户id",
  4152. "name": "userid",
  4153. "in": "query",
  4154. "required": true
  4155. },
  4156. {
  4157. "type": "integer",
  4158. "description": "用户类型 2-机构 7-企业成员",
  4159. "name": "usertype",
  4160. "in": "query"
  4161. },
  4162. {
  4163. "type": "integer",
  4164. "description": "现货商品id",
  4165. "name": "deliverygoodsid",
  4166. "in": "query"
  4167. }
  4168. ],
  4169. "responses": {
  4170. "200": {
  4171. "description": "OK",
  4172. "schema": {
  4173. "type": "array",
  4174. "items": {
  4175. "$ref": "#/definitions/models.XHDeliveryGoods"
  4176. }
  4177. }
  4178. },
  4179. "500": {
  4180. "description": "Internal Server Error",
  4181. "schema": {
  4182. "$ref": "#/definitions/app.Response"
  4183. }
  4184. }
  4185. }
  4186. }
  4187. },
  4188. "/Ermcp3/QueryExposureDetail": {
  4189. "get": {
  4190. "security": [
  4191. {
  4192. "ApiKeyAuth": []
  4193. }
  4194. ],
  4195. "produces": [
  4196. "application/json"
  4197. ],
  4198. "tags": [
  4199. "企业风险管理v3(app)"
  4200. ],
  4201. "summary": "查询敞口现货明细",
  4202. "parameters": [
  4203. {
  4204. "type": "integer",
  4205. "description": "用户id",
  4206. "name": "userid",
  4207. "in": "query",
  4208. "required": true
  4209. },
  4210. {
  4211. "type": "integer",
  4212. "description": "用户类型 2-机构 7-企业成员",
  4213. "name": "usertype",
  4214. "in": "query"
  4215. },
  4216. {
  4217. "type": "integer",
  4218. "description": "套保商品",
  4219. "name": "middlegoodsid",
  4220. "in": "query",
  4221. "required": true
  4222. }
  4223. ],
  4224. "responses": {
  4225. "200": {
  4226. "description": "OK",
  4227. "schema": {
  4228. "type": "array",
  4229. "items": {
  4230. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4231. }
  4232. }
  4233. },
  4234. "500": {
  4235. "description": "Internal Server Error",
  4236. "schema": {
  4237. "$ref": "#/definitions/app.Response"
  4238. }
  4239. }
  4240. }
  4241. }
  4242. },
  4243. "/Ermcp3/QueryExposureSpot": {
  4244. "get": {
  4245. "security": [
  4246. {
  4247. "ApiKeyAuth": []
  4248. }
  4249. ],
  4250. "produces": [
  4251. "application/json"
  4252. ],
  4253. "tags": [
  4254. "企业风险管理v3(app)"
  4255. ],
  4256. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4257. "parameters": [
  4258. {
  4259. "type": "integer",
  4260. "description": "用户id",
  4261. "name": "userid",
  4262. "in": "query",
  4263. "required": true
  4264. },
  4265. {
  4266. "type": "integer",
  4267. "description": "用户类型 2-机构 7-企业成员",
  4268. "name": "usertype",
  4269. "in": "query"
  4270. }
  4271. ],
  4272. "responses": {
  4273. "200": {
  4274. "description": "OK",
  4275. "schema": {
  4276. "type": "array",
  4277. "items": {
  4278. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4279. }
  4280. }
  4281. },
  4282. "500": {
  4283. "description": "Internal Server Error",
  4284. "schema": {
  4285. "$ref": "#/definitions/app.Response"
  4286. }
  4287. }
  4288. }
  4289. }
  4290. },
  4291. "/Ermcp3/QueryExposureSpotDetail": {
  4292. "get": {
  4293. "security": [
  4294. {
  4295. "ApiKeyAuth": []
  4296. }
  4297. ],
  4298. "produces": [
  4299. "application/json"
  4300. ],
  4301. "tags": [
  4302. "企业风险管理v3(app)"
  4303. ],
  4304. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4305. "parameters": [
  4306. {
  4307. "type": "integer",
  4308. "description": "用户id",
  4309. "name": "userid",
  4310. "in": "query",
  4311. "required": true
  4312. },
  4313. {
  4314. "type": "integer",
  4315. "description": "用户类型 2-机构 7-企业成员",
  4316. "name": "usertype",
  4317. "in": "query"
  4318. },
  4319. {
  4320. "type": "integer",
  4321. "description": "现货商品ID",
  4322. "name": "wrstandardid",
  4323. "in": "query",
  4324. "required": true
  4325. }
  4326. ],
  4327. "responses": {
  4328. "200": {
  4329. "description": "OK",
  4330. "schema": {
  4331. "type": "array",
  4332. "items": {
  4333. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4334. }
  4335. }
  4336. },
  4337. "500": {
  4338. "description": "Internal Server Error",
  4339. "schema": {
  4340. "$ref": "#/definitions/app.Response"
  4341. }
  4342. }
  4343. }
  4344. }
  4345. },
  4346. "/Ermcp3/QueryGoodsGroup": {
  4347. "get": {
  4348. "security": [
  4349. {
  4350. "ApiKeyAuth": []
  4351. }
  4352. ],
  4353. "produces": [
  4354. "application/json"
  4355. ],
  4356. "tags": [
  4357. "企业风险管理v3(app)"
  4358. ],
  4359. "summary": "查询期货商品组",
  4360. "parameters": [
  4361. {
  4362. "type": "integer",
  4363. "description": "用户id",
  4364. "name": "userid",
  4365. "in": "query",
  4366. "required": true
  4367. },
  4368. {
  4369. "type": "integer",
  4370. "description": "用户类型 2-机构 7-企业成员",
  4371. "name": "usertype",
  4372. "in": "query"
  4373. },
  4374. {
  4375. "type": "integer",
  4376. "description": "排除套保品中已关联的商品组 1-排除",
  4377. "name": "excludecfg",
  4378. "in": "query"
  4379. }
  4380. ],
  4381. "responses": {
  4382. "200": {
  4383. "description": "OK",
  4384. "schema": {
  4385. "type": "array",
  4386. "items": {
  4387. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4388. }
  4389. }
  4390. },
  4391. "500": {
  4392. "description": "Internal Server Error",
  4393. "schema": {
  4394. "$ref": "#/definitions/app.Response"
  4395. }
  4396. }
  4397. }
  4398. }
  4399. },
  4400. "/Ermcp3/QueryGoodsWrstandard": {
  4401. "get": {
  4402. "security": [
  4403. {
  4404. "ApiKeyAuth": []
  4405. }
  4406. ],
  4407. "produces": [
  4408. "application/json"
  4409. ],
  4410. "tags": [
  4411. "企业风险管理v3(app)"
  4412. ],
  4413. "summary": "查询商品品类",
  4414. "parameters": [
  4415. {
  4416. "type": "integer",
  4417. "description": "用户id",
  4418. "name": "userid",
  4419. "in": "query",
  4420. "required": true
  4421. },
  4422. {
  4423. "type": "integer",
  4424. "description": "用户类型 2-机构 7-企业成员",
  4425. "name": "usertype",
  4426. "in": "query"
  4427. },
  4428. {
  4429. "type": "integer",
  4430. "description": "现货商品id",
  4431. "name": "deliverygoodsid",
  4432. "in": "query"
  4433. }
  4434. ],
  4435. "responses": {
  4436. "200": {
  4437. "description": "OK",
  4438. "schema": {
  4439. "type": "array",
  4440. "items": {
  4441. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4442. }
  4443. }
  4444. },
  4445. "500": {
  4446. "description": "Internal Server Error",
  4447. "schema": {
  4448. "$ref": "#/definitions/app.Response"
  4449. }
  4450. }
  4451. }
  4452. }
  4453. },
  4454. "/Ermcp3/QueryGoodsbrand": {
  4455. "get": {
  4456. "security": [
  4457. {
  4458. "ApiKeyAuth": []
  4459. }
  4460. ],
  4461. "produces": [
  4462. "application/json"
  4463. ],
  4464. "tags": [
  4465. "企业风险管理v3(app)"
  4466. ],
  4467. "summary": "查询商品品牌",
  4468. "parameters": [
  4469. {
  4470. "type": "integer",
  4471. "description": "用户id",
  4472. "name": "userid",
  4473. "in": "query",
  4474. "required": true
  4475. },
  4476. {
  4477. "type": "integer",
  4478. "description": "用户类型 2-机构 7-企业成员",
  4479. "name": "usertype",
  4480. "in": "query"
  4481. }
  4482. ],
  4483. "responses": {
  4484. "200": {
  4485. "description": "OK",
  4486. "schema": {
  4487. "type": "array",
  4488. "items": {
  4489. "$ref": "#/definitions/models.Ermcp3Brand"
  4490. }
  4491. }
  4492. },
  4493. "500": {
  4494. "description": "Internal Server Error",
  4495. "schema": {
  4496. "$ref": "#/definitions/app.Response"
  4497. }
  4498. }
  4499. }
  4500. }
  4501. },
  4502. "/Ermcp3/QueryHedgePlan": {
  4503. "get": {
  4504. "security": [
  4505. {
  4506. "ApiKeyAuth": []
  4507. }
  4508. ],
  4509. "produces": [
  4510. "application/json"
  4511. ],
  4512. "tags": [
  4513. "企业风险管理v3(app)"
  4514. ],
  4515. "summary": "查询套保计划",
  4516. "parameters": [
  4517. {
  4518. "type": "integer",
  4519. "description": "用户ID",
  4520. "name": "userid",
  4521. "in": "query",
  4522. "required": true
  4523. },
  4524. {
  4525. "type": "integer",
  4526. "description": "用户类型 2-机构 7-企业成员",
  4527. "name": "usertype",
  4528. "in": "query"
  4529. },
  4530. {
  4531. "type": "string",
  4532. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4533. "name": "hedgeplanstatus",
  4534. "in": "query",
  4535. "required": true
  4536. }
  4537. ],
  4538. "responses": {
  4539. "200": {
  4540. "description": "OK",
  4541. "schema": {
  4542. "type": "array",
  4543. "items": {
  4544. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4545. }
  4546. }
  4547. },
  4548. "500": {
  4549. "description": "Internal Server Error",
  4550. "schema": {
  4551. "$ref": "#/definitions/app.Response"
  4552. }
  4553. }
  4554. }
  4555. }
  4556. },
  4557. "/Ermcp3/QueryInnerTradeLink": {
  4558. "get": {
  4559. "security": [
  4560. {
  4561. "ApiKeyAuth": []
  4562. }
  4563. ],
  4564. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4565. "produces": [
  4566. "application/json"
  4567. ],
  4568. "tags": [
  4569. "企业风险管理v3(app)"
  4570. ],
  4571. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  4572. "parameters": [
  4573. {
  4574. "type": "integer",
  4575. "description": "外部成交单号",
  4576. "name": "outtradeid",
  4577. "in": "query",
  4578. "required": true
  4579. }
  4580. ],
  4581. "responses": {
  4582. "200": {
  4583. "description": "OK",
  4584. "schema": {
  4585. "type": "array",
  4586. "items": {
  4587. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  4588. }
  4589. }
  4590. },
  4591. "500": {
  4592. "description": "Internal Server Error",
  4593. "schema": {
  4594. "$ref": "#/definitions/app.Response"
  4595. }
  4596. }
  4597. }
  4598. }
  4599. },
  4600. "/Ermcp3/QueryMiddleGoodsDetail": {
  4601. "get": {
  4602. "security": [
  4603. {
  4604. "ApiKeyAuth": []
  4605. }
  4606. ],
  4607. "produces": [
  4608. "application/json"
  4609. ],
  4610. "tags": [
  4611. "企业风险管理v3(app)"
  4612. ],
  4613. "summary": "查询套保品种详情(套保品种/商品详情)",
  4614. "parameters": [
  4615. {
  4616. "type": "integer",
  4617. "description": "用户id",
  4618. "name": "userid",
  4619. "in": "query",
  4620. "required": true
  4621. },
  4622. {
  4623. "type": "integer",
  4624. "description": "用户类型 2-机构 7-企业成员",
  4625. "name": "usertype",
  4626. "in": "query"
  4627. },
  4628. {
  4629. "type": "integer",
  4630. "description": "套保品种id",
  4631. "name": "middlegoodsid",
  4632. "in": "query"
  4633. }
  4634. ],
  4635. "responses": {
  4636. "200": {
  4637. "description": "OK",
  4638. "schema": {
  4639. "type": "array",
  4640. "items": {
  4641. "$ref": "#/definitions/models.TBMiddleGoods"
  4642. }
  4643. }
  4644. },
  4645. "500": {
  4646. "description": "Internal Server Error",
  4647. "schema": {
  4648. "$ref": "#/definitions/app.Response"
  4649. }
  4650. }
  4651. }
  4652. }
  4653. },
  4654. "/Ermcp3/QueryOutTradeLink": {
  4655. "get": {
  4656. "security": [
  4657. {
  4658. "ApiKeyAuth": []
  4659. }
  4660. ],
  4661. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  4662. "produces": [
  4663. "application/json"
  4664. ],
  4665. "tags": [
  4666. "企业风险管理v3(app)"
  4667. ],
  4668. "summary": "查询外部成交单关联",
  4669. "parameters": [
  4670. {
  4671. "type": "integer",
  4672. "description": "用户ID(填登录用户的userid)",
  4673. "name": "userid",
  4674. "in": "query",
  4675. "required": true
  4676. },
  4677. {
  4678. "type": "string",
  4679. "description": "外部订单号(模糊匹配)",
  4680. "name": "outtradeid",
  4681. "in": "query"
  4682. },
  4683. {
  4684. "type": "string",
  4685. "description": "合约名称/代码(模糊匹配)",
  4686. "name": "goodsname",
  4687. "in": "query"
  4688. },
  4689. {
  4690. "type": "integer",
  4691. "description": "关联状态 0-未关联 1-已关联",
  4692. "name": "hasinnerorder",
  4693. "in": "query"
  4694. }
  4695. ],
  4696. "responses": {
  4697. "200": {
  4698. "description": "OK",
  4699. "schema": {
  4700. "type": "array",
  4701. "items": {
  4702. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  4703. }
  4704. }
  4705. },
  4706. "500": {
  4707. "description": "Internal Server Error",
  4708. "schema": {
  4709. "$ref": "#/definitions/app.Response"
  4710. }
  4711. }
  4712. }
  4713. }
  4714. },
  4715. "/Ermcp3/QueryPaAreaAuditCfg": {
  4716. "get": {
  4717. "security": [
  4718. {
  4719. "ApiKeyAuth": []
  4720. }
  4721. ],
  4722. "produces": [
  4723. "application/json"
  4724. ],
  4725. "tags": [
  4726. "企业风险管理v3(app)"
  4727. ],
  4728. "summary": "查询审核设置",
  4729. "parameters": [
  4730. {
  4731. "type": "integer",
  4732. "description": "用户id",
  4733. "name": "userid",
  4734. "in": "query",
  4735. "required": true
  4736. }
  4737. ],
  4738. "responses": {
  4739. "200": {
  4740. "description": "OK",
  4741. "schema": {
  4742. "type": "array",
  4743. "items": {
  4744. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4745. }
  4746. }
  4747. },
  4748. "500": {
  4749. "description": "Internal Server Error",
  4750. "schema": {
  4751. "$ref": "#/definitions/app.Response"
  4752. }
  4753. }
  4754. }
  4755. }
  4756. },
  4757. "/Ermcp3/QueryPaAreaSubject": {
  4758. "get": {
  4759. "security": [
  4760. {
  4761. "ApiKeyAuth": []
  4762. }
  4763. ],
  4764. "produces": [
  4765. "application/json"
  4766. ],
  4767. "tags": [
  4768. "企业风险管理v3(app)"
  4769. ],
  4770. "summary": "查询交易主体",
  4771. "parameters": [
  4772. {
  4773. "type": "integer",
  4774. "description": "用户id",
  4775. "name": "userid",
  4776. "in": "query",
  4777. "required": true
  4778. },
  4779. {
  4780. "type": "integer",
  4781. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4782. "name": "subjectid",
  4783. "in": "query"
  4784. },
  4785. {
  4786. "type": "integer",
  4787. "description": "主体类型 - 1:交易主体 2:业务部门",
  4788. "name": "subjecttype",
  4789. "in": "query"
  4790. },
  4791. {
  4792. "type": "integer",
  4793. "description": "主体状态 - 1:正常 2: 停用",
  4794. "name": "subjectstatus",
  4795. "in": "query"
  4796. }
  4797. ],
  4798. "responses": {
  4799. "200": {
  4800. "description": "OK",
  4801. "schema": {
  4802. "type": "array",
  4803. "items": {
  4804. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4805. }
  4806. }
  4807. },
  4808. "500": {
  4809. "description": "Internal Server Error",
  4810. "schema": {
  4811. "$ref": "#/definitions/app.Response"
  4812. }
  4813. }
  4814. }
  4815. }
  4816. },
  4817. "/Ermcp3/QueryPaTradeLink": {
  4818. "get": {
  4819. "security": [
  4820. {
  4821. "ApiKeyAuth": []
  4822. }
  4823. ],
  4824. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  4825. "produces": [
  4826. "application/json"
  4827. ],
  4828. "tags": [
  4829. "企业风险管理v3(app)"
  4830. ],
  4831. "summary": "查询期现单据关联",
  4832. "parameters": [
  4833. {
  4834. "type": "integer",
  4835. "description": "用户ID",
  4836. "name": "userid",
  4837. "in": "query",
  4838. "required": true
  4839. }
  4840. ],
  4841. "responses": {
  4842. "200": {
  4843. "description": "OK",
  4844. "schema": {
  4845. "type": "array",
  4846. "items": {
  4847. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  4848. }
  4849. }
  4850. },
  4851. "500": {
  4852. "description": "Internal Server Error",
  4853. "schema": {
  4854. "$ref": "#/definitions/app.Response"
  4855. }
  4856. }
  4857. }
  4858. }
  4859. },
  4860. "/Ermcp3/QueryPaTradeLinkDetail": {
  4861. "get": {
  4862. "security": [
  4863. {
  4864. "ApiKeyAuth": []
  4865. }
  4866. ],
  4867. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  4868. "produces": [
  4869. "application/json"
  4870. ],
  4871. "tags": [
  4872. "企业风险管理v3(app)"
  4873. ],
  4874. "summary": "查询期现关联记录",
  4875. "parameters": [
  4876. {
  4877. "type": "integer",
  4878. "description": "用户ID(填登录用户的userid)",
  4879. "name": "userid",
  4880. "in": "query",
  4881. "required": true
  4882. },
  4883. {
  4884. "type": "string",
  4885. "description": "期货订单号(模糊匹配)",
  4886. "name": "tradeid",
  4887. "in": "query"
  4888. },
  4889. {
  4890. "type": "string",
  4891. "description": "现货编号(模糊匹配)",
  4892. "name": "contractno",
  4893. "in": "query"
  4894. },
  4895. {
  4896. "type": "string",
  4897. "description": "期货账户(模糊匹配)",
  4898. "name": "taname",
  4899. "in": "query"
  4900. }
  4901. ],
  4902. "responses": {
  4903. "200": {
  4904. "description": "OK",
  4905. "schema": {
  4906. "type": "array",
  4907. "items": {
  4908. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  4909. }
  4910. }
  4911. },
  4912. "500": {
  4913. "description": "Internal Server Error",
  4914. "schema": {
  4915. "$ref": "#/definitions/app.Response"
  4916. }
  4917. }
  4918. }
  4919. }
  4920. },
  4921. "/Ermcp3/QueryParamChangeApp": {
  4922. "get": {
  4923. "security": [
  4924. {
  4925. "ApiKeyAuth": []
  4926. }
  4927. ],
  4928. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  4929. "produces": [
  4930. "application/json"
  4931. ],
  4932. "tags": [
  4933. "企业风险管理v3(app)"
  4934. ],
  4935. "summary": "查询现货商品参数变更申请(流水)",
  4936. "parameters": [
  4937. {
  4938. "type": "integer",
  4939. "description": "用户ID",
  4940. "name": "userid",
  4941. "in": "query",
  4942. "required": true
  4943. },
  4944. {
  4945. "type": "integer",
  4946. "description": "现货品种id",
  4947. "name": "deliverygoodsid",
  4948. "in": "query"
  4949. },
  4950. {
  4951. "type": "integer",
  4952. "description": "现货商品id",
  4953. "name": "wrstandardid",
  4954. "in": "query"
  4955. },
  4956. {
  4957. "type": "integer",
  4958. "description": "套保商品id",
  4959. "name": "middlegoodsid",
  4960. "in": "query"
  4961. },
  4962. {
  4963. "type": "integer",
  4964. "description": "操作类型 1:新增 2:修改",
  4965. "name": "operatetype",
  4966. "in": "query"
  4967. },
  4968. {
  4969. "type": "integer",
  4970. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  4971. "name": "paramchangetype",
  4972. "in": "query"
  4973. },
  4974. {
  4975. "type": "string",
  4976. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4977. "name": "ftstatus",
  4978. "in": "query"
  4979. }
  4980. ],
  4981. "responses": {
  4982. "200": {
  4983. "description": "OK",
  4984. "schema": {
  4985. "type": "array",
  4986. "items": {
  4987. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  4988. }
  4989. }
  4990. },
  4991. "500": {
  4992. "description": "Internal Server Error",
  4993. "schema": {
  4994. "$ref": "#/definitions/app.Response"
  4995. }
  4996. }
  4997. }
  4998. }
  4999. },
  5000. "/Ermcp3/QueryRootUserAccount": {
  5001. "get": {
  5002. "security": [
  5003. {
  5004. "ApiKeyAuth": []
  5005. }
  5006. ],
  5007. "produces": [
  5008. "application/json"
  5009. ],
  5010. "tags": [
  5011. "企业风险管理v3(app)"
  5012. ],
  5013. "summary": "查询顶级用户信息",
  5014. "parameters": [
  5015. {
  5016. "type": "integer",
  5017. "description": "用户ID",
  5018. "name": "userid",
  5019. "in": "query",
  5020. "required": true
  5021. }
  5022. ],
  5023. "responses": {
  5024. "200": {
  5025. "description": "OK",
  5026. "schema": {
  5027. "type": "array",
  5028. "items": {
  5029. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5030. }
  5031. }
  5032. },
  5033. "500": {
  5034. "description": "Internal Server Error",
  5035. "schema": {
  5036. "$ref": "#/definitions/app.Response"
  5037. }
  5038. }
  5039. }
  5040. }
  5041. },
  5042. "/Ermcp3/QuerySCMiddleGoods": {
  5043. "get": {
  5044. "security": [
  5045. {
  5046. "ApiKeyAuth": []
  5047. }
  5048. ],
  5049. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5050. "produces": [
  5051. "application/json"
  5052. ],
  5053. "tags": [
  5054. "企业风险管理v3(app)"
  5055. ],
  5056. "summary": "查询现货订单",
  5057. "parameters": [
  5058. {
  5059. "type": "integer",
  5060. "description": "用户ID(填登录用户的userid)",
  5061. "name": "userid",
  5062. "in": "query",
  5063. "required": true
  5064. },
  5065. {
  5066. "type": "integer",
  5067. "description": "买卖方向 0-买 1-卖",
  5068. "name": "buyorsell",
  5069. "in": "query",
  5070. "required": true
  5071. },
  5072. {
  5073. "type": "integer",
  5074. "description": "商品组id",
  5075. "name": "goodsgroupid",
  5076. "in": "query",
  5077. "required": true
  5078. },
  5079. {
  5080. "type": "string",
  5081. "description": "现货编号(模糊匹配)",
  5082. "name": "contractno",
  5083. "in": "query"
  5084. },
  5085. {
  5086. "type": "string",
  5087. "description": "对手方(模糊匹配)",
  5088. "name": "customername",
  5089. "in": "query"
  5090. },
  5091. {
  5092. "type": "string",
  5093. "description": "现货商品名称(模糊匹配)",
  5094. "name": "wrstandardname",
  5095. "in": "query"
  5096. }
  5097. ],
  5098. "responses": {
  5099. "200": {
  5100. "description": "OK",
  5101. "schema": {
  5102. "type": "array",
  5103. "items": {
  5104. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5105. }
  5106. }
  5107. },
  5108. "500": {
  5109. "description": "Internal Server Error",
  5110. "schema": {
  5111. "$ref": "#/definitions/app.Response"
  5112. }
  5113. }
  5114. }
  5115. }
  5116. },
  5117. "/Ermcp3/QuerySpotContract": {
  5118. "get": {
  5119. "security": [
  5120. {
  5121. "ApiKeyAuth": []
  5122. }
  5123. ],
  5124. "produces": [
  5125. "application/json"
  5126. ],
  5127. "tags": [
  5128. "企业风险管理v3(app)"
  5129. ],
  5130. "summary": "查询现货合同",
  5131. "parameters": [
  5132. {
  5133. "type": "integer",
  5134. "description": "用户id(当指定contractid, userid可不填)",
  5135. "name": "userid",
  5136. "in": "query",
  5137. "required": true
  5138. },
  5139. {
  5140. "type": "integer",
  5141. "description": "用户类型 2-机构 7-企业成员",
  5142. "name": "usertype",
  5143. "in": "query"
  5144. },
  5145. {
  5146. "type": "integer",
  5147. "description": "合同类型 1-采购, -1-销售",
  5148. "name": "contracttype",
  5149. "in": "query"
  5150. },
  5151. {
  5152. "type": "integer",
  5153. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成 (当指定contractid, querytype可不填)",
  5154. "name": "querytype",
  5155. "in": "query",
  5156. "required": true
  5157. },
  5158. {
  5159. "type": "string",
  5160. "description": "合同ID(SpotContractId)",
  5161. "name": "contractid",
  5162. "in": "query"
  5163. },
  5164. {
  5165. "type": "string",
  5166. "description": "合同编号(模糊匹配)",
  5167. "name": "contractno",
  5168. "in": "query"
  5169. },
  5170. {
  5171. "type": "string",
  5172. "description": "商品名称(模糊匹配)",
  5173. "name": "wrstandardname",
  5174. "in": "query"
  5175. }
  5176. ],
  5177. "responses": {
  5178. "200": {
  5179. "description": "OK",
  5180. "schema": {
  5181. "type": "array",
  5182. "items": {
  5183. "$ref": "#/definitions/models.Ermcp3Contract"
  5184. }
  5185. }
  5186. },
  5187. "500": {
  5188. "description": "Internal Server Error",
  5189. "schema": {
  5190. "$ref": "#/definitions/app.Response"
  5191. }
  5192. }
  5193. }
  5194. }
  5195. },
  5196. "/Ermcp3/QuerySpotContractBS": {
  5197. "get": {
  5198. "security": [
  5199. {
  5200. "ApiKeyAuth": []
  5201. }
  5202. ],
  5203. "produces": [
  5204. "application/json"
  5205. ],
  5206. "tags": [
  5207. "企业风险管理v3(app)"
  5208. ],
  5209. "summary": "查询合同(采购/销售)",
  5210. "parameters": [
  5211. {
  5212. "type": "integer",
  5213. "description": "用户id",
  5214. "name": "userid",
  5215. "in": "query",
  5216. "required": true
  5217. },
  5218. {
  5219. "type": "integer",
  5220. "description": "用户类型 2-机构 7-企业成员",
  5221. "name": "usertype",
  5222. "in": "query"
  5223. },
  5224. {
  5225. "type": "integer",
  5226. "description": "合同类型 1-采购, -1-销售",
  5227. "name": "contracttype",
  5228. "in": "query",
  5229. "required": true
  5230. },
  5231. {
  5232. "type": "integer",
  5233. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5234. "name": "querytype",
  5235. "in": "query",
  5236. "required": true
  5237. },
  5238. {
  5239. "type": "string",
  5240. "description": "合同ID(SpotContractId)",
  5241. "name": "contractid",
  5242. "in": "query"
  5243. }
  5244. ],
  5245. "responses": {
  5246. "200": {
  5247. "description": "OK",
  5248. "schema": {
  5249. "type": "array",
  5250. "items": {
  5251. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5252. }
  5253. }
  5254. },
  5255. "500": {
  5256. "description": "Internal Server Error",
  5257. "schema": {
  5258. "$ref": "#/definitions/app.Response"
  5259. }
  5260. }
  5261. }
  5262. }
  5263. },
  5264. "/Ermcp3/QuerySpotGoodsPrice": {
  5265. "get": {
  5266. "security": [
  5267. {
  5268. "ApiKeyAuth": []
  5269. }
  5270. ],
  5271. "produces": [
  5272. "application/json"
  5273. ],
  5274. "tags": [
  5275. "企业风险管理v3(app)"
  5276. ],
  5277. "summary": "查询现货市价(现货市价)",
  5278. "parameters": [
  5279. {
  5280. "type": "integer",
  5281. "description": "用户ID",
  5282. "name": "userid",
  5283. "in": "query",
  5284. "required": true
  5285. }
  5286. ],
  5287. "responses": {
  5288. "200": {
  5289. "description": "OK",
  5290. "schema": {
  5291. "type": "array",
  5292. "items": {
  5293. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5294. }
  5295. }
  5296. },
  5297. "500": {
  5298. "description": "Internal Server Error",
  5299. "schema": {
  5300. "$ref": "#/definitions/app.Response"
  5301. }
  5302. }
  5303. }
  5304. }
  5305. },
  5306. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5307. "get": {
  5308. "security": [
  5309. {
  5310. "ApiKeyAuth": []
  5311. }
  5312. ],
  5313. "produces": [
  5314. "application/json"
  5315. ],
  5316. "tags": [
  5317. "企业风险管理v3(app)"
  5318. ],
  5319. "summary": "查询现货市价详情(现货市价/详情)",
  5320. "parameters": [
  5321. {
  5322. "type": "integer",
  5323. "description": "用户ID",
  5324. "name": "userid",
  5325. "in": "query",
  5326. "required": true
  5327. },
  5328. {
  5329. "type": "integer",
  5330. "description": "现货商品ID",
  5331. "name": "deliverygoodsid",
  5332. "in": "query",
  5333. "required": true
  5334. },
  5335. {
  5336. "type": "integer",
  5337. "description": "品牌ID",
  5338. "name": "brandid",
  5339. "in": "query"
  5340. },
  5341. {
  5342. "type": "integer",
  5343. "description": "品类ID",
  5344. "name": "wrstandardid",
  5345. "in": "query"
  5346. }
  5347. ],
  5348. "responses": {
  5349. "200": {
  5350. "description": "OK",
  5351. "schema": {
  5352. "type": "array",
  5353. "items": {
  5354. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5355. }
  5356. }
  5357. },
  5358. "500": {
  5359. "description": "Internal Server Error",
  5360. "schema": {
  5361. "$ref": "#/definitions/app.Response"
  5362. }
  5363. }
  5364. }
  5365. }
  5366. },
  5367. "/Ermcp3/QuerySubTaaccount": {
  5368. "get": {
  5369. "security": [
  5370. {
  5371. "ApiKeyAuth": []
  5372. }
  5373. ],
  5374. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5375. "produces": [
  5376. "application/json"
  5377. ],
  5378. "tags": [
  5379. "企业风险管理v3(app)"
  5380. ],
  5381. "summary": "查询期货子账户",
  5382. "parameters": [
  5383. {
  5384. "type": "integer",
  5385. "description": "母账号id",
  5386. "name": "parentaccountid",
  5387. "in": "query"
  5388. },
  5389. {
  5390. "type": "string",
  5391. "description": "母账号代码",
  5392. "name": "parentaccountcode",
  5393. "in": "query"
  5394. }
  5395. ],
  5396. "responses": {
  5397. "200": {
  5398. "description": "OK",
  5399. "schema": {
  5400. "type": "array",
  5401. "items": {
  5402. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5403. }
  5404. }
  5405. },
  5406. "500": {
  5407. "description": "Internal Server Error",
  5408. "schema": {
  5409. "$ref": "#/definitions/app.Response"
  5410. }
  5411. }
  5412. }
  5413. }
  5414. },
  5415. "/Erms2/QueryArbitrageStrategy": {
  5416. "get": {
  5417. "security": [
  5418. {
  5419. "ApiKeyAuth": []
  5420. }
  5421. ],
  5422. "produces": [
  5423. "application/json"
  5424. ],
  5425. "tags": [
  5426. "风险管理"
  5427. ],
  5428. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5429. "parameters": [
  5430. {
  5431. "type": "integer",
  5432. "description": "账户ID",
  5433. "name": "userid",
  5434. "in": "query",
  5435. "required": true
  5436. },
  5437. {
  5438. "type": "string",
  5439. "description": "商品组ID(品种ID)",
  5440. "name": "goodsgroupid",
  5441. "in": "query"
  5442. }
  5443. ],
  5444. "responses": {
  5445. "200": {
  5446. "description": "OK",
  5447. "schema": {
  5448. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5449. }
  5450. },
  5451. "500": {
  5452. "description": "Internal Server Error",
  5453. "schema": {
  5454. "$ref": "#/definitions/app.Response"
  5455. }
  5456. }
  5457. }
  5458. }
  5459. },
  5460. "/Erms2/QueryInnerTradeDetail": {
  5461. "get": {
  5462. "security": [
  5463. {
  5464. "ApiKeyAuth": []
  5465. }
  5466. ],
  5467. "produces": [
  5468. "application/json"
  5469. ],
  5470. "tags": [
  5471. "风险管理"
  5472. ],
  5473. "summary": "查询内部成交单信息",
  5474. "parameters": [
  5475. {
  5476. "type": "integer",
  5477. "description": "资金账户",
  5478. "name": "accountid",
  5479. "in": "query",
  5480. "required": true
  5481. }
  5482. ],
  5483. "responses": {
  5484. "200": {
  5485. "description": "OK",
  5486. "schema": {
  5487. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5488. }
  5489. },
  5490. "500": {
  5491. "description": "Internal Server Error",
  5492. "schema": {
  5493. "$ref": "#/definitions/app.Response"
  5494. }
  5495. }
  5496. }
  5497. }
  5498. },
  5499. "/Erms2/QuerySpotContract": {
  5500. "get": {
  5501. "security": [
  5502. {
  5503. "ApiKeyAuth": []
  5504. }
  5505. ],
  5506. "produces": [
  5507. "application/json"
  5508. ],
  5509. "tags": [
  5510. "风险管理"
  5511. ],
  5512. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5513. "parameters": [
  5514. {
  5515. "type": "integer",
  5516. "description": "策略申请ID",
  5517. "name": "asapplyid",
  5518. "in": "query",
  5519. "required": true
  5520. },
  5521. {
  5522. "type": "integer",
  5523. "description": "现货合同ID",
  5524. "name": "spotcontractid",
  5525. "in": "query"
  5526. }
  5527. ],
  5528. "responses": {
  5529. "200": {
  5530. "description": "OK",
  5531. "schema": {
  5532. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5533. }
  5534. },
  5535. "500": {
  5536. "description": "Internal Server Error",
  5537. "schema": {
  5538. "$ref": "#/definitions/app.Response"
  5539. }
  5540. }
  5541. }
  5542. }
  5543. },
  5544. "/Erms3/AddErms2ASApply": {
  5545. "post": {
  5546. "security": [
  5547. {
  5548. "ApiKeyAuth": []
  5549. }
  5550. ],
  5551. "produces": [
  5552. "application/json"
  5553. ],
  5554. "tags": [
  5555. "风险管理v3"
  5556. ],
  5557. "summary": "新增期现套利业务申请",
  5558. "parameters": [
  5559. {
  5560. "description": "申请参数",
  5561. "name": "jsonBody",
  5562. "in": "body",
  5563. "required": true,
  5564. "schema": {
  5565. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5566. }
  5567. }
  5568. ],
  5569. "responses": {
  5570. "200": {
  5571. "description": "OK",
  5572. "schema": {
  5573. "$ref": "#/definitions/app.Response"
  5574. }
  5575. },
  5576. "500": {
  5577. "description": "Internal Server Error",
  5578. "schema": {
  5579. "$ref": "#/definitions/app.Response"
  5580. }
  5581. }
  5582. }
  5583. }
  5584. },
  5585. "/Erms3/AddErms2SpotTradeApply": {
  5586. "post": {
  5587. "security": [
  5588. {
  5589. "ApiKeyAuth": []
  5590. }
  5591. ],
  5592. "produces": [
  5593. "application/json"
  5594. ],
  5595. "tags": [
  5596. "风险管理v3"
  5597. ],
  5598. "summary": "新增现货贸易业务申请",
  5599. "parameters": [
  5600. {
  5601. "description": "申请参数",
  5602. "name": "jsonBody",
  5603. "in": "body",
  5604. "required": true,
  5605. "schema": {
  5606. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5607. }
  5608. }
  5609. ],
  5610. "responses": {
  5611. "200": {
  5612. "description": "OK",
  5613. "schema": {
  5614. "$ref": "#/definitions/app.Response"
  5615. }
  5616. },
  5617. "500": {
  5618. "description": "Internal Server Error",
  5619. "schema": {
  5620. "$ref": "#/definitions/app.Response"
  5621. }
  5622. }
  5623. }
  5624. }
  5625. },
  5626. "/Erms3/AddSpotContractApply": {
  5627. "post": {
  5628. "security": [
  5629. {
  5630. "ApiKeyAuth": []
  5631. }
  5632. ],
  5633. "produces": [
  5634. "application/json"
  5635. ],
  5636. "tags": [
  5637. "风险管理v3"
  5638. ],
  5639. "summary": "新增现货合同申请",
  5640. "parameters": [
  5641. {
  5642. "description": "申请参数",
  5643. "name": "jsonBody",
  5644. "in": "body",
  5645. "required": true,
  5646. "schema": {
  5647. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5648. }
  5649. }
  5650. ],
  5651. "responses": {
  5652. "200": {
  5653. "description": "OK",
  5654. "schema": {
  5655. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5656. }
  5657. },
  5658. "500": {
  5659. "description": "Internal Server Error",
  5660. "schema": {
  5661. "$ref": "#/definitions/app.Response"
  5662. }
  5663. }
  5664. }
  5665. }
  5666. },
  5667. "/Erms3/AddUserInfoApply": {
  5668. "post": {
  5669. "security": [
  5670. {
  5671. "ApiKeyAuth": []
  5672. }
  5673. ],
  5674. "produces": [
  5675. "application/json"
  5676. ],
  5677. "tags": [
  5678. "风险管理v3"
  5679. ],
  5680. "summary": "新增客户申请",
  5681. "parameters": [
  5682. {
  5683. "description": "用户信息",
  5684. "name": "jsonBody",
  5685. "in": "body",
  5686. "required": true,
  5687. "schema": {
  5688. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5689. }
  5690. }
  5691. ],
  5692. "responses": {
  5693. "200": {
  5694. "description": "OK",
  5695. "schema": {
  5696. "$ref": "#/definitions/app.Response"
  5697. }
  5698. },
  5699. "500": {
  5700. "description": "Internal Server Error",
  5701. "schema": {
  5702. "$ref": "#/definitions/app.Response"
  5703. }
  5704. }
  5705. }
  5706. }
  5707. },
  5708. "/Erms3/DeleteUserInfoApply": {
  5709. "get": {
  5710. "security": [
  5711. {
  5712. "ApiKeyAuth": []
  5713. }
  5714. ],
  5715. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5716. "produces": [
  5717. "application/json"
  5718. ],
  5719. "tags": [
  5720. "风险管理v3"
  5721. ],
  5722. "summary": "删除客户申请",
  5723. "parameters": [
  5724. {
  5725. "type": "integer",
  5726. "description": "用户ID",
  5727. "name": "userID",
  5728. "in": "query",
  5729. "required": true
  5730. }
  5731. ],
  5732. "responses": {
  5733. "200": {
  5734. "description": "OK",
  5735. "schema": {
  5736. "$ref": "#/definitions/app.Response"
  5737. }
  5738. },
  5739. "500": {
  5740. "description": "Internal Server Error",
  5741. "schema": {
  5742. "$ref": "#/definitions/app.Response"
  5743. }
  5744. }
  5745. }
  5746. }
  5747. },
  5748. "/Erms3/ModifyUserInfoApply": {
  5749. "post": {
  5750. "security": [
  5751. {
  5752. "ApiKeyAuth": []
  5753. }
  5754. ],
  5755. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5756. "produces": [
  5757. "application/json"
  5758. ],
  5759. "tags": [
  5760. "风险管理v3"
  5761. ],
  5762. "summary": "修改客户申请",
  5763. "parameters": [
  5764. {
  5765. "description": "用户信息",
  5766. "name": "jsonBody",
  5767. "in": "body",
  5768. "required": true,
  5769. "schema": {
  5770. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5771. }
  5772. }
  5773. ],
  5774. "responses": {
  5775. "200": {
  5776. "description": "OK",
  5777. "schema": {
  5778. "$ref": "#/definitions/app.Response"
  5779. }
  5780. },
  5781. "500": {
  5782. "description": "Internal Server Error",
  5783. "schema": {
  5784. "$ref": "#/definitions/app.Response"
  5785. }
  5786. }
  5787. }
  5788. }
  5789. },
  5790. "/Erms3/QueryBusinessInfo": {
  5791. "get": {
  5792. "security": [
  5793. {
  5794. "ApiKeyAuth": []
  5795. }
  5796. ],
  5797. "produces": [
  5798. "application/json"
  5799. ],
  5800. "tags": [
  5801. "风险管理v3"
  5802. ],
  5803. "summary": "查询业务表单数据",
  5804. "parameters": [
  5805. {
  5806. "type": "string",
  5807. "description": "资金账号ID列表,用逗号分隔",
  5808. "name": "accountids",
  5809. "in": "query",
  5810. "required": true
  5811. },
  5812. {
  5813. "type": "integer",
  5814. "description": "状态,0为未结束 1为已结束",
  5815. "name": "status",
  5816. "in": "query",
  5817. "required": true
  5818. }
  5819. ],
  5820. "responses": {
  5821. "200": {
  5822. "description": "OK",
  5823. "schema": {
  5824. "type": "array",
  5825. "items": {
  5826. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5827. }
  5828. }
  5829. },
  5830. "500": {
  5831. "description": "Internal Server Error",
  5832. "schema": {
  5833. "$ref": "#/definitions/app.Response"
  5834. }
  5835. }
  5836. }
  5837. }
  5838. },
  5839. "/Erms3/QueryPendingAuditContract": {
  5840. "get": {
  5841. "security": [
  5842. {
  5843. "ApiKeyAuth": []
  5844. }
  5845. ],
  5846. "produces": [
  5847. "application/json"
  5848. ],
  5849. "tags": [
  5850. "风险管理v3"
  5851. ],
  5852. "summary": "查询待审核合同",
  5853. "parameters": [
  5854. {
  5855. "type": "string",
  5856. "description": "资金账号ID列表,逗号隔开",
  5857. "name": "accountids",
  5858. "in": "query",
  5859. "required": true
  5860. },
  5861. {
  5862. "type": "integer",
  5863. "description": "合同类型 1-采购 -1-销售",
  5864. "name": "contracttype",
  5865. "in": "query",
  5866. "required": true
  5867. },
  5868. {
  5869. "type": "integer",
  5870. "description": "合同模式 1-普通 2-回购",
  5871. "name": "contractmode",
  5872. "in": "query",
  5873. "required": true
  5874. }
  5875. ],
  5876. "responses": {
  5877. "200": {
  5878. "description": "OK",
  5879. "schema": {
  5880. "type": "array",
  5881. "items": {
  5882. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5883. }
  5884. }
  5885. },
  5886. "500": {
  5887. "description": "Internal Server Error",
  5888. "schema": {
  5889. "$ref": "#/definitions/app.Response"
  5890. }
  5891. }
  5892. }
  5893. }
  5894. },
  5895. "/Erms3/QueryPendingBusiness": {
  5896. "get": {
  5897. "security": [
  5898. {
  5899. "ApiKeyAuth": []
  5900. }
  5901. ],
  5902. "produces": [
  5903. "application/json"
  5904. ],
  5905. "tags": [
  5906. "风险管理v3"
  5907. ],
  5908. "summary": "查询待审核基差贸易业务",
  5909. "parameters": [
  5910. {
  5911. "type": "string",
  5912. "description": "资金账号ID列表,逗号隔开",
  5913. "name": "accountids",
  5914. "in": "query",
  5915. "required": true
  5916. }
  5917. ],
  5918. "responses": {
  5919. "200": {
  5920. "description": "OK",
  5921. "schema": {
  5922. "type": "array",
  5923. "items": {
  5924. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5925. }
  5926. }
  5927. },
  5928. "500": {
  5929. "description": "Internal Server Error",
  5930. "schema": {
  5931. "$ref": "#/definitions/app.Response"
  5932. }
  5933. }
  5934. }
  5935. }
  5936. },
  5937. "/Erms3/QuerySpotContractAppleForm": {
  5938. "get": {
  5939. "security": [
  5940. {
  5941. "ApiKeyAuth": []
  5942. }
  5943. ],
  5944. "produces": [
  5945. "application/json"
  5946. ],
  5947. "tags": [
  5948. "风险管理v3"
  5949. ],
  5950. "summary": "查询合同申请表单数据",
  5951. "parameters": [
  5952. {
  5953. "type": "integer",
  5954. "description": "登录账号",
  5955. "name": "loginID",
  5956. "in": "query",
  5957. "required": true
  5958. }
  5959. ],
  5960. "responses": {
  5961. "200": {
  5962. "description": "OK",
  5963. "schema": {
  5964. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5965. }
  5966. },
  5967. "500": {
  5968. "description": "Internal Server Error",
  5969. "schema": {
  5970. "$ref": "#/definitions/app.Response"
  5971. }
  5972. }
  5973. }
  5974. }
  5975. },
  5976. "/Erms3/QuerySpotContractDetail": {
  5977. "get": {
  5978. "security": [
  5979. {
  5980. "ApiKeyAuth": []
  5981. }
  5982. ],
  5983. "produces": [
  5984. "application/json"
  5985. ],
  5986. "tags": [
  5987. "风险管理v3"
  5988. ],
  5989. "summary": "查询合同详细信息",
  5990. "parameters": [
  5991. {
  5992. "type": "string",
  5993. "description": "资金账号ID列表,用逗号分隔",
  5994. "name": "accountids",
  5995. "in": "query",
  5996. "required": true
  5997. },
  5998. {
  5999. "type": "integer",
  6000. "description": "合同类型,1为采购合同 -1为销售合同",
  6001. "name": "contracttype",
  6002. "in": "query",
  6003. "required": true
  6004. },
  6005. {
  6006. "type": "integer",
  6007. "description": "合同模式,1为普通合同 2为回购销售合同",
  6008. "name": "contractmode",
  6009. "in": "query",
  6010. "required": true
  6011. },
  6012. {
  6013. "type": "integer",
  6014. "description": "状态,0为履约中 1为已完成",
  6015. "name": "status",
  6016. "in": "query",
  6017. "required": true
  6018. }
  6019. ],
  6020. "responses": {
  6021. "200": {
  6022. "description": "OK",
  6023. "schema": {
  6024. "type": "array",
  6025. "items": {
  6026. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  6027. }
  6028. }
  6029. },
  6030. "500": {
  6031. "description": "Internal Server Error",
  6032. "schema": {
  6033. "$ref": "#/definitions/app.Response"
  6034. }
  6035. }
  6036. }
  6037. }
  6038. },
  6039. "/Erms3/QueryUserInfoApplies": {
  6040. "get": {
  6041. "security": [
  6042. {
  6043. "ApiKeyAuth": []
  6044. }
  6045. ],
  6046. "produces": [
  6047. "application/json"
  6048. ],
  6049. "tags": [
  6050. "风险管理v3"
  6051. ],
  6052. "summary": "客户申请信息查询",
  6053. "parameters": [
  6054. {
  6055. "type": "integer",
  6056. "description": "页码",
  6057. "name": "page",
  6058. "in": "query"
  6059. },
  6060. {
  6061. "type": "integer",
  6062. "description": "每页条数",
  6063. "name": "pagesize",
  6064. "in": "query"
  6065. },
  6066. {
  6067. "type": "string",
  6068. "description": "客户名称,支持模糊查询",
  6069. "name": "userName",
  6070. "in": "query"
  6071. }
  6072. ],
  6073. "responses": {
  6074. "200": {
  6075. "description": "OK",
  6076. "schema": {
  6077. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6078. }
  6079. },
  6080. "500": {
  6081. "description": "Internal Server Error",
  6082. "schema": {
  6083. "$ref": "#/definitions/app.Response"
  6084. }
  6085. }
  6086. }
  6087. }
  6088. },
  6089. "/Erms3/QueryUserInfos": {
  6090. "get": {
  6091. "security": [
  6092. {
  6093. "ApiKeyAuth": []
  6094. }
  6095. ],
  6096. "produces": [
  6097. "application/json"
  6098. ],
  6099. "tags": [
  6100. "风险管理v3"
  6101. ],
  6102. "summary": "客户信息查询",
  6103. "parameters": [
  6104. {
  6105. "type": "integer",
  6106. "description": "页码",
  6107. "name": "page",
  6108. "in": "query"
  6109. },
  6110. {
  6111. "type": "integer",
  6112. "description": "每页条数",
  6113. "name": "pagesize",
  6114. "in": "query"
  6115. },
  6116. {
  6117. "type": "string",
  6118. "description": "客户名称,支持模糊查询",
  6119. "name": "userName",
  6120. "in": "query"
  6121. }
  6122. ],
  6123. "responses": {
  6124. "200": {
  6125. "description": "OK",
  6126. "schema": {
  6127. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6128. }
  6129. },
  6130. "500": {
  6131. "description": "Internal Server Error",
  6132. "schema": {
  6133. "$ref": "#/definitions/app.Response"
  6134. }
  6135. }
  6136. }
  6137. }
  6138. },
  6139. "/HSBY/GetHsbyMyCount": {
  6140. "get": {
  6141. "security": [
  6142. {
  6143. "ApiKeyAuth": []
  6144. }
  6145. ],
  6146. "description": "说明: 不包括已完成的数量。",
  6147. "produces": [
  6148. "application/json"
  6149. ],
  6150. "tags": [
  6151. "定制【海商报业】"
  6152. ],
  6153. "summary": "获取我的订单与包裹数量",
  6154. "parameters": [
  6155. {
  6156. "type": "string",
  6157. "description": "资金账户列表,格式:1,2,3",
  6158. "name": "accountIDs",
  6159. "in": "query",
  6160. "required": true
  6161. }
  6162. ],
  6163. "responses": {
  6164. "200": {
  6165. "description": "OK",
  6166. "schema": {
  6167. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6168. }
  6169. },
  6170. "500": {
  6171. "description": "Internal Server Error",
  6172. "schema": {
  6173. "$ref": "#/definitions/app.Response"
  6174. }
  6175. }
  6176. }
  6177. }
  6178. },
  6179. "/HSBY/QueryClientFixedADConfigs": {
  6180. "get": {
  6181. "security": [
  6182. {
  6183. "ApiKeyAuth": []
  6184. }
  6185. ],
  6186. "produces": [
  6187. "application/json"
  6188. ],
  6189. "tags": [
  6190. "定制【海商报业】"
  6191. ],
  6192. "summary": "获取终端固定广告配置",
  6193. "responses": {
  6194. "200": {
  6195. "description": "OK",
  6196. "schema": {
  6197. "$ref": "#/definitions/models.Clientfixedadconfig"
  6198. }
  6199. },
  6200. "500": {
  6201. "description": "Internal Server Error",
  6202. "schema": {
  6203. "$ref": "#/definitions/app.Response"
  6204. }
  6205. }
  6206. }
  6207. }
  6208. },
  6209. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6210. "get": {
  6211. "security": [
  6212. {
  6213. "ApiKeyAuth": []
  6214. }
  6215. ],
  6216. "produces": [
  6217. "application/json"
  6218. ],
  6219. "tags": [
  6220. "定制【海商报业】"
  6221. ],
  6222. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6223. "parameters": [
  6224. {
  6225. "type": "integer",
  6226. "description": "页码",
  6227. "name": "page",
  6228. "in": "query"
  6229. },
  6230. {
  6231. "type": "integer",
  6232. "description": "每页条数",
  6233. "name": "pagesize",
  6234. "in": "query"
  6235. },
  6236. {
  6237. "type": "string",
  6238. "description": "资金账户列表,格式:1,2,3",
  6239. "name": "accountIDs",
  6240. "in": "query",
  6241. "required": true
  6242. }
  6243. ],
  6244. "responses": {
  6245. "200": {
  6246. "description": "OK",
  6247. "schema": {
  6248. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6249. }
  6250. },
  6251. "500": {
  6252. "description": "Internal Server Error",
  6253. "schema": {
  6254. "$ref": "#/definitions/app.Response"
  6255. }
  6256. }
  6257. }
  6258. }
  6259. },
  6260. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6261. "get": {
  6262. "security": [
  6263. {
  6264. "ApiKeyAuth": []
  6265. }
  6266. ],
  6267. "description": "说明:查询结果已按委托价格和委托时间排序",
  6268. "produces": [
  6269. "application/json"
  6270. ],
  6271. "tags": [
  6272. "定制【海商报业】"
  6273. ],
  6274. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6275. "parameters": [
  6276. {
  6277. "type": "integer",
  6278. "description": "商品ID",
  6279. "name": "goodsID",
  6280. "in": "query",
  6281. "required": true
  6282. },
  6283. {
  6284. "type": "string",
  6285. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6286. "name": "accountIDs",
  6287. "in": "query"
  6288. },
  6289. {
  6290. "type": "integer",
  6291. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6292. "name": "buyOrSell",
  6293. "in": "query"
  6294. },
  6295. {
  6296. "type": "number",
  6297. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6298. "name": "price",
  6299. "in": "query"
  6300. },
  6301. {
  6302. "type": "integer",
  6303. "description": "档位,不传则默认为3档",
  6304. "name": "speed",
  6305. "in": "query"
  6306. }
  6307. ],
  6308. "responses": {
  6309. "200": {
  6310. "description": "OK",
  6311. "schema": {
  6312. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6313. }
  6314. },
  6315. "500": {
  6316. "description": "Internal Server Error",
  6317. "schema": {
  6318. "$ref": "#/definitions/app.Response"
  6319. }
  6320. }
  6321. }
  6322. }
  6323. },
  6324. "/HSBY/QueryHsbyListingGoodsDetail": {
  6325. "get": {
  6326. "security": [
  6327. {
  6328. "ApiKeyAuth": []
  6329. }
  6330. ],
  6331. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6332. "produces": [
  6333. "application/json"
  6334. ],
  6335. "tags": [
  6336. "定制【海商报业】"
  6337. ],
  6338. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6339. "parameters": [
  6340. {
  6341. "type": "integer",
  6342. "description": "商品ID",
  6343. "name": "goodsID",
  6344. "in": "query",
  6345. "required": true
  6346. },
  6347. {
  6348. "type": "integer",
  6349. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6350. "name": "accountID",
  6351. "in": "query"
  6352. }
  6353. ],
  6354. "responses": {
  6355. "200": {
  6356. "description": "OK",
  6357. "schema": {
  6358. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6359. }
  6360. },
  6361. "500": {
  6362. "description": "Internal Server Error",
  6363. "schema": {
  6364. "$ref": "#/definitions/app.Response"
  6365. }
  6366. }
  6367. }
  6368. }
  6369. },
  6370. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6371. "get": {
  6372. "security": [
  6373. {
  6374. "ApiKeyAuth": []
  6375. }
  6376. ],
  6377. "produces": [
  6378. "application/json"
  6379. ],
  6380. "tags": [
  6381. "定制【海商报业】"
  6382. ],
  6383. "summary": "查询三级市场(商城)商品信息详情",
  6384. "parameters": [
  6385. {
  6386. "type": "integer",
  6387. "description": "委托单号",
  6388. "name": "orderID",
  6389. "in": "query",
  6390. "required": true
  6391. },
  6392. {
  6393. "type": "integer",
  6394. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6395. "name": "accountID",
  6396. "in": "query"
  6397. }
  6398. ],
  6399. "responses": {
  6400. "200": {
  6401. "description": "OK",
  6402. "schema": {
  6403. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6404. }
  6405. },
  6406. "500": {
  6407. "description": "Internal Server Error",
  6408. "schema": {
  6409. "$ref": "#/definitions/app.Response"
  6410. }
  6411. }
  6412. }
  6413. }
  6414. },
  6415. "/HSBY/QueryHsbyMarketGoodses": {
  6416. "get": {
  6417. "security": [
  6418. {
  6419. "ApiKeyAuth": []
  6420. }
  6421. ],
  6422. "produces": [
  6423. "application/json"
  6424. ],
  6425. "tags": [
  6426. "定制【海商报业】"
  6427. ],
  6428. "summary": "查询特卖商品列表(三级商城)",
  6429. "parameters": [
  6430. {
  6431. "type": "integer",
  6432. "description": "页码",
  6433. "name": "page",
  6434. "in": "query"
  6435. },
  6436. {
  6437. "type": "integer",
  6438. "description": "每页条数",
  6439. "name": "pagesize",
  6440. "in": "query"
  6441. },
  6442. {
  6443. "type": "string",
  6444. "description": "市场ID列表,格式:1,2,3",
  6445. "name": "marketIDs",
  6446. "in": "query",
  6447. "required": true
  6448. },
  6449. {
  6450. "type": "integer",
  6451. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6452. "name": "accountID",
  6453. "in": "query",
  6454. "required": true
  6455. },
  6456. {
  6457. "type": "integer",
  6458. "description": "类别ID",
  6459. "name": "categoryID",
  6460. "in": "query"
  6461. },
  6462. {
  6463. "type": "string",
  6464. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6465. "name": "goodsIDs",
  6466. "in": "query"
  6467. },
  6468. {
  6469. "type": "integer",
  6470. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6471. "name": "couponTypeID",
  6472. "in": "query"
  6473. }
  6474. ],
  6475. "responses": {
  6476. "200": {
  6477. "description": "OK",
  6478. "schema": {
  6479. "$ref": "#/definitions/models.HsbyMarketGoods"
  6480. }
  6481. },
  6482. "500": {
  6483. "description": "Internal Server Error",
  6484. "schema": {
  6485. "$ref": "#/definitions/app.Response"
  6486. }
  6487. }
  6488. }
  6489. }
  6490. },
  6491. "/HSBY/QueryHsbyMarkets": {
  6492. "get": {
  6493. "security": [
  6494. {
  6495. "ApiKeyAuth": []
  6496. }
  6497. ],
  6498. "produces": [
  6499. "application/json"
  6500. ],
  6501. "tags": [
  6502. "定制【海商报业】"
  6503. ],
  6504. "summary": "查询海商报业相关市场信息",
  6505. "responses": {
  6506. "200": {
  6507. "description": "OK",
  6508. "schema": {
  6509. "$ref": "#/definitions/models.HsbyMarketInfo"
  6510. }
  6511. },
  6512. "500": {
  6513. "description": "Internal Server Error",
  6514. "schema": {
  6515. "$ref": "#/definitions/app.Response"
  6516. }
  6517. }
  6518. }
  6519. }
  6520. },
  6521. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6522. "get": {
  6523. "security": [
  6524. {
  6525. "ApiKeyAuth": []
  6526. }
  6527. ],
  6528. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6529. "produces": [
  6530. "application/json"
  6531. ],
  6532. "tags": [
  6533. "定制【海商报业】"
  6534. ],
  6535. "summary": "查询“我的订单”信息",
  6536. "parameters": [
  6537. {
  6538. "type": "string",
  6539. "description": "资金账户列表,格式:1,2,3",
  6540. "name": "accountIDs",
  6541. "in": "query",
  6542. "required": true
  6543. }
  6544. ],
  6545. "responses": {
  6546. "200": {
  6547. "description": "OK",
  6548. "schema": {
  6549. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6550. }
  6551. },
  6552. "500": {
  6553. "description": "Internal Server Error",
  6554. "schema": {
  6555. "$ref": "#/definitions/app.Response"
  6556. }
  6557. }
  6558. }
  6559. }
  6560. },
  6561. "/HSBY/QueryHsbyMyGoods": {
  6562. "get": {
  6563. "security": [
  6564. {
  6565. "ApiKeyAuth": []
  6566. }
  6567. ],
  6568. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6569. "produces": [
  6570. "application/json"
  6571. ],
  6572. "tags": [
  6573. "定制【海商报业】"
  6574. ],
  6575. "summary": "查询“我的商品”信息",
  6576. "parameters": [
  6577. {
  6578. "type": "string",
  6579. "description": "资金账户列表,格式:1,2,3",
  6580. "name": "accountIDs",
  6581. "in": "query",
  6582. "required": true
  6583. }
  6584. ],
  6585. "responses": {
  6586. "200": {
  6587. "description": "OK",
  6588. "schema": {
  6589. "$ref": "#/definitions/models.HsbyMyGoods"
  6590. }
  6591. },
  6592. "500": {
  6593. "description": "Internal Server Error",
  6594. "schema": {
  6595. "$ref": "#/definitions/app.Response"
  6596. }
  6597. }
  6598. }
  6599. }
  6600. },
  6601. "/HSBY/QueryHsbyMyPackages": {
  6602. "get": {
  6603. "security": [
  6604. {
  6605. "ApiKeyAuth": []
  6606. }
  6607. ],
  6608. "produces": [
  6609. "application/json"
  6610. ],
  6611. "tags": [
  6612. "定制【海商报业】"
  6613. ],
  6614. "summary": "查询我的包裹信息",
  6615. "parameters": [
  6616. {
  6617. "type": "string",
  6618. "description": "资金账户列表,格式:1,2,3",
  6619. "name": "accountIDs",
  6620. "in": "query",
  6621. "required": true
  6622. },
  6623. {
  6624. "type": "integer",
  6625. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6626. "name": "takeOrderStatus",
  6627. "in": "query"
  6628. }
  6629. ],
  6630. "responses": {
  6631. "200": {
  6632. "description": "OK",
  6633. "schema": {
  6634. "$ref": "#/definitions/models.HsbyMyPackage"
  6635. }
  6636. },
  6637. "500": {
  6638. "description": "Internal Server Error",
  6639. "schema": {
  6640. "$ref": "#/definitions/app.Response"
  6641. }
  6642. }
  6643. }
  6644. }
  6645. },
  6646. "/HSBY/QueryHsbyPreGoodsDetail": {
  6647. "get": {
  6648. "security": [
  6649. {
  6650. "ApiKeyAuth": []
  6651. }
  6652. ],
  6653. "produces": [
  6654. "application/json"
  6655. ],
  6656. "tags": [
  6657. "定制【海商报业】"
  6658. ],
  6659. "summary": "查询一级市场(预售)商品信息详情",
  6660. "parameters": [
  6661. {
  6662. "type": "integer",
  6663. "description": "商品ID",
  6664. "name": "goodsID",
  6665. "in": "query",
  6666. "required": true
  6667. },
  6668. {
  6669. "type": "integer",
  6670. "description": "资金账户,主要用于获取预售商品购买上限",
  6671. "name": "accountID",
  6672. "in": "query"
  6673. }
  6674. ],
  6675. "responses": {
  6676. "200": {
  6677. "description": "OK",
  6678. "schema": {
  6679. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6680. }
  6681. },
  6682. "500": {
  6683. "description": "Internal Server Error",
  6684. "schema": {
  6685. "$ref": "#/definitions/app.Response"
  6686. }
  6687. }
  6688. }
  6689. }
  6690. },
  6691. "/HSBY/QueryHsbyPreGoodses": {
  6692. "get": {
  6693. "security": [
  6694. {
  6695. "ApiKeyAuth": []
  6696. }
  6697. ],
  6698. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6699. "produces": [
  6700. "application/json"
  6701. ],
  6702. "tags": [
  6703. "定制【海商报业】"
  6704. ],
  6705. "summary": "查询新品上市商品列表(一级市场预售)",
  6706. "parameters": [
  6707. {
  6708. "type": "integer",
  6709. "description": "页码",
  6710. "name": "page",
  6711. "in": "query"
  6712. },
  6713. {
  6714. "type": "integer",
  6715. "description": "每页条数",
  6716. "name": "pagesize",
  6717. "in": "query"
  6718. },
  6719. {
  6720. "type": "string",
  6721. "description": "市场ID列表,格式:1,2,3",
  6722. "name": "marketIDs",
  6723. "in": "query",
  6724. "required": true
  6725. },
  6726. {
  6727. "type": "integer",
  6728. "description": "目的地(省)ID",
  6729. "name": "descProvinceID",
  6730. "in": "query"
  6731. },
  6732. {
  6733. "type": "integer",
  6734. "description": "目的地(市)ID",
  6735. "name": "descCityID",
  6736. "in": "query"
  6737. }
  6738. ],
  6739. "responses": {
  6740. "200": {
  6741. "description": "OK",
  6742. "schema": {
  6743. "$ref": "#/definitions/models.HsbyPreGoods"
  6744. }
  6745. },
  6746. "500": {
  6747. "description": "Internal Server Error",
  6748. "schema": {
  6749. "$ref": "#/definitions/app.Response"
  6750. }
  6751. }
  6752. }
  6753. }
  6754. },
  6755. "/HSBY/QueryHsbySellMyDetails": {
  6756. "get": {
  6757. "security": [
  6758. {
  6759. "ApiKeyAuth": []
  6760. }
  6761. ],
  6762. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6763. "produces": [
  6764. "application/json"
  6765. ],
  6766. "tags": [
  6767. "定制【海商报业】"
  6768. ],
  6769. "summary": "查询\"我的闲置\"单据信息",
  6770. "parameters": [
  6771. {
  6772. "type": "integer",
  6773. "description": "页码",
  6774. "name": "page",
  6775. "in": "query"
  6776. },
  6777. {
  6778. "type": "integer",
  6779. "description": "每页条数",
  6780. "name": "pagesize",
  6781. "in": "query"
  6782. },
  6783. {
  6784. "type": "string",
  6785. "description": "资金账户列表,格式:1,2,3",
  6786. "name": "accountIDs",
  6787. "in": "query",
  6788. "required": true
  6789. },
  6790. {
  6791. "type": "integer",
  6792. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6793. "name": "orderType",
  6794. "in": "query"
  6795. }
  6796. ],
  6797. "responses": {
  6798. "200": {
  6799. "description": "OK",
  6800. "schema": {
  6801. "$ref": "#/definitions/models.HsbySellMyDetail"
  6802. }
  6803. },
  6804. "500": {
  6805. "description": "Internal Server Error",
  6806. "schema": {
  6807. "$ref": "#/definitions/app.Response"
  6808. }
  6809. }
  6810. }
  6811. }
  6812. },
  6813. "/HSBY/QueryHsbyTopGoodses": {
  6814. "get": {
  6815. "security": [
  6816. {
  6817. "ApiKeyAuth": []
  6818. }
  6819. ],
  6820. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6821. "produces": [
  6822. "application/json"
  6823. ],
  6824. "tags": [
  6825. "定制【海商报业】"
  6826. ],
  6827. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6828. "parameters": [
  6829. {
  6830. "type": "integer",
  6831. "description": "页码",
  6832. "name": "page",
  6833. "in": "query"
  6834. },
  6835. {
  6836. "type": "integer",
  6837. "description": "每页条数",
  6838. "name": "pagesize",
  6839. "in": "query"
  6840. },
  6841. {
  6842. "type": "string",
  6843. "description": "市场ID列表,格式:1,2,3",
  6844. "name": "marketIDs",
  6845. "in": "query",
  6846. "required": true
  6847. },
  6848. {
  6849. "type": "integer",
  6850. "description": "目的地(省)ID",
  6851. "name": "descProvinceID",
  6852. "in": "query"
  6853. },
  6854. {
  6855. "type": "integer",
  6856. "description": "目的地(市)ID",
  6857. "name": "descCityID",
  6858. "in": "query"
  6859. }
  6860. ],
  6861. "responses": {
  6862. "200": {
  6863. "description": "OK",
  6864. "schema": {
  6865. "$ref": "#/definitions/models.HsbyTopGoods"
  6866. }
  6867. },
  6868. "500": {
  6869. "description": "Internal Server Error",
  6870. "schema": {
  6871. "$ref": "#/definitions/app.Response"
  6872. }
  6873. }
  6874. }
  6875. }
  6876. },
  6877. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6878. "get": {
  6879. "security": [
  6880. {
  6881. "ApiKeyAuth": []
  6882. }
  6883. ],
  6884. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6885. "produces": [
  6886. "application/json"
  6887. ],
  6888. "tags": [
  6889. "定制【海商报业】"
  6890. ],
  6891. "summary": "查询游客三级市场(商城)商品信息详情",
  6892. "parameters": [
  6893. {
  6894. "type": "integer",
  6895. "description": "商品ID",
  6896. "name": "goodsID",
  6897. "in": "query",
  6898. "required": true
  6899. }
  6900. ],
  6901. "responses": {
  6902. "200": {
  6903. "description": "OK",
  6904. "schema": {
  6905. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6906. }
  6907. },
  6908. "500": {
  6909. "description": "Internal Server Error",
  6910. "schema": {
  6911. "$ref": "#/definitions/app.Response"
  6912. }
  6913. }
  6914. }
  6915. }
  6916. },
  6917. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6918. "get": {
  6919. "security": [
  6920. {
  6921. "ApiKeyAuth": []
  6922. }
  6923. ],
  6924. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6925. "produces": [
  6926. "application/json"
  6927. ],
  6928. "tags": [
  6929. "定制【海商报业】"
  6930. ],
  6931. "summary": "查询游客特卖商品列表(三级商城)",
  6932. "parameters": [
  6933. {
  6934. "type": "integer",
  6935. "description": "页码",
  6936. "name": "page",
  6937. "in": "query"
  6938. },
  6939. {
  6940. "type": "integer",
  6941. "description": "每页条数",
  6942. "name": "pagesize",
  6943. "in": "query"
  6944. },
  6945. {
  6946. "type": "string",
  6947. "description": "市场ID列表,格式:1,2,3",
  6948. "name": "marketIDs",
  6949. "in": "query",
  6950. "required": true
  6951. },
  6952. {
  6953. "type": "integer",
  6954. "description": "类别ID",
  6955. "name": "categoryID",
  6956. "in": "query"
  6957. },
  6958. {
  6959. "type": "string",
  6960. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6961. "name": "goodsIDs",
  6962. "in": "query"
  6963. }
  6964. ],
  6965. "responses": {
  6966. "200": {
  6967. "description": "OK",
  6968. "schema": {
  6969. "$ref": "#/definitions/models.HsbyMarketGoods"
  6970. }
  6971. },
  6972. "500": {
  6973. "description": "Internal Server Error",
  6974. "schema": {
  6975. "$ref": "#/definitions/app.Response"
  6976. }
  6977. }
  6978. }
  6979. }
  6980. },
  6981. "/HSBY/QueryMyCollectionOrders": {
  6982. "get": {
  6983. "security": [
  6984. {
  6985. "ApiKeyAuth": []
  6986. }
  6987. ],
  6988. "produces": [
  6989. "application/json"
  6990. ],
  6991. "tags": [
  6992. "定制【海商报业】"
  6993. ],
  6994. "summary": "我的闲置中收款信息查询",
  6995. "parameters": [
  6996. {
  6997. "type": "integer",
  6998. "description": "页码",
  6999. "name": "page",
  7000. "in": "query"
  7001. },
  7002. {
  7003. "type": "integer",
  7004. "description": "每页条数",
  7005. "name": "pagesize",
  7006. "in": "query"
  7007. },
  7008. {
  7009. "type": "string",
  7010. "description": "资金账户,格式:1,2,3",
  7011. "name": "accountIDs",
  7012. "in": "query",
  7013. "required": true
  7014. }
  7015. ],
  7016. "responses": {
  7017. "200": {
  7018. "description": "OK",
  7019. "schema": {
  7020. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  7021. }
  7022. },
  7023. "500": {
  7024. "description": "Internal Server Error",
  7025. "schema": {
  7026. "$ref": "#/definitions/app.Response"
  7027. }
  7028. }
  7029. }
  7030. }
  7031. },
  7032. "/HSBY/QueryMyCouponHolds": {
  7033. "get": {
  7034. "security": [
  7035. {
  7036. "ApiKeyAuth": []
  7037. }
  7038. ],
  7039. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  7040. "produces": [
  7041. "application/json"
  7042. ],
  7043. "tags": [
  7044. "定制【海商报业】"
  7045. ],
  7046. "summary": "我的优惠卷持仓查询",
  7047. "parameters": [
  7048. {
  7049. "type": "string",
  7050. "description": "资金账户列表,格式:1,2,3",
  7051. "name": "accountIDs",
  7052. "in": "query",
  7053. "required": true
  7054. },
  7055. {
  7056. "type": "string",
  7057. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  7058. "name": "holdStatus",
  7059. "in": "query"
  7060. }
  7061. ],
  7062. "responses": {
  7063. "200": {
  7064. "description": "OK",
  7065. "schema": {
  7066. "$ref": "#/definitions/models.MyCouponHold"
  7067. }
  7068. },
  7069. "500": {
  7070. "description": "Internal Server Error",
  7071. "schema": {
  7072. "$ref": "#/definitions/app.Response"
  7073. }
  7074. }
  7075. }
  7076. }
  7077. },
  7078. "/HSBY/QueryMyCoupons": {
  7079. "get": {
  7080. "security": [
  7081. {
  7082. "ApiKeyAuth": []
  7083. }
  7084. ],
  7085. "produces": [
  7086. "application/json"
  7087. ],
  7088. "tags": [
  7089. "定制【海商报业】"
  7090. ],
  7091. "summary": "我的优惠卷查询",
  7092. "parameters": [
  7093. {
  7094. "type": "string",
  7095. "description": "资金账户列表,格式:1,2,3",
  7096. "name": "accountIDs",
  7097. "in": "query",
  7098. "required": true
  7099. },
  7100. {
  7101. "type": "integer",
  7102. "description": "商品ID, 一般与sellUserID配套传入",
  7103. "name": "goodsID",
  7104. "in": "query"
  7105. },
  7106. {
  7107. "type": "integer",
  7108. "description": "卖方UserID",
  7109. "name": "sellUserID",
  7110. "in": "query"
  7111. }
  7112. ],
  7113. "responses": {
  7114. "200": {
  7115. "description": "OK",
  7116. "schema": {
  7117. "$ref": "#/definitions/models.MyCoupon"
  7118. }
  7119. },
  7120. "500": {
  7121. "description": "Internal Server Error",
  7122. "schema": {
  7123. "$ref": "#/definitions/app.Response"
  7124. }
  7125. }
  7126. }
  7127. }
  7128. },
  7129. "/HSBY/QueryMyPayOrders": {
  7130. "get": {
  7131. "security": [
  7132. {
  7133. "ApiKeyAuth": []
  7134. }
  7135. ],
  7136. "produces": [
  7137. "application/json"
  7138. ],
  7139. "tags": [
  7140. "定制【海商报业】"
  7141. ],
  7142. "summary": "获取我的订单中待付款信息",
  7143. "parameters": [
  7144. {
  7145. "type": "integer",
  7146. "description": "页码",
  7147. "name": "page",
  7148. "in": "query"
  7149. },
  7150. {
  7151. "type": "integer",
  7152. "description": "每页条数",
  7153. "name": "pagesize",
  7154. "in": "query"
  7155. },
  7156. {
  7157. "type": "string",
  7158. "description": "资金账户列表,格式:1,2,3",
  7159. "name": "accountIDs",
  7160. "in": "query",
  7161. "required": true
  7162. },
  7163. {
  7164. "type": "integer",
  7165. "description": "买方委托单号",
  7166. "name": "buyOrderID",
  7167. "in": "query"
  7168. },
  7169. {
  7170. "type": "integer",
  7171. "description": "卖方委托单号",
  7172. "name": "sellOrderID",
  7173. "in": "query"
  7174. }
  7175. ],
  7176. "responses": {
  7177. "200": {
  7178. "description": "OK",
  7179. "schema": {
  7180. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7181. }
  7182. },
  7183. "500": {
  7184. "description": "Internal Server Error",
  7185. "schema": {
  7186. "$ref": "#/definitions/app.Response"
  7187. }
  7188. }
  7189. }
  7190. }
  7191. },
  7192. "/HSBY/QueryMyUsedCoupon": {
  7193. "get": {
  7194. "security": [
  7195. {
  7196. "ApiKeyAuth": []
  7197. }
  7198. ],
  7199. "produces": [
  7200. "application/json"
  7201. ],
  7202. "tags": [
  7203. "定制【海商报业】"
  7204. ],
  7205. "summary": "已使用优惠卷查询",
  7206. "parameters": [
  7207. {
  7208. "type": "string",
  7209. "description": "资金账户列表,格式:1,2,3",
  7210. "name": "accountIDs",
  7211. "in": "query",
  7212. "required": true
  7213. }
  7214. ],
  7215. "responses": {
  7216. "200": {
  7217. "description": "OK",
  7218. "schema": {
  7219. "$ref": "#/definitions/models.MyUsedCoupon"
  7220. }
  7221. },
  7222. "500": {
  7223. "description": "Internal Server Error",
  7224. "schema": {
  7225. "$ref": "#/definitions/app.Response"
  7226. }
  7227. }
  7228. }
  7229. }
  7230. },
  7231. "/HSBY/QueryProvincesAndCities": {
  7232. "get": {
  7233. "security": [
  7234. {
  7235. "ApiKeyAuth": []
  7236. }
  7237. ],
  7238. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7239. "produces": [
  7240. "application/json"
  7241. ],
  7242. "tags": [
  7243. "定制【海商报业】"
  7244. ],
  7245. "summary": "查询省市信息(不包括区)",
  7246. "parameters": [
  7247. {
  7248. "type": "integer",
  7249. "description": "省ID",
  7250. "name": "provinceID",
  7251. "in": "query"
  7252. }
  7253. ],
  7254. "responses": {
  7255. "200": {
  7256. "description": "OK",
  7257. "schema": {
  7258. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7259. }
  7260. },
  7261. "500": {
  7262. "description": "Internal Server Error",
  7263. "schema": {
  7264. "$ref": "#/definitions/app.Response"
  7265. }
  7266. }
  7267. }
  7268. }
  7269. },
  7270. "/HSBY/SetHsbyMyPackagesStatus": {
  7271. "post": {
  7272. "security": [
  7273. {
  7274. "ApiKeyAuth": []
  7275. }
  7276. ],
  7277. "produces": [
  7278. "application/json"
  7279. ],
  7280. "tags": [
  7281. "定制【海商报业】"
  7282. ],
  7283. "summary": "设置我的包裹已收货状态",
  7284. "parameters": [
  7285. {
  7286. "type": "string",
  7287. "description": "提货单号",
  7288. "name": "takeOrderID",
  7289. "in": "query",
  7290. "required": true
  7291. },
  7292. {
  7293. "type": "integer",
  7294. "description": "资金账号",
  7295. "name": "accountID",
  7296. "in": "query",
  7297. "required": true
  7298. }
  7299. ],
  7300. "responses": {
  7301. "200": {
  7302. "description": "OK",
  7303. "schema": {
  7304. "$ref": "#/definitions/app.Response"
  7305. }
  7306. },
  7307. "500": {
  7308. "description": "Internal Server Error",
  7309. "schema": {
  7310. "$ref": "#/definitions/app.Response"
  7311. }
  7312. }
  7313. }
  7314. }
  7315. },
  7316. "/Market/GetAllExExchanges": {
  7317. "get": {
  7318. "security": [
  7319. {
  7320. "ApiKeyAuth": []
  7321. }
  7322. ],
  7323. "produces": [
  7324. "application/json"
  7325. ],
  7326. "tags": [
  7327. "通用市场"
  7328. ],
  7329. "summary": "获取所有外部交易所信息",
  7330. "responses": {
  7331. "200": {
  7332. "description": "OK",
  7333. "schema": {
  7334. "$ref": "#/definitions/models.Goods"
  7335. }
  7336. },
  7337. "500": {
  7338. "description": "Internal Server Error",
  7339. "schema": {
  7340. "$ref": "#/definitions/app.Response"
  7341. }
  7342. }
  7343. }
  7344. }
  7345. },
  7346. "/Market/QueryGoodsesByLoginID": {
  7347. "get": {
  7348. "security": [
  7349. {
  7350. "ApiKeyAuth": []
  7351. }
  7352. ],
  7353. "produces": [
  7354. "application/json"
  7355. ],
  7356. "tags": [
  7357. "通用市场"
  7358. ],
  7359. "summary": "获取登录账号有权限的商品信息",
  7360. "parameters": [
  7361. {
  7362. "type": "integer",
  7363. "description": "登录账号",
  7364. "name": "loginID",
  7365. "in": "query",
  7366. "required": true
  7367. },
  7368. {
  7369. "type": "string",
  7370. "description": "市场ID列表,格式:1,2,3",
  7371. "name": "marketIDs",
  7372. "in": "query"
  7373. }
  7374. ],
  7375. "responses": {
  7376. "200": {
  7377. "description": "OK",
  7378. "schema": {
  7379. "$ref": "#/definitions/models.Goods"
  7380. }
  7381. },
  7382. "500": {
  7383. "description": "Internal Server Error",
  7384. "schema": {
  7385. "$ref": "#/definitions/app.Response"
  7386. }
  7387. }
  7388. }
  7389. }
  7390. },
  7391. "/Market/QueryMarketRun": {
  7392. "get": {
  7393. "security": [
  7394. {
  7395. "ApiKeyAuth": []
  7396. }
  7397. ],
  7398. "produces": [
  7399. "application/json"
  7400. ],
  7401. "tags": [
  7402. "通用市场"
  7403. ],
  7404. "summary": "查询市场运行信息",
  7405. "parameters": [
  7406. {
  7407. "type": "integer",
  7408. "description": "市场ID,不传返回所有",
  7409. "name": "marketID",
  7410. "in": "query"
  7411. }
  7412. ],
  7413. "responses": {
  7414. "200": {
  7415. "description": "OK",
  7416. "schema": {
  7417. "$ref": "#/definitions/models.Marketrun"
  7418. }
  7419. },
  7420. "500": {
  7421. "description": "Internal Server Error",
  7422. "schema": {
  7423. "$ref": "#/definitions/app.Response"
  7424. }
  7425. }
  7426. }
  7427. }
  7428. },
  7429. "/Market/QueryMarketsByLoginID": {
  7430. "get": {
  7431. "security": [
  7432. {
  7433. "ApiKeyAuth": []
  7434. }
  7435. ],
  7436. "produces": [
  7437. "application/json"
  7438. ],
  7439. "tags": [
  7440. "通用市场"
  7441. ],
  7442. "summary": "获取登录账号有权限的市场信息",
  7443. "parameters": [
  7444. {
  7445. "type": "integer",
  7446. "description": "登录账号",
  7447. "name": "loginID",
  7448. "in": "query",
  7449. "required": true
  7450. }
  7451. ],
  7452. "responses": {
  7453. "200": {
  7454. "description": "OK",
  7455. "schema": {
  7456. "$ref": "#/definitions/models.Market"
  7457. }
  7458. },
  7459. "500": {
  7460. "description": "Internal Server Error",
  7461. "schema": {
  7462. "$ref": "#/definitions/app.Response"
  7463. }
  7464. }
  7465. }
  7466. }
  7467. },
  7468. "/Order/QueryHisTradeDetail": {
  7469. "get": {
  7470. "security": [
  7471. {
  7472. "ApiKeyAuth": []
  7473. }
  7474. ],
  7475. "produces": [
  7476. "application/json"
  7477. ],
  7478. "tags": [
  7479. "通用单据"
  7480. ],
  7481. "summary": "历史成交单查询(合约市场)",
  7482. "parameters": [
  7483. {
  7484. "type": "string",
  7485. "description": "资金账户 - 格式:1,2,3",
  7486. "name": "accountID",
  7487. "in": "query",
  7488. "required": true
  7489. },
  7490. {
  7491. "type": "integer",
  7492. "description": "成交单号",
  7493. "name": "tradeID",
  7494. "in": "query"
  7495. },
  7496. {
  7497. "type": "integer",
  7498. "description": "委托单号",
  7499. "name": "orderID",
  7500. "in": "query"
  7501. },
  7502. {
  7503. "type": "integer",
  7504. "description": "商品ID",
  7505. "name": "goodsID",
  7506. "in": "query"
  7507. },
  7508. {
  7509. "type": "string",
  7510. "description": "交易模式 - 格式:1,2,3",
  7511. "name": "tradeMode",
  7512. "in": "query"
  7513. },
  7514. {
  7515. "type": "integer",
  7516. "description": "委托单据类型",
  7517. "name": "buildType",
  7518. "in": "query"
  7519. },
  7520. {
  7521. "type": "string",
  7522. "description": "成交类别 - 格式:1,2,3",
  7523. "name": "tradeType",
  7524. "in": "query"
  7525. },
  7526. {
  7527. "type": "string",
  7528. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7529. "name": "startDate",
  7530. "in": "query"
  7531. },
  7532. {
  7533. "type": "string",
  7534. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7535. "name": "endDate",
  7536. "in": "query"
  7537. }
  7538. ],
  7539. "responses": {
  7540. "200": {
  7541. "description": "OK",
  7542. "schema": {
  7543. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7544. }
  7545. },
  7546. "500": {
  7547. "description": "Internal Server Error",
  7548. "schema": {
  7549. "$ref": "#/definitions/app.Response"
  7550. }
  7551. }
  7552. }
  7553. }
  7554. },
  7555. "/Order/QueryHisTradeOrderDetail": {
  7556. "get": {
  7557. "security": [
  7558. {
  7559. "ApiKeyAuth": []
  7560. }
  7561. ],
  7562. "produces": [
  7563. "application/json"
  7564. ],
  7565. "tags": [
  7566. "通用单据"
  7567. ],
  7568. "summary": "历史委托单查询请求(合约市场)",
  7569. "parameters": [
  7570. {
  7571. "type": "string",
  7572. "description": "资金账户 - 格式:1,2,3",
  7573. "name": "accountID",
  7574. "in": "query",
  7575. "required": true
  7576. },
  7577. {
  7578. "type": "string",
  7579. "description": "交易模式 - 格式:1,2,3",
  7580. "name": "tradeMode",
  7581. "in": "query"
  7582. },
  7583. {
  7584. "type": "string",
  7585. "description": "委托状态 - 格式:1,2,3",
  7586. "name": "orderStatus",
  7587. "in": "query"
  7588. },
  7589. {
  7590. "type": "integer",
  7591. "description": "委托单号",
  7592. "name": "orderID",
  7593. "in": "query"
  7594. },
  7595. {
  7596. "type": "string",
  7597. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7598. "name": "startDate",
  7599. "in": "query"
  7600. },
  7601. {
  7602. "type": "string",
  7603. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7604. "name": "endDate",
  7605. "in": "query"
  7606. }
  7607. ],
  7608. "responses": {
  7609. "200": {
  7610. "description": "OK",
  7611. "schema": {
  7612. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7613. }
  7614. },
  7615. "500": {
  7616. "description": "Internal Server Error",
  7617. "schema": {
  7618. "$ref": "#/definitions/app.Response"
  7619. }
  7620. }
  7621. }
  7622. }
  7623. },
  7624. "/Order/QueryTradeDetail": {
  7625. "get": {
  7626. "security": [
  7627. {
  7628. "ApiKeyAuth": []
  7629. }
  7630. ],
  7631. "produces": [
  7632. "application/json"
  7633. ],
  7634. "tags": [
  7635. "通用单据"
  7636. ],
  7637. "summary": "成交单查询(合约市场)",
  7638. "parameters": [
  7639. {
  7640. "type": "string",
  7641. "description": "资金账户 - 格式:1,2,3",
  7642. "name": "accountID",
  7643. "in": "query",
  7644. "required": true
  7645. },
  7646. {
  7647. "type": "integer",
  7648. "description": "成交单号",
  7649. "name": "tradeID",
  7650. "in": "query"
  7651. },
  7652. {
  7653. "type": "integer",
  7654. "description": "委托单号",
  7655. "name": "orderID",
  7656. "in": "query"
  7657. },
  7658. {
  7659. "type": "string",
  7660. "description": "交易模式 - 格式:1,2,3",
  7661. "name": "tradeMode",
  7662. "in": "query"
  7663. },
  7664. {
  7665. "type": "integer",
  7666. "description": "委托单据类型",
  7667. "name": "buildType",
  7668. "in": "query"
  7669. },
  7670. {
  7671. "type": "string",
  7672. "description": "成交类别 - 格式:1,2,3",
  7673. "name": "tradeType",
  7674. "in": "query"
  7675. },
  7676. {
  7677. "type": "integer",
  7678. "description": "商品ID",
  7679. "name": "goodsID",
  7680. "in": "query"
  7681. }
  7682. ],
  7683. "responses": {
  7684. "200": {
  7685. "description": "OK",
  7686. "schema": {
  7687. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7688. }
  7689. },
  7690. "500": {
  7691. "description": "Internal Server Error",
  7692. "schema": {
  7693. "$ref": "#/definitions/app.Response"
  7694. }
  7695. }
  7696. }
  7697. }
  7698. },
  7699. "/Order/QueryTradeHolderDetail": {
  7700. "get": {
  7701. "security": [
  7702. {
  7703. "ApiKeyAuth": []
  7704. }
  7705. ],
  7706. "produces": [
  7707. "application/json"
  7708. ],
  7709. "tags": [
  7710. "通用单据"
  7711. ],
  7712. "summary": "查询持仓明细",
  7713. "parameters": [
  7714. {
  7715. "type": "integer",
  7716. "description": "用户id",
  7717. "name": "userid",
  7718. "in": "query"
  7719. },
  7720. {
  7721. "type": "string",
  7722. "description": "资金账号, 格式 1,2,3",
  7723. "name": "accids",
  7724. "in": "query"
  7725. },
  7726. {
  7727. "type": "string",
  7728. "description": "交易模式, 格式 1,2,3",
  7729. "name": "trademodes",
  7730. "in": "query"
  7731. },
  7732. {
  7733. "type": "string",
  7734. "description": "市场id, 格式 1,2,3",
  7735. "name": "marketids",
  7736. "in": "query"
  7737. },
  7738. {
  7739. "type": "integer",
  7740. "description": "商品id",
  7741. "name": "goodsid",
  7742. "in": "query"
  7743. },
  7744. {
  7745. "type": "integer",
  7746. "description": "买卖方向 0-买 1-卖",
  7747. "name": "buyorsell",
  7748. "in": "query"
  7749. }
  7750. ],
  7751. "responses": {
  7752. "200": {
  7753. "description": "OK",
  7754. "schema": {
  7755. "type": "array",
  7756. "items": {
  7757. "$ref": "#/definitions/models.TradeHolderDetail"
  7758. }
  7759. }
  7760. },
  7761. "500": {
  7762. "description": "Internal Server Error",
  7763. "schema": {
  7764. "$ref": "#/definitions/app.Response"
  7765. }
  7766. }
  7767. }
  7768. }
  7769. },
  7770. "/Order/QueryTradeOrderDetail": {
  7771. "get": {
  7772. "security": [
  7773. {
  7774. "ApiKeyAuth": []
  7775. }
  7776. ],
  7777. "produces": [
  7778. "application/json"
  7779. ],
  7780. "tags": [
  7781. "通用单据"
  7782. ],
  7783. "summary": "委托单查询请求(合约市场)",
  7784. "parameters": [
  7785. {
  7786. "type": "string",
  7787. "description": "资金账户 - 格式:1,2,3",
  7788. "name": "accountID",
  7789. "in": "query",
  7790. "required": true
  7791. },
  7792. {
  7793. "type": "string",
  7794. "description": "交易模式 - 格式:1,2,3",
  7795. "name": "tradeMode",
  7796. "in": "query"
  7797. },
  7798. {
  7799. "type": "string",
  7800. "description": "委托状态 - 格式:1,2,3",
  7801. "name": "orderStatus",
  7802. "in": "query"
  7803. },
  7804. {
  7805. "type": "integer",
  7806. "description": "委托单号",
  7807. "name": "orderID",
  7808. "in": "query"
  7809. }
  7810. ],
  7811. "responses": {
  7812. "200": {
  7813. "description": "OK",
  7814. "schema": {
  7815. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7816. }
  7817. },
  7818. "500": {
  7819. "description": "Internal Server Error",
  7820. "schema": {
  7821. "$ref": "#/definitions/app.Response"
  7822. }
  7823. }
  7824. }
  7825. }
  7826. },
  7827. "/Order/QueryTradePosition": {
  7828. "get": {
  7829. "security": [
  7830. {
  7831. "ApiKeyAuth": []
  7832. }
  7833. ],
  7834. "produces": [
  7835. "application/json"
  7836. ],
  7837. "tags": [
  7838. "通用单据"
  7839. ],
  7840. "summary": "持仓汇总查询(合约市场)",
  7841. "parameters": [
  7842. {
  7843. "type": "string",
  7844. "description": "资金账户 - 格式:1,2,3",
  7845. "name": "accountID",
  7846. "in": "query",
  7847. "required": true
  7848. },
  7849. {
  7850. "type": "string",
  7851. "description": "交易模式 - 格式:1,2,3",
  7852. "name": "tradeMode",
  7853. "in": "query"
  7854. }
  7855. ],
  7856. "responses": {
  7857. "200": {
  7858. "description": "OK",
  7859. "schema": {
  7860. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7861. }
  7862. },
  7863. "500": {
  7864. "description": "Internal Server Error",
  7865. "schema": {
  7866. "$ref": "#/definitions/app.Response"
  7867. }
  7868. }
  7869. }
  7870. }
  7871. },
  7872. "/Qhj/QueryAccountInOutApply": {
  7873. "get": {
  7874. "security": [
  7875. {
  7876. "ApiKeyAuth": []
  7877. }
  7878. ],
  7879. "produces": [
  7880. "application/json"
  7881. ],
  7882. "tags": [
  7883. "大连千海金"
  7884. ],
  7885. "summary": "查询充值提现",
  7886. "parameters": [
  7887. {
  7888. "type": "integer",
  7889. "description": "用户ID",
  7890. "name": "userid",
  7891. "in": "query",
  7892. "required": true
  7893. },
  7894. {
  7895. "type": "string",
  7896. "description": "申请起始日期(格式yyyymmdd)",
  7897. "name": "begindate",
  7898. "in": "query"
  7899. },
  7900. {
  7901. "type": "string",
  7902. "description": "申请截止日期(格式yyyymmdd)",
  7903. "name": "enddate",
  7904. "in": "query"
  7905. },
  7906. {
  7907. "type": "string",
  7908. "description": "模糊搜索名称",
  7909. "name": "likename",
  7910. "in": "query"
  7911. }
  7912. ],
  7913. "responses": {
  7914. "200": {
  7915. "description": "OK",
  7916. "schema": {
  7917. "type": "array",
  7918. "items": {
  7919. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7920. }
  7921. }
  7922. },
  7923. "500": {
  7924. "description": "Internal Server Error",
  7925. "schema": {
  7926. "$ref": "#/definitions/app.Response"
  7927. }
  7928. }
  7929. }
  7930. }
  7931. },
  7932. "/Qhj/QueryAreaFinanceConfig": {
  7933. "get": {
  7934. "security": [
  7935. {
  7936. "ApiKeyAuth": []
  7937. }
  7938. ],
  7939. "produces": [
  7940. "application/json"
  7941. ],
  7942. "tags": [
  7943. "大连千海金"
  7944. ],
  7945. "summary": "查询企业配置表",
  7946. "parameters": [
  7947. {
  7948. "type": "integer",
  7949. "description": "机构用户ID 其他做市关系,都设置为 1",
  7950. "name": "userid",
  7951. "in": "query"
  7952. }
  7953. ],
  7954. "responses": {
  7955. "200": {
  7956. "description": "OK",
  7957. "schema": {
  7958. "type": "array",
  7959. "items": {
  7960. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  7961. }
  7962. }
  7963. },
  7964. "500": {
  7965. "description": "Internal Server Error",
  7966. "schema": {
  7967. "$ref": "#/definitions/app.Response"
  7968. }
  7969. }
  7970. }
  7971. }
  7972. },
  7973. "/Qhj/QueryBankAccountSign": {
  7974. "get": {
  7975. "security": [
  7976. {
  7977. "ApiKeyAuth": []
  7978. }
  7979. ],
  7980. "produces": [
  7981. "application/json"
  7982. ],
  7983. "tags": [
  7984. "大连千海金"
  7985. ],
  7986. "summary": "查询签约银行信息(提现账户管理)",
  7987. "parameters": [
  7988. {
  7989. "type": "integer",
  7990. "description": "用户ID",
  7991. "name": "userid",
  7992. "in": "query",
  7993. "required": true
  7994. }
  7995. ],
  7996. "responses": {
  7997. "200": {
  7998. "description": "OK",
  7999. "schema": {
  8000. "type": "array",
  8001. "items": {
  8002. "$ref": "#/definitions/models.QhjBankAccountSign"
  8003. }
  8004. }
  8005. },
  8006. "500": {
  8007. "description": "Internal Server Error",
  8008. "schema": {
  8009. "$ref": "#/definitions/app.Response"
  8010. }
  8011. }
  8012. }
  8013. }
  8014. },
  8015. "/Qhj/QueryBankInfo": {
  8016. "get": {
  8017. "security": [
  8018. {
  8019. "ApiKeyAuth": []
  8020. }
  8021. ],
  8022. "produces": [
  8023. "application/json"
  8024. ],
  8025. "tags": [
  8026. "大连千海金"
  8027. ],
  8028. "summary": "查询开户行",
  8029. "responses": {
  8030. "200": {
  8031. "description": "OK",
  8032. "schema": {
  8033. "type": "array",
  8034. "items": {
  8035. "$ref": "#/definitions/models.QhjBankInfo"
  8036. }
  8037. }
  8038. },
  8039. "500": {
  8040. "description": "Internal Server Error",
  8041. "schema": {
  8042. "$ref": "#/definitions/app.Response"
  8043. }
  8044. }
  8045. }
  8046. }
  8047. },
  8048. "/Qhj/QueryBrokerApply": {
  8049. "get": {
  8050. "security": [
  8051. {
  8052. "ApiKeyAuth": []
  8053. }
  8054. ],
  8055. "produces": [
  8056. "application/json"
  8057. ],
  8058. "tags": [
  8059. "大连千海金"
  8060. ],
  8061. "summary": "查询经纪人申请",
  8062. "parameters": [
  8063. {
  8064. "type": "integer",
  8065. "description": "所属机构ID",
  8066. "name": "userid",
  8067. "in": "query"
  8068. },
  8069. {
  8070. "type": "string",
  8071. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8072. "name": "filterstatus",
  8073. "in": "query"
  8074. }
  8075. ],
  8076. "responses": {
  8077. "200": {
  8078. "description": "OK",
  8079. "schema": {
  8080. "type": "array",
  8081. "items": {
  8082. "$ref": "#/definitions/models.QhjBrokerApply"
  8083. }
  8084. }
  8085. },
  8086. "500": {
  8087. "description": "Internal Server Error",
  8088. "schema": {
  8089. "$ref": "#/definitions/app.Response"
  8090. }
  8091. }
  8092. }
  8093. }
  8094. },
  8095. "/Qhj/QueryBrokerApplyEx": {
  8096. "get": {
  8097. "security": [
  8098. {
  8099. "ApiKeyAuth": []
  8100. }
  8101. ],
  8102. "produces": [
  8103. "application/json"
  8104. ],
  8105. "tags": [
  8106. "大连千海金"
  8107. ],
  8108. "summary": "查询经纪人信息和申请记录",
  8109. "parameters": [
  8110. {
  8111. "type": "integer",
  8112. "description": "所属机构ID",
  8113. "name": "userid",
  8114. "in": "query"
  8115. }
  8116. ],
  8117. "responses": {
  8118. "200": {
  8119. "description": "OK",
  8120. "schema": {
  8121. "type": "array",
  8122. "items": {
  8123. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  8124. }
  8125. }
  8126. },
  8127. "500": {
  8128. "description": "Internal Server Error",
  8129. "schema": {
  8130. "$ref": "#/definitions/app.Response"
  8131. }
  8132. }
  8133. }
  8134. }
  8135. },
  8136. "/Qhj/QueryBrokerRewardLog": {
  8137. "get": {
  8138. "security": [
  8139. {
  8140. "ApiKeyAuth": []
  8141. }
  8142. ],
  8143. "produces": [
  8144. "application/json"
  8145. ],
  8146. "tags": [
  8147. "大连千海金"
  8148. ],
  8149. "summary": "查询奖励流水(我的奖励)",
  8150. "parameters": [
  8151. {
  8152. "type": "integer",
  8153. "description": "用户ID",
  8154. "name": "userid",
  8155. "in": "query",
  8156. "required": true
  8157. },
  8158. {
  8159. "type": "string",
  8160. "description": "开始交易日(yyyymmdd)",
  8161. "name": "begindate",
  8162. "in": "query"
  8163. },
  8164. {
  8165. "type": "string",
  8166. "description": "结束交易日(yyyymmdd)",
  8167. "name": "enddate",
  8168. "in": "query"
  8169. }
  8170. ],
  8171. "responses": {
  8172. "200": {
  8173. "description": "OK",
  8174. "schema": {
  8175. "type": "array",
  8176. "items": {
  8177. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  8178. }
  8179. }
  8180. },
  8181. "500": {
  8182. "description": "Internal Server Error",
  8183. "schema": {
  8184. "$ref": "#/definitions/app.Response"
  8185. }
  8186. }
  8187. }
  8188. }
  8189. },
  8190. "/Qhj/QueryContract": {
  8191. "get": {
  8192. "security": [
  8193. {
  8194. "ApiKeyAuth": []
  8195. }
  8196. ],
  8197. "produces": [
  8198. "application/json"
  8199. ],
  8200. "tags": [
  8201. "大连千海金"
  8202. ],
  8203. "summary": "查询融资明细(合同)",
  8204. "parameters": [
  8205. {
  8206. "type": "integer",
  8207. "description": "用户ID",
  8208. "name": "userid",
  8209. "in": "query"
  8210. },
  8211. {
  8212. "type": "integer",
  8213. "description": "scf合同id",
  8214. "name": "scfcontractid",
  8215. "in": "query"
  8216. }
  8217. ],
  8218. "responses": {
  8219. "200": {
  8220. "description": "OK",
  8221. "schema": {
  8222. "type": "array",
  8223. "items": {
  8224. "$ref": "#/definitions/models.QhjContract"
  8225. }
  8226. }
  8227. },
  8228. "500": {
  8229. "description": "Internal Server Error",
  8230. "schema": {
  8231. "$ref": "#/definitions/app.Response"
  8232. }
  8233. }
  8234. }
  8235. }
  8236. },
  8237. "/Qhj/QueryContractLog": {
  8238. "get": {
  8239. "security": [
  8240. {
  8241. "ApiKeyAuth": []
  8242. }
  8243. ],
  8244. "produces": [
  8245. "application/json"
  8246. ],
  8247. "tags": [
  8248. "大连千海金"
  8249. ],
  8250. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  8251. "parameters": [
  8252. {
  8253. "type": "integer",
  8254. "description": "scf合同id",
  8255. "name": "scfcontractid",
  8256. "in": "query",
  8257. "required": true
  8258. },
  8259. {
  8260. "type": "string",
  8261. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  8262. "name": "amounttype",
  8263. "in": "query"
  8264. }
  8265. ],
  8266. "responses": {
  8267. "200": {
  8268. "description": "OK",
  8269. "schema": {
  8270. "type": "array",
  8271. "items": {
  8272. "$ref": "#/definitions/models.QhjContractLog"
  8273. }
  8274. }
  8275. },
  8276. "500": {
  8277. "description": "Internal Server Error",
  8278. "schema": {
  8279. "$ref": "#/definitions/app.Response"
  8280. }
  8281. }
  8282. }
  8283. }
  8284. },
  8285. "/Qhj/QueryCusBankSignBank": {
  8286. "get": {
  8287. "security": [
  8288. {
  8289. "ApiKeyAuth": []
  8290. }
  8291. ],
  8292. "produces": [
  8293. "application/json"
  8294. ],
  8295. "tags": [
  8296. "大连千海金"
  8297. ],
  8298. "summary": "查询托管银行",
  8299. "responses": {
  8300. "200": {
  8301. "description": "OK",
  8302. "schema": {
  8303. "type": "array",
  8304. "items": {
  8305. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  8306. }
  8307. }
  8308. },
  8309. "500": {
  8310. "description": "Internal Server Error",
  8311. "schema": {
  8312. "$ref": "#/definitions/app.Response"
  8313. }
  8314. }
  8315. }
  8316. }
  8317. },
  8318. "/Qhj/QueryCustomerInfo": {
  8319. "get": {
  8320. "security": [
  8321. {
  8322. "ApiKeyAuth": []
  8323. }
  8324. ],
  8325. "produces": [
  8326. "application/json"
  8327. ],
  8328. "tags": [
  8329. "大连千海金"
  8330. ],
  8331. "summary": "查询客户资料",
  8332. "parameters": [
  8333. {
  8334. "type": "integer",
  8335. "description": "用户ID",
  8336. "name": "userid",
  8337. "in": "query",
  8338. "required": true
  8339. },
  8340. {
  8341. "type": "integer",
  8342. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8343. "name": "querytype",
  8344. "in": "query",
  8345. "required": true
  8346. },
  8347. {
  8348. "type": "integer",
  8349. "description": "客户类型 1-个人 2-企业",
  8350. "name": "userinfotype",
  8351. "in": "query"
  8352. },
  8353. {
  8354. "type": "string",
  8355. "description": "客户名称(模糊匹配)",
  8356. "name": "customername",
  8357. "in": "query"
  8358. },
  8359. {
  8360. "type": "string",
  8361. "description": "昵称(模糊匹配)",
  8362. "name": "nickname",
  8363. "in": "query"
  8364. },
  8365. {
  8366. "type": "integer",
  8367. "description": "是否包含子级 1-包含",
  8368. "name": "includesub",
  8369. "in": "query"
  8370. }
  8371. ],
  8372. "responses": {
  8373. "200": {
  8374. "description": "OK",
  8375. "schema": {
  8376. "type": "array",
  8377. "items": {
  8378. "$ref": "#/definitions/models.QhjCustomer"
  8379. }
  8380. }
  8381. },
  8382. "500": {
  8383. "description": "Internal Server Error",
  8384. "schema": {
  8385. "$ref": "#/definitions/app.Response"
  8386. }
  8387. }
  8388. }
  8389. }
  8390. },
  8391. "/Qhj/QueryGoodsEx": {
  8392. "get": {
  8393. "security": [
  8394. {
  8395. "ApiKeyAuth": []
  8396. }
  8397. ],
  8398. "produces": [
  8399. "application/json"
  8400. ],
  8401. "tags": [
  8402. "大连千海金"
  8403. ],
  8404. "summary": "交易商品扩展表",
  8405. "parameters": [
  8406. {
  8407. "type": "integer",
  8408. "description": "商品id",
  8409. "name": "goodsid",
  8410. "in": "query"
  8411. }
  8412. ],
  8413. "responses": {
  8414. "200": {
  8415. "description": "OK",
  8416. "schema": {
  8417. "type": "array",
  8418. "items": {
  8419. "$ref": "#/definitions/models.Qhjgoodsex"
  8420. }
  8421. }
  8422. },
  8423. "500": {
  8424. "description": "Internal Server Error",
  8425. "schema": {
  8426. "$ref": "#/definitions/app.Response"
  8427. }
  8428. }
  8429. }
  8430. }
  8431. },
  8432. "/Qhj/QueryMyTeam": {
  8433. "get": {
  8434. "security": [
  8435. {
  8436. "ApiKeyAuth": []
  8437. }
  8438. ],
  8439. "produces": [
  8440. "application/json"
  8441. ],
  8442. "tags": [
  8443. "大连千海金"
  8444. ],
  8445. "summary": "查询我的团队",
  8446. "parameters": [
  8447. {
  8448. "type": "integer",
  8449. "description": "用户ID",
  8450. "name": "userid",
  8451. "in": "query",
  8452. "required": true
  8453. }
  8454. ],
  8455. "responses": {
  8456. "200": {
  8457. "description": "OK",
  8458. "schema": {
  8459. "type": "array",
  8460. "items": {
  8461. "$ref": "#/definitions/models.QhjMyTeamEx"
  8462. }
  8463. }
  8464. },
  8465. "500": {
  8466. "description": "Internal Server Error",
  8467. "schema": {
  8468. "$ref": "#/definitions/app.Response"
  8469. }
  8470. }
  8471. }
  8472. }
  8473. },
  8474. "/Qhj/QueryMyTeamOrder": {
  8475. "get": {
  8476. "security": [
  8477. {
  8478. "ApiKeyAuth": []
  8479. }
  8480. ],
  8481. "produces": [
  8482. "application/json"
  8483. ],
  8484. "tags": [
  8485. "大连千海金"
  8486. ],
  8487. "summary": "查询团队订单(我的团队/团队订单)",
  8488. "parameters": [
  8489. {
  8490. "type": "integer",
  8491. "description": "页码",
  8492. "name": "page",
  8493. "in": "query"
  8494. },
  8495. {
  8496. "type": "integer",
  8497. "description": "每页条数",
  8498. "name": "pagesize",
  8499. "in": "query"
  8500. },
  8501. {
  8502. "type": "integer",
  8503. "description": "用户ID",
  8504. "name": "userid",
  8505. "in": "query",
  8506. "required": true
  8507. },
  8508. {
  8509. "type": "integer",
  8510. "description": "交易模式",
  8511. "name": "trademode",
  8512. "in": "query"
  8513. },
  8514. {
  8515. "type": "string",
  8516. "description": "名称(模糊搜索账户)",
  8517. "name": "filtername",
  8518. "in": "query"
  8519. }
  8520. ],
  8521. "responses": {
  8522. "200": {
  8523. "description": "OK",
  8524. "schema": {
  8525. "type": "array",
  8526. "items": {
  8527. "$ref": "#/definitions/models.QhjTeamOrder"
  8528. }
  8529. }
  8530. },
  8531. "500": {
  8532. "description": "Internal Server Error",
  8533. "schema": {
  8534. "$ref": "#/definitions/app.Response"
  8535. }
  8536. }
  8537. }
  8538. }
  8539. },
  8540. "/Qhj/QueryParentAreaList": {
  8541. "get": {
  8542. "security": [
  8543. {
  8544. "ApiKeyAuth": []
  8545. }
  8546. ],
  8547. "produces": [
  8548. "application/json"
  8549. ],
  8550. "tags": [
  8551. "大连千海金"
  8552. ],
  8553. "summary": "查询所属机构列表",
  8554. "parameters": [
  8555. {
  8556. "type": "integer",
  8557. "description": "用户ID",
  8558. "name": "userid",
  8559. "in": "query",
  8560. "required": true
  8561. }
  8562. ],
  8563. "responses": {
  8564. "200": {
  8565. "description": "OK",
  8566. "schema": {
  8567. "type": "array",
  8568. "items": {
  8569. "$ref": "#/definitions/models.QhjParentAreaList"
  8570. }
  8571. }
  8572. },
  8573. "500": {
  8574. "description": "Internal Server Error",
  8575. "schema": {
  8576. "$ref": "#/definitions/app.Response"
  8577. }
  8578. }
  8579. }
  8580. }
  8581. },
  8582. "/Qhj/QueryPayOrder": {
  8583. "get": {
  8584. "security": [
  8585. {
  8586. "ApiKeyAuth": []
  8587. }
  8588. ],
  8589. "produces": [
  8590. "application/json"
  8591. ],
  8592. "tags": [
  8593. "大连千海金"
  8594. ],
  8595. "summary": "查询待付款单据",
  8596. "parameters": [
  8597. {
  8598. "type": "integer",
  8599. "description": "资金账号id",
  8600. "name": "accountid",
  8601. "in": "query",
  8602. "required": true
  8603. },
  8604. {
  8605. "type": "integer",
  8606. "description": "成交单号",
  8607. "name": "tradeid",
  8608. "in": "query"
  8609. },
  8610. {
  8611. "type": "string",
  8612. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8613. "name": "payflag",
  8614. "in": "query"
  8615. }
  8616. ],
  8617. "responses": {
  8618. "200": {
  8619. "description": "OK",
  8620. "schema": {
  8621. "type": "array",
  8622. "items": {
  8623. "$ref": "#/definitions/models.QhjPayOrder"
  8624. }
  8625. }
  8626. },
  8627. "500": {
  8628. "description": "Internal Server Error",
  8629. "schema": {
  8630. "$ref": "#/definitions/app.Response"
  8631. }
  8632. }
  8633. }
  8634. }
  8635. },
  8636. "/Qhj/QueryPickArea": {
  8637. "get": {
  8638. "security": [
  8639. {
  8640. "ApiKeyAuth": []
  8641. }
  8642. ],
  8643. "produces": [
  8644. "application/json"
  8645. ],
  8646. "tags": [
  8647. "大连千海金"
  8648. ],
  8649. "summary": "查询提货门店",
  8650. "parameters": [
  8651. {
  8652. "type": "integer",
  8653. "description": "用户ID",
  8654. "name": "userid",
  8655. "in": "query"
  8656. }
  8657. ],
  8658. "responses": {
  8659. "200": {
  8660. "description": "OK",
  8661. "schema": {
  8662. "type": "array",
  8663. "items": {
  8664. "$ref": "#/definitions/models.QhjPickArea"
  8665. }
  8666. }
  8667. },
  8668. "500": {
  8669. "description": "Internal Server Error",
  8670. "schema": {
  8671. "$ref": "#/definitions/app.Response"
  8672. }
  8673. }
  8674. }
  8675. }
  8676. },
  8677. "/Qhj/QueryPickGoods": {
  8678. "get": {
  8679. "security": [
  8680. {
  8681. "ApiKeyAuth": []
  8682. }
  8683. ],
  8684. "produces": [
  8685. "application/json"
  8686. ],
  8687. "tags": [
  8688. "大连千海金"
  8689. ],
  8690. "summary": "查询提货商品",
  8691. "parameters": [
  8692. {
  8693. "type": "integer",
  8694. "description": "交易商品id",
  8695. "name": "goodsid",
  8696. "in": "query",
  8697. "required": true
  8698. },
  8699. {
  8700. "type": "string",
  8701. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8702. "name": "status",
  8703. "in": "query"
  8704. }
  8705. ],
  8706. "responses": {
  8707. "200": {
  8708. "description": "OK",
  8709. "schema": {
  8710. "type": "array",
  8711. "items": {
  8712. "$ref": "#/definitions/models.QhjPickGoods"
  8713. }
  8714. }
  8715. },
  8716. "500": {
  8717. "description": "Internal Server Error",
  8718. "schema": {
  8719. "$ref": "#/definitions/app.Response"
  8720. }
  8721. }
  8722. }
  8723. }
  8724. },
  8725. "/Qhj/QueryRSTriggerLog": {
  8726. "get": {
  8727. "security": [
  8728. {
  8729. "ApiKeyAuth": []
  8730. }
  8731. ],
  8732. "produces": [
  8733. "application/json"
  8734. ],
  8735. "tags": [
  8736. "大连千海金"
  8737. ],
  8738. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8739. "parameters": [
  8740. {
  8741. "type": "integer",
  8742. "description": "用户ID",
  8743. "name": "userid",
  8744. "in": "query"
  8745. },
  8746. {
  8747. "type": "integer",
  8748. "description": "定投策略id",
  8749. "name": "regularlystrategyid",
  8750. "in": "query"
  8751. },
  8752. {
  8753. "type": "integer",
  8754. "description": "商品id",
  8755. "name": "goodsid",
  8756. "in": "query"
  8757. },
  8758. {
  8759. "type": "string",
  8760. "description": "开始交易日(yyyymmdd)",
  8761. "name": "begindate",
  8762. "in": "query"
  8763. },
  8764. {
  8765. "type": "string",
  8766. "description": "结束交易日(yyyymmdd)",
  8767. "name": "enddate",
  8768. "in": "query"
  8769. },
  8770. {
  8771. "type": "string",
  8772. "description": "名称(模糊搜索账户)",
  8773. "name": "filtername",
  8774. "in": "query"
  8775. }
  8776. ],
  8777. "responses": {
  8778. "200": {
  8779. "description": "OK",
  8780. "schema": {
  8781. "type": "array",
  8782. "items": {
  8783. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8784. }
  8785. }
  8786. },
  8787. "500": {
  8788. "description": "Internal Server Error",
  8789. "schema": {
  8790. "$ref": "#/definitions/app.Response"
  8791. }
  8792. }
  8793. }
  8794. }
  8795. },
  8796. "/Qhj/QueryRStrategy": {
  8797. "get": {
  8798. "security": [
  8799. {
  8800. "ApiKeyAuth": []
  8801. }
  8802. ],
  8803. "produces": [
  8804. "application/json"
  8805. ],
  8806. "tags": [
  8807. "大连千海金"
  8808. ],
  8809. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8810. "parameters": [
  8811. {
  8812. "type": "integer",
  8813. "description": "用户ID",
  8814. "name": "userid",
  8815. "in": "query"
  8816. },
  8817. {
  8818. "type": "integer",
  8819. "description": "商品id",
  8820. "name": "goodsid",
  8821. "in": "query"
  8822. },
  8823. {
  8824. "type": "string",
  8825. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8826. "name": "status",
  8827. "in": "query"
  8828. },
  8829. {
  8830. "type": "string",
  8831. "description": "名称(模糊搜索账户)",
  8832. "name": "filtername",
  8833. "in": "query"
  8834. }
  8835. ],
  8836. "responses": {
  8837. "200": {
  8838. "description": "OK",
  8839. "schema": {
  8840. "type": "array",
  8841. "items": {
  8842. "$ref": "#/definitions/models.QhjRStrategy"
  8843. }
  8844. }
  8845. },
  8846. "500": {
  8847. "description": "Internal Server Error",
  8848. "schema": {
  8849. "$ref": "#/definitions/app.Response"
  8850. }
  8851. }
  8852. }
  8853. }
  8854. },
  8855. "/Qhj/QueryReckonPriceLog": {
  8856. "get": {
  8857. "security": [
  8858. {
  8859. "ApiKeyAuth": []
  8860. }
  8861. ],
  8862. "produces": [
  8863. "application/json"
  8864. ],
  8865. "tags": [
  8866. "大连千海金"
  8867. ],
  8868. "summary": "查询定投价(结算价)",
  8869. "parameters": [
  8870. {
  8871. "type": "integer",
  8872. "description": "商品ID",
  8873. "name": "goodsid",
  8874. "in": "query"
  8875. },
  8876. {
  8877. "type": "string",
  8878. "description": "交易日 格式(yyyymmdd)",
  8879. "name": "tradedate",
  8880. "in": "query"
  8881. }
  8882. ],
  8883. "responses": {
  8884. "200": {
  8885. "description": "OK",
  8886. "schema": {
  8887. "type": "array",
  8888. "items": {
  8889. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8890. }
  8891. }
  8892. },
  8893. "500": {
  8894. "description": "Internal Server Error",
  8895. "schema": {
  8896. "$ref": "#/definitions/app.Response"
  8897. }
  8898. }
  8899. }
  8900. }
  8901. },
  8902. "/Qhj/QueryScoreLog": {
  8903. "get": {
  8904. "security": [
  8905. {
  8906. "ApiKeyAuth": []
  8907. }
  8908. ],
  8909. "produces": [
  8910. "application/json"
  8911. ],
  8912. "tags": [
  8913. "大连千海金"
  8914. ],
  8915. "summary": "查询积分流水(我的积分)",
  8916. "parameters": [
  8917. {
  8918. "type": "integer",
  8919. "description": "用户ID",
  8920. "name": "userid",
  8921. "in": "query",
  8922. "required": true
  8923. },
  8924. {
  8925. "type": "string",
  8926. "description": "开始交易日(yyyymmdd)",
  8927. "name": "begindate",
  8928. "in": "query"
  8929. },
  8930. {
  8931. "type": "string",
  8932. "description": "结束交易日(yyyymmdd)",
  8933. "name": "enddate",
  8934. "in": "query"
  8935. },
  8936. {
  8937. "type": "integer",
  8938. "description": "最近多少条",
  8939. "name": "lastnum",
  8940. "in": "query"
  8941. }
  8942. ],
  8943. "responses": {
  8944. "200": {
  8945. "description": "OK",
  8946. "schema": {
  8947. "type": "array",
  8948. "items": {
  8949. "$ref": "#/definitions/models.QhjScoreLog"
  8950. }
  8951. }
  8952. },
  8953. "500": {
  8954. "description": "Internal Server Error",
  8955. "schema": {
  8956. "$ref": "#/definitions/app.Response"
  8957. }
  8958. }
  8959. }
  8960. }
  8961. },
  8962. "/Qhj/QuerySiteColumnDetail": {
  8963. "get": {
  8964. "security": [
  8965. {
  8966. "ApiKeyAuth": []
  8967. }
  8968. ],
  8969. "produces": [
  8970. "application/json"
  8971. ],
  8972. "tags": [
  8973. "大连千海金"
  8974. ],
  8975. "summary": "查询资讯",
  8976. "parameters": [
  8977. {
  8978. "type": "integer",
  8979. "description": "用户ID",
  8980. "name": "userid",
  8981. "in": "query",
  8982. "required": true
  8983. }
  8984. ],
  8985. "responses": {
  8986. "200": {
  8987. "description": "OK",
  8988. "schema": {
  8989. "type": "array",
  8990. "items": {
  8991. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  8992. }
  8993. }
  8994. },
  8995. "500": {
  8996. "description": "Internal Server Error",
  8997. "schema": {
  8998. "$ref": "#/definitions/app.Response"
  8999. }
  9000. }
  9001. }
  9002. }
  9003. },
  9004. "/Qhj/QueryTradeGoodsPickup": {
  9005. "get": {
  9006. "security": [
  9007. {
  9008. "ApiKeyAuth": []
  9009. }
  9010. ],
  9011. "produces": [
  9012. "application/json"
  9013. ],
  9014. "tags": [
  9015. "大连千海金"
  9016. ],
  9017. "summary": "查询提货",
  9018. "parameters": [
  9019. {
  9020. "type": "integer",
  9021. "description": "用户ID",
  9022. "name": "userid",
  9023. "in": "query",
  9024. "required": true
  9025. },
  9026. {
  9027. "type": "integer",
  9028. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  9029. "name": "takeorderstatus",
  9030. "in": "query"
  9031. }
  9032. ],
  9033. "responses": {
  9034. "200": {
  9035. "description": "OK",
  9036. "schema": {
  9037. "type": "array",
  9038. "items": {
  9039. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  9040. }
  9041. }
  9042. },
  9043. "500": {
  9044. "description": "Internal Server Error",
  9045. "schema": {
  9046. "$ref": "#/definitions/app.Response"
  9047. }
  9048. }
  9049. }
  9050. }
  9051. },
  9052. "/Qhj/QueryUserCollectConfig": {
  9053. "get": {
  9054. "security": [
  9055. {
  9056. "ApiKeyAuth": []
  9057. }
  9058. ],
  9059. "produces": [
  9060. "application/json"
  9061. ],
  9062. "tags": [
  9063. "大连千海金"
  9064. ],
  9065. "summary": "查询提现账户设置",
  9066. "parameters": [
  9067. {
  9068. "type": "integer",
  9069. "description": "用户ID",
  9070. "name": "userid",
  9071. "in": "query",
  9072. "required": true
  9073. }
  9074. ],
  9075. "responses": {
  9076. "200": {
  9077. "description": "OK",
  9078. "schema": {
  9079. "type": "array",
  9080. "items": {
  9081. "$ref": "#/definitions/models.UserCollectConfig"
  9082. }
  9083. }
  9084. },
  9085. "500": {
  9086. "description": "Internal Server Error",
  9087. "schema": {
  9088. "$ref": "#/definitions/app.Response"
  9089. }
  9090. }
  9091. }
  9092. }
  9093. },
  9094. "/Qhj/QueryUserReceiveInfo": {
  9095. "get": {
  9096. "security": [
  9097. {
  9098. "ApiKeyAuth": []
  9099. }
  9100. ],
  9101. "produces": [
  9102. "application/json"
  9103. ],
  9104. "tags": [
  9105. "大连千海金"
  9106. ],
  9107. "summary": "查询收货地址信息",
  9108. "parameters": [
  9109. {
  9110. "type": "integer",
  9111. "description": "用户ID",
  9112. "name": "userid",
  9113. "in": "query",
  9114. "required": true
  9115. }
  9116. ],
  9117. "responses": {
  9118. "200": {
  9119. "description": "OK",
  9120. "schema": {
  9121. "type": "array",
  9122. "items": {
  9123. "$ref": "#/definitions/models.UserReceiveInfo"
  9124. }
  9125. }
  9126. },
  9127. "500": {
  9128. "description": "Internal Server Error",
  9129. "schema": {
  9130. "$ref": "#/definitions/app.Response"
  9131. }
  9132. }
  9133. }
  9134. }
  9135. },
  9136. "/QhjMgr/QueryAccountInOutApply": {
  9137. "get": {
  9138. "security": [
  9139. {
  9140. "ApiKeyAuth": []
  9141. }
  9142. ],
  9143. "produces": [
  9144. "application/json"
  9145. ],
  9146. "tags": [
  9147. "大连千海金(PCWeb)"
  9148. ],
  9149. "summary": "查询充值提现",
  9150. "parameters": [
  9151. {
  9152. "type": "integer",
  9153. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9154. "name": "querytype",
  9155. "in": "query",
  9156. "required": true
  9157. },
  9158. {
  9159. "type": "integer",
  9160. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9161. "name": "applystatus",
  9162. "in": "query"
  9163. },
  9164. {
  9165. "type": "string",
  9166. "description": "申请起始日期(格式yyyymmdd)",
  9167. "name": "begindate",
  9168. "in": "query"
  9169. },
  9170. {
  9171. "type": "string",
  9172. "description": "申请截止日期(格式yyyymmdd)",
  9173. "name": "enddate",
  9174. "in": "query"
  9175. },
  9176. {
  9177. "type": "string",
  9178. "description": "模糊搜索名称",
  9179. "name": "likename",
  9180. "in": "query"
  9181. }
  9182. ],
  9183. "responses": {
  9184. "200": {
  9185. "description": "OK",
  9186. "schema": {
  9187. "type": "array",
  9188. "items": {
  9189. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  9190. }
  9191. }
  9192. },
  9193. "500": {
  9194. "description": "Internal Server Error",
  9195. "schema": {
  9196. "$ref": "#/definitions/app.Response"
  9197. }
  9198. }
  9199. }
  9200. }
  9201. },
  9202. "/QhjMgr/QueryBrokerApply": {
  9203. "get": {
  9204. "security": [
  9205. {
  9206. "ApiKeyAuth": []
  9207. }
  9208. ],
  9209. "produces": [
  9210. "application/json"
  9211. ],
  9212. "tags": [
  9213. "大连千海金(PCWeb)"
  9214. ],
  9215. "summary": "查询经纪人申请",
  9216. "parameters": [
  9217. {
  9218. "type": "integer",
  9219. "description": "所属机构ID",
  9220. "name": "userid",
  9221. "in": "query"
  9222. },
  9223. {
  9224. "type": "string",
  9225. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9226. "name": "filterstatus",
  9227. "in": "query"
  9228. },
  9229. {
  9230. "type": "string",
  9231. "description": "名称(模糊匹配)",
  9232. "name": "filtername",
  9233. "in": "query"
  9234. },
  9235. {
  9236. "type": "integer",
  9237. "description": "是否包含子级 1-包含",
  9238. "name": "includesub",
  9239. "in": "query"
  9240. }
  9241. ],
  9242. "responses": {
  9243. "200": {
  9244. "description": "OK",
  9245. "schema": {
  9246. "type": "array",
  9247. "items": {
  9248. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  9249. }
  9250. }
  9251. },
  9252. "500": {
  9253. "description": "Internal Server Error",
  9254. "schema": {
  9255. "$ref": "#/definitions/app.Response"
  9256. }
  9257. }
  9258. }
  9259. }
  9260. },
  9261. "/QhjMgr/QueryBrokerRewardReport": {
  9262. "get": {
  9263. "security": [
  9264. {
  9265. "ApiKeyAuth": []
  9266. }
  9267. ],
  9268. "produces": [
  9269. "application/json"
  9270. ],
  9271. "tags": [
  9272. "大连千海金(PCWeb)"
  9273. ],
  9274. "summary": "查询经纪人奖励报表(废弃)",
  9275. "parameters": [
  9276. {
  9277. "type": "integer",
  9278. "description": "所属机构ID",
  9279. "name": "userid",
  9280. "in": "query",
  9281. "required": true
  9282. },
  9283. {
  9284. "type": "integer",
  9285. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9286. "name": "cycletype",
  9287. "in": "query",
  9288. "required": true
  9289. },
  9290. {
  9291. "type": "string",
  9292. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  9293. "name": "cycletime",
  9294. "in": "query",
  9295. "required": true
  9296. },
  9297. {
  9298. "type": "string",
  9299. "description": "名称(模糊匹配)",
  9300. "name": "filtername",
  9301. "in": "query"
  9302. },
  9303. {
  9304. "type": "integer",
  9305. "description": "是否包含子级 1-包含",
  9306. "name": "includesub",
  9307. "in": "query"
  9308. }
  9309. ],
  9310. "responses": {
  9311. "200": {
  9312. "description": "OK",
  9313. "schema": {
  9314. "type": "array",
  9315. "items": {
  9316. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  9317. }
  9318. }
  9319. },
  9320. "500": {
  9321. "description": "Internal Server Error",
  9322. "schema": {
  9323. "$ref": "#/definitions/app.Response"
  9324. }
  9325. }
  9326. }
  9327. }
  9328. },
  9329. "/QhjMgr/QueryContract": {
  9330. "get": {
  9331. "security": [
  9332. {
  9333. "ApiKeyAuth": []
  9334. }
  9335. ],
  9336. "produces": [
  9337. "application/json"
  9338. ],
  9339. "tags": [
  9340. "大连千海金(PCWeb)"
  9341. ],
  9342. "summary": "查询融资信息(合同)",
  9343. "parameters": [
  9344. {
  9345. "type": "integer",
  9346. "description": "用户ID",
  9347. "name": "userid",
  9348. "in": "query"
  9349. },
  9350. {
  9351. "type": "integer",
  9352. "description": "商品id",
  9353. "name": "goodsid",
  9354. "in": "query"
  9355. },
  9356. {
  9357. "type": "string",
  9358. "description": "名称(模糊搜索账户)",
  9359. "name": "filtername",
  9360. "in": "query"
  9361. },
  9362. {
  9363. "type": "string",
  9364. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  9365. "name": "risklevel",
  9366. "in": "query"
  9367. },
  9368. {
  9369. "type": "string",
  9370. "description": "开始交易日(yyyymmdd)",
  9371. "name": "begindate",
  9372. "in": "query"
  9373. },
  9374. {
  9375. "type": "string",
  9376. "description": "结束交易日(yyyymmdd)",
  9377. "name": "enddate",
  9378. "in": "query"
  9379. }
  9380. ],
  9381. "responses": {
  9382. "200": {
  9383. "description": "OK",
  9384. "schema": {
  9385. "type": "array",
  9386. "items": {
  9387. "$ref": "#/definitions/models.QhjMgrContract"
  9388. }
  9389. }
  9390. },
  9391. "500": {
  9392. "description": "Internal Server Error",
  9393. "schema": {
  9394. "$ref": "#/definitions/app.Response"
  9395. }
  9396. }
  9397. }
  9398. }
  9399. },
  9400. "/QhjMgr/QueryCustomerInfo": {
  9401. "get": {
  9402. "security": [
  9403. {
  9404. "ApiKeyAuth": []
  9405. }
  9406. ],
  9407. "produces": [
  9408. "application/json"
  9409. ],
  9410. "tags": [
  9411. "大连千海金(PCWeb)"
  9412. ],
  9413. "summary": "查询客户资料",
  9414. "parameters": [
  9415. {
  9416. "type": "integer",
  9417. "description": "用户ID",
  9418. "name": "userid",
  9419. "in": "query",
  9420. "required": true
  9421. },
  9422. {
  9423. "type": "integer",
  9424. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9425. "name": "querytype",
  9426. "in": "query",
  9427. "required": true
  9428. },
  9429. {
  9430. "type": "integer",
  9431. "description": "客户类型 1-个人 2-企业",
  9432. "name": "userinfotype",
  9433. "in": "query"
  9434. },
  9435. {
  9436. "type": "string",
  9437. "description": "客户名称(模糊匹配)",
  9438. "name": "customername",
  9439. "in": "query"
  9440. },
  9441. {
  9442. "type": "string",
  9443. "description": "昵称(模糊匹配)",
  9444. "name": "nickname",
  9445. "in": "query"
  9446. },
  9447. {
  9448. "type": "string",
  9449. "description": "所属客户经理(模糊匹配)",
  9450. "name": "brokername",
  9451. "in": "query"
  9452. },
  9453. {
  9454. "type": "string",
  9455. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  9456. "name": "birthday",
  9457. "in": "query"
  9458. },
  9459. {
  9460. "type": "integer",
  9461. "description": "是否包含子级 1-包含",
  9462. "name": "includesub",
  9463. "in": "query"
  9464. }
  9465. ],
  9466. "responses": {
  9467. "200": {
  9468. "description": "OK",
  9469. "schema": {
  9470. "type": "array",
  9471. "items": {
  9472. "$ref": "#/definitions/models.QhjMgrCustomer"
  9473. }
  9474. }
  9475. },
  9476. "500": {
  9477. "description": "Internal Server Error",
  9478. "schema": {
  9479. "$ref": "#/definitions/app.Response"
  9480. }
  9481. }
  9482. }
  9483. }
  9484. },
  9485. "/QhjMgr/QueryPickGoods": {
  9486. "get": {
  9487. "security": [
  9488. {
  9489. "ApiKeyAuth": []
  9490. }
  9491. ],
  9492. "produces": [
  9493. "application/json"
  9494. ],
  9495. "tags": [
  9496. "大连千海金(PCWeb)"
  9497. ],
  9498. "summary": "查询提货商品",
  9499. "parameters": [
  9500. {
  9501. "type": "string",
  9502. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9503. "name": "status",
  9504. "in": "query"
  9505. }
  9506. ],
  9507. "responses": {
  9508. "200": {
  9509. "description": "OK",
  9510. "schema": {
  9511. "type": "array",
  9512. "items": {
  9513. "$ref": "#/definitions/models.QhjMgrPickGoods"
  9514. }
  9515. }
  9516. },
  9517. "500": {
  9518. "description": "Internal Server Error",
  9519. "schema": {
  9520. "$ref": "#/definitions/app.Response"
  9521. }
  9522. }
  9523. }
  9524. }
  9525. },
  9526. "/QhjMgr/QuerySubArea": {
  9527. "get": {
  9528. "security": [
  9529. {
  9530. "ApiKeyAuth": []
  9531. }
  9532. ],
  9533. "produces": [
  9534. "application/json"
  9535. ],
  9536. "tags": [
  9537. "大连千海金(PCWeb)"
  9538. ],
  9539. "summary": "查询子机构列表",
  9540. "parameters": [
  9541. {
  9542. "type": "integer",
  9543. "description": "用户ID",
  9544. "name": "userid",
  9545. "in": "query",
  9546. "required": true
  9547. }
  9548. ],
  9549. "responses": {
  9550. "200": {
  9551. "description": "OK",
  9552. "schema": {
  9553. "type": "array",
  9554. "items": {
  9555. "$ref": "#/definitions/models.QhjMgrSubArea"
  9556. }
  9557. }
  9558. },
  9559. "500": {
  9560. "description": "Internal Server Error",
  9561. "schema": {
  9562. "$ref": "#/definitions/app.Response"
  9563. }
  9564. }
  9565. }
  9566. }
  9567. },
  9568. "/QhjMgr/QueryTradeDetail": {
  9569. "get": {
  9570. "security": [
  9571. {
  9572. "ApiKeyAuth": []
  9573. }
  9574. ],
  9575. "produces": [
  9576. "application/json"
  9577. ],
  9578. "tags": [
  9579. "大连千海金(PCWeb)"
  9580. ],
  9581. "summary": "查询成交明细",
  9582. "parameters": [
  9583. {
  9584. "type": "integer",
  9585. "description": "用户ID",
  9586. "name": "userid",
  9587. "in": "query",
  9588. "required": true
  9589. },
  9590. {
  9591. "type": "integer",
  9592. "description": "用户类型 1-个人 2-企业",
  9593. "name": "userinfotype",
  9594. "in": "query"
  9595. },
  9596. {
  9597. "type": "integer",
  9598. "description": "交易模式",
  9599. "name": "trademode",
  9600. "in": "query"
  9601. },
  9602. {
  9603. "type": "integer",
  9604. "description": "商品id",
  9605. "name": "goodsid",
  9606. "in": "query"
  9607. },
  9608. {
  9609. "type": "string",
  9610. "description": "名称(模糊搜索账户)",
  9611. "name": "filtername",
  9612. "in": "query"
  9613. },
  9614. {
  9615. "type": "string",
  9616. "description": "开始交易日(yyyymmdd)",
  9617. "name": "begindate",
  9618. "in": "query"
  9619. },
  9620. {
  9621. "type": "string",
  9622. "description": "结束交易日(yyyymmdd)",
  9623. "name": "enddate",
  9624. "in": "query"
  9625. },
  9626. {
  9627. "type": "integer",
  9628. "description": "是否包含子级 1-包含",
  9629. "name": "includesub",
  9630. "in": "query"
  9631. }
  9632. ],
  9633. "responses": {
  9634. "200": {
  9635. "description": "OK",
  9636. "schema": {
  9637. "type": "array",
  9638. "items": {
  9639. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9640. }
  9641. }
  9642. },
  9643. "500": {
  9644. "description": "Internal Server Error",
  9645. "schema": {
  9646. "$ref": "#/definitions/app.Response"
  9647. }
  9648. }
  9649. }
  9650. }
  9651. },
  9652. "/QhjMgr/QueryTradeOrderDetail": {
  9653. "get": {
  9654. "security": [
  9655. {
  9656. "ApiKeyAuth": []
  9657. }
  9658. ],
  9659. "produces": [
  9660. "application/json"
  9661. ],
  9662. "tags": [
  9663. "大连千海金(PCWeb)"
  9664. ],
  9665. "summary": "查询委托明细",
  9666. "parameters": [
  9667. {
  9668. "type": "integer",
  9669. "description": "用户ID",
  9670. "name": "userid",
  9671. "in": "query",
  9672. "required": true
  9673. },
  9674. {
  9675. "type": "integer",
  9676. "description": "用户类型 1-个人 2-企业",
  9677. "name": "userinfotype",
  9678. "in": "query"
  9679. },
  9680. {
  9681. "type": "integer",
  9682. "description": "交易模式",
  9683. "name": "trademode",
  9684. "in": "query"
  9685. },
  9686. {
  9687. "type": "integer",
  9688. "description": "商品id",
  9689. "name": "goodsid",
  9690. "in": "query"
  9691. },
  9692. {
  9693. "type": "string",
  9694. "description": "名称(模糊搜索账户)",
  9695. "name": "filtername",
  9696. "in": "query"
  9697. },
  9698. {
  9699. "type": "string",
  9700. "description": "开始交易日(yyyymmdd)",
  9701. "name": "begindate",
  9702. "in": "query"
  9703. },
  9704. {
  9705. "type": "string",
  9706. "description": "结束交易日(yyyymmdd)",
  9707. "name": "enddate",
  9708. "in": "query"
  9709. },
  9710. {
  9711. "type": "integer",
  9712. "description": "是否包含子级 1-包含",
  9713. "name": "includesub",
  9714. "in": "query"
  9715. }
  9716. ],
  9717. "responses": {
  9718. "200": {
  9719. "description": "OK",
  9720. "schema": {
  9721. "type": "array",
  9722. "items": {
  9723. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9724. }
  9725. }
  9726. },
  9727. "500": {
  9728. "description": "Internal Server Error",
  9729. "schema": {
  9730. "$ref": "#/definitions/app.Response"
  9731. }
  9732. }
  9733. }
  9734. }
  9735. },
  9736. "/QhjMgr/QueryTradePayOrder": {
  9737. "get": {
  9738. "security": [
  9739. {
  9740. "ApiKeyAuth": []
  9741. }
  9742. ],
  9743. "produces": [
  9744. "application/json"
  9745. ],
  9746. "tags": [
  9747. "大连千海金(PCWeb)"
  9748. ],
  9749. "summary": "查询待付款单",
  9750. "parameters": [
  9751. {
  9752. "type": "integer",
  9753. "description": "用户ID",
  9754. "name": "userid",
  9755. "in": "query",
  9756. "required": true
  9757. },
  9758. {
  9759. "type": "string",
  9760. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9761. "name": "payflag",
  9762. "in": "query"
  9763. },
  9764. {
  9765. "type": "integer",
  9766. "description": "用户类型 1-个人 2-企业",
  9767. "name": "userinfotype",
  9768. "in": "query"
  9769. },
  9770. {
  9771. "type": "integer",
  9772. "description": "交易模式",
  9773. "name": "trademode",
  9774. "in": "query"
  9775. },
  9776. {
  9777. "type": "integer",
  9778. "description": "商品id",
  9779. "name": "goodsid",
  9780. "in": "query"
  9781. },
  9782. {
  9783. "type": "string",
  9784. "description": "名称(模糊搜索账户)",
  9785. "name": "filtername",
  9786. "in": "query"
  9787. },
  9788. {
  9789. "type": "string",
  9790. "description": "开始交易日(yyyymmdd)",
  9791. "name": "begindate",
  9792. "in": "query"
  9793. },
  9794. {
  9795. "type": "string",
  9796. "description": "结束交易日(yyyymmdd)",
  9797. "name": "enddate",
  9798. "in": "query"
  9799. },
  9800. {
  9801. "type": "integer",
  9802. "description": "是否包含子级 1-包含",
  9803. "name": "includesub",
  9804. "in": "query"
  9805. }
  9806. ],
  9807. "responses": {
  9808. "200": {
  9809. "description": "OK",
  9810. "schema": {
  9811. "type": "array",
  9812. "items": {
  9813. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9814. }
  9815. }
  9816. },
  9817. "500": {
  9818. "description": "Internal Server Error",
  9819. "schema": {
  9820. "$ref": "#/definitions/app.Response"
  9821. }
  9822. }
  9823. }
  9824. }
  9825. },
  9826. "/QhjMgr/QueryTradePosition": {
  9827. "get": {
  9828. "security": [
  9829. {
  9830. "ApiKeyAuth": []
  9831. }
  9832. ],
  9833. "produces": [
  9834. "application/json"
  9835. ],
  9836. "tags": [
  9837. "大连千海金(PCWeb)"
  9838. ],
  9839. "summary": "查询持仓汇总",
  9840. "parameters": [
  9841. {
  9842. "type": "integer",
  9843. "description": "用户ID",
  9844. "name": "userid",
  9845. "in": "query",
  9846. "required": true
  9847. },
  9848. {
  9849. "type": "integer",
  9850. "description": "用户类型 1-个人 2-企业",
  9851. "name": "userinfotype",
  9852. "in": "query"
  9853. },
  9854. {
  9855. "type": "integer",
  9856. "description": "交易模式",
  9857. "name": "trademode",
  9858. "in": "query"
  9859. },
  9860. {
  9861. "type": "integer",
  9862. "description": "商品id",
  9863. "name": "goodsid",
  9864. "in": "query"
  9865. },
  9866. {
  9867. "type": "string",
  9868. "description": "名称(模糊搜索账户)",
  9869. "name": "filtername",
  9870. "in": "query"
  9871. },
  9872. {
  9873. "type": "integer",
  9874. "description": "是否包含子级 1-包含",
  9875. "name": "includesub",
  9876. "in": "query"
  9877. }
  9878. ],
  9879. "responses": {
  9880. "200": {
  9881. "description": "OK",
  9882. "schema": {
  9883. "type": "array",
  9884. "items": {
  9885. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9886. }
  9887. }
  9888. },
  9889. "500": {
  9890. "description": "Internal Server Error",
  9891. "schema": {
  9892. "$ref": "#/definitions/app.Response"
  9893. }
  9894. }
  9895. }
  9896. }
  9897. },
  9898. "/QhjSys/QueryAgreementChangeLog": {
  9899. "get": {
  9900. "security": [
  9901. {
  9902. "ApiKeyAuth": []
  9903. }
  9904. ],
  9905. "produces": [
  9906. "application/json"
  9907. ],
  9908. "tags": [
  9909. "大连千海金(协议和签约信息)"
  9910. ],
  9911. "summary": "查询协议配置变更流水",
  9912. "parameters": [
  9913. {
  9914. "type": "integer",
  9915. "description": "协议ID",
  9916. "name": "agreementid",
  9917. "in": "query"
  9918. },
  9919. {
  9920. "type": "integer",
  9921. "description": "协议版本号",
  9922. "name": "agreementversion",
  9923. "in": "query"
  9924. },
  9925. {
  9926. "type": "integer",
  9927. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9928. "name": "agreementtype",
  9929. "in": "query"
  9930. },
  9931. {
  9932. "type": "string",
  9933. "description": "协议编号(模糊匹配)",
  9934. "name": "agreementno",
  9935. "in": "query"
  9936. },
  9937. {
  9938. "type": "string",
  9939. "description": "协议名称(模糊匹配)",
  9940. "name": "agreementname",
  9941. "in": "query"
  9942. }
  9943. ],
  9944. "responses": {
  9945. "200": {
  9946. "description": "OK",
  9947. "schema": {
  9948. "type": "array",
  9949. "items": {
  9950. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9951. }
  9952. }
  9953. },
  9954. "500": {
  9955. "description": "Internal Server Error",
  9956. "schema": {
  9957. "$ref": "#/definitions/app.Response"
  9958. }
  9959. }
  9960. }
  9961. }
  9962. },
  9963. "/QhjSys/QueryAgreementConfig": {
  9964. "get": {
  9965. "security": [
  9966. {
  9967. "ApiKeyAuth": []
  9968. }
  9969. ],
  9970. "produces": [
  9971. "application/json"
  9972. ],
  9973. "tags": [
  9974. "大连千海金(协议和签约信息)"
  9975. ],
  9976. "summary": "查询协议配置",
  9977. "parameters": [
  9978. {
  9979. "type": "integer",
  9980. "description": "协议ID",
  9981. "name": "agreementid",
  9982. "in": "query"
  9983. },
  9984. {
  9985. "type": "integer",
  9986. "description": "协议版本号",
  9987. "name": "agreementversion",
  9988. "in": "query"
  9989. },
  9990. {
  9991. "type": "integer",
  9992. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9993. "name": "agreementtype",
  9994. "in": "query"
  9995. },
  9996. {
  9997. "type": "integer",
  9998. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  9999. "name": "isvalid",
  10000. "in": "query"
  10001. },
  10002. {
  10003. "type": "string",
  10004. "description": "协议编号(模糊匹配)",
  10005. "name": "agreementno",
  10006. "in": "query"
  10007. },
  10008. {
  10009. "type": "string",
  10010. "description": "协议名称(模糊匹配)",
  10011. "name": "agreementname",
  10012. "in": "query"
  10013. }
  10014. ],
  10015. "responses": {
  10016. "200": {
  10017. "description": "OK",
  10018. "schema": {
  10019. "type": "array",
  10020. "items": {
  10021. "$ref": "#/definitions/models.QhjAgreementConfig"
  10022. }
  10023. }
  10024. },
  10025. "500": {
  10026. "description": "Internal Server Error",
  10027. "schema": {
  10028. "$ref": "#/definitions/app.Response"
  10029. }
  10030. }
  10031. }
  10032. }
  10033. },
  10034. "/QhjSys/QueryCustomerSignStatus": {
  10035. "get": {
  10036. "security": [
  10037. {
  10038. "ApiKeyAuth": []
  10039. }
  10040. ],
  10041. "produces": [
  10042. "application/json"
  10043. ],
  10044. "tags": [
  10045. "大连千海金(协议和签约信息)"
  10046. ],
  10047. "summary": "查询客户协议签约状态",
  10048. "parameters": [
  10049. {
  10050. "type": "integer",
  10051. "description": "客户ID",
  10052. "name": "userid",
  10053. "in": "query"
  10054. },
  10055. {
  10056. "type": "integer",
  10057. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  10058. "name": "nodetype",
  10059. "in": "query"
  10060. },
  10061. {
  10062. "type": "integer",
  10063. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10064. "name": "goodsid",
  10065. "in": "query"
  10066. },
  10067. {
  10068. "type": "string",
  10069. "description": "创建交易日(yyyyMMdd)",
  10070. "name": "tradedate",
  10071. "in": "query"
  10072. },
  10073. {
  10074. "type": "string",
  10075. "description": "用户名称(模糊匹配)",
  10076. "name": "username",
  10077. "in": "query"
  10078. }
  10079. ],
  10080. "responses": {
  10081. "200": {
  10082. "description": "OK",
  10083. "schema": {
  10084. "type": "array",
  10085. "items": {
  10086. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  10087. }
  10088. }
  10089. },
  10090. "500": {
  10091. "description": "Internal Server Error",
  10092. "schema": {
  10093. "$ref": "#/definitions/app.Response"
  10094. }
  10095. }
  10096. }
  10097. }
  10098. },
  10099. "/QhjSys/QueryNodeAgreementConfig": {
  10100. "get": {
  10101. "security": [
  10102. {
  10103. "ApiKeyAuth": []
  10104. }
  10105. ],
  10106. "produces": [
  10107. "application/json"
  10108. ],
  10109. "tags": [
  10110. "大连千海金(协议和签约信息)"
  10111. ],
  10112. "summary": "查询协议节点配置",
  10113. "parameters": [
  10114. {
  10115. "type": "integer",
  10116. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10117. "name": "configid",
  10118. "in": "query"
  10119. },
  10120. {
  10121. "type": "integer",
  10122. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10123. "name": "nodetype",
  10124. "in": "query"
  10125. },
  10126. {
  10127. "type": "integer",
  10128. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10129. "name": "goodsid",
  10130. "in": "query"
  10131. },
  10132. {
  10133. "type": "integer",
  10134. "description": "协议ID",
  10135. "name": "agreementid",
  10136. "in": "query"
  10137. },
  10138. {
  10139. "type": "integer",
  10140. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10141. "name": "agreementtype",
  10142. "in": "query"
  10143. },
  10144. {
  10145. "type": "integer",
  10146. "description": "协议版本号",
  10147. "name": "agreementversion",
  10148. "in": "query"
  10149. },
  10150. {
  10151. "type": "string",
  10152. "description": "协议编号(模糊匹配)",
  10153. "name": "agreementno",
  10154. "in": "query"
  10155. },
  10156. {
  10157. "type": "string",
  10158. "description": "协议名称(模糊匹配)",
  10159. "name": "agreementname",
  10160. "in": "query"
  10161. }
  10162. ],
  10163. "responses": {
  10164. "200": {
  10165. "description": "OK",
  10166. "schema": {
  10167. "type": "array",
  10168. "items": {
  10169. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  10170. }
  10171. }
  10172. },
  10173. "500": {
  10174. "description": "Internal Server Error",
  10175. "schema": {
  10176. "$ref": "#/definitions/app.Response"
  10177. }
  10178. }
  10179. }
  10180. }
  10181. },
  10182. "/QhjSys/QueryQhjCustomerSignLog": {
  10183. "get": {
  10184. "security": [
  10185. {
  10186. "ApiKeyAuth": []
  10187. }
  10188. ],
  10189. "produces": [
  10190. "application/json"
  10191. ],
  10192. "tags": [
  10193. "大连千海金(协议和签约信息)"
  10194. ],
  10195. "summary": "查询客户协议签约流水",
  10196. "parameters": [
  10197. {
  10198. "type": "integer",
  10199. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  10200. "name": "logid",
  10201. "in": "query"
  10202. },
  10203. {
  10204. "type": "integer",
  10205. "description": "客户ID",
  10206. "name": "userid",
  10207. "in": "query"
  10208. },
  10209. {
  10210. "type": "integer",
  10211. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10212. "name": "nodetype",
  10213. "in": "query"
  10214. },
  10215. {
  10216. "type": "integer",
  10217. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10218. "name": "goodsid",
  10219. "in": "query"
  10220. },
  10221. {
  10222. "type": "integer",
  10223. "description": "协议ID",
  10224. "name": "agreementid",
  10225. "in": "query"
  10226. },
  10227. {
  10228. "type": "string",
  10229. "description": "用户名称(模糊匹配)",
  10230. "name": "username",
  10231. "in": "query"
  10232. },
  10233. {
  10234. "type": "string",
  10235. "description": "协议编号(模糊匹配)",
  10236. "name": "agreementno",
  10237. "in": "query"
  10238. },
  10239. {
  10240. "type": "string",
  10241. "description": "协议名称(模糊匹配)",
  10242. "name": "agreementname",
  10243. "in": "query"
  10244. }
  10245. ],
  10246. "responses": {
  10247. "200": {
  10248. "description": "OK",
  10249. "schema": {
  10250. "type": "array",
  10251. "items": {
  10252. "$ref": "#/definitions/models.QhjCustomerSignLog"
  10253. }
  10254. }
  10255. },
  10256. "500": {
  10257. "description": "Internal Server Error",
  10258. "schema": {
  10259. "$ref": "#/definitions/app.Response"
  10260. }
  10261. }
  10262. }
  10263. }
  10264. },
  10265. "/QhjSys/QueryUserNodeCfgAndStatus": {
  10266. "get": {
  10267. "security": [
  10268. {
  10269. "ApiKeyAuth": []
  10270. }
  10271. ],
  10272. "produces": [
  10273. "application/json"
  10274. ],
  10275. "tags": [
  10276. "大连千海金(协议和签约信息)"
  10277. ],
  10278. "summary": "查询用户协议节点配置和状态",
  10279. "parameters": [
  10280. {
  10281. "type": "integer",
  10282. "description": "客户ID",
  10283. "name": "userid",
  10284. "in": "query"
  10285. },
  10286. {
  10287. "type": "integer",
  10288. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10289. "name": "configid",
  10290. "in": "query"
  10291. },
  10292. {
  10293. "type": "string",
  10294. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10295. "name": "nodetype",
  10296. "in": "query"
  10297. },
  10298. {
  10299. "type": "integer",
  10300. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10301. "name": "goodsid",
  10302. "in": "query"
  10303. },
  10304. {
  10305. "type": "integer",
  10306. "description": "协议ID",
  10307. "name": "agreementid",
  10308. "in": "query"
  10309. },
  10310. {
  10311. "type": "integer",
  10312. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10313. "name": "agreementtype",
  10314. "in": "query"
  10315. },
  10316. {
  10317. "type": "integer",
  10318. "description": "协议版本号",
  10319. "name": "agreementversion",
  10320. "in": "query"
  10321. },
  10322. {
  10323. "type": "string",
  10324. "description": "协议编号(模糊匹配)",
  10325. "name": "agreementno",
  10326. "in": "query"
  10327. },
  10328. {
  10329. "type": "string",
  10330. "description": "协议名称(模糊匹配)",
  10331. "name": "agreementname",
  10332. "in": "query"
  10333. }
  10334. ],
  10335. "responses": {
  10336. "200": {
  10337. "description": "OK",
  10338. "schema": {
  10339. "type": "array",
  10340. "items": {
  10341. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  10342. }
  10343. }
  10344. },
  10345. "500": {
  10346. "description": "Internal Server Error",
  10347. "schema": {
  10348. "$ref": "#/definitions/app.Response"
  10349. }
  10350. }
  10351. }
  10352. }
  10353. },
  10354. "/Quote/QueryHistoryDatas": {
  10355. "get": {
  10356. "security": [
  10357. {
  10358. "ApiKeyAuth": []
  10359. }
  10360. ],
  10361. "produces": [
  10362. "application/json"
  10363. ],
  10364. "tags": [
  10365. "行情服务"
  10366. ],
  10367. "summary": "查询行情历史数据",
  10368. "parameters": [
  10369. {
  10370. "type": "integer",
  10371. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  10372. "name": "cycleType",
  10373. "in": "query",
  10374. "required": true
  10375. },
  10376. {
  10377. "type": "string",
  10378. "description": "商品代码",
  10379. "name": "goodsCode",
  10380. "in": "query",
  10381. "required": true
  10382. },
  10383. {
  10384. "type": "string",
  10385. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10386. "name": "startTime",
  10387. "in": "query"
  10388. },
  10389. {
  10390. "type": "string",
  10391. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10392. "name": "endTime",
  10393. "in": "query"
  10394. },
  10395. {
  10396. "type": "integer",
  10397. "description": "条数",
  10398. "name": "count",
  10399. "in": "query"
  10400. },
  10401. {
  10402. "type": "boolean",
  10403. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10404. "name": "isAsc",
  10405. "in": "query"
  10406. }
  10407. ],
  10408. "responses": {
  10409. "200": {
  10410. "description": "OK",
  10411. "schema": {
  10412. "$ref": "#/definitions/quote.HistoryData"
  10413. }
  10414. },
  10415. "500": {
  10416. "description": "Internal Server Error",
  10417. "schema": {
  10418. "$ref": "#/definitions/app.Response"
  10419. }
  10420. }
  10421. }
  10422. }
  10423. },
  10424. "/Quote/QueryHistoryTikDatas": {
  10425. "get": {
  10426. "security": [
  10427. {
  10428. "ApiKeyAuth": []
  10429. }
  10430. ],
  10431. "produces": [
  10432. "application/json"
  10433. ],
  10434. "tags": [
  10435. "行情服务"
  10436. ],
  10437. "summary": "查询行情Tik数据",
  10438. "parameters": [
  10439. {
  10440. "type": "string",
  10441. "description": "商品代码",
  10442. "name": "goodsCode",
  10443. "in": "query",
  10444. "required": true
  10445. },
  10446. {
  10447. "type": "string",
  10448. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10449. "name": "startTime",
  10450. "in": "query"
  10451. },
  10452. {
  10453. "type": "string",
  10454. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10455. "name": "endTime",
  10456. "in": "query"
  10457. },
  10458. {
  10459. "type": "integer",
  10460. "description": "条数",
  10461. "name": "count",
  10462. "in": "query"
  10463. },
  10464. {
  10465. "type": "boolean",
  10466. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10467. "name": "isAsc",
  10468. "in": "query"
  10469. }
  10470. ],
  10471. "responses": {
  10472. "200": {
  10473. "description": "OK",
  10474. "schema": {
  10475. "$ref": "#/definitions/quote.HistoryTikData"
  10476. }
  10477. },
  10478. "500": {
  10479. "description": "Internal Server Error",
  10480. "schema": {
  10481. "$ref": "#/definitions/app.Response"
  10482. }
  10483. }
  10484. }
  10485. }
  10486. },
  10487. "/Quote/QueryQuoteDay": {
  10488. "get": {
  10489. "security": [
  10490. {
  10491. "ApiKeyAuth": []
  10492. }
  10493. ],
  10494. "produces": [
  10495. "application/json"
  10496. ],
  10497. "tags": [
  10498. "行情服务"
  10499. ],
  10500. "summary": "获取商品盘面信息",
  10501. "parameters": [
  10502. {
  10503. "type": "string",
  10504. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  10505. "name": "goodsCodes",
  10506. "in": "query",
  10507. "required": true
  10508. }
  10509. ],
  10510. "responses": {
  10511. "200": {
  10512. "description": "OK",
  10513. "schema": {
  10514. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  10515. }
  10516. },
  10517. "500": {
  10518. "description": "Internal Server Error",
  10519. "schema": {
  10520. "$ref": "#/definitions/app.Response"
  10521. }
  10522. }
  10523. }
  10524. }
  10525. },
  10526. "/Quote/QueryTSData": {
  10527. "get": {
  10528. "security": [
  10529. {
  10530. "ApiKeyAuth": []
  10531. }
  10532. ],
  10533. "produces": [
  10534. "application/json"
  10535. ],
  10536. "tags": [
  10537. "行情服务"
  10538. ],
  10539. "summary": "分时图数据查询",
  10540. "parameters": [
  10541. {
  10542. "type": "string",
  10543. "description": "商品代码",
  10544. "name": "goodsCode",
  10545. "in": "query",
  10546. "required": true
  10547. }
  10548. ],
  10549. "responses": {
  10550. "200": {
  10551. "description": "OK",
  10552. "schema": {
  10553. "$ref": "#/definitions/quote.QueryTSDataRsp"
  10554. }
  10555. },
  10556. "500": {
  10557. "description": "Internal Server Error",
  10558. "schema": {
  10559. "$ref": "#/definitions/app.Response"
  10560. }
  10561. }
  10562. }
  10563. }
  10564. },
  10565. "/SZDZ/QueryConvertConfig": {
  10566. "get": {
  10567. "security": [
  10568. {
  10569. "ApiKeyAuth": []
  10570. }
  10571. ],
  10572. "produces": [
  10573. "application/json"
  10574. ],
  10575. "tags": [
  10576. "定制【尚志大宗】"
  10577. ],
  10578. "summary": "查询交易系统转换设置",
  10579. "parameters": [
  10580. {
  10581. "type": "integer",
  10582. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10583. "name": "convertType",
  10584. "in": "query"
  10585. },
  10586. {
  10587. "type": "string",
  10588. "description": "外部商品代码[JD\\PD]",
  10589. "name": "outerGoodsCode",
  10590. "in": "query"
  10591. },
  10592. {
  10593. "type": "string",
  10594. "description": "内部商品ID列表[交易],格式:1,2,3",
  10595. "name": "innerGoodsIDs",
  10596. "in": "query"
  10597. }
  10598. ],
  10599. "responses": {
  10600. "200": {
  10601. "description": "OK",
  10602. "schema": {
  10603. "$ref": "#/definitions/models.Szdz3convertconfig"
  10604. }
  10605. },
  10606. "500": {
  10607. "description": "Internal Server Error",
  10608. "schema": {
  10609. "$ref": "#/definitions/app.Response"
  10610. }
  10611. }
  10612. }
  10613. }
  10614. },
  10615. "/SZDZ/QueryConvertLog": {
  10616. "get": {
  10617. "security": [
  10618. {
  10619. "ApiKeyAuth": []
  10620. }
  10621. ],
  10622. "produces": [
  10623. "application/json"
  10624. ],
  10625. "tags": [
  10626. "定制【尚志大宗】"
  10627. ],
  10628. "summary": "交易系统转换流水查询",
  10629. "parameters": [
  10630. {
  10631. "type": "string",
  10632. "description": "资金账户 - 格式:1,2,3",
  10633. "name": "accountID",
  10634. "in": "query",
  10635. "required": true
  10636. },
  10637. {
  10638. "type": "string",
  10639. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10640. "name": "startDate",
  10641. "in": "query"
  10642. },
  10643. {
  10644. "type": "string",
  10645. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10646. "name": "endDate",
  10647. "in": "query"
  10648. }
  10649. ],
  10650. "responses": {
  10651. "200": {
  10652. "description": "OK",
  10653. "schema": {
  10654. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10655. }
  10656. },
  10657. "500": {
  10658. "description": "Internal Server Error",
  10659. "schema": {
  10660. "$ref": "#/definitions/app.Response"
  10661. }
  10662. }
  10663. }
  10664. }
  10665. },
  10666. "/SZDZ/QueryGoodsPickup": {
  10667. "get": {
  10668. "security": [
  10669. {
  10670. "ApiKeyAuth": []
  10671. }
  10672. ],
  10673. "produces": [
  10674. "application/json"
  10675. ],
  10676. "tags": [
  10677. "定制【尚志大宗】"
  10678. ],
  10679. "summary": "商品提货单查询",
  10680. "parameters": [
  10681. {
  10682. "type": "string",
  10683. "description": "资金账户 - 格式:1,2,3",
  10684. "name": "accountID",
  10685. "in": "query",
  10686. "required": true
  10687. },
  10688. {
  10689. "type": "integer",
  10690. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10691. "name": "takeOrderStatus",
  10692. "in": "query"
  10693. }
  10694. ],
  10695. "responses": {
  10696. "200": {
  10697. "description": "OK",
  10698. "schema": {
  10699. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10700. }
  10701. },
  10702. "500": {
  10703. "description": "Internal Server Error",
  10704. "schema": {
  10705. "$ref": "#/definitions/app.Response"
  10706. }
  10707. }
  10708. }
  10709. }
  10710. },
  10711. "/SZDZ/QueryRecieptOrder": {
  10712. "get": {
  10713. "security": [
  10714. {
  10715. "ApiKeyAuth": []
  10716. }
  10717. ],
  10718. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10719. "produces": [
  10720. "application/json"
  10721. ],
  10722. "tags": [
  10723. "定制【尚志大宗】"
  10724. ],
  10725. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10726. "parameters": [
  10727. {
  10728. "type": "integer",
  10729. "description": "页码",
  10730. "name": "page",
  10731. "in": "query"
  10732. },
  10733. {
  10734. "type": "integer",
  10735. "description": "每页条数",
  10736. "name": "pagesize",
  10737. "in": "query"
  10738. },
  10739. {
  10740. "type": "integer",
  10741. "description": "商品ID",
  10742. "name": "goodsID",
  10743. "in": "query",
  10744. "required": true
  10745. },
  10746. {
  10747. "type": "string",
  10748. "description": "所属账户名称",
  10749. "name": "accountName",
  10750. "in": "query"
  10751. },
  10752. {
  10753. "type": "integer",
  10754. "description": "市场ID",
  10755. "name": "marketID",
  10756. "in": "query"
  10757. },
  10758. {
  10759. "type": "integer",
  10760. "description": "方向 - 0:买 1:卖",
  10761. "name": "buyorsell",
  10762. "in": "query",
  10763. "required": true
  10764. }
  10765. ],
  10766. "responses": {
  10767. "200": {
  10768. "description": "OK",
  10769. "schema": {
  10770. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10771. }
  10772. },
  10773. "500": {
  10774. "description": "Internal Server Error",
  10775. "schema": {
  10776. "$ref": "#/definitions/app.Response"
  10777. }
  10778. }
  10779. }
  10780. }
  10781. },
  10782. "/SZDZ/QuerySZDZTradePosition": {
  10783. "get": {
  10784. "security": [
  10785. {
  10786. "ApiKeyAuth": []
  10787. }
  10788. ],
  10789. "produces": [
  10790. "application/json"
  10791. ],
  10792. "tags": [
  10793. "定制【尚志大宗】"
  10794. ],
  10795. "summary": "持仓汇总查询(尚志大宗)",
  10796. "parameters": [
  10797. {
  10798. "type": "integer",
  10799. "description": "资金账户",
  10800. "name": "accountID",
  10801. "in": "query",
  10802. "required": true
  10803. }
  10804. ],
  10805. "responses": {
  10806. "200": {
  10807. "description": "OK",
  10808. "schema": {
  10809. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10810. }
  10811. },
  10812. "500": {
  10813. "description": "Internal Server Error",
  10814. "schema": {
  10815. "$ref": "#/definitions/app.Response"
  10816. }
  10817. }
  10818. }
  10819. }
  10820. },
  10821. "/SZDZ/SearchWhite": {
  10822. "get": {
  10823. "security": [
  10824. {
  10825. "ApiKeyAuth": []
  10826. }
  10827. ],
  10828. "produces": [
  10829. "application/json"
  10830. ],
  10831. "tags": [
  10832. "定制【尚志大宗】"
  10833. ],
  10834. "summary": "搜索白名单",
  10835. "parameters": [
  10836. {
  10837. "type": "integer",
  10838. "description": "用户ID",
  10839. "name": "userID",
  10840. "in": "query",
  10841. "required": true
  10842. }
  10843. ],
  10844. "responses": {
  10845. "200": {
  10846. "description": "OK",
  10847. "schema": {
  10848. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10849. }
  10850. },
  10851. "500": {
  10852. "description": "Internal Server Error",
  10853. "schema": {
  10854. "$ref": "#/definitions/app.Response"
  10855. }
  10856. }
  10857. }
  10858. }
  10859. },
  10860. "/Search/SearchGoodses": {
  10861. "get": {
  10862. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10863. "produces": [
  10864. "application/json"
  10865. ],
  10866. "tags": [
  10867. "检索服务"
  10868. ],
  10869. "summary": "检索商品信息",
  10870. "parameters": [
  10871. {
  10872. "type": "string",
  10873. "description": "检索内容",
  10874. "name": "content",
  10875. "in": "query",
  10876. "required": true
  10877. },
  10878. {
  10879. "type": "string",
  10880. "description": "交易模式,格式:1,2,3",
  10881. "name": "tradeModes",
  10882. "in": "query"
  10883. }
  10884. ],
  10885. "responses": {
  10886. "200": {
  10887. "description": "OK",
  10888. "schema": {
  10889. "$ref": "#/definitions/models.SearchGoods"
  10890. }
  10891. },
  10892. "500": {
  10893. "description": "Internal Server Error",
  10894. "schema": {
  10895. "$ref": "#/definitions/app.Response"
  10896. }
  10897. }
  10898. }
  10899. }
  10900. },
  10901. "/TaAccount/GetTaAccounts": {
  10902. "get": {
  10903. "security": [
  10904. {
  10905. "ApiKeyAuth": []
  10906. }
  10907. ],
  10908. "produces": [
  10909. "application/json"
  10910. ],
  10911. "tags": [
  10912. "资金账户"
  10913. ],
  10914. "summary": "获取资金账户信息",
  10915. "parameters": [
  10916. {
  10917. "type": "integer",
  10918. "description": "登录账户",
  10919. "name": "loginID",
  10920. "in": "query",
  10921. "required": true
  10922. },
  10923. {
  10924. "type": "integer",
  10925. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10926. "name": "taAccountType",
  10927. "in": "query"
  10928. }
  10929. ],
  10930. "responses": {
  10931. "200": {
  10932. "description": "OK",
  10933. "schema": {
  10934. "$ref": "#/definitions/models.Taaccount"
  10935. }
  10936. },
  10937. "500": {
  10938. "description": "Internal Server Error",
  10939. "schema": {
  10940. "$ref": "#/definitions/app.Response"
  10941. }
  10942. }
  10943. }
  10944. }
  10945. },
  10946. "/TaAccount/QueryAmountLog": {
  10947. "get": {
  10948. "security": [
  10949. {
  10950. "ApiKeyAuth": []
  10951. }
  10952. ],
  10953. "produces": [
  10954. "application/json"
  10955. ],
  10956. "tags": [
  10957. "资金账户"
  10958. ],
  10959. "summary": "资金流水查询(当前)",
  10960. "parameters": [
  10961. {
  10962. "type": "integer",
  10963. "description": "页码",
  10964. "name": "page",
  10965. "in": "query"
  10966. },
  10967. {
  10968. "type": "integer",
  10969. "description": "每页条数",
  10970. "name": "pagesize",
  10971. "in": "query"
  10972. },
  10973. {
  10974. "type": "string",
  10975. "description": "资金账户 - 格式:1,2,3",
  10976. "name": "accountID",
  10977. "in": "query",
  10978. "required": true
  10979. },
  10980. {
  10981. "type": "string",
  10982. "description": "资金操作类型 - 格式:1,2,3",
  10983. "name": "OperateType",
  10984. "in": "query"
  10985. }
  10986. ],
  10987. "responses": {
  10988. "200": {
  10989. "description": "OK",
  10990. "schema": {
  10991. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  10992. }
  10993. },
  10994. "500": {
  10995. "description": "Internal Server Error",
  10996. "schema": {
  10997. "$ref": "#/definitions/app.Response"
  10998. }
  10999. }
  11000. }
  11001. }
  11002. },
  11003. "/TaAccount/QueryHisAmountLog": {
  11004. "get": {
  11005. "security": [
  11006. {
  11007. "ApiKeyAuth": []
  11008. }
  11009. ],
  11010. "produces": [
  11011. "application/json"
  11012. ],
  11013. "tags": [
  11014. "资金账户"
  11015. ],
  11016. "summary": "资金流水查询(历史)",
  11017. "parameters": [
  11018. {
  11019. "type": "integer",
  11020. "description": "页码",
  11021. "name": "page",
  11022. "in": "query"
  11023. },
  11024. {
  11025. "type": "integer",
  11026. "description": "每页条数",
  11027. "name": "pagesize",
  11028. "in": "query"
  11029. },
  11030. {
  11031. "type": "string",
  11032. "description": "资金账户 - 格式:1,2,3",
  11033. "name": "accountID",
  11034. "in": "query",
  11035. "required": true
  11036. },
  11037. {
  11038. "type": "string",
  11039. "description": "资金操作类型 - 格式:1,2,3",
  11040. "name": "OperateType",
  11041. "in": "query"
  11042. },
  11043. {
  11044. "type": "string",
  11045. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  11046. "name": "startDate",
  11047. "in": "query"
  11048. },
  11049. {
  11050. "type": "string",
  11051. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  11052. "name": "endDate",
  11053. "in": "query"
  11054. }
  11055. ],
  11056. "responses": {
  11057. "200": {
  11058. "description": "OK",
  11059. "schema": {
  11060. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  11061. }
  11062. },
  11063. "500": {
  11064. "description": "Internal Server Error",
  11065. "schema": {
  11066. "$ref": "#/definitions/app.Response"
  11067. }
  11068. }
  11069. }
  11070. }
  11071. },
  11072. "/Tjmd/QueryQuoteGoodsList": {
  11073. "get": {
  11074. "security": [
  11075. {
  11076. "ApiKeyAuth": []
  11077. }
  11078. ],
  11079. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  11080. "produces": [
  11081. "application/json"
  11082. ],
  11083. "tags": [
  11084. "天津麦顿"
  11085. ],
  11086. "summary": "查询掉期报价列表",
  11087. "parameters": [
  11088. {
  11089. "type": "integer",
  11090. "description": "用户类型",
  11091. "name": "usertype",
  11092. "in": "query",
  11093. "required": true
  11094. },
  11095. {
  11096. "type": "string",
  11097. "description": "市场id, 格式 1,2,3",
  11098. "name": "marketids",
  11099. "in": "query"
  11100. },
  11101. {
  11102. "type": "integer",
  11103. "description": "商品组id",
  11104. "name": "goodsgroupid",
  11105. "in": "query"
  11106. },
  11107. {
  11108. "type": "integer",
  11109. "description": "商品id",
  11110. "name": "goodsid",
  11111. "in": "query"
  11112. }
  11113. ],
  11114. "responses": {
  11115. "200": {
  11116. "description": "OK",
  11117. "schema": {
  11118. "type": "array",
  11119. "items": {
  11120. "$ref": "#/definitions/models.TjmdQuoteGoods"
  11121. }
  11122. }
  11123. },
  11124. "500": {
  11125. "description": "Internal Server Error",
  11126. "schema": {
  11127. "$ref": "#/definitions/app.Response"
  11128. }
  11129. }
  11130. }
  11131. }
  11132. },
  11133. "/Tjmd/QueryTjmdTodayAccountMargin": {
  11134. "get": {
  11135. "security": [
  11136. {
  11137. "ApiKeyAuth": []
  11138. }
  11139. ],
  11140. "produces": [
  11141. "application/json"
  11142. ],
  11143. "tags": [
  11144. "天津麦顿"
  11145. ],
  11146. "summary": "查询今日账户保证金配置",
  11147. "parameters": [
  11148. {
  11149. "type": "string",
  11150. "description": "市场id",
  11151. "name": "marketid",
  11152. "in": "query"
  11153. },
  11154. {
  11155. "type": "string",
  11156. "description": "商品id",
  11157. "name": "goodsid",
  11158. "in": "query"
  11159. },
  11160. {
  11161. "type": "string",
  11162. "description": "资金账号",
  11163. "name": "accountid",
  11164. "in": "query"
  11165. }
  11166. ],
  11167. "responses": {
  11168. "200": {
  11169. "description": "OK",
  11170. "schema": {
  11171. "type": "array",
  11172. "items": {
  11173. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  11174. }
  11175. }
  11176. },
  11177. "500": {
  11178. "description": "Internal Server Error",
  11179. "schema": {
  11180. "$ref": "#/definitions/app.Response"
  11181. }
  11182. }
  11183. }
  11184. }
  11185. },
  11186. "/Tjmd/QueryTjmdTradeOrderDetail": {
  11187. "get": {
  11188. "security": [
  11189. {
  11190. "ApiKeyAuth": []
  11191. }
  11192. ],
  11193. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  11194. "produces": [
  11195. "application/json"
  11196. ],
  11197. "tags": [
  11198. "天津麦顿"
  11199. ],
  11200. "summary": "查询掉期买卖大厅",
  11201. "parameters": [
  11202. {
  11203. "type": "integer",
  11204. "description": "页码",
  11205. "name": "page",
  11206. "in": "query"
  11207. },
  11208. {
  11209. "type": "integer",
  11210. "description": "每页条数",
  11211. "name": "pagesize",
  11212. "in": "query"
  11213. },
  11214. {
  11215. "type": "integer",
  11216. "description": "用户id",
  11217. "name": "userid",
  11218. "in": "query",
  11219. "required": true
  11220. },
  11221. {
  11222. "type": "integer",
  11223. "description": "用户类型",
  11224. "name": "usertype",
  11225. "in": "query",
  11226. "required": true
  11227. },
  11228. {
  11229. "type": "string",
  11230. "description": "市场id, 格式 1,2,3",
  11231. "name": "marketids",
  11232. "in": "query"
  11233. },
  11234. {
  11235. "type": "integer",
  11236. "description": "商品id",
  11237. "name": "goodsid",
  11238. "in": "query",
  11239. "required": true
  11240. },
  11241. {
  11242. "type": "integer",
  11243. "description": "买卖方向 0-买 1-卖",
  11244. "name": "buyorsell",
  11245. "in": "query",
  11246. "required": true
  11247. }
  11248. ],
  11249. "responses": {
  11250. "200": {
  11251. "description": "OK",
  11252. "schema": {
  11253. "type": "array",
  11254. "items": {
  11255. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  11256. }
  11257. }
  11258. },
  11259. "500": {
  11260. "description": "Internal Server Error",
  11261. "schema": {
  11262. "$ref": "#/definitions/app.Response"
  11263. }
  11264. }
  11265. }
  11266. }
  11267. },
  11268. "/Tjmd/QueryTjmdTransferApply": {
  11269. "get": {
  11270. "security": [
  11271. {
  11272. "ApiKeyAuth": []
  11273. }
  11274. ],
  11275. "produces": [
  11276. "application/json"
  11277. ],
  11278. "tags": [
  11279. "天津麦顿"
  11280. ],
  11281. "summary": "查询掉期协议单",
  11282. "parameters": [
  11283. {
  11284. "type": "integer",
  11285. "description": "类型 1-我的申请 2-对方申请",
  11286. "name": "applytype",
  11287. "in": "query",
  11288. "required": true
  11289. },
  11290. {
  11291. "type": "string",
  11292. "description": "市场id, 格式 1,2,3",
  11293. "name": "marketids",
  11294. "in": "query"
  11295. },
  11296. {
  11297. "type": "string",
  11298. "description": "资金账号, 格式 25000000001,25000000003",
  11299. "name": "accountids",
  11300. "in": "query"
  11301. }
  11302. ],
  11303. "responses": {
  11304. "200": {
  11305. "description": "OK",
  11306. "schema": {
  11307. "type": "array",
  11308. "items": {
  11309. "$ref": "#/definitions/models.TjmdTransferApply"
  11310. }
  11311. }
  11312. },
  11313. "500": {
  11314. "description": "Internal Server Error",
  11315. "schema": {
  11316. "$ref": "#/definitions/app.Response"
  11317. }
  11318. }
  11319. }
  11320. }
  11321. },
  11322. "/Trade/QueryRecieptOrder": {
  11323. "get": {
  11324. "security": [
  11325. {
  11326. "ApiKeyAuth": []
  11327. }
  11328. ],
  11329. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11330. "produces": [
  11331. "application/json"
  11332. ],
  11333. "tags": [
  11334. "通用交易"
  11335. ],
  11336. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  11337. "parameters": [
  11338. {
  11339. "type": "integer",
  11340. "description": "页码",
  11341. "name": "page",
  11342. "in": "query"
  11343. },
  11344. {
  11345. "type": "integer",
  11346. "description": "每页条数",
  11347. "name": "pagesize",
  11348. "in": "query"
  11349. },
  11350. {
  11351. "type": "integer",
  11352. "description": "商品ID",
  11353. "name": "goodsID",
  11354. "in": "query",
  11355. "required": true
  11356. },
  11357. {
  11358. "type": "string",
  11359. "description": "所属账户名称",
  11360. "name": "accountName",
  11361. "in": "query"
  11362. },
  11363. {
  11364. "type": "integer",
  11365. "description": "市场ID",
  11366. "name": "marketID",
  11367. "in": "query"
  11368. },
  11369. {
  11370. "type": "integer",
  11371. "description": "方向 - 0:买 1:卖",
  11372. "name": "buyorsell",
  11373. "in": "query",
  11374. "required": true
  11375. }
  11376. ],
  11377. "responses": {
  11378. "200": {
  11379. "description": "OK",
  11380. "schema": {
  11381. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  11382. }
  11383. },
  11384. "500": {
  11385. "description": "Internal Server Error",
  11386. "schema": {
  11387. "$ref": "#/definitions/app.Response"
  11388. }
  11389. }
  11390. }
  11391. }
  11392. },
  11393. "/User/AddMessageBoard": {
  11394. "post": {
  11395. "security": [
  11396. {
  11397. "ApiKeyAuth": []
  11398. }
  11399. ],
  11400. "produces": [
  11401. "application/json"
  11402. ],
  11403. "tags": [
  11404. "用户信息"
  11405. ],
  11406. "summary": "添加用户留言板信息",
  11407. "parameters": [
  11408. {
  11409. "type": "integer",
  11410. "description": "用户ID",
  11411. "name": "userID",
  11412. "in": "query",
  11413. "required": true
  11414. },
  11415. {
  11416. "type": "string",
  11417. "description": "留言信息",
  11418. "name": "message",
  11419. "in": "query",
  11420. "required": true
  11421. },
  11422. {
  11423. "type": "string",
  11424. "description": "联系电话",
  11425. "name": "contactNum",
  11426. "in": "query",
  11427. "required": true
  11428. }
  11429. ],
  11430. "responses": {
  11431. "200": {
  11432. "description": "OK",
  11433. "schema": {
  11434. "$ref": "#/definitions/app.Response"
  11435. }
  11436. },
  11437. "500": {
  11438. "description": "Internal Server Error",
  11439. "schema": {
  11440. "$ref": "#/definitions/app.Response"
  11441. }
  11442. }
  11443. }
  11444. }
  11445. },
  11446. "/User/AddUserFavoriteGoods": {
  11447. "post": {
  11448. "security": [
  11449. {
  11450. "ApiKeyAuth": []
  11451. }
  11452. ],
  11453. "produces": [
  11454. "application/json"
  11455. ],
  11456. "tags": [
  11457. "用户信息"
  11458. ],
  11459. "summary": "添加用户商品收藏信息",
  11460. "parameters": [
  11461. {
  11462. "type": "integer",
  11463. "description": "用户ID",
  11464. "name": "userID",
  11465. "in": "query",
  11466. "required": true
  11467. },
  11468. {
  11469. "type": "integer",
  11470. "description": "商品ID",
  11471. "name": "goodsID",
  11472. "in": "query",
  11473. "required": true
  11474. }
  11475. ],
  11476. "responses": {
  11477. "200": {
  11478. "description": "OK",
  11479. "schema": {
  11480. "$ref": "#/definitions/app.Response"
  11481. }
  11482. },
  11483. "500": {
  11484. "description": "Internal Server Error",
  11485. "schema": {
  11486. "$ref": "#/definitions/app.Response"
  11487. }
  11488. }
  11489. }
  11490. }
  11491. },
  11492. "/User/GetLoginID": {
  11493. "get": {
  11494. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  11495. "produces": [
  11496. "application/json"
  11497. ],
  11498. "tags": [
  11499. "用户信息"
  11500. ],
  11501. "summary": "获取登录ID",
  11502. "parameters": [
  11503. {
  11504. "type": "string",
  11505. "description": "登录代码",
  11506. "name": "username",
  11507. "in": "query",
  11508. "required": true
  11509. }
  11510. ],
  11511. "responses": {
  11512. "200": {
  11513. "description": "OK",
  11514. "schema": {
  11515. "$ref": "#/definitions/app.Response"
  11516. }
  11517. },
  11518. "500": {
  11519. "description": "Internal Server Error",
  11520. "schema": {
  11521. "$ref": "#/definitions/app.Response"
  11522. }
  11523. }
  11524. }
  11525. }
  11526. },
  11527. "/User/GetUserAccount": {
  11528. "get": {
  11529. "security": [
  11530. {
  11531. "ApiKeyAuth": []
  11532. }
  11533. ],
  11534. "produces": [
  11535. "application/json"
  11536. ],
  11537. "tags": [
  11538. "用户信息"
  11539. ],
  11540. "summary": "获取用户账号信息",
  11541. "parameters": [
  11542. {
  11543. "type": "integer",
  11544. "description": "用户ID",
  11545. "name": "userID",
  11546. "in": "query",
  11547. "required": true
  11548. }
  11549. ],
  11550. "responses": {
  11551. "200": {
  11552. "description": "OK",
  11553. "schema": {
  11554. "$ref": "#/definitions/models.Useraccount"
  11555. }
  11556. },
  11557. "500": {
  11558. "description": "Internal Server Error",
  11559. "schema": {
  11560. "$ref": "#/definitions/app.Response"
  11561. }
  11562. }
  11563. }
  11564. }
  11565. },
  11566. "/User/GetUserAuthStatus": {
  11567. "get": {
  11568. "security": [
  11569. {
  11570. "ApiKeyAuth": []
  11571. }
  11572. ],
  11573. "produces": [
  11574. "application/json"
  11575. ],
  11576. "tags": [
  11577. "用户信息"
  11578. ],
  11579. "summary": "获取用户实名认证状态",
  11580. "parameters": [
  11581. {
  11582. "type": "integer",
  11583. "description": "用户ID",
  11584. "name": "userID",
  11585. "in": "query",
  11586. "required": true
  11587. }
  11588. ],
  11589. "responses": {
  11590. "200": {
  11591. "description": "OK",
  11592. "schema": {
  11593. "$ref": "#/definitions/app.Response"
  11594. }
  11595. },
  11596. "500": {
  11597. "description": "Internal Server Error",
  11598. "schema": {
  11599. "$ref": "#/definitions/app.Response"
  11600. }
  11601. }
  11602. }
  11603. }
  11604. },
  11605. "/User/LoginQuery": {
  11606. "get": {
  11607. "security": [
  11608. {
  11609. "ApiKeyAuth": []
  11610. }
  11611. ],
  11612. "produces": [
  11613. "application/json"
  11614. ],
  11615. "tags": [
  11616. "用户信息"
  11617. ],
  11618. "summary": "账户登录后信息查询",
  11619. "parameters": [
  11620. {
  11621. "type": "integer",
  11622. "description": "登录账号",
  11623. "name": "loginID",
  11624. "in": "query",
  11625. "required": true
  11626. }
  11627. ],
  11628. "responses": {
  11629. "200": {
  11630. "description": "OK",
  11631. "schema": {
  11632. "$ref": "#/definitions/user.LoginQueryRsp"
  11633. }
  11634. },
  11635. "500": {
  11636. "description": "Internal Server Error",
  11637. "schema": {
  11638. "$ref": "#/definitions/app.Response"
  11639. }
  11640. }
  11641. }
  11642. }
  11643. },
  11644. "/User/QueryMessageBoard": {
  11645. "get": {
  11646. "security": [
  11647. {
  11648. "ApiKeyAuth": []
  11649. }
  11650. ],
  11651. "produces": [
  11652. "application/json"
  11653. ],
  11654. "tags": [
  11655. "用户信息"
  11656. ],
  11657. "summary": "获取用户留言板信息",
  11658. "parameters": [
  11659. {
  11660. "type": "integer",
  11661. "description": "用户ID",
  11662. "name": "userID",
  11663. "in": "query",
  11664. "required": true
  11665. }
  11666. ],
  11667. "responses": {
  11668. "200": {
  11669. "description": "OK",
  11670. "schema": {
  11671. "$ref": "#/definitions/models.Messageboard"
  11672. }
  11673. },
  11674. "500": {
  11675. "description": "Internal Server Error",
  11676. "schema": {
  11677. "$ref": "#/definitions/app.Response"
  11678. }
  11679. }
  11680. }
  11681. }
  11682. },
  11683. "/User/QueryUserFavoriteGoodses": {
  11684. "get": {
  11685. "security": [
  11686. {
  11687. "ApiKeyAuth": []
  11688. }
  11689. ],
  11690. "produces": [
  11691. "application/json"
  11692. ],
  11693. "tags": [
  11694. "用户信息"
  11695. ],
  11696. "summary": "获取用户商品收藏信息",
  11697. "parameters": [
  11698. {
  11699. "type": "integer",
  11700. "description": "用户ID",
  11701. "name": "userID",
  11702. "in": "query",
  11703. "required": true
  11704. }
  11705. ],
  11706. "responses": {
  11707. "200": {
  11708. "description": "OK",
  11709. "schema": {
  11710. "$ref": "#/definitions/models.Userfavoritegoods"
  11711. }
  11712. },
  11713. "500": {
  11714. "description": "Internal Server Error",
  11715. "schema": {
  11716. "$ref": "#/definitions/app.Response"
  11717. }
  11718. }
  11719. }
  11720. }
  11721. },
  11722. "/User/QueryUserInfo": {
  11723. "get": {
  11724. "security": [
  11725. {
  11726. "ApiKeyAuth": []
  11727. }
  11728. ],
  11729. "produces": [
  11730. "application/json"
  11731. ],
  11732. "tags": [
  11733. "用户信息"
  11734. ],
  11735. "summary": "获取用户信息",
  11736. "parameters": [
  11737. {
  11738. "type": "integer",
  11739. "description": "用户ID",
  11740. "name": "userID",
  11741. "in": "query",
  11742. "required": true
  11743. },
  11744. {
  11745. "type": "boolean",
  11746. "description": "是否解密",
  11747. "name": "isDecrypt",
  11748. "in": "query"
  11749. }
  11750. ],
  11751. "responses": {
  11752. "200": {
  11753. "description": "OK",
  11754. "schema": {
  11755. "$ref": "#/definitions/models.Userinfo"
  11756. }
  11757. },
  11758. "500": {
  11759. "description": "Internal Server Error",
  11760. "schema": {
  11761. "$ref": "#/definitions/app.Response"
  11762. }
  11763. }
  11764. }
  11765. }
  11766. },
  11767. "/User/QueryUserReferNum": {
  11768. "get": {
  11769. "produces": [
  11770. "application/json"
  11771. ],
  11772. "tags": [
  11773. "用户信息"
  11774. ],
  11775. "summary": "获取用户邀请码",
  11776. "parameters": [
  11777. {
  11778. "type": "integer",
  11779. "description": "用户ID",
  11780. "name": "userID",
  11781. "in": "query",
  11782. "required": true
  11783. }
  11784. ],
  11785. "responses": {
  11786. "200": {
  11787. "description": "OK",
  11788. "schema": {
  11789. "$ref": "#/definitions/app.Response"
  11790. }
  11791. },
  11792. "500": {
  11793. "description": "Internal Server Error",
  11794. "schema": {
  11795. "$ref": "#/definitions/app.Response"
  11796. }
  11797. }
  11798. }
  11799. }
  11800. },
  11801. "/User/RemoveUserFavoriteGoods": {
  11802. "post": {
  11803. "security": [
  11804. {
  11805. "ApiKeyAuth": []
  11806. }
  11807. ],
  11808. "produces": [
  11809. "application/json"
  11810. ],
  11811. "tags": [
  11812. "用户信息"
  11813. ],
  11814. "summary": "移除用户商品收藏信息",
  11815. "parameters": [
  11816. {
  11817. "type": "integer",
  11818. "description": "用户ID",
  11819. "name": "userID",
  11820. "in": "query",
  11821. "required": true
  11822. },
  11823. {
  11824. "type": "integer",
  11825. "description": "商品ID",
  11826. "name": "goodsID",
  11827. "in": "query",
  11828. "required": true
  11829. }
  11830. ],
  11831. "responses": {
  11832. "200": {
  11833. "description": "OK",
  11834. "schema": {
  11835. "$ref": "#/definitions/app.Response"
  11836. }
  11837. },
  11838. "500": {
  11839. "description": "Internal Server Error",
  11840. "schema": {
  11841. "$ref": "#/definitions/app.Response"
  11842. }
  11843. }
  11844. }
  11845. }
  11846. },
  11847. "/User/UpdateUserAccountStatus": {
  11848. "post": {
  11849. "security": [
  11850. {
  11851. "ApiKeyAuth": []
  11852. }
  11853. ],
  11854. "produces": [
  11855. "application/json"
  11856. ],
  11857. "tags": [
  11858. "用户信息"
  11859. ],
  11860. "summary": "更新用户状态",
  11861. "parameters": [
  11862. {
  11863. "type": "integer",
  11864. "description": "用户ID",
  11865. "name": "userID",
  11866. "in": "query",
  11867. "required": true
  11868. },
  11869. {
  11870. "type": "integer",
  11871. "description": "账户状态 - 4:正常 6:注销(停用)",
  11872. "name": "accountStatus",
  11873. "in": "query",
  11874. "required": true
  11875. }
  11876. ],
  11877. "responses": {
  11878. "200": {
  11879. "description": "OK",
  11880. "schema": {
  11881. "$ref": "#/definitions/app.Response"
  11882. }
  11883. },
  11884. "500": {
  11885. "description": "Internal Server Error",
  11886. "schema": {
  11887. "$ref": "#/definitions/app.Response"
  11888. }
  11889. }
  11890. }
  11891. }
  11892. },
  11893. "/WRTrade/GetAllDeliveryGoods": {
  11894. "get": {
  11895. "security": [
  11896. {
  11897. "ApiKeyAuth": []
  11898. },
  11899. {
  11900. "ApiKeyAuth": []
  11901. }
  11902. ],
  11903. "produces": [
  11904. "application/json",
  11905. "application/json"
  11906. ],
  11907. "tags": [
  11908. "仓单贸易",
  11909. "仓单贸易"
  11910. ],
  11911. "summary": "获取带仓单分类的种类信息",
  11912. "responses": {
  11913. "200": {
  11914. "description": "OK",
  11915. "schema": {
  11916. "$ref": "#/definitions/app.Response"
  11917. }
  11918. },
  11919. "500": {
  11920. "description": "Internal Server Error",
  11921. "schema": {
  11922. "$ref": "#/definitions/app.Response"
  11923. }
  11924. }
  11925. }
  11926. }
  11927. },
  11928. "/WrTrade2/QueryFaProductDetail": {
  11929. "get": {
  11930. "security": [
  11931. {
  11932. "ApiKeyAuth": []
  11933. }
  11934. ],
  11935. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  11936. "produces": [
  11937. "application/json"
  11938. ],
  11939. "tags": [
  11940. "仓单贸易v2"
  11941. ],
  11942. "summary": "查询融资产品列表",
  11943. "parameters": [
  11944. {
  11945. "type": "integer",
  11946. "description": "仓单要素id",
  11947. "name": "wrfactortypeid",
  11948. "in": "query",
  11949. "required": true
  11950. }
  11951. ],
  11952. "responses": {
  11953. "200": {
  11954. "description": "OK",
  11955. "schema": {
  11956. "type": "array",
  11957. "items": {
  11958. "$ref": "#/definitions/models.WrFAProductDetail"
  11959. }
  11960. }
  11961. },
  11962. "500": {
  11963. "description": "Internal Server Error",
  11964. "schema": {
  11965. "$ref": "#/definitions/app.Response"
  11966. }
  11967. }
  11968. }
  11969. }
  11970. },
  11971. "/WrTrade2/QueryFilterItem": {
  11972. "get": {
  11973. "security": [
  11974. {
  11975. "ApiKeyAuth": []
  11976. }
  11977. ],
  11978. "produces": [
  11979. "application/json"
  11980. ],
  11981. "tags": [
  11982. "仓单贸易v2"
  11983. ],
  11984. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  11985. "parameters": [
  11986. {
  11987. "type": "string",
  11988. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  11989. "name": "itype",
  11990. "in": "query",
  11991. "required": true
  11992. }
  11993. ],
  11994. "responses": {
  11995. "200": {
  11996. "description": "OK",
  11997. "schema": {
  11998. "type": "array",
  11999. "items": {
  12000. "$ref": "#/definitions/models.WrFilterItem"
  12001. }
  12002. }
  12003. },
  12004. "500": {
  12005. "description": "Internal Server Error",
  12006. "schema": {
  12007. "$ref": "#/definitions/app.Response"
  12008. }
  12009. }
  12010. }
  12011. }
  12012. },
  12013. "/WrTrade2/QueryFtDeliveryGoods": {
  12014. "get": {
  12015. "security": [
  12016. {
  12017. "ApiKeyAuth": []
  12018. }
  12019. ],
  12020. "produces": [
  12021. "application/json"
  12022. ],
  12023. "tags": [
  12024. "仓单贸易v2"
  12025. ],
  12026. "summary": "查询品种品类筛选框列表",
  12027. "responses": {
  12028. "200": {
  12029. "description": "OK",
  12030. "schema": {
  12031. "type": "array",
  12032. "items": {
  12033. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  12034. }
  12035. }
  12036. },
  12037. "500": {
  12038. "description": "Internal Server Error",
  12039. "schema": {
  12040. "$ref": "#/definitions/app.Response"
  12041. }
  12042. }
  12043. }
  12044. }
  12045. },
  12046. "/WrTrade2/QueryHoldLB": {
  12047. "get": {
  12048. "security": [
  12049. {
  12050. "ApiKeyAuth": []
  12051. }
  12052. ],
  12053. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  12054. "produces": [
  12055. "application/json"
  12056. ],
  12057. "tags": [
  12058. "仓单贸易v2"
  12059. ],
  12060. "summary": "查询仓单持有记录",
  12061. "parameters": [
  12062. {
  12063. "type": "integer",
  12064. "description": "资金账号",
  12065. "name": "accountid",
  12066. "in": "query",
  12067. "required": true
  12068. },
  12069. {
  12070. "type": "integer",
  12071. "description": "仓库id",
  12072. "name": "warehouseid",
  12073. "in": "query"
  12074. },
  12075. {
  12076. "type": "integer",
  12077. "description": "品种id",
  12078. "name": "deliverygoodsid",
  12079. "in": "query"
  12080. },
  12081. {
  12082. "type": "integer",
  12083. "description": "品类id",
  12084. "name": "wrstandardid",
  12085. "in": "query"
  12086. },
  12087. {
  12088. "type": "integer",
  12089. "description": "仓单要素id",
  12090. "name": "wrfactortypeid",
  12091. "in": "query"
  12092. },
  12093. {
  12094. "type": "string",
  12095. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12096. "name": "dgitemname",
  12097. "in": "query"
  12098. }
  12099. ],
  12100. "responses": {
  12101. "200": {
  12102. "description": "OK",
  12103. "schema": {
  12104. "type": "array",
  12105. "items": {
  12106. "$ref": "#/definitions/models.WrHoldLB"
  12107. }
  12108. }
  12109. },
  12110. "500": {
  12111. "description": "Internal Server Error",
  12112. "schema": {
  12113. "$ref": "#/definitions/app.Response"
  12114. }
  12115. }
  12116. }
  12117. }
  12118. },
  12119. "/WrTrade2/QueryOrderQuote": {
  12120. "get": {
  12121. "security": [
  12122. {
  12123. "ApiKeyAuth": []
  12124. }
  12125. ],
  12126. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  12127. "produces": [
  12128. "application/json"
  12129. ],
  12130. "tags": [
  12131. "仓单贸易v2"
  12132. ],
  12133. "summary": "查询大厅行情列表",
  12134. "parameters": [
  12135. {
  12136. "type": "integer",
  12137. "description": "页码",
  12138. "name": "page",
  12139. "in": "query"
  12140. },
  12141. {
  12142. "type": "integer",
  12143. "description": "每页条数",
  12144. "name": "pagesize",
  12145. "in": "query"
  12146. },
  12147. {
  12148. "type": "integer",
  12149. "description": "仓单贸易市场id",
  12150. "name": "marketid",
  12151. "in": "query"
  12152. },
  12153. {
  12154. "type": "integer",
  12155. "description": "价格方式 - 1:固定价 2-浮动价",
  12156. "name": "wrpricetype",
  12157. "in": "query",
  12158. "required": true
  12159. },
  12160. {
  12161. "type": "integer",
  12162. "description": "0:仓单预售 1:仓单贸易",
  12163. "name": "haswr",
  12164. "in": "query",
  12165. "required": true
  12166. },
  12167. {
  12168. "type": "string",
  12169. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12170. "name": "dgitemname",
  12171. "in": "query"
  12172. },
  12173. {
  12174. "type": "integer",
  12175. "description": "仓库id(筛选条件)",
  12176. "name": "warehouseid",
  12177. "in": "query"
  12178. },
  12179. {
  12180. "type": "integer",
  12181. "description": "品种id",
  12182. "name": "deliverygoodsid",
  12183. "in": "query"
  12184. },
  12185. {
  12186. "type": "integer",
  12187. "description": "品类id",
  12188. "name": "wrstandardid",
  12189. "in": "query"
  12190. },
  12191. {
  12192. "type": "integer",
  12193. "description": "仓单要素id",
  12194. "name": "wrfactortypeid",
  12195. "in": "query"
  12196. },
  12197. {
  12198. "type": "string",
  12199. "description": "交收月(yyyy-mm) 仓单预售填写",
  12200. "name": "deliverymonth",
  12201. "in": "query"
  12202. }
  12203. ],
  12204. "responses": {
  12205. "200": {
  12206. "description": "OK",
  12207. "schema": {
  12208. "type": "array",
  12209. "items": {
  12210. "$ref": "#/definitions/models.WrOrderQuote"
  12211. }
  12212. }
  12213. },
  12214. "500": {
  12215. "description": "Internal Server Error",
  12216. "schema": {
  12217. "$ref": "#/definitions/app.Response"
  12218. }
  12219. }
  12220. }
  12221. }
  12222. },
  12223. "/WrTrade2/QueryOrderQuoteDetail": {
  12224. "get": {
  12225. "security": [
  12226. {
  12227. "ApiKeyAuth": []
  12228. }
  12229. ],
  12230. "produces": [
  12231. "application/json"
  12232. ],
  12233. "tags": [
  12234. "仓单贸易v2"
  12235. ],
  12236. "summary": "查询买卖大厅",
  12237. "parameters": [
  12238. {
  12239. "type": "integer",
  12240. "description": "页码",
  12241. "name": "page",
  12242. "in": "query"
  12243. },
  12244. {
  12245. "type": "integer",
  12246. "description": "每页条数",
  12247. "name": "pagesize",
  12248. "in": "query"
  12249. },
  12250. {
  12251. "type": "integer",
  12252. "description": "仓单贸易市场id",
  12253. "name": "marketid",
  12254. "in": "query"
  12255. },
  12256. {
  12257. "type": "integer",
  12258. "description": "价格方式 - 1:固定价 2-浮动价",
  12259. "name": "wrpricetype",
  12260. "in": "query",
  12261. "required": true
  12262. },
  12263. {
  12264. "type": "integer",
  12265. "description": "0:仓单预售 1:仓单贸易",
  12266. "name": "haswr",
  12267. "in": "query",
  12268. "required": true
  12269. },
  12270. {
  12271. "type": "integer",
  12272. "description": "仓单要素id",
  12273. "name": "wrfactortypeid",
  12274. "in": "query",
  12275. "required": true
  12276. },
  12277. {
  12278. "type": "integer",
  12279. "description": "期货商品id(浮动价方式时填)",
  12280. "name": "goodsid",
  12281. "in": "query"
  12282. },
  12283. {
  12284. "type": "integer",
  12285. "description": "买卖方向 0-买 1-卖",
  12286. "name": "buyorsell",
  12287. "in": "query",
  12288. "required": true
  12289. },
  12290. {
  12291. "type": "string",
  12292. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  12293. "name": "deliverymonth",
  12294. "in": "query"
  12295. }
  12296. ],
  12297. "responses": {
  12298. "200": {
  12299. "description": "OK",
  12300. "schema": {
  12301. "type": "array",
  12302. "items": {
  12303. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  12304. }
  12305. }
  12306. },
  12307. "500": {
  12308. "description": "Internal Server Error",
  12309. "schema": {
  12310. "$ref": "#/definitions/app.Response"
  12311. }
  12312. }
  12313. }
  12314. }
  12315. },
  12316. "/WrTrade2/QueryOrderQuoteMyq": {
  12317. "get": {
  12318. "security": [
  12319. {
  12320. "ApiKeyAuth": []
  12321. }
  12322. ],
  12323. "produces": [
  12324. "application/json"
  12325. ],
  12326. "tags": [
  12327. "仓单贸易v2"
  12328. ],
  12329. "summary": "查询贸易圈挂牌大厅",
  12330. "parameters": [
  12331. {
  12332. "type": "integer",
  12333. "description": "页码",
  12334. "name": "page",
  12335. "in": "query"
  12336. },
  12337. {
  12338. "type": "integer",
  12339. "description": "每页条数",
  12340. "name": "pagesize",
  12341. "in": "query"
  12342. },
  12343. {
  12344. "type": "integer",
  12345. "description": "用户id",
  12346. "name": "userid",
  12347. "in": "query",
  12348. "required": true
  12349. },
  12350. {
  12351. "type": "integer",
  12352. "description": "仓单贸易市场id",
  12353. "name": "marketid",
  12354. "in": "query"
  12355. },
  12356. {
  12357. "type": "integer",
  12358. "description": "0:仓单预售 1:仓单贸易",
  12359. "name": "haswr",
  12360. "in": "query",
  12361. "required": true
  12362. },
  12363. {
  12364. "type": "integer",
  12365. "description": "买卖方向 0-买 1-卖",
  12366. "name": "buyorsell",
  12367. "in": "query",
  12368. "required": true
  12369. },
  12370. {
  12371. "type": "integer",
  12372. "description": "品种id",
  12373. "name": "deliverygoodsid",
  12374. "in": "query"
  12375. },
  12376. {
  12377. "type": "integer",
  12378. "description": "品类id",
  12379. "name": "wrstandardid",
  12380. "in": "query"
  12381. },
  12382. {
  12383. "type": "string",
  12384. "description": "交收月(yyyy-mm) 仓单预售填写",
  12385. "name": "deliverymonth",
  12386. "in": "query"
  12387. },
  12388. {
  12389. "type": "string",
  12390. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12391. "name": "dgitemname",
  12392. "in": "query"
  12393. }
  12394. ],
  12395. "responses": {
  12396. "200": {
  12397. "description": "OK",
  12398. "schema": {
  12399. "type": "array",
  12400. "items": {
  12401. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  12402. }
  12403. }
  12404. },
  12405. "500": {
  12406. "description": "Internal Server Error",
  12407. "schema": {
  12408. "$ref": "#/definitions/app.Response"
  12409. }
  12410. }
  12411. }
  12412. }
  12413. },
  12414. "/WrTrade2/QueryPerformancePlan": {
  12415. "get": {
  12416. "security": [
  12417. {
  12418. "ApiKeyAuth": []
  12419. }
  12420. ],
  12421. "produces": [
  12422. "application/json"
  12423. ],
  12424. "tags": [
  12425. "仓单贸易v2"
  12426. ],
  12427. "summary": "查询履约信息",
  12428. "parameters": [
  12429. {
  12430. "type": "integer",
  12431. "description": "用户id",
  12432. "name": "userid",
  12433. "in": "query",
  12434. "required": true
  12435. },
  12436. {
  12437. "type": "integer",
  12438. "description": "买卖方向 0-买 1-卖",
  12439. "name": "buyorsell",
  12440. "in": "query",
  12441. "required": true
  12442. }
  12443. ],
  12444. "responses": {
  12445. "200": {
  12446. "description": "OK",
  12447. "schema": {
  12448. "type": "array",
  12449. "items": {
  12450. "$ref": "#/definitions/models.WrPerformancePlan"
  12451. }
  12452. }
  12453. },
  12454. "500": {
  12455. "description": "Internal Server Error",
  12456. "schema": {
  12457. "$ref": "#/definitions/app.Response"
  12458. }
  12459. }
  12460. }
  12461. }
  12462. },
  12463. "/WrTrade2/QueryPermancePlanTmp": {
  12464. "get": {
  12465. "security": [
  12466. {
  12467. "ApiKeyAuth": []
  12468. }
  12469. ],
  12470. "description": "返回指定用户的模板和公共模板(用户id为空)",
  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. },
  12485. {
  12486. "type": "string",
  12487. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  12488. "name": "tmptype",
  12489. "in": "query"
  12490. },
  12491. {
  12492. "type": "integer",
  12493. "description": "是否包含公共模板(用户id为空的) 1-包含",
  12494. "name": "includepub",
  12495. "in": "query"
  12496. }
  12497. ],
  12498. "responses": {
  12499. "200": {
  12500. "description": "OK",
  12501. "schema": {
  12502. "type": "array",
  12503. "items": {
  12504. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  12505. }
  12506. }
  12507. },
  12508. "500": {
  12509. "description": "Internal Server Error",
  12510. "schema": {
  12511. "$ref": "#/definitions/app.Response"
  12512. }
  12513. }
  12514. }
  12515. }
  12516. },
  12517. "/WrTrade2/QueryWrAverageTradePrice": {
  12518. "get": {
  12519. "security": [
  12520. {
  12521. "ApiKeyAuth": []
  12522. }
  12523. ],
  12524. "produces": [
  12525. "application/json"
  12526. ],
  12527. "tags": [
  12528. "仓单贸易v2"
  12529. ],
  12530. "summary": "查询成交价(历史走势)",
  12531. "parameters": [
  12532. {
  12533. "type": "integer",
  12534. "description": "页码",
  12535. "name": "page",
  12536. "in": "query"
  12537. },
  12538. {
  12539. "type": "integer",
  12540. "description": "每页条数",
  12541. "name": "pagesize",
  12542. "in": "query"
  12543. },
  12544. {
  12545. "type": "integer",
  12546. "description": "0:仓单预售 1:仓单贸易",
  12547. "name": "haswr",
  12548. "in": "query",
  12549. "required": true
  12550. },
  12551. {
  12552. "type": "integer",
  12553. "description": "仓单要素id",
  12554. "name": "wrfactortypeid",
  12555. "in": "query",
  12556. "required": true
  12557. }
  12558. ],
  12559. "responses": {
  12560. "200": {
  12561. "description": "OK",
  12562. "schema": {
  12563. "type": "array",
  12564. "items": {
  12565. "$ref": "#/definitions/models.WrAverageTradePrice"
  12566. }
  12567. }
  12568. },
  12569. "500": {
  12570. "description": "Internal Server Error",
  12571. "schema": {
  12572. "$ref": "#/definitions/app.Response"
  12573. }
  12574. }
  12575. }
  12576. }
  12577. },
  12578. "/WrTrade2/QueryWrBsGoodsInfo": {
  12579. "get": {
  12580. "security": [
  12581. {
  12582. "ApiKeyAuth": []
  12583. }
  12584. ],
  12585. "description": "合约交易/买卖大厅/详情",
  12586. "produces": [
  12587. "application/json"
  12588. ],
  12589. "tags": [
  12590. "仓单贸易v2"
  12591. ],
  12592. "summary": "查询合约交易买卖大厅详情",
  12593. "parameters": [
  12594. {
  12595. "type": "integer",
  12596. "description": "商品id",
  12597. "name": "goodsid",
  12598. "in": "query",
  12599. "required": true
  12600. }
  12601. ],
  12602. "responses": {
  12603. "200": {
  12604. "description": "OK",
  12605. "schema": {
  12606. "type": "array",
  12607. "items": {
  12608. "$ref": "#/definitions/models.WrBsGoodsInfo"
  12609. }
  12610. }
  12611. },
  12612. "500": {
  12613. "description": "Internal Server Error",
  12614. "schema": {
  12615. "$ref": "#/definitions/app.Response"
  12616. }
  12617. }
  12618. }
  12619. }
  12620. },
  12621. "/WrTrade2/QueryWrBuybackDetail": {
  12622. "get": {
  12623. "security": [
  12624. {
  12625. "ApiKeyAuth": []
  12626. }
  12627. ],
  12628. "produces": [
  12629. "application/json"
  12630. ],
  12631. "tags": [
  12632. "仓单贸易v2"
  12633. ],
  12634. "summary": "查询仓单回购明细",
  12635. "parameters": [
  12636. {
  12637. "type": "integer",
  12638. "description": "融资合同id",
  12639. "name": "scfcontractid",
  12640. "in": "query"
  12641. }
  12642. ],
  12643. "responses": {
  12644. "200": {
  12645. "description": "OK",
  12646. "schema": {
  12647. "type": "array",
  12648. "items": {
  12649. "$ref": "#/definitions/models.WrBuybackDetail"
  12650. }
  12651. }
  12652. },
  12653. "500": {
  12654. "description": "Internal Server Error",
  12655. "schema": {
  12656. "$ref": "#/definitions/app.Response"
  12657. }
  12658. }
  12659. }
  12660. }
  12661. },
  12662. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  12663. "get": {
  12664. "security": [
  12665. {
  12666. "ApiKeyAuth": []
  12667. }
  12668. ],
  12669. "produces": [
  12670. "application/json"
  12671. ],
  12672. "tags": [
  12673. "仓单贸易v2"
  12674. ],
  12675. "summary": "查询合约交收可点选仓单",
  12676. "parameters": [
  12677. {
  12678. "type": "integer",
  12679. "description": "资金账号",
  12680. "name": "accountid",
  12681. "in": "query",
  12682. "required": true
  12683. },
  12684. {
  12685. "type": "integer",
  12686. "description": "商品id",
  12687. "name": "goodsid",
  12688. "in": "query",
  12689. "required": true
  12690. }
  12691. ],
  12692. "responses": {
  12693. "200": {
  12694. "description": "OK",
  12695. "schema": {
  12696. "type": "array",
  12697. "items": {
  12698. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  12699. }
  12700. }
  12701. },
  12702. "500": {
  12703. "description": "Internal Server Error",
  12704. "schema": {
  12705. "$ref": "#/definitions/app.Response"
  12706. }
  12707. }
  12708. }
  12709. }
  12710. },
  12711. "/WrTrade2/QueryWrDeliveryDetail": {
  12712. "get": {
  12713. "security": [
  12714. {
  12715. "ApiKeyAuth": []
  12716. }
  12717. ],
  12718. "produces": [
  12719. "application/json"
  12720. ],
  12721. "tags": [
  12722. "仓单贸易v2"
  12723. ],
  12724. "summary": "查询交收",
  12725. "parameters": [
  12726. {
  12727. "type": "integer",
  12728. "description": "用户id",
  12729. "name": "userid",
  12730. "in": "query",
  12731. "required": true
  12732. },
  12733. {
  12734. "type": "integer",
  12735. "description": "资金账号id",
  12736. "name": "accountid",
  12737. "in": "query"
  12738. }
  12739. ],
  12740. "responses": {
  12741. "200": {
  12742. "description": "OK",
  12743. "schema": {
  12744. "type": "array",
  12745. "items": {
  12746. "$ref": "#/definitions/models.WrDeliveryDetail"
  12747. }
  12748. }
  12749. },
  12750. "500": {
  12751. "description": "Internal Server Error",
  12752. "schema": {
  12753. "$ref": "#/definitions/app.Response"
  12754. }
  12755. }
  12756. }
  12757. }
  12758. },
  12759. "/WrTrade2/QueryWrFactorTypeInfo": {
  12760. "get": {
  12761. "security": [
  12762. {
  12763. "ApiKeyAuth": []
  12764. }
  12765. ],
  12766. "produces": [
  12767. "application/json"
  12768. ],
  12769. "tags": [
  12770. "仓单贸易v2"
  12771. ],
  12772. "summary": "查询仓单要素详细信息",
  12773. "parameters": [
  12774. {
  12775. "type": "integer",
  12776. "description": "仓单要素id",
  12777. "name": "wrfactortypeid",
  12778. "in": "query",
  12779. "required": true
  12780. }
  12781. ],
  12782. "responses": {
  12783. "200": {
  12784. "description": "OK",
  12785. "schema": {
  12786. "type": "array",
  12787. "items": {
  12788. "$ref": "#/definitions/models.WrFactorTypeInfo"
  12789. }
  12790. }
  12791. },
  12792. "500": {
  12793. "description": "Internal Server Error",
  12794. "schema": {
  12795. "$ref": "#/definitions/app.Response"
  12796. }
  12797. }
  12798. }
  12799. }
  12800. },
  12801. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  12802. "get": {
  12803. "security": [
  12804. {
  12805. "ApiKeyAuth": []
  12806. }
  12807. ],
  12808. "produces": [
  12809. "application/json"
  12810. ],
  12811. "tags": [
  12812. "仓单贸易v2"
  12813. ],
  12814. "summary": "查询仓单要素详细信息列表项",
  12815. "parameters": [
  12816. {
  12817. "type": "integer",
  12818. "description": "仓单要素id",
  12819. "name": "wrfactortypeid",
  12820. "in": "query",
  12821. "required": true
  12822. }
  12823. ],
  12824. "responses": {
  12825. "200": {
  12826. "description": "OK",
  12827. "schema": {
  12828. "type": "array",
  12829. "items": {
  12830. "$ref": "#/definitions/models.WrTypeItem"
  12831. }
  12832. }
  12833. },
  12834. "500": {
  12835. "description": "Internal Server Error",
  12836. "schema": {
  12837. "$ref": "#/definitions/app.Response"
  12838. }
  12839. }
  12840. }
  12841. }
  12842. },
  12843. "/WrTrade2/QueryWrFinanceBuyApply": {
  12844. "get": {
  12845. "security": [
  12846. {
  12847. "ApiKeyAuth": []
  12848. }
  12849. ],
  12850. "description": "页面 融资信息+ / 申请单",
  12851. "produces": [
  12852. "application/json"
  12853. ],
  12854. "tags": [
  12855. "仓单贸易v2"
  12856. ],
  12857. "summary": "查询融资购买申请",
  12858. "parameters": [
  12859. {
  12860. "type": "integer",
  12861. "description": "用户id",
  12862. "name": "userid",
  12863. "in": "query",
  12864. "required": true
  12865. }
  12866. ],
  12867. "responses": {
  12868. "200": {
  12869. "description": "OK",
  12870. "schema": {
  12871. "type": "array",
  12872. "items": {
  12873. "$ref": "#/definitions/models.WrFinanceBuyApply"
  12874. }
  12875. }
  12876. },
  12877. "500": {
  12878. "description": "Internal Server Error",
  12879. "schema": {
  12880. "$ref": "#/definitions/app.Response"
  12881. }
  12882. }
  12883. }
  12884. }
  12885. },
  12886. "/WrTrade2/QueryWrFriendApply": {
  12887. "get": {
  12888. "security": [
  12889. {
  12890. "ApiKeyAuth": []
  12891. }
  12892. ],
  12893. "produces": [
  12894. "application/json"
  12895. ],
  12896. "tags": [
  12897. "仓单贸易v2"
  12898. ],
  12899. "summary": "查询好友申请记录",
  12900. "parameters": [
  12901. {
  12902. "type": "integer",
  12903. "description": "用户id",
  12904. "name": "userid",
  12905. "in": "query",
  12906. "required": true
  12907. }
  12908. ],
  12909. "responses": {
  12910. "200": {
  12911. "description": "OK",
  12912. "schema": {
  12913. "type": "array",
  12914. "items": {
  12915. "$ref": "#/definitions/models.WrFriendApply"
  12916. }
  12917. }
  12918. },
  12919. "500": {
  12920. "description": "Internal Server Error",
  12921. "schema": {
  12922. "$ref": "#/definitions/app.Response"
  12923. }
  12924. }
  12925. }
  12926. }
  12927. },
  12928. "/WrTrade2/QueryWrGoodsInfo": {
  12929. "get": {
  12930. "security": [
  12931. {
  12932. "ApiKeyAuth": []
  12933. }
  12934. ],
  12935. "produces": [
  12936. "application/json"
  12937. ],
  12938. "tags": [
  12939. "仓单贸易v2"
  12940. ],
  12941. "summary": "查询仓单商品信息",
  12942. "parameters": [
  12943. {
  12944. "type": "integer",
  12945. "description": "仓单贸易市场id",
  12946. "name": "marketid",
  12947. "in": "query"
  12948. },
  12949. {
  12950. "type": "integer",
  12951. "description": "0:仓单预售 1:仓单贸易",
  12952. "name": "haswr",
  12953. "in": "query",
  12954. "required": true
  12955. },
  12956. {
  12957. "type": "integer",
  12958. "description": "仓单要素id",
  12959. "name": "wrfactortypeid",
  12960. "in": "query",
  12961. "required": true
  12962. },
  12963. {
  12964. "type": "integer",
  12965. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  12966. "name": "tmplateid",
  12967. "in": "query"
  12968. }
  12969. ],
  12970. "responses": {
  12971. "200": {
  12972. "description": "OK",
  12973. "schema": {
  12974. "type": "array",
  12975. "items": {
  12976. "$ref": "#/definitions/models.WrGoodsInfo"
  12977. }
  12978. }
  12979. },
  12980. "500": {
  12981. "description": "Internal Server Error",
  12982. "schema": {
  12983. "$ref": "#/definitions/app.Response"
  12984. }
  12985. }
  12986. }
  12987. }
  12988. },
  12989. "/WrTrade2/QueryWrMarketTradeConfig": {
  12990. "get": {
  12991. "security": [
  12992. {
  12993. "ApiKeyAuth": []
  12994. }
  12995. ],
  12996. "produces": [
  12997. "application/json"
  12998. ],
  12999. "tags": [
  13000. "仓单贸易v2"
  13001. ],
  13002. "summary": "查询市场交易参数配置",
  13003. "parameters": [
  13004. {
  13005. "type": "integer",
  13006. "description": "市场id",
  13007. "name": "marketid",
  13008. "in": "query"
  13009. }
  13010. ],
  13011. "responses": {
  13012. "200": {
  13013. "description": "OK",
  13014. "schema": {
  13015. "type": "array",
  13016. "items": {
  13017. "$ref": "#/definitions/models.WrMarketTradeConfig"
  13018. }
  13019. }
  13020. },
  13021. "500": {
  13022. "description": "Internal Server Error",
  13023. "schema": {
  13024. "$ref": "#/definitions/app.Response"
  13025. }
  13026. }
  13027. }
  13028. }
  13029. },
  13030. "/WrTrade2/QueryWrOrderDetail": {
  13031. "get": {
  13032. "security": [
  13033. {
  13034. "ApiKeyAuth": []
  13035. }
  13036. ],
  13037. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  13038. "produces": [
  13039. "application/json"
  13040. ],
  13041. "tags": [
  13042. "仓单贸易v2"
  13043. ],
  13044. "summary": "查询仓单委托单(挂单)",
  13045. "parameters": [
  13046. {
  13047. "type": "integer",
  13048. "description": "页码",
  13049. "name": "page",
  13050. "in": "query"
  13051. },
  13052. {
  13053. "type": "integer",
  13054. "description": "每页条数",
  13055. "name": "pagesize",
  13056. "in": "query"
  13057. },
  13058. {
  13059. "type": "integer",
  13060. "description": "用户id",
  13061. "name": "userid",
  13062. "in": "query",
  13063. "required": true
  13064. },
  13065. {
  13066. "type": "integer",
  13067. "description": "仓单贸易市场id",
  13068. "name": "marketid",
  13069. "in": "query"
  13070. },
  13071. {
  13072. "type": "integer",
  13073. "description": "0:仓单预售 1:仓单贸易",
  13074. "name": "haswr",
  13075. "in": "query",
  13076. "required": true
  13077. }
  13078. ],
  13079. "responses": {
  13080. "200": {
  13081. "description": "OK",
  13082. "schema": {
  13083. "type": "array",
  13084. "items": {
  13085. "$ref": "#/definitions/models.WrOrderDetail"
  13086. }
  13087. }
  13088. },
  13089. "500": {
  13090. "description": "Internal Server Error",
  13091. "schema": {
  13092. "$ref": "#/definitions/app.Response"
  13093. }
  13094. }
  13095. }
  13096. }
  13097. },
  13098. "/WrTrade2/QueryWrOutInApply": {
  13099. "get": {
  13100. "security": [
  13101. {
  13102. "ApiKeyAuth": []
  13103. }
  13104. ],
  13105. "produces": [
  13106. "application/json"
  13107. ],
  13108. "tags": [
  13109. "仓单贸易v2"
  13110. ],
  13111. "summary": "查询提货申请",
  13112. "parameters": [
  13113. {
  13114. "type": "integer",
  13115. "description": "用户id",
  13116. "name": "userid",
  13117. "in": "query",
  13118. "required": true
  13119. }
  13120. ],
  13121. "responses": {
  13122. "200": {
  13123. "description": "OK",
  13124. "schema": {
  13125. "type": "array",
  13126. "items": {
  13127. "$ref": "#/definitions/models.WrOutInApply"
  13128. }
  13129. }
  13130. },
  13131. "500": {
  13132. "description": "Internal Server Error",
  13133. "schema": {
  13134. "$ref": "#/definitions/app.Response"
  13135. }
  13136. }
  13137. }
  13138. }
  13139. },
  13140. "/WrTrade2/QueryWrPerformancePlanStep": {
  13141. "get": {
  13142. "security": [
  13143. {
  13144. "ApiKeyAuth": []
  13145. }
  13146. ],
  13147. "produces": [
  13148. "application/json"
  13149. ],
  13150. "tags": [
  13151. "仓单贸易v2"
  13152. ],
  13153. "summary": "查询履约信息详情",
  13154. "parameters": [
  13155. {
  13156. "type": "integer",
  13157. "description": "履约计划id(performanceplanid)",
  13158. "name": "planid",
  13159. "in": "query",
  13160. "required": true
  13161. },
  13162. {
  13163. "type": "integer",
  13164. "description": "当前步骤id",
  13165. "name": "curstepid",
  13166. "in": "query"
  13167. }
  13168. ],
  13169. "responses": {
  13170. "200": {
  13171. "description": "OK",
  13172. "schema": {
  13173. "type": "array",
  13174. "items": {
  13175. "$ref": "#/definitions/models.WrPerformancePlanStep"
  13176. }
  13177. }
  13178. },
  13179. "500": {
  13180. "description": "Internal Server Error",
  13181. "schema": {
  13182. "$ref": "#/definitions/app.Response"
  13183. }
  13184. }
  13185. }
  13186. }
  13187. },
  13188. "/WrTrade2/QueryWrPerformanceStepType": {
  13189. "get": {
  13190. "security": [
  13191. {
  13192. "ApiKeyAuth": []
  13193. }
  13194. ],
  13195. "produces": [
  13196. "application/json"
  13197. ],
  13198. "tags": [
  13199. "仓单贸易v2"
  13200. ],
  13201. "summary": "查询履约步骤枚举",
  13202. "responses": {
  13203. "200": {
  13204. "description": "OK",
  13205. "schema": {
  13206. "type": "array",
  13207. "items": {
  13208. "$ref": "#/definitions/models.WrPerformanceStepType"
  13209. }
  13210. }
  13211. },
  13212. "500": {
  13213. "description": "Internal Server Error",
  13214. "schema": {
  13215. "$ref": "#/definitions/app.Response"
  13216. }
  13217. }
  13218. }
  13219. }
  13220. },
  13221. "/WrTrade2/QueryWrPosition": {
  13222. "get": {
  13223. "security": [
  13224. {
  13225. "ApiKeyAuth": []
  13226. }
  13227. ],
  13228. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  13229. "produces": [
  13230. "application/json"
  13231. ],
  13232. "tags": [
  13233. "仓单贸易v2"
  13234. ],
  13235. "summary": "查询现货(预售)仓单持仓",
  13236. "parameters": [
  13237. {
  13238. "type": "integer",
  13239. "description": "用户id",
  13240. "name": "userid",
  13241. "in": "query",
  13242. "required": true
  13243. },
  13244. {
  13245. "type": "integer",
  13246. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  13247. "name": "querytype",
  13248. "in": "query",
  13249. "required": true
  13250. },
  13251. {
  13252. "type": "integer",
  13253. "description": "0:仓单预售 1:仓单贸易",
  13254. "name": "haswr",
  13255. "in": "query",
  13256. "required": true
  13257. },
  13258. {
  13259. "type": "string",
  13260. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13261. "name": "dgitemname",
  13262. "in": "query"
  13263. },
  13264. {
  13265. "type": "integer",
  13266. "description": "仓库id(筛选条件)",
  13267. "name": "warehouseid",
  13268. "in": "query"
  13269. },
  13270. {
  13271. "type": "integer",
  13272. "description": "品种id",
  13273. "name": "deliverygoodsid",
  13274. "in": "query"
  13275. },
  13276. {
  13277. "type": "integer",
  13278. "description": "品类id",
  13279. "name": "wrstandardid",
  13280. "in": "query"
  13281. }
  13282. ],
  13283. "responses": {
  13284. "200": {
  13285. "description": "OK",
  13286. "schema": {
  13287. "type": "array",
  13288. "items": {
  13289. "$ref": "#/definitions/models.WrPosition"
  13290. }
  13291. }
  13292. },
  13293. "500": {
  13294. "description": "Internal Server Error",
  13295. "schema": {
  13296. "$ref": "#/definitions/app.Response"
  13297. }
  13298. }
  13299. }
  13300. }
  13301. },
  13302. "/WrTrade2/QueryWrScfContract": {
  13303. "get": {
  13304. "security": [
  13305. {
  13306. "ApiKeyAuth": []
  13307. }
  13308. ],
  13309. "produces": [
  13310. "application/json"
  13311. ],
  13312. "tags": [
  13313. "仓单贸易v2"
  13314. ],
  13315. "summary": "查询仓单贸易融资合同",
  13316. "parameters": [
  13317. {
  13318. "type": "integer",
  13319. "description": "用户id",
  13320. "name": "userid",
  13321. "in": "query",
  13322. "required": true
  13323. },
  13324. {
  13325. "type": "integer",
  13326. "description": "融资合同id",
  13327. "name": "scfcontractid",
  13328. "in": "query"
  13329. }
  13330. ],
  13331. "responses": {
  13332. "200": {
  13333. "description": "OK",
  13334. "schema": {
  13335. "type": "array",
  13336. "items": {
  13337. "$ref": "#/definitions/models.WrScfContract"
  13338. }
  13339. }
  13340. },
  13341. "500": {
  13342. "description": "Internal Server Error",
  13343. "schema": {
  13344. "$ref": "#/definitions/app.Response"
  13345. }
  13346. }
  13347. }
  13348. }
  13349. },
  13350. "/WrTrade2/QueryWrScfContractInterest": {
  13351. "get": {
  13352. "security": [
  13353. {
  13354. "ApiKeyAuth": []
  13355. }
  13356. ],
  13357. "produces": [
  13358. "application/json"
  13359. ],
  13360. "tags": [
  13361. "仓单贸易v2"
  13362. ],
  13363. "summary": "查询融资合同费用明细",
  13364. "parameters": [
  13365. {
  13366. "type": "integer",
  13367. "description": "融资合同id",
  13368. "name": "scfcontractid",
  13369. "in": "query"
  13370. }
  13371. ],
  13372. "responses": {
  13373. "200": {
  13374. "description": "OK",
  13375. "schema": {
  13376. "type": "array",
  13377. "items": {
  13378. "$ref": "#/definitions/models.WrScfContractInterest"
  13379. }
  13380. }
  13381. },
  13382. "500": {
  13383. "description": "Internal Server Error",
  13384. "schema": {
  13385. "$ref": "#/definitions/app.Response"
  13386. }
  13387. }
  13388. }
  13389. }
  13390. },
  13391. "/WrTrade2/QueryWrSpecialMatchOrder": {
  13392. "get": {
  13393. "security": [
  13394. {
  13395. "ApiKeyAuth": []
  13396. }
  13397. ],
  13398. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  13399. "produces": [
  13400. "application/json"
  13401. ],
  13402. "tags": [
  13403. "仓单贸易v2"
  13404. ],
  13405. "summary": "查询指定成交",
  13406. "parameters": [
  13407. {
  13408. "type": "integer",
  13409. "description": "页码",
  13410. "name": "page",
  13411. "in": "query"
  13412. },
  13413. {
  13414. "type": "integer",
  13415. "description": "每页条数",
  13416. "name": "pagesize",
  13417. "in": "query"
  13418. },
  13419. {
  13420. "type": "integer",
  13421. "description": "用户id",
  13422. "name": "userid",
  13423. "in": "query",
  13424. "required": true
  13425. },
  13426. {
  13427. "type": "integer",
  13428. "description": "仓单贸易市场id",
  13429. "name": "marketid",
  13430. "in": "query"
  13431. },
  13432. {
  13433. "type": "integer",
  13434. "description": "0:仓单预售 1:仓单贸易",
  13435. "name": "haswr",
  13436. "in": "query",
  13437. "required": true
  13438. }
  13439. ],
  13440. "responses": {
  13441. "200": {
  13442. "description": "OK",
  13443. "schema": {
  13444. "type": "array",
  13445. "items": {
  13446. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  13447. }
  13448. }
  13449. },
  13450. "500": {
  13451. "description": "Internal Server Error",
  13452. "schema": {
  13453. "$ref": "#/definitions/app.Response"
  13454. }
  13455. }
  13456. }
  13457. }
  13458. },
  13459. "/WrTrade2/QueryWrStandardFactoryItem": {
  13460. "get": {
  13461. "security": [
  13462. {
  13463. "ApiKeyAuth": []
  13464. }
  13465. ],
  13466. "produces": [
  13467. "application/json"
  13468. ],
  13469. "tags": [
  13470. "仓单贸易v2"
  13471. ],
  13472. "summary": "查询品类要素定义项",
  13473. "parameters": [
  13474. {
  13475. "type": "integer",
  13476. "description": "品类id",
  13477. "name": "wrstandardid",
  13478. "in": "query",
  13479. "required": true
  13480. }
  13481. ],
  13482. "responses": {
  13483. "200": {
  13484. "description": "OK",
  13485. "schema": {
  13486. "type": "array",
  13487. "items": {
  13488. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  13489. }
  13490. }
  13491. },
  13492. "500": {
  13493. "description": "Internal Server Error",
  13494. "schema": {
  13495. "$ref": "#/definitions/app.Response"
  13496. }
  13497. }
  13498. }
  13499. }
  13500. },
  13501. "/WrTrade2/QueryWrTradeBargainApply": {
  13502. "get": {
  13503. "security": [
  13504. {
  13505. "ApiKeyAuth": []
  13506. }
  13507. ],
  13508. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  13509. "produces": [
  13510. "application/json"
  13511. ],
  13512. "tags": [
  13513. "仓单贸易v2"
  13514. ],
  13515. "summary": "查询议价单",
  13516. "parameters": [
  13517. {
  13518. "type": "integer",
  13519. "description": "议价人id(摘牌方)",
  13520. "name": "userid",
  13521. "in": "query"
  13522. },
  13523. {
  13524. "type": "integer",
  13525. "description": "挂牌方id(查对方议价时,填写此项)",
  13526. "name": "matchuserid",
  13527. "in": "query"
  13528. },
  13529. {
  13530. "type": "integer",
  13531. "description": "关联委托单id",
  13532. "name": "wrtradeorderid",
  13533. "in": "query"
  13534. },
  13535. {
  13536. "type": "integer",
  13537. "description": "0:仓单预售 1:仓单贸易",
  13538. "name": "haswr",
  13539. "in": "query",
  13540. "required": true
  13541. }
  13542. ],
  13543. "responses": {
  13544. "200": {
  13545. "description": "OK",
  13546. "schema": {
  13547. "type": "array",
  13548. "items": {
  13549. "$ref": "#/definitions/models.WRTradeBargainApply"
  13550. }
  13551. }
  13552. },
  13553. "500": {
  13554. "description": "Internal Server Error",
  13555. "schema": {
  13556. "$ref": "#/definitions/app.Response"
  13557. }
  13558. }
  13559. }
  13560. }
  13561. },
  13562. "/WrTrade2/QueryWrTradeDetail": {
  13563. "get": {
  13564. "security": [
  13565. {
  13566. "ApiKeyAuth": []
  13567. }
  13568. ],
  13569. "produces": [
  13570. "application/json"
  13571. ],
  13572. "tags": [
  13573. "仓单贸易v2"
  13574. ],
  13575. "summary": "查询仓单成交明细",
  13576. "parameters": [
  13577. {
  13578. "type": "integer",
  13579. "description": "页码",
  13580. "name": "page",
  13581. "in": "query"
  13582. },
  13583. {
  13584. "type": "integer",
  13585. "description": "每页条数",
  13586. "name": "pagesize",
  13587. "in": "query"
  13588. },
  13589. {
  13590. "type": "integer",
  13591. "description": "用户id",
  13592. "name": "userid",
  13593. "in": "query",
  13594. "required": true
  13595. },
  13596. {
  13597. "type": "integer",
  13598. "description": "仓单贸易市场id",
  13599. "name": "marketid",
  13600. "in": "query"
  13601. },
  13602. {
  13603. "type": "integer",
  13604. "description": "0:仓单预售 1:仓单贸易",
  13605. "name": "haswr",
  13606. "in": "query",
  13607. "required": true
  13608. }
  13609. ],
  13610. "responses": {
  13611. "200": {
  13612. "description": "OK",
  13613. "schema": {
  13614. "type": "array",
  13615. "items": {
  13616. "$ref": "#/definitions/models.WrTradeDetail"
  13617. }
  13618. }
  13619. },
  13620. "500": {
  13621. "description": "Internal Server Error",
  13622. "schema": {
  13623. "$ref": "#/definitions/app.Response"
  13624. }
  13625. }
  13626. }
  13627. }
  13628. },
  13629. "/WrTrade2/QueryWrTradeOrderDetail": {
  13630. "get": {
  13631. "security": [
  13632. {
  13633. "ApiKeyAuth": []
  13634. }
  13635. ],
  13636. "produces": [
  13637. "application/json"
  13638. ],
  13639. "tags": [
  13640. "仓单贸易v2"
  13641. ],
  13642. "summary": "查询合约交易买卖大厅",
  13643. "parameters": [
  13644. {
  13645. "type": "integer",
  13646. "description": "页码",
  13647. "name": "page",
  13648. "in": "query"
  13649. },
  13650. {
  13651. "type": "integer",
  13652. "description": "每页条数",
  13653. "name": "pagesize",
  13654. "in": "query"
  13655. },
  13656. {
  13657. "type": "integer",
  13658. "description": "商品id",
  13659. "name": "goodsid",
  13660. "in": "query",
  13661. "required": true
  13662. },
  13663. {
  13664. "type": "integer",
  13665. "description": "买卖方向 0-买 1-卖",
  13666. "name": "buyorsell",
  13667. "in": "query",
  13668. "required": true
  13669. }
  13670. ],
  13671. "responses": {
  13672. "200": {
  13673. "description": "OK",
  13674. "schema": {
  13675. "type": "array",
  13676. "items": {
  13677. "$ref": "#/definitions/models.WrTradeOrderDetail"
  13678. }
  13679. }
  13680. },
  13681. "500": {
  13682. "description": "Internal Server Error",
  13683. "schema": {
  13684. "$ref": "#/definitions/app.Response"
  13685. }
  13686. }
  13687. }
  13688. }
  13689. },
  13690. "/WrTrade2/QueryWrUserFriend": {
  13691. "get": {
  13692. "security": [
  13693. {
  13694. "ApiKeyAuth": []
  13695. }
  13696. ],
  13697. "produces": [
  13698. "application/json"
  13699. ],
  13700. "tags": [
  13701. "仓单贸易v2"
  13702. ],
  13703. "summary": "查询我的朋友",
  13704. "parameters": [
  13705. {
  13706. "type": "integer",
  13707. "description": "用户id",
  13708. "name": "userid",
  13709. "in": "query",
  13710. "required": true
  13711. },
  13712. {
  13713. "type": "integer",
  13714. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  13715. "name": "newuserid",
  13716. "in": "query"
  13717. }
  13718. ],
  13719. "responses": {
  13720. "200": {
  13721. "description": "OK",
  13722. "schema": {
  13723. "type": "array",
  13724. "items": {
  13725. "$ref": "#/definitions/models.WrUserFriend"
  13726. }
  13727. }
  13728. },
  13729. "500": {
  13730. "description": "Internal Server Error",
  13731. "schema": {
  13732. "$ref": "#/definitions/app.Response"
  13733. }
  13734. }
  13735. }
  13736. }
  13737. },
  13738. "/WrTrade2/QueryWrUserReceiptInfo": {
  13739. "get": {
  13740. "security": [
  13741. {
  13742. "ApiKeyAuth": []
  13743. }
  13744. ],
  13745. "produces": [
  13746. "application/json"
  13747. ],
  13748. "tags": [
  13749. "仓单贸易v2"
  13750. ],
  13751. "summary": "查询发票信息",
  13752. "parameters": [
  13753. {
  13754. "type": "integer",
  13755. "description": "用户id",
  13756. "name": "userid",
  13757. "in": "query"
  13758. },
  13759. {
  13760. "type": "integer",
  13761. "description": "发票类型 - 1:个人 2:企业",
  13762. "name": "receipttype",
  13763. "in": "query"
  13764. }
  13765. ],
  13766. "responses": {
  13767. "200": {
  13768. "description": "OK",
  13769. "schema": {
  13770. "type": "array",
  13771. "items": {
  13772. "$ref": "#/definitions/models.WrUserReceiptInfo"
  13773. }
  13774. }
  13775. },
  13776. "500": {
  13777. "description": "Internal Server Error",
  13778. "schema": {
  13779. "$ref": "#/definitions/app.Response"
  13780. }
  13781. }
  13782. }
  13783. }
  13784. },
  13785. "/ZJ/GetBankTip": {
  13786. "get": {
  13787. "produces": [
  13788. "application/json"
  13789. ],
  13790. "tags": [
  13791. "中江"
  13792. ],
  13793. "summary": "获取中江网银端出入金提示信息",
  13794. "responses": {
  13795. "200": {
  13796. "description": "OK",
  13797. "schema": {
  13798. "type": "string"
  13799. }
  13800. },
  13801. "500": {
  13802. "description": "Internal Server Error",
  13803. "schema": {
  13804. "$ref": "#/definitions/app.Response"
  13805. }
  13806. }
  13807. }
  13808. }
  13809. },
  13810. "/ZJ/GetCusBankChannels": {
  13811. "get": {
  13812. "produces": [
  13813. "application/json"
  13814. ],
  13815. "tags": [
  13816. "中江"
  13817. ],
  13818. "summary": "获取中江出入金渠道显示列表",
  13819. "responses": {
  13820. "200": {
  13821. "description": "OK",
  13822. "schema": {
  13823. "type": "array",
  13824. "items": {
  13825. "type": "string"
  13826. }
  13827. }
  13828. },
  13829. "500": {
  13830. "description": "Internal Server Error",
  13831. "schema": {
  13832. "$ref": "#/definitions/app.Response"
  13833. }
  13834. }
  13835. }
  13836. }
  13837. }
  13838. },
  13839. "definitions": {
  13840. "app.Response": {
  13841. "type": "object",
  13842. "properties": {
  13843. "code": {
  13844. "type": "integer"
  13845. },
  13846. "data": {
  13847. "type": "object"
  13848. },
  13849. "msg": {
  13850. "type": "string"
  13851. },
  13852. "page": {
  13853. "description": "页码",
  13854. "type": "integer"
  13855. },
  13856. "pagesize": {
  13857. "description": "每页条数",
  13858. "type": "integer"
  13859. },
  13860. "total": {
  13861. "description": "总条数",
  13862. "type": "integer"
  13863. }
  13864. }
  13865. },
  13866. "common.ClientMenu": {
  13867. "type": "object",
  13868. "properties": {
  13869. "children": {
  13870. "description": "子菜单列表",
  13871. "type": "array",
  13872. "items": {
  13873. "$ref": "#/definitions/common.ClientMenu"
  13874. }
  13875. },
  13876. "code": {
  13877. "description": "ID",
  13878. "type": "string"
  13879. },
  13880. "isshow": {
  13881. "description": "是否显示",
  13882. "type": "boolean"
  13883. },
  13884. "remark": {
  13885. "description": "备注",
  13886. "type": "string"
  13887. },
  13888. "rulekey": {
  13889. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  13890. "type": "string"
  13891. },
  13892. "sort": {
  13893. "description": "排序",
  13894. "type": "integer"
  13895. },
  13896. "title": {
  13897. "description": "标题",
  13898. "type": "string"
  13899. },
  13900. "type": {
  13901. "description": "类型,1:菜单 2:按钮",
  13902. "type": "integer"
  13903. },
  13904. "url": {
  13905. "description": "URL",
  13906. "type": "string"
  13907. }
  13908. }
  13909. },
  13910. "common.PCWebMenu": {
  13911. "type": "object",
  13912. "properties": {
  13913. "auth": {
  13914. "description": "页面权限列表",
  13915. "type": "array",
  13916. "items": {
  13917. "$ref": "#/definitions/common.PCWebMenuAuth"
  13918. }
  13919. },
  13920. "children": {
  13921. "description": "子菜单列表",
  13922. "type": "array",
  13923. "items": {
  13924. "$ref": "#/definitions/common.PCWebMenu"
  13925. }
  13926. },
  13927. "code": {
  13928. "description": "ID,新版本中权限KEY也是这个字段",
  13929. "type": "string"
  13930. },
  13931. "component": {
  13932. "description": "路由组件",
  13933. "type": "string"
  13934. },
  13935. "isshow": {
  13936. "description": "是否显示",
  13937. "type": "boolean"
  13938. },
  13939. "path": {
  13940. "description": "路由路径",
  13941. "type": "string"
  13942. },
  13943. "remark": {
  13944. "description": "备注",
  13945. "type": "string"
  13946. },
  13947. "requireauth": {
  13948. "description": "是否需要权限判断",
  13949. "type": "boolean"
  13950. },
  13951. "sort": {
  13952. "description": "排序",
  13953. "type": "integer"
  13954. },
  13955. "title": {
  13956. "description": "标题",
  13957. "type": "string"
  13958. },
  13959. "url": {
  13960. "description": "URL",
  13961. "type": "string"
  13962. }
  13963. }
  13964. },
  13965. "common.PCWebMenuAuth": {
  13966. "type": "object",
  13967. "properties": {
  13968. "code": {
  13969. "description": "ID,新版本中权限KEY也是这个字段",
  13970. "type": "string"
  13971. },
  13972. "isshow": {
  13973. "description": "是否显示",
  13974. "type": "boolean"
  13975. },
  13976. "label": {
  13977. "description": "标题",
  13978. "type": "string"
  13979. },
  13980. "remark": {
  13981. "description": "备注",
  13982. "type": "string"
  13983. },
  13984. "requireauth": {
  13985. "description": "是否需要权限判断",
  13986. "type": "boolean"
  13987. }
  13988. }
  13989. },
  13990. "common.QueryImageConfigsRsp": {
  13991. "type": "object",
  13992. "required": [
  13993. "configid"
  13994. ],
  13995. "properties": {
  13996. "areauserid": {
  13997. "description": "所属机构ID",
  13998. "type": "integer"
  13999. },
  14000. "configid": {
  14001. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14002. "type": "integer"
  14003. },
  14004. "createdate": {
  14005. "description": "创建时间",
  14006. "type": "string"
  14007. },
  14008. "creatorid": {
  14009. "description": "创建人",
  14010. "type": "integer"
  14011. },
  14012. "imagepath": {
  14013. "description": "图片",
  14014. "type": "string"
  14015. },
  14016. "imagetype": {
  14017. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  14018. "type": "integer"
  14019. },
  14020. "isshow": {
  14021. "description": "是否展示 - 0:不展示 1:展示",
  14022. "type": "integer"
  14023. },
  14024. "marketid": {
  14025. "description": "市场ID",
  14026. "type": "integer"
  14027. },
  14028. "modifierid": {
  14029. "description": "操作人",
  14030. "type": "integer"
  14031. },
  14032. "sort": {
  14033. "description": "排序",
  14034. "type": "integer"
  14035. },
  14036. "title": {
  14037. "description": "标题",
  14038. "type": "string"
  14039. },
  14040. "trademode": {
  14041. "description": "交易模式",
  14042. "type": "integer"
  14043. },
  14044. "updatedate": {
  14045. "description": "修改时间",
  14046. "type": "string"
  14047. },
  14048. "url": {
  14049. "description": "链接(地址或商品ID)",
  14050. "type": "string"
  14051. },
  14052. "urltype": {
  14053. "description": "链接类型 - 1:直接地址 2:商品ID",
  14054. "type": "integer"
  14055. }
  14056. }
  14057. },
  14058. "common.QueryNoticeRsp": {
  14059. "type": "object",
  14060. "required": [
  14061. "autoid"
  14062. ],
  14063. "properties": {
  14064. "auditoruserid": {
  14065. "description": "审核人",
  14066. "type": "integer"
  14067. },
  14068. "auditremark": {
  14069. "description": "审核备注",
  14070. "type": "string"
  14071. },
  14072. "audittime": {
  14073. "description": "审核日期",
  14074. "type": "string"
  14075. },
  14076. "autoid": {
  14077. "description": "自增ID",
  14078. "type": "integer"
  14079. },
  14080. "content": {
  14081. "description": "内容",
  14082. "type": "string"
  14083. },
  14084. "createtime": {
  14085. "description": "创建时间",
  14086. "type": "string"
  14087. },
  14088. "creatorid": {
  14089. "description": "建仓人",
  14090. "type": "integer"
  14091. },
  14092. "endtime": {
  14093. "description": "结束时间",
  14094. "type": "string"
  14095. },
  14096. "istop": {
  14097. "description": "是否置顶 - 0:不置顶 1:置顶",
  14098. "type": "integer"
  14099. },
  14100. "msgiconurl": {
  14101. "description": "消息图标Url",
  14102. "type": "string"
  14103. },
  14104. "msgtype": {
  14105. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  14106. "type": "integer"
  14107. },
  14108. "publisher": {
  14109. "description": "消息发布者",
  14110. "type": "string"
  14111. },
  14112. "readed": {
  14113. "description": "是否已读",
  14114. "type": "boolean"
  14115. },
  14116. "scheduletime": {
  14117. "description": "计划发送时间",
  14118. "type": "string"
  14119. },
  14120. "sendtype": {
  14121. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  14122. "type": "integer"
  14123. },
  14124. "sentstatus": {
  14125. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  14126. "type": "integer"
  14127. },
  14128. "title": {
  14129. "description": "标题",
  14130. "type": "string"
  14131. },
  14132. "userid": {
  14133. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  14134. "type": "integer"
  14135. }
  14136. }
  14137. },
  14138. "common.QueryProvincesAndCitiesRsp": {
  14139. "type": "object",
  14140. "properties": {
  14141. "cities": {
  14142. "description": "市",
  14143. "type": "array",
  14144. "items": {
  14145. "$ref": "#/definitions/models.Division"
  14146. }
  14147. },
  14148. "province": {
  14149. "description": "省",
  14150. "$ref": "#/definitions/models.Division"
  14151. }
  14152. }
  14153. },
  14154. "common.QueryTableDefineRsp": {
  14155. "type": "object",
  14156. "required": [
  14157. "tablekey"
  14158. ],
  14159. "properties": {
  14160. "columns": {
  14161. "description": "列头信息数组",
  14162. "type": "array",
  14163. "items": {
  14164. "$ref": "#/definitions/models.Tablecolumnconfig"
  14165. }
  14166. },
  14167. "remark": {
  14168. "description": "Remark",
  14169. "type": "string"
  14170. },
  14171. "tabelmenu": {
  14172. "description": "列表菜单",
  14173. "type": "string"
  14174. },
  14175. "tablekey": {
  14176. "description": "列表Key",
  14177. "type": "string"
  14178. },
  14179. "tablename": {
  14180. "description": "列表名称",
  14181. "type": "string"
  14182. },
  14183. "tabletype": {
  14184. "description": "列表类型 - 1:管理端 2:终端",
  14185. "type": "integer"
  14186. }
  14187. }
  14188. },
  14189. "common.QueryTraderMenuRsp": {
  14190. "type": "object",
  14191. "properties": {
  14192. "OperationMenu": {
  14193. "description": "功能菜单",
  14194. "type": "array",
  14195. "items": {
  14196. "$ref": "#/definitions/models.OperationPrimaryMenu"
  14197. }
  14198. },
  14199. "QuoteMenu": {
  14200. "description": "报价牌分类菜单",
  14201. "type": "array",
  14202. "items": {
  14203. "$ref": "#/definitions/models.QuotePrimaryMenu"
  14204. }
  14205. }
  14206. }
  14207. },
  14208. "cptrade.Cptradepositioncancel": {
  14209. "type": "object",
  14210. "required": [
  14211. "cancelid"
  14212. ],
  14213. "properties": {
  14214. "accountid": {
  14215. "description": "申请人账户ID",
  14216. "type": "integer"
  14217. },
  14218. "applystatus": {
  14219. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14220. "type": "integer"
  14221. },
  14222. "applytime": {
  14223. "description": "申请时间",
  14224. "type": "string"
  14225. },
  14226. "cancelid": {
  14227. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  14228. "type": "integer"
  14229. },
  14230. "cancelqty": {
  14231. "description": "注销数量",
  14232. "type": "integer"
  14233. },
  14234. "createtime": {
  14235. "description": "创建时间",
  14236. "type": "string"
  14237. },
  14238. "creatorid": {
  14239. "description": "创建人ID",
  14240. "type": "integer"
  14241. },
  14242. "creatorname": {
  14243. "description": "创建人",
  14244. "type": "string"
  14245. },
  14246. "goodscode": {
  14247. "description": "订单商品代码",
  14248. "type": "string"
  14249. },
  14250. "goodsid": {
  14251. "description": "商品ID",
  14252. "type": "integer"
  14253. },
  14254. "goodsname": {
  14255. "description": "订单商品名称",
  14256. "type": "string"
  14257. },
  14258. "goodunit": {
  14259. "description": "报价单位",
  14260. "type": "string"
  14261. },
  14262. "handlestatus": {
  14263. "description": "处理状态",
  14264. "type": "integer"
  14265. },
  14266. "marketid": {
  14267. "description": "市场ID",
  14268. "type": "integer"
  14269. },
  14270. "marketname": {
  14271. "description": "市场名称",
  14272. "type": "string"
  14273. },
  14274. "tradedate": {
  14275. "description": "交易日(yyyyMMdd)",
  14276. "type": "string"
  14277. },
  14278. "userid": {
  14279. "description": "申请人ID",
  14280. "type": "integer"
  14281. }
  14282. }
  14283. },
  14284. "cptrade.Cptradepresaleapply": {
  14285. "type": "object",
  14286. "required": [
  14287. "applyid"
  14288. ],
  14289. "properties": {
  14290. "accountid": {
  14291. "description": "申请人账户ID",
  14292. "type": "integer"
  14293. },
  14294. "applyid": {
  14295. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  14296. "type": "integer"
  14297. },
  14298. "applyremark": {
  14299. "description": "申请备注",
  14300. "type": "string"
  14301. },
  14302. "applystatus": {
  14303. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14304. "type": "integer"
  14305. },
  14306. "applytime": {
  14307. "description": "申请时间",
  14308. "type": "string"
  14309. },
  14310. "attachmenturl": {
  14311. "description": "附件地址",
  14312. "type": "string"
  14313. },
  14314. "endtime": {
  14315. "description": "预售结束时间",
  14316. "type": "string"
  14317. },
  14318. "goodscode": {
  14319. "description": "商品代码",
  14320. "type": "string"
  14321. },
  14322. "goodsid": {
  14323. "description": "商品ID",
  14324. "type": "integer"
  14325. },
  14326. "goodsname": {
  14327. "description": "商品名称",
  14328. "type": "string"
  14329. },
  14330. "goodunit": {
  14331. "description": "报价单位",
  14332. "type": "string"
  14333. },
  14334. "handlestatus": {
  14335. "description": "处理状态",
  14336. "type": "integer"
  14337. },
  14338. "marketid": {
  14339. "description": "预售市场ID",
  14340. "type": "integer"
  14341. },
  14342. "marketname": {
  14343. "description": "预售市场名称",
  14344. "type": "string"
  14345. },
  14346. "presaleqty": {
  14347. "description": "预售数量",
  14348. "type": "integer"
  14349. },
  14350. "relatedgoodscode": {
  14351. "description": "关联交易合约代码",
  14352. "type": "string"
  14353. },
  14354. "relatedgoodsid": {
  14355. "description": "关联交易合约ID",
  14356. "type": "integer"
  14357. },
  14358. "relatedgoodsname": {
  14359. "description": "关联交易合约名称",
  14360. "type": "string"
  14361. },
  14362. "starttime": {
  14363. "description": "预售开始时间",
  14364. "type": "string"
  14365. },
  14366. "tradedate": {
  14367. "description": "交易日(yyyyMMdd)",
  14368. "type": "string"
  14369. },
  14370. "trademode": {
  14371. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  14372. "type": "integer"
  14373. },
  14374. "userid": {
  14375. "description": "申请人ID",
  14376. "type": "integer"
  14377. }
  14378. }
  14379. },
  14380. "cptrade.Cptradeusergoodsdata": {
  14381. "type": "object",
  14382. "required": [
  14383. "accountid",
  14384. "goodsid"
  14385. ],
  14386. "properties": {
  14387. "EnabledQty": {
  14388. "description": "可用量",
  14389. "type": "integer"
  14390. },
  14391. "GoodsCode": {
  14392. "description": "订单商品代码",
  14393. "type": "string"
  14394. },
  14395. "GoodsName": {
  14396. "description": "订单商品名称",
  14397. "type": "string"
  14398. },
  14399. "WRStandardCode": {
  14400. "description": "仓单标准代码",
  14401. "type": "string"
  14402. },
  14403. "WRStandardName": {
  14404. "description": "仓单标准名称",
  14405. "type": "string"
  14406. },
  14407. "accountid": {
  14408. "description": "账户ID",
  14409. "type": "integer"
  14410. },
  14411. "cancelqty": {
  14412. "description": "注销量",
  14413. "type": "integer"
  14414. },
  14415. "curpresaleqty": {
  14416. "description": "当前预售量",
  14417. "type": "integer"
  14418. },
  14419. "deliveryqty": {
  14420. "description": "交割量",
  14421. "type": "integer"
  14422. },
  14423. "freezeamount": {
  14424. "description": "冻结金额",
  14425. "type": "number"
  14426. },
  14427. "goodsid": {
  14428. "description": "商品ID",
  14429. "type": "integer"
  14430. },
  14431. "goodunit": {
  14432. "description": "报价单位",
  14433. "type": "string"
  14434. },
  14435. "hasspotfreeze": {
  14436. "description": "是否有现货冻结 - 0:否 1:有",
  14437. "type": "integer"
  14438. },
  14439. "inqty": {
  14440. "description": "转入量(总数量)",
  14441. "type": "integer"
  14442. },
  14443. "marketid": {
  14444. "description": "市场ID",
  14445. "type": "integer"
  14446. },
  14447. "presaledamount": {
  14448. "description": "已预售总金额",
  14449. "type": "integer"
  14450. },
  14451. "presaledqty": {
  14452. "description": "已预售量",
  14453. "type": "integer"
  14454. },
  14455. "userid": {
  14456. "description": "用户ID",
  14457. "type": "integer"
  14458. },
  14459. "wrstandardid": {
  14460. "description": "仓单标准ID",
  14461. "type": "integer"
  14462. }
  14463. }
  14464. },
  14465. "cptrade.QueryCPTradeMyBidRsp": {
  14466. "type": "object",
  14467. "required": [
  14468. "accountid",
  14469. "goodsid",
  14470. "marketid",
  14471. "orderid",
  14472. "orderqty",
  14473. "ordertime",
  14474. "tradeprice",
  14475. "tradeqty"
  14476. ],
  14477. "properties": {
  14478. "accountid": {
  14479. "description": "账户ID[报价币种]",
  14480. "type": "integer"
  14481. },
  14482. "goodsid": {
  14483. "description": "商品ID",
  14484. "type": "integer"
  14485. },
  14486. "goodunit": {
  14487. "description": "报价单位",
  14488. "type": "string"
  14489. },
  14490. "marketid": {
  14491. "description": "市场ID",
  14492. "type": "integer"
  14493. },
  14494. "orderid": {
  14495. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14496. "type": "integer"
  14497. },
  14498. "orderprice": {
  14499. "description": "委托价格",
  14500. "type": "number"
  14501. },
  14502. "orderqty": {
  14503. "description": "委托数量",
  14504. "type": "integer"
  14505. },
  14506. "ordertime": {
  14507. "description": "委托时间",
  14508. "type": "string"
  14509. },
  14510. "ordertotalprice": {
  14511. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  14512. "type": "number"
  14513. },
  14514. "ordertotalweight": {
  14515. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  14516. "type": "integer"
  14517. },
  14518. "totaltotalprice": {
  14519. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  14520. "type": "number"
  14521. },
  14522. "tradeprice": {
  14523. "description": "成交价格",
  14524. "type": "number"
  14525. },
  14526. "tradeqty": {
  14527. "description": "成交数量",
  14528. "type": "integer"
  14529. }
  14530. }
  14531. },
  14532. "cptrade.QueryCPTradeOrderDetailRsq": {
  14533. "type": "object",
  14534. "required": [
  14535. "accountid",
  14536. "buildtype",
  14537. "buyorsell",
  14538. "goodsid",
  14539. "marketid",
  14540. "memberuserid",
  14541. "operatetype",
  14542. "orderqty",
  14543. "ordertime",
  14544. "pricemode",
  14545. "strorderid",
  14546. "tradedate",
  14547. "validtype"
  14548. ],
  14549. "properties": {
  14550. "accountid": {
  14551. "description": "账户ID[报价币种]",
  14552. "type": "integer"
  14553. },
  14554. "buildtype": {
  14555. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  14556. "type": "integer"
  14557. },
  14558. "buyorsell": {
  14559. "description": "买卖 - 0:买 1:卖",
  14560. "type": "integer"
  14561. },
  14562. "cancelorderid": {
  14563. "description": "撤单单号(撤单时填写)",
  14564. "type": "integer"
  14565. },
  14566. "cancelqty": {
  14567. "description": "撤单数量",
  14568. "type": "integer"
  14569. },
  14570. "clientordertime": {
  14571. "description": "客户端委托时间",
  14572. "type": "string"
  14573. },
  14574. "clientticket": {
  14575. "description": "客户端流水号",
  14576. "type": "string"
  14577. },
  14578. "clienttype": {
  14579. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14580. "type": "integer"
  14581. },
  14582. "closeexchagechargevalue": {
  14583. "description": "平仓交易所手续费设置值",
  14584. "type": "number"
  14585. },
  14586. "closefeealgorithm": {
  14587. "description": "平仓手续费收取方式 1:比率 2:固定",
  14588. "type": "integer"
  14589. },
  14590. "closefreezecharge": {
  14591. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  14592. "type": "number"
  14593. },
  14594. "closememberchargevalue": {
  14595. "description": "平仓会员手续费设置值",
  14596. "type": "number"
  14597. },
  14598. "closeqty": {
  14599. "description": "平仓数量(先建后平操作 需要记录)",
  14600. "type": "integer"
  14601. },
  14602. "closetradeqty": {
  14603. "description": "平仓成交数量(先建后平操作,需要记录)",
  14604. "type": "integer"
  14605. },
  14606. "closeunfreezecharge": {
  14607. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  14608. "type": "number"
  14609. },
  14610. "delistingtype": {
  14611. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  14612. "type": "integer"
  14613. },
  14614. "freezecharge": {
  14615. "description": "冻结手续费",
  14616. "type": "number"
  14617. },
  14618. "freezemargin": {
  14619. "description": "冻结保证金(冻结交易金额)",
  14620. "type": "number"
  14621. },
  14622. "gcaccountid": {
  14623. "description": "账户ID[合约币种]",
  14624. "type": "integer"
  14625. },
  14626. "goodsid": {
  14627. "description": "商品ID",
  14628. "type": "integer"
  14629. },
  14630. "isconfirmexercise": {
  14631. "description": "是否确认行权- 0:否 1:是",
  14632. "type": "integer"
  14633. },
  14634. "ispreexercise": {
  14635. "description": "是否预申报- 0:否 1:是",
  14636. "type": "integer"
  14637. },
  14638. "listingselecttype": {
  14639. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14640. "type": "integer"
  14641. },
  14642. "marginalgorithm": {
  14643. "description": "保证金收取方式 1:比率 2:固定",
  14644. "type": "integer"
  14645. },
  14646. "marginvalue": {
  14647. "description": "即市保证金设置值",
  14648. "type": "number"
  14649. },
  14650. "marketid": {
  14651. "description": "市场ID",
  14652. "type": "integer"
  14653. },
  14654. "marketmaxsub": {
  14655. "description": "市价最大偏移范围",
  14656. "type": "number"
  14657. },
  14658. "memberuserid": {
  14659. "description": "所属会员UserID",
  14660. "type": "integer"
  14661. },
  14662. "openexchagechargevalue": {
  14663. "description": "建仓交易所手续费设置值",
  14664. "type": "number"
  14665. },
  14666. "openfeealgorithm": {
  14667. "description": "建仓手续费收取方式 1:比率 2:固定",
  14668. "type": "integer"
  14669. },
  14670. "openfreezecharge": {
  14671. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  14672. "type": "number"
  14673. },
  14674. "openmemberchargevalue": {
  14675. "description": "建仓会员手续费设置值",
  14676. "type": "number"
  14677. },
  14678. "openqty": {
  14679. "description": "开仓数量(先建后平操作,需要记录)",
  14680. "type": "integer"
  14681. },
  14682. "opentradeqty": {
  14683. "description": "开仓成交数量(先建后平操作,需要记录)",
  14684. "type": "integer"
  14685. },
  14686. "openunfreezecharge": {
  14687. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  14688. "type": "number"
  14689. },
  14690. "operatetype": {
  14691. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  14692. "type": "integer"
  14693. },
  14694. "operatorid": {
  14695. "description": "登录账号(LoginID)",
  14696. "type": "integer"
  14697. },
  14698. "optiontype": {
  14699. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  14700. "type": "integer"
  14701. },
  14702. "orderprice": {
  14703. "description": "委托价格",
  14704. "type": "number"
  14705. },
  14706. "orderqty": {
  14707. "description": "委托数量",
  14708. "type": "integer"
  14709. },
  14710. "ordersrc": {
  14711. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  14712. "type": "integer"
  14713. },
  14714. "orderstatus": {
  14715. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14716. "type": "integer"
  14717. },
  14718. "ordertime": {
  14719. "description": "委托时间",
  14720. "type": "string"
  14721. },
  14722. "preexerciseprice": {
  14723. "description": "预申报价格",
  14724. "type": "number"
  14725. },
  14726. "premium": {
  14727. "description": "权利金",
  14728. "type": "number"
  14729. },
  14730. "preorderid": {
  14731. "description": "关联预埋单号(止盈止损单时填写)",
  14732. "type": "integer"
  14733. },
  14734. "pricemode": {
  14735. "description": "取价方式 - 1:市价 2: 限价",
  14736. "type": "integer"
  14737. },
  14738. "quoteid": {
  14739. "description": "报价单ID",
  14740. "type": "integer"
  14741. },
  14742. "relatedid": {
  14743. "description": "关联单号(交割单)",
  14744. "type": "integer"
  14745. },
  14746. "retcode": {
  14747. "description": "错误代码",
  14748. "type": "integer"
  14749. },
  14750. "sessionid": {
  14751. "description": "会话ID",
  14752. "type": "integer"
  14753. },
  14754. "strorderid": {
  14755. "description": "委托单号",
  14756. "type": "string"
  14757. },
  14758. "tradedate": {
  14759. "description": "交易日(yyyyMMdd)",
  14760. "type": "string"
  14761. },
  14762. "tradeproperty": {
  14763. "description": "交易属性",
  14764. "type": "integer"
  14765. },
  14766. "tradeqty": {
  14767. "description": "成交数量",
  14768. "type": "integer"
  14769. },
  14770. "unfreezecharge": {
  14771. "description": "解冻手续费",
  14772. "type": "number"
  14773. },
  14774. "unfreezemargin": {
  14775. "description": "解冻保证金",
  14776. "type": "number"
  14777. },
  14778. "updatetime": {
  14779. "description": "更新时间",
  14780. "type": "string"
  14781. },
  14782. "uuid": {
  14783. "description": "发起端唯一id",
  14784. "type": "string"
  14785. },
  14786. "validtime": {
  14787. "description": "有效期限",
  14788. "type": "string"
  14789. },
  14790. "validtype": {
  14791. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  14792. "type": "integer"
  14793. },
  14794. "volumetype": {
  14795. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  14796. "type": "integer"
  14797. }
  14798. }
  14799. },
  14800. "cptrade.QueryMyCPTradeGoodsRsp": {
  14801. "type": "object",
  14802. "required": [
  14803. "goodscode",
  14804. "goodsid",
  14805. "goodsname",
  14806. "marketid",
  14807. "relatedgoodscode",
  14808. "relatedgoodsname"
  14809. ],
  14810. "properties": {
  14811. "accountid": {
  14812. "description": "卖方账户ID",
  14813. "type": "integer"
  14814. },
  14815. "agreeunit": {
  14816. "description": "合约单位",
  14817. "type": "number"
  14818. },
  14819. "applyid": {
  14820. "description": "关联申请ID",
  14821. "type": "integer"
  14822. },
  14823. "attachmenturl": {
  14824. "description": "附件地址",
  14825. "type": "string"
  14826. },
  14827. "createtime": {
  14828. "description": "创建时间",
  14829. "type": "string"
  14830. },
  14831. "currencyid": {
  14832. "description": "报价货币ID",
  14833. "type": "integer"
  14834. },
  14835. "decimalplace": {
  14836. "description": "报价小数位",
  14837. "type": "integer"
  14838. },
  14839. "endtime": {
  14840. "description": "预售结束时间",
  14841. "type": "string"
  14842. },
  14843. "floorprice": {
  14844. "description": "底价[大宗式竞拍]",
  14845. "type": "number"
  14846. },
  14847. "goodscode": {
  14848. "description": "商品代码(预售)",
  14849. "type": "string"
  14850. },
  14851. "goodsdetail": {
  14852. "description": "详情[大宗]",
  14853. "type": "string"
  14854. },
  14855. "goodsid": {
  14856. "description": "商品ID(自增ID SEQ_GOODS)",
  14857. "type": "integer"
  14858. },
  14859. "goodsname": {
  14860. "description": "商品名称(预售)",
  14861. "type": "string"
  14862. },
  14863. "goodunit": {
  14864. "description": "报价单位",
  14865. "type": "string"
  14866. },
  14867. "goodunitid": {
  14868. "description": "报价单位ID",
  14869. "type": "integer"
  14870. },
  14871. "marketid": {
  14872. "description": "所属市场ID",
  14873. "type": "integer"
  14874. },
  14875. "marketname": {
  14876. "description": "预售市场名称",
  14877. "type": "string"
  14878. },
  14879. "presaledamount": {
  14880. "description": "已预售总金额(预售结束时更新)",
  14881. "type": "number"
  14882. },
  14883. "presaledqty": {
  14884. "description": "已预售量(预售结束时更新)",
  14885. "type": "integer"
  14886. },
  14887. "presalemode": {
  14888. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14889. "type": "integer"
  14890. },
  14891. "presaleqty": {
  14892. "description": "预售数量",
  14893. "type": "integer"
  14894. },
  14895. "refprice": {
  14896. "description": "参考价格[一口价]",
  14897. "type": "number"
  14898. },
  14899. "relatedgoodscode": {
  14900. "description": "商品代码(订单)",
  14901. "type": "string"
  14902. },
  14903. "relatedgoodsid": {
  14904. "description": "关联交易合约ID",
  14905. "type": "integer"
  14906. },
  14907. "relatedgoodsname": {
  14908. "description": "商品名称(订单)",
  14909. "type": "string"
  14910. },
  14911. "relatedmarketid": {
  14912. "description": "关联交易合约市场ID",
  14913. "type": "integer"
  14914. },
  14915. "sellstatus": {
  14916. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  14917. "type": "integer"
  14918. },
  14919. "startprice": {
  14920. "description": "起拍价[大宗式竞拍]",
  14921. "type": "number"
  14922. },
  14923. "starttime": {
  14924. "description": "预售开始时间",
  14925. "type": "string"
  14926. },
  14927. "tradedate": {
  14928. "description": "交易日(yyyyMMdd)",
  14929. "type": "string"
  14930. },
  14931. "tradeprice": {
  14932. "description": "成交价[大宗]",
  14933. "type": "number"
  14934. },
  14935. "userid": {
  14936. "description": "卖方用户ID",
  14937. "type": "integer"
  14938. }
  14939. }
  14940. },
  14941. "cptrade.QueryPresaleGoodsExRsp": {
  14942. "type": "object",
  14943. "required": [
  14944. "goodsid"
  14945. ],
  14946. "properties": {
  14947. "attachmenturl": {
  14948. "description": "附件地址",
  14949. "type": "string"
  14950. },
  14951. "createtime": {
  14952. "description": "创建时间",
  14953. "type": "string"
  14954. },
  14955. "endtime": {
  14956. "description": "预售结束时间",
  14957. "type": "string"
  14958. },
  14959. "floorprice": {
  14960. "description": "底价[大宗式竞拍]",
  14961. "type": "number"
  14962. },
  14963. "goodsdetail": {
  14964. "description": "详情[大宗]",
  14965. "type": "string"
  14966. },
  14967. "goodsid": {
  14968. "description": "商品ID(预售)",
  14969. "type": "integer"
  14970. },
  14971. "goodunit": {
  14972. "description": "报价单位",
  14973. "type": "string"
  14974. },
  14975. "marketid": {
  14976. "description": "预售市场ID - 根据预售模式选择市场",
  14977. "type": "integer"
  14978. },
  14979. "presaledamount": {
  14980. "description": "已预售总金额(预售结束时更新)",
  14981. "type": "number"
  14982. },
  14983. "presaledqty": {
  14984. "description": "已预售量(预售结束时更新)",
  14985. "type": "integer"
  14986. },
  14987. "presalemode": {
  14988. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  14989. "type": "integer"
  14990. },
  14991. "presaleqty": {
  14992. "description": "预售数量",
  14993. "type": "integer"
  14994. },
  14995. "refprice": {
  14996. "description": "参考价格[一口价]",
  14997. "type": "number"
  14998. },
  14999. "relatedgoodsid": {
  15000. "description": "关联交易合约ID",
  15001. "type": "integer"
  15002. },
  15003. "relatedmarketid": {
  15004. "description": "关联交易合约市场ID",
  15005. "type": "integer"
  15006. },
  15007. "sellstatus": {
  15008. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15009. "type": "integer"
  15010. },
  15011. "startprice": {
  15012. "description": "起拍价[大宗式竞拍]",
  15013. "type": "number"
  15014. },
  15015. "starttime": {
  15016. "description": "预售开始时间",
  15017. "type": "string"
  15018. },
  15019. "tradedate": {
  15020. "description": "交易日(yyyyMMdd)",
  15021. "type": "string"
  15022. },
  15023. "tradeprice": {
  15024. "description": "成交价[大宗]",
  15025. "type": "number"
  15026. }
  15027. }
  15028. },
  15029. "delivery.QueryDeliveryRelationRsp": {
  15030. "type": "object",
  15031. "required": [
  15032. "begindate",
  15033. "enddate",
  15034. "goodsid",
  15035. "mindeliveryqty",
  15036. "xdeliveryratio"
  15037. ],
  15038. "properties": {
  15039. "begindate": {
  15040. "description": "起始日期(yyyyMMdd)",
  15041. "type": "string"
  15042. },
  15043. "buytemplateid": {
  15044. "description": "买履约计划模板ID",
  15045. "type": "integer"
  15046. },
  15047. "deliverygoodscode": {
  15048. "description": "品种代码",
  15049. "type": "string"
  15050. },
  15051. "deliverygoodsid": {
  15052. "description": "交割商品",
  15053. "type": "integer"
  15054. },
  15055. "deliverygoodsname": {
  15056. "description": "品种名称",
  15057. "type": "string"
  15058. },
  15059. "deliverymode": {
  15060. "description": "交割方式 - 1:点选式 2:申报式",
  15061. "type": "integer"
  15062. },
  15063. "deliverypricerule": {
  15064. "description": "交割价规则- 1:行情价 2:建仓价",
  15065. "type": "integer"
  15066. },
  15067. "deliverytype": {
  15068. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  15069. "type": "integer"
  15070. },
  15071. "enddate": {
  15072. "description": "结束日期(yyyyMMdd)",
  15073. "type": "string"
  15074. },
  15075. "enumdicname": {
  15076. "description": "品类单位名称",
  15077. "type": "string"
  15078. },
  15079. "goodscode": {
  15080. "description": "商品代码",
  15081. "type": "string"
  15082. },
  15083. "goodsid": {
  15084. "description": "交易合约ID",
  15085. "type": "integer"
  15086. },
  15087. "goodsname": {
  15088. "description": "商品名称",
  15089. "type": "string"
  15090. },
  15091. "marketid": {
  15092. "description": "市场ID",
  15093. "type": "integer"
  15094. },
  15095. "mindeliveryqty": {
  15096. "description": "最小交割系数(K)",
  15097. "type": "integer"
  15098. },
  15099. "p2deliveryprice": {
  15100. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  15101. "type": "number"
  15102. },
  15103. "p2deliveryratio": {
  15104. "description": "P2合约系数(p)",
  15105. "type": "integer"
  15106. },
  15107. "p2goodsid": {
  15108. "description": "P2合约ID",
  15109. "type": "integer"
  15110. },
  15111. "p2pricemode": {
  15112. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  15113. "type": "integer"
  15114. },
  15115. "pdeliveryprice": {
  15116. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  15117. "type": "number"
  15118. },
  15119. "pdeliveryratio": {
  15120. "description": "P合约系数(n)",
  15121. "type": "integer"
  15122. },
  15123. "pgoodscode": {
  15124. "description": "p合约代码",
  15125. "type": "string"
  15126. },
  15127. "pgoodsid": {
  15128. "description": "P合约ID",
  15129. "type": "integer"
  15130. },
  15131. "ppricemode": {
  15132. "description": "P合约价格方式 - 1:商品价 2:固定值",
  15133. "type": "integer"
  15134. },
  15135. "rratio": {
  15136. "description": "兑换系数(R)",
  15137. "type": "integer"
  15138. },
  15139. "rratio1": {
  15140. "description": "兑换系数(交易合约)(R1)",
  15141. "type": "integer"
  15142. },
  15143. "rratio2": {
  15144. "description": "兑换系数(仓单标准)(R2)",
  15145. "type": "integer"
  15146. },
  15147. "selltemplateid": {
  15148. "description": "卖履约计划模板ID",
  15149. "type": "integer"
  15150. },
  15151. "wrstandardid": {
  15152. "description": "仓单标准ID",
  15153. "type": "integer"
  15154. },
  15155. "xdeliveryratio": {
  15156. "description": "交易合约系数(m)",
  15157. "type": "integer"
  15158. }
  15159. }
  15160. },
  15161. "ermcp.ExposureDetailRsp": {
  15162. "type": "object",
  15163. "properties": {
  15164. "areauserid": {
  15165. "description": "机构ID",
  15166. "type": "integer"
  15167. },
  15168. "changeQty": {
  15169. "description": "套保变动量",
  15170. "type": "number"
  15171. },
  15172. "contracttype": {
  15173. "description": "现货合同类型 - 1:采购 -1:销售",
  15174. "type": "integer"
  15175. },
  15176. "convertfactor": {
  15177. "description": "标仓系数",
  15178. "type": "number"
  15179. },
  15180. "convertratio": {
  15181. "description": "套保系数",
  15182. "type": "number"
  15183. },
  15184. "createtime": {
  15185. "description": "时间",
  15186. "type": "string"
  15187. },
  15188. "enumdicname": {
  15189. "description": "现货商品单位名称",
  15190. "type": "string"
  15191. },
  15192. "logtype": {
  15193. "description": "类型 - 1:套保计划 2:现货合同",
  15194. "type": "integer"
  15195. },
  15196. "middlegoodsId": {
  15197. "description": "套保商品id",
  15198. "type": "integer"
  15199. },
  15200. "middlegoodscode": {
  15201. "description": "套保商品代码",
  15202. "type": "string"
  15203. },
  15204. "middlegoodsname": {
  15205. "description": "套保商品名称",
  15206. "type": "string"
  15207. },
  15208. "qty": {
  15209. "description": "数量",
  15210. "type": "number"
  15211. },
  15212. "relateNo": {
  15213. "description": "现货合同/套保计划编号",
  15214. "type": "string"
  15215. },
  15216. "wrstandardcode": {
  15217. "description": "现货商品代码",
  15218. "type": "string"
  15219. },
  15220. "wrstandardid": {
  15221. "description": "现货商品ID",
  15222. "type": "integer"
  15223. },
  15224. "wrstandardname": {
  15225. "description": "现货商品名称",
  15226. "type": "string"
  15227. }
  15228. }
  15229. },
  15230. "ermcp.ExposureHedgePosDetailRsp": {
  15231. "type": "object",
  15232. "properties": {
  15233. "buyorsell": {
  15234. "description": "买卖方向 0-买 1-卖",
  15235. "type": "integer"
  15236. },
  15237. "channelbuildtype": {
  15238. "description": "开平方向 1-建仓 2-平仓",
  15239. "type": "integer"
  15240. },
  15241. "goodscode": {
  15242. "description": "商品代码",
  15243. "type": "string"
  15244. },
  15245. "goodsname": {
  15246. "description": "商品名称",
  15247. "type": "string"
  15248. },
  15249. "hedgegoodsid": {
  15250. "description": "商品id",
  15251. "type": "integer"
  15252. },
  15253. "tradeqty": {
  15254. "description": "数量(成交数量)",
  15255. "type": "integer"
  15256. },
  15257. "tradetime": {
  15258. "description": "时间(成交时间)",
  15259. "type": "string"
  15260. }
  15261. }
  15262. },
  15263. "ermcp.ExposureHedgePositionRsp": {
  15264. "type": "object",
  15265. "properties": {
  15266. "accountid": {
  15267. "description": "资金账号[外部母账户]",
  15268. "type": "integer"
  15269. },
  15270. "curbuyposition": {
  15271. "description": "期末买头寸",
  15272. "type": "integer"
  15273. },
  15274. "cursellposition": {
  15275. "description": "期末卖头寸",
  15276. "type": "integer"
  15277. },
  15278. "curtdbuyposition": {
  15279. "description": "期末今日买头寸",
  15280. "type": "integer"
  15281. },
  15282. "curtdsellposition": {
  15283. "description": "期末今日卖头寸",
  15284. "type": "integer"
  15285. },
  15286. "curydbuyposition": {
  15287. "description": "期末上日买头寸",
  15288. "type": "integer"
  15289. },
  15290. "curydsellposition": {
  15291. "description": "期末上日卖头寸",
  15292. "type": "integer"
  15293. },
  15294. "decreaseqty": {
  15295. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15296. "type": "integer"
  15297. },
  15298. "fretdbuyposition": {
  15299. "description": "冻结今日买头寸",
  15300. "type": "integer"
  15301. },
  15302. "fretdsellposition": {
  15303. "description": "冻结今日卖头寸",
  15304. "type": "integer"
  15305. },
  15306. "freydbuyposition": {
  15307. "description": "冻结上日买头寸",
  15308. "type": "integer"
  15309. },
  15310. "freydsellposition": {
  15311. "description": "冻结上日卖头寸",
  15312. "type": "integer"
  15313. },
  15314. "goodscode": {
  15315. "description": "商品代码",
  15316. "type": "string"
  15317. },
  15318. "goodsid": {
  15319. "description": "商品id",
  15320. "type": "integer"
  15321. },
  15322. "goodsname": {
  15323. "description": "商品名称",
  15324. "type": "string"
  15325. },
  15326. "hedgeaccountcode": {
  15327. "description": "对冲账号",
  15328. "type": "string"
  15329. },
  15330. "hedgegoodsid": {
  15331. "description": "对冲合约ID",
  15332. "type": "integer"
  15333. },
  15334. "increaseqty": {
  15335. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15336. "type": "integer"
  15337. },
  15338. "marketid": {
  15339. "description": "市场ID",
  15340. "type": "integer"
  15341. },
  15342. "relateduserid": {
  15343. "description": "关联用户id",
  15344. "type": "integer"
  15345. },
  15346. "totalcurqty": {
  15347. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  15348. "type": "integer"
  15349. },
  15350. "totalydqty": {
  15351. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  15352. "type": "integer"
  15353. },
  15354. "tradedate": {
  15355. "description": "交易日(yyyyMMdd)",
  15356. "type": "string"
  15357. },
  15358. "ydbuyposition": {
  15359. "description": "期初买头寸",
  15360. "type": "integer"
  15361. },
  15362. "ydsellposition": {
  15363. "description": "期初卖头寸",
  15364. "type": "integer"
  15365. }
  15366. }
  15367. },
  15368. "ermcp.ExposureSpotDetailRsp": {
  15369. "type": "object",
  15370. "properties": {
  15371. "contracttype": {
  15372. "description": "合同类型 1-采购 -1-销售",
  15373. "type": "integer"
  15374. },
  15375. "createtime": {
  15376. "description": "创建时间",
  15377. "type": "string"
  15378. },
  15379. "enumdicname": {
  15380. "description": "现货商品单位名称",
  15381. "type": "string"
  15382. },
  15383. "logtype": {
  15384. "description": "记录类型 1-套保 2-现货合同",
  15385. "type": "integer"
  15386. },
  15387. "qty": {
  15388. "description": "数量",
  15389. "type": "number"
  15390. },
  15391. "recordname": {
  15392. "description": "类型名称",
  15393. "type": "string"
  15394. },
  15395. "relatedid": {
  15396. "description": "套保计划ID/现货合同ID",
  15397. "type": "string"
  15398. },
  15399. "relatedno": {
  15400. "description": "编号",
  15401. "type": "string"
  15402. },
  15403. "strtime": {
  15404. "description": "时间",
  15405. "type": "string"
  15406. },
  15407. "wrstandardcode": {
  15408. "description": "现货商品代码",
  15409. "type": "string"
  15410. },
  15411. "wrstandardname": {
  15412. "description": "现货商品名称",
  15413. "type": "string"
  15414. }
  15415. }
  15416. },
  15417. "ermcp.ExposureSpotRsp": {
  15418. "type": "object",
  15419. "properties": {
  15420. "areauserid": {
  15421. "description": "所属机构",
  15422. "type": "integer"
  15423. },
  15424. "decreaseqty": {
  15425. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15426. "type": "number"
  15427. },
  15428. "increaseqty": {
  15429. "description": "增加数量=销售计划数量+采购已定价数量",
  15430. "type": "number"
  15431. },
  15432. "oritoalspotqty": {
  15433. "description": "昨日数量",
  15434. "type": "number"
  15435. },
  15436. "totalspotqty": {
  15437. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15438. "type": "number"
  15439. },
  15440. "updatetime": {
  15441. "description": "更新时间",
  15442. "type": "string"
  15443. },
  15444. "wrstandardcode": {
  15445. "description": "现货品种代码",
  15446. "type": "string"
  15447. },
  15448. "wrstandardid": {
  15449. "description": "现货商品ID",
  15450. "type": "integer"
  15451. },
  15452. "wrstandardname": {
  15453. "description": "现货品种",
  15454. "type": "string"
  15455. }
  15456. }
  15457. },
  15458. "ermcp.HisExposureRsp": {
  15459. "type": "object",
  15460. "properties": {
  15461. "data": {
  15462. "description": "历史敞口",
  15463. "type": "array",
  15464. "items": {
  15465. "$ref": "#/definitions/models.ErmcpHisExposure"
  15466. }
  15467. },
  15468. "enumdicname": {
  15469. "description": "单位名称",
  15470. "type": "string"
  15471. },
  15472. "middlegoodscode": {
  15473. "description": "套保品种代码",
  15474. "type": "string"
  15475. },
  15476. "middlegoodsid": {
  15477. "description": "套保品种ID",
  15478. "type": "integer"
  15479. },
  15480. "middlegoodsname": {
  15481. "description": "套保品种名称",
  15482. "type": "string"
  15483. }
  15484. }
  15485. },
  15486. "ermcp.PendingAuditCntRsp": {
  15487. "type": "object",
  15488. "properties": {
  15489. "areastockqty": {
  15490. "description": "待审核数量: 库存申请",
  15491. "type": "integer"
  15492. },
  15493. "businessdjqty": {
  15494. "description": "待审核数量: 点价",
  15495. "type": "integer"
  15496. },
  15497. "businessfpqty": {
  15498. "description": "待审核数量: 发票",
  15499. "type": "integer"
  15500. },
  15501. "businessjsqty": {
  15502. "description": "待审核数量: 结算",
  15503. "type": "integer"
  15504. },
  15505. "businesskxqty": {
  15506. "description": "待审核数量: 款项",
  15507. "type": "integer"
  15508. },
  15509. "hedgeplanqty": {
  15510. "description": "待审核数量: 套保计划",
  15511. "type": "integer"
  15512. },
  15513. "spotcontractqty": {
  15514. "description": "待审核数量: 现货合同",
  15515. "type": "integer"
  15516. },
  15517. "userqty": {
  15518. "description": "待审核数量: 用户",
  15519. "type": "integer"
  15520. }
  15521. }
  15522. },
  15523. "ermcp.QryAvalidGPRsp": {
  15524. "type": "object",
  15525. "properties": {
  15526. "goodsgroupid": {
  15527. "description": "期货品种id",
  15528. "type": "integer"
  15529. },
  15530. "goodsgroupname": {
  15531. "description": "期货品种名称",
  15532. "type": "string"
  15533. },
  15534. "goodunitid": {
  15535. "description": "品种单位id",
  15536. "type": "integer"
  15537. },
  15538. "goodunitname": {
  15539. "description": "品种单位名称",
  15540. "type": "string"
  15541. },
  15542. "outergroupcode": {
  15543. "description": "期货品种代码",
  15544. "type": "string"
  15545. }
  15546. }
  15547. },
  15548. "ermcp.QryBusinessDjRsp": {
  15549. "type": "object",
  15550. "properties": {
  15551. "amount": {
  15552. "description": "点价金额=(点价价格+升贴水)*点价数量",
  15553. "type": "number"
  15554. },
  15555. "applyid": {
  15556. "description": "申请人",
  15557. "type": "string"
  15558. },
  15559. "applyname": {
  15560. "description": "申请人名称",
  15561. "type": "string"
  15562. },
  15563. "applystatus": {
  15564. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15565. "type": "integer"
  15566. },
  15567. "applytime": {
  15568. "description": "申请时间",
  15569. "type": "string"
  15570. },
  15571. "attachurl": {
  15572. "description": "附件",
  15573. "type": "string"
  15574. },
  15575. "auditid": {
  15576. "description": "审核人ID",
  15577. "type": "string"
  15578. },
  15579. "auditname": {
  15580. "description": "审核人名称",
  15581. "type": "string"
  15582. },
  15583. "audittime": {
  15584. "description": "审核时间",
  15585. "type": "string"
  15586. },
  15587. "buyusername": {
  15588. "description": "采购方名称",
  15589. "type": "string"
  15590. },
  15591. "contractno": {
  15592. "description": "合同编号",
  15593. "type": "string"
  15594. },
  15595. "contractstatus": {
  15596. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15597. "type": "integer"
  15598. },
  15599. "contracttype": {
  15600. "description": "现货合同类型 - 1:采购 -1:销售",
  15601. "type": "integer"
  15602. },
  15603. "deliverygoodscode": {
  15604. "description": "现货品种代码",
  15605. "type": "string"
  15606. },
  15607. "deliverygoodsid": {
  15608. "description": "现货商品ID",
  15609. "type": "integer"
  15610. },
  15611. "deliverygoodsname": {
  15612. "description": "现货品种名称",
  15613. "type": "string"
  15614. },
  15615. "enumdicname": {
  15616. "description": "单位名称",
  15617. "type": "string"
  15618. },
  15619. "goodscode": {
  15620. "description": "点价合约",
  15621. "type": "string"
  15622. },
  15623. "goodsname": {
  15624. "description": "商品名称",
  15625. "type": "string"
  15626. },
  15627. "operateapplyid": {
  15628. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15629. "type": "string"
  15630. },
  15631. "operateapplytype": {
  15632. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15633. "type": "integer"
  15634. },
  15635. "pricedPrice": {
  15636. "description": "点价价格(非必填)",
  15637. "type": "number"
  15638. },
  15639. "pricedQty": {
  15640. "description": "点价数量(非必填)",
  15641. "type": "number"
  15642. },
  15643. "pricemove": {
  15644. "description": "升贴水",
  15645. "type": "number"
  15646. },
  15647. "pricetype": {
  15648. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15649. "type": "integer"
  15650. },
  15651. "relatedid": {
  15652. "description": "现货合同ID",
  15653. "type": "string"
  15654. },
  15655. "sellusername": {
  15656. "description": "销售方名字",
  15657. "type": "string"
  15658. },
  15659. "userid": {
  15660. "description": "用户ID",
  15661. "type": "integer"
  15662. },
  15663. "wrstandardcode": {
  15664. "description": "品类代码",
  15665. "type": "string"
  15666. },
  15667. "wrstandardid": {
  15668. "description": "品类id",
  15669. "type": "integer"
  15670. },
  15671. "wrstandardname": {
  15672. "description": "品类名称",
  15673. "type": "string"
  15674. }
  15675. }
  15676. },
  15677. "ermcp.QryBussinessFpRsp": {
  15678. "type": "object",
  15679. "properties": {
  15680. "applyid": {
  15681. "description": "申请人",
  15682. "type": "string"
  15683. },
  15684. "applyname": {
  15685. "description": "申请人名称",
  15686. "type": "string"
  15687. },
  15688. "applystatus": {
  15689. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15690. "type": "integer"
  15691. },
  15692. "applytime": {
  15693. "description": "申请时间",
  15694. "type": "string"
  15695. },
  15696. "attachurl": {
  15697. "description": "附件",
  15698. "type": "string"
  15699. },
  15700. "auditid": {
  15701. "description": "审核人ID",
  15702. "type": "string"
  15703. },
  15704. "auditname": {
  15705. "description": "审核人名称",
  15706. "type": "string"
  15707. },
  15708. "audittime": {
  15709. "description": "审核时间",
  15710. "type": "string"
  15711. },
  15712. "buyusername": {
  15713. "description": "采购方名称",
  15714. "type": "string"
  15715. },
  15716. "contractno": {
  15717. "description": "合同编号",
  15718. "type": "string"
  15719. },
  15720. "contractstatus": {
  15721. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15722. "type": "integer"
  15723. },
  15724. "contracttype": {
  15725. "description": "现货合同类型 - 1:采购 -1:销售",
  15726. "type": "integer"
  15727. },
  15728. "deliverygoodscode": {
  15729. "description": "现货品种代码",
  15730. "type": "string"
  15731. },
  15732. "deliverygoodsid": {
  15733. "description": "现货商品ID",
  15734. "type": "integer"
  15735. },
  15736. "deliverygoodsname": {
  15737. "description": "现货品种名称",
  15738. "type": "string"
  15739. },
  15740. "enumdicname": {
  15741. "description": "单位名称",
  15742. "type": "string"
  15743. },
  15744. "goodscode": {
  15745. "description": "点价合约",
  15746. "type": "string"
  15747. },
  15748. "goodsname": {
  15749. "description": "商品名称",
  15750. "type": "string"
  15751. },
  15752. "invoiceAmount": {
  15753. "description": "已开收票金额(销售为开票,采购为收票)",
  15754. "type": "number"
  15755. },
  15756. "operateapplyid": {
  15757. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15758. "type": "string"
  15759. },
  15760. "operateapplytype": {
  15761. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15762. "type": "integer"
  15763. },
  15764. "pricemove": {
  15765. "description": "升贴水",
  15766. "type": "number"
  15767. },
  15768. "pricetype": {
  15769. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15770. "type": "integer"
  15771. },
  15772. "relatedid": {
  15773. "description": "现货合同ID",
  15774. "type": "string"
  15775. },
  15776. "sellusername": {
  15777. "description": "销售方名字",
  15778. "type": "string"
  15779. },
  15780. "userid": {
  15781. "description": "用户ID",
  15782. "type": "integer"
  15783. },
  15784. "wrstandardcode": {
  15785. "description": "品类代码",
  15786. "type": "string"
  15787. },
  15788. "wrstandardid": {
  15789. "description": "品类id",
  15790. "type": "integer"
  15791. },
  15792. "wrstandardname": {
  15793. "description": "品类名称",
  15794. "type": "string"
  15795. }
  15796. }
  15797. },
  15798. "ermcp.QryBussinessJsExRsp": {
  15799. "type": "object",
  15800. "properties": {
  15801. "applyid": {
  15802. "description": "申请人",
  15803. "type": "string"
  15804. },
  15805. "applyname": {
  15806. "description": "申请人名称",
  15807. "type": "string"
  15808. },
  15809. "applystatus": {
  15810. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15811. "type": "integer"
  15812. },
  15813. "applytime": {
  15814. "description": "申请时间",
  15815. "type": "string"
  15816. },
  15817. "attachurl": {
  15818. "description": "附件",
  15819. "type": "string"
  15820. },
  15821. "auditid": {
  15822. "description": "审核人ID",
  15823. "type": "string"
  15824. },
  15825. "auditname": {
  15826. "description": "审核人名称",
  15827. "type": "string"
  15828. },
  15829. "audittime": {
  15830. "description": "审核时间",
  15831. "type": "string"
  15832. },
  15833. "buyusername": {
  15834. "description": "采购方名称",
  15835. "type": "string"
  15836. },
  15837. "contractno": {
  15838. "description": "合同编号",
  15839. "type": "string"
  15840. },
  15841. "contractstatus": {
  15842. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15843. "type": "integer"
  15844. },
  15845. "contracttype": {
  15846. "description": "现货合同类型 - 1:采购 -1:销售",
  15847. "type": "integer"
  15848. },
  15849. "deliverygoodscode": {
  15850. "description": "现货品种代码",
  15851. "type": "string"
  15852. },
  15853. "deliverygoodsid": {
  15854. "description": "现货商品ID",
  15855. "type": "integer"
  15856. },
  15857. "deliverygoodsname": {
  15858. "description": "现货品种名称",
  15859. "type": "string"
  15860. },
  15861. "enumdicname": {
  15862. "description": "单位名称",
  15863. "type": "string"
  15864. },
  15865. "goodscode": {
  15866. "description": "点价合约",
  15867. "type": "string"
  15868. },
  15869. "goodsname": {
  15870. "description": "商品名称",
  15871. "type": "string"
  15872. },
  15873. "operateapplyid": {
  15874. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15875. "type": "string"
  15876. },
  15877. "operateapplytype": {
  15878. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15879. "type": "integer"
  15880. },
  15881. "pricemove": {
  15882. "description": "升贴水",
  15883. "type": "number"
  15884. },
  15885. "pricetype": {
  15886. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15887. "type": "integer"
  15888. },
  15889. "reckontype": {
  15890. "description": "结算类型",
  15891. "type": "string"
  15892. },
  15893. "reckonvalue": {
  15894. "description": "值",
  15895. "type": "number"
  15896. },
  15897. "relatedid": {
  15898. "description": "现货合同ID",
  15899. "type": "string"
  15900. },
  15901. "sellusername": {
  15902. "description": "销售方名字",
  15903. "type": "string"
  15904. },
  15905. "userid": {
  15906. "description": "用户ID",
  15907. "type": "integer"
  15908. },
  15909. "wrstandardcode": {
  15910. "description": "品类代码",
  15911. "type": "string"
  15912. },
  15913. "wrstandardid": {
  15914. "description": "品类id",
  15915. "type": "integer"
  15916. },
  15917. "wrstandardname": {
  15918. "description": "品类名称",
  15919. "type": "string"
  15920. }
  15921. }
  15922. },
  15923. "ermcp.QryBussinessJsRsp": {
  15924. "type": "object",
  15925. "properties": {
  15926. "addmargin": {
  15927. "description": "追加保证金(非必填)",
  15928. "type": "number"
  15929. },
  15930. "applyid": {
  15931. "description": "申请人",
  15932. "type": "string"
  15933. },
  15934. "applyname": {
  15935. "description": "申请人名称",
  15936. "type": "string"
  15937. },
  15938. "applystatus": {
  15939. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15940. "type": "integer"
  15941. },
  15942. "applytime": {
  15943. "description": "申请时间",
  15944. "type": "string"
  15945. },
  15946. "attachurl": {
  15947. "description": "附件",
  15948. "type": "string"
  15949. },
  15950. "auditid": {
  15951. "description": "审核人ID",
  15952. "type": "string"
  15953. },
  15954. "auditname": {
  15955. "description": "审核人名称",
  15956. "type": "string"
  15957. },
  15958. "audittime": {
  15959. "description": "审核时间",
  15960. "type": "string"
  15961. },
  15962. "buyusername": {
  15963. "description": "采购方名称",
  15964. "type": "string"
  15965. },
  15966. "contractno": {
  15967. "description": "合同编号",
  15968. "type": "string"
  15969. },
  15970. "contractstatus": {
  15971. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15972. "type": "integer"
  15973. },
  15974. "contracttype": {
  15975. "description": "现货合同类型 - 1:采购 -1:销售",
  15976. "type": "integer"
  15977. },
  15978. "decmargin": {
  15979. "description": "减少保证金(非必填)",
  15980. "type": "number"
  15981. },
  15982. "deliverygoodscode": {
  15983. "description": "现货品种代码",
  15984. "type": "string"
  15985. },
  15986. "deliverygoodsid": {
  15987. "description": "现货商品ID",
  15988. "type": "integer"
  15989. },
  15990. "deliverygoodsname": {
  15991. "description": "现货品种名称",
  15992. "type": "string"
  15993. },
  15994. "enumdicname": {
  15995. "description": "单位名称",
  15996. "type": "string"
  15997. },
  15998. "goodscode": {
  15999. "description": "点价合约",
  16000. "type": "string"
  16001. },
  16002. "goodsname": {
  16003. "description": "商品名称",
  16004. "type": "string"
  16005. },
  16006. "operateapplyid": {
  16007. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16008. "type": "string"
  16009. },
  16010. "operateapplytype": {
  16011. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16012. "type": "integer"
  16013. },
  16014. "pricemove": {
  16015. "description": "升贴水",
  16016. "type": "number"
  16017. },
  16018. "pricetype": {
  16019. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16020. "type": "integer"
  16021. },
  16022. "reckonadjustamount": {
  16023. "description": "结算调整金额(非必填)",
  16024. "type": "number"
  16025. },
  16026. "reckonosamount": {
  16027. "description": "结算溢短金额(非必填)",
  16028. "type": "number"
  16029. },
  16030. "reckonotheramount": {
  16031. "description": "结算其他费用(非必填)",
  16032. "type": "number"
  16033. },
  16034. "reckonrealqty": {
  16035. "description": "结算实际数量(非必填)",
  16036. "type": "number"
  16037. },
  16038. "relatedid": {
  16039. "description": "现货合同ID",
  16040. "type": "string"
  16041. },
  16042. "sellusername": {
  16043. "description": "销售方名字",
  16044. "type": "string"
  16045. },
  16046. "userid": {
  16047. "description": "用户ID",
  16048. "type": "integer"
  16049. },
  16050. "wrstandardcode": {
  16051. "description": "品类代码",
  16052. "type": "string"
  16053. },
  16054. "wrstandardid": {
  16055. "description": "品类id",
  16056. "type": "integer"
  16057. },
  16058. "wrstandardname": {
  16059. "description": "品类名称",
  16060. "type": "string"
  16061. }
  16062. }
  16063. },
  16064. "ermcp.QryBussinessKxRsp": {
  16065. "type": "object",
  16066. "properties": {
  16067. "applyid": {
  16068. "description": "申请人",
  16069. "type": "string"
  16070. },
  16071. "applyname": {
  16072. "description": "申请人名称",
  16073. "type": "string"
  16074. },
  16075. "applystatus": {
  16076. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16077. "type": "integer"
  16078. },
  16079. "applytime": {
  16080. "description": "申请时间",
  16081. "type": "string"
  16082. },
  16083. "attachurl": {
  16084. "description": "附件",
  16085. "type": "string"
  16086. },
  16087. "auditid": {
  16088. "description": "审核人ID",
  16089. "type": "string"
  16090. },
  16091. "auditname": {
  16092. "description": "审核人名称",
  16093. "type": "string"
  16094. },
  16095. "audittime": {
  16096. "description": "审核时间",
  16097. "type": "string"
  16098. },
  16099. "buyusername": {
  16100. "description": "采购方名称",
  16101. "type": "string"
  16102. },
  16103. "contractno": {
  16104. "description": "合同编号",
  16105. "type": "string"
  16106. },
  16107. "contractstatus": {
  16108. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16109. "type": "integer"
  16110. },
  16111. "contracttype": {
  16112. "description": "现货合同类型 - 1:采购 -1:销售",
  16113. "type": "integer"
  16114. },
  16115. "deductamount": {
  16116. "description": "退款(非必填)",
  16117. "type": "number"
  16118. },
  16119. "deliverygoodscode": {
  16120. "description": "现货品种代码",
  16121. "type": "string"
  16122. },
  16123. "deliverygoodsid": {
  16124. "description": "现货商品ID",
  16125. "type": "integer"
  16126. },
  16127. "deliverygoodsname": {
  16128. "description": "现货品种名称",
  16129. "type": "string"
  16130. },
  16131. "enumdicname": {
  16132. "description": "单位名称",
  16133. "type": "string"
  16134. },
  16135. "goodscode": {
  16136. "description": "点价合约",
  16137. "type": "string"
  16138. },
  16139. "goodsname": {
  16140. "description": "商品名称",
  16141. "type": "string"
  16142. },
  16143. "kxtype": {
  16144. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  16145. "type": "integer"
  16146. },
  16147. "operateapplyid": {
  16148. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16149. "type": "string"
  16150. },
  16151. "operateapplytype": {
  16152. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16153. "type": "integer"
  16154. },
  16155. "payamount": {
  16156. "description": "收付款(非必填)",
  16157. "type": "number"
  16158. },
  16159. "pricemove": {
  16160. "description": "升贴水",
  16161. "type": "number"
  16162. },
  16163. "pricetype": {
  16164. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16165. "type": "integer"
  16166. },
  16167. "relatedid": {
  16168. "description": "现货合同ID",
  16169. "type": "string"
  16170. },
  16171. "sellusername": {
  16172. "description": "销售方名字",
  16173. "type": "string"
  16174. },
  16175. "userid": {
  16176. "description": "用户ID",
  16177. "type": "integer"
  16178. },
  16179. "wrstandardcode": {
  16180. "description": "品类代码",
  16181. "type": "string"
  16182. },
  16183. "wrstandardid": {
  16184. "description": "品类id",
  16185. "type": "integer"
  16186. },
  16187. "wrstandardname": {
  16188. "description": "品类名称",
  16189. "type": "string"
  16190. }
  16191. }
  16192. },
  16193. "ermcp.QryGGCovertCfgRsp": {
  16194. "type": "object",
  16195. "properties": {
  16196. "convertratio": {
  16197. "description": "折算系数",
  16198. "type": "number"
  16199. },
  16200. "destgoodsgroupid": {
  16201. "description": "目标品种ID",
  16202. "type": "integer"
  16203. },
  16204. "dstcode": {
  16205. "description": "目录品种代码",
  16206. "type": "string"
  16207. },
  16208. "dstexchangecode": {
  16209. "description": "目标期货交易所",
  16210. "type": "string"
  16211. },
  16212. "dstname": {
  16213. "description": "目标品种名称",
  16214. "type": "string"
  16215. },
  16216. "dstunitid": {
  16217. "description": "目标品种单位ID",
  16218. "type": "integer"
  16219. },
  16220. "dstunitidname": {
  16221. "description": "目标品种单位名称",
  16222. "type": "string"
  16223. },
  16224. "modifytime": {
  16225. "description": "修改时间",
  16226. "type": "string"
  16227. },
  16228. "srccode": {
  16229. "description": "源品种代码",
  16230. "type": "string"
  16231. },
  16232. "srcexchangecode": {
  16233. "description": "源期货交易所",
  16234. "type": "string"
  16235. },
  16236. "srcgoodsgroupid": {
  16237. "description": "源品种ID",
  16238. "type": "integer"
  16239. },
  16240. "srcname": {
  16241. "description": "源品种名称",
  16242. "type": "string"
  16243. },
  16244. "srcunitid": {
  16245. "description": "源品种单位ID",
  16246. "type": "integer"
  16247. },
  16248. "srcunitidname": {
  16249. "description": "源品种单位名称",
  16250. "type": "string"
  16251. }
  16252. }
  16253. },
  16254. "ermcp.QryMGChangeLogRsp": {
  16255. "type": "object",
  16256. "properties": {
  16257. "aftervalue": {
  16258. "description": "变更后",
  16259. "type": "number"
  16260. },
  16261. "applyid": {
  16262. "description": "操作人",
  16263. "type": "integer"
  16264. },
  16265. "applyname": {
  16266. "description": "操作人名称",
  16267. "type": "string"
  16268. },
  16269. "applysrc": {
  16270. "description": "操作来源 - 1:管理端 2:终端",
  16271. "type": "integer"
  16272. },
  16273. "beforevalue": {
  16274. "description": "变更前",
  16275. "type": "number"
  16276. },
  16277. "changelogtype": {
  16278. "description": "变更流水类型 - 1:套保比率变更",
  16279. "type": "integer"
  16280. },
  16281. "handlestatus": {
  16282. "description": "处理状态",
  16283. "type": "integer"
  16284. },
  16285. "logdatetime": {
  16286. "description": "流水日期",
  16287. "type": "string"
  16288. },
  16289. "logid": {
  16290. "description": "流水ID",
  16291. "type": "integer"
  16292. },
  16293. "logremark": {
  16294. "description": "流水备注",
  16295. "type": "string"
  16296. },
  16297. "middlegoodsid": {
  16298. "description": "套保品种ID",
  16299. "type": "integer"
  16300. },
  16301. "tradedate": {
  16302. "description": "交易日(yyyyMMdd)",
  16303. "type": "string"
  16304. },
  16305. "updatetime": {
  16306. "description": "更新时间",
  16307. "type": "string"
  16308. }
  16309. }
  16310. },
  16311. "ermcp.QryMiddleGoodsDetailRsp": {
  16312. "type": "object",
  16313. "properties": {
  16314. "cvList": {
  16315. "description": "期货品种折算列表",
  16316. "type": "array",
  16317. "items": {
  16318. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16319. }
  16320. },
  16321. "mg": {
  16322. "description": "套保品种基本信息",
  16323. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16324. },
  16325. "wrcList": {
  16326. "description": "现货品种列表(现货商品折算配置)",
  16327. "type": "array",
  16328. "items": {
  16329. "$ref": "#/definitions/models.WRSConverTDetail"
  16330. }
  16331. }
  16332. }
  16333. },
  16334. "ermcp.QryMiddleGoodsRsp": {
  16335. "type": "object",
  16336. "properties": {
  16337. "areauserid": {
  16338. "description": "机构用户ID",
  16339. "type": "integer"
  16340. },
  16341. "createtime": {
  16342. "description": "修改时间",
  16343. "type": "string"
  16344. },
  16345. "enumdicname": {
  16346. "description": "单位名称",
  16347. "type": "string"
  16348. },
  16349. "evaluateratio": {
  16350. "description": "估价系数",
  16351. "type": "number"
  16352. },
  16353. "goodsgroupid": {
  16354. "description": "关联期货品种ID",
  16355. "type": "integer"
  16356. },
  16357. "goodsunitid": {
  16358. "description": "单位ID",
  16359. "type": "integer"
  16360. },
  16361. "isvalid": {
  16362. "description": "状态 0-无效(停用) 1-有效(正常)",
  16363. "type": "integer"
  16364. },
  16365. "middlegoodscode": {
  16366. "description": "套保品种代码",
  16367. "type": "string"
  16368. },
  16369. "middlegoodsid": {
  16370. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16371. "type": "integer"
  16372. },
  16373. "middlegoodsname": {
  16374. "description": "套保品种名称",
  16375. "type": "string"
  16376. },
  16377. "modifytime": {
  16378. "description": "修改时间",
  16379. "type": "string"
  16380. },
  16381. "needarbitrageratio": {
  16382. "description": "套利比例",
  16383. "type": "number"
  16384. },
  16385. "needhedgeratio": {
  16386. "description": "套保比率",
  16387. "type": "number"
  16388. },
  16389. "qtydecimalplace": {
  16390. "description": "数量小数位",
  16391. "type": "integer"
  16392. },
  16393. "relatedgoodsid": {
  16394. "description": "关联交易商品ID",
  16395. "type": "integer"
  16396. },
  16397. "relatedgoodstype": {
  16398. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16399. "type": "integer"
  16400. },
  16401. "remark": {
  16402. "description": "备注",
  16403. "type": "string"
  16404. }
  16405. }
  16406. },
  16407. "ermcp.QryOPLogRsp": {
  16408. "type": "object",
  16409. "properties": {
  16410. "aftervalue": {
  16411. "description": "变更后",
  16412. "type": "number"
  16413. },
  16414. "applyid": {
  16415. "description": "操作人ID",
  16416. "type": "string"
  16417. },
  16418. "applyname": {
  16419. "description": "操作人名称",
  16420. "type": "string"
  16421. },
  16422. "beforevalue": {
  16423. "description": "变更前",
  16424. "type": "number"
  16425. },
  16426. "biztype": {
  16427. "description": "业务类型 - 1:套保计划 2:现货合同",
  16428. "type": "integer"
  16429. },
  16430. "contracttype": {
  16431. "description": "现货合同类型 - 1:采购 -1:销售",
  16432. "type": "integer"
  16433. },
  16434. "logvalue": {
  16435. "description": "数值",
  16436. "type": "number"
  16437. },
  16438. "operatelogtype": {
  16439. "description": "操作流水类型",
  16440. "type": "integer"
  16441. },
  16442. "operatelogtypedesc": {
  16443. "description": "操作流水类型名称",
  16444. "type": "string"
  16445. },
  16446. "relatedid": {
  16447. "description": "现货合同ID\\套保计划",
  16448. "type": "string"
  16449. },
  16450. "updatetime": {
  16451. "description": "更新时间",
  16452. "type": "string"
  16453. }
  16454. }
  16455. },
  16456. "ermcp.QryUserInfoRsp": {
  16457. "type": "object",
  16458. "properties": {
  16459. "address": {
  16460. "description": "通讯地址",
  16461. "type": "string"
  16462. },
  16463. "attachment1": {
  16464. "description": "附件1",
  16465. "type": "string"
  16466. },
  16467. "audittime": {
  16468. "description": "审核时间",
  16469. "type": "string"
  16470. },
  16471. "cardbackphotourl": {
  16472. "description": "证件反面图片地址",
  16473. "type": "string"
  16474. },
  16475. "cardfrontphotourl": {
  16476. "description": "证件正面图片地址",
  16477. "type": "string"
  16478. },
  16479. "cardnum": {
  16480. "description": "证件号码",
  16481. "type": "string"
  16482. },
  16483. "cardtype": {
  16484. "description": "证件类型",
  16485. "type": "integer"
  16486. },
  16487. "cardtypename": {
  16488. "description": "证件类型名称",
  16489. "type": "string"
  16490. },
  16491. "cityid": {
  16492. "description": "市",
  16493. "type": "integer"
  16494. },
  16495. "contactname": {
  16496. "description": "联系人",
  16497. "type": "string"
  16498. },
  16499. "countryid": {
  16500. "description": "国家",
  16501. "type": "integer"
  16502. },
  16503. "createtime": {
  16504. "description": "创建时间",
  16505. "type": "string"
  16506. },
  16507. "customername": {
  16508. "description": "企业名称",
  16509. "type": "string"
  16510. },
  16511. "districtid": {
  16512. "description": "区域",
  16513. "type": "integer"
  16514. },
  16515. "email": {
  16516. "description": "邮件",
  16517. "type": "string"
  16518. },
  16519. "legalpersonname": {
  16520. "description": "法人姓名(企业)",
  16521. "type": "string"
  16522. },
  16523. "memberuserid": {
  16524. "description": "所属机构ID",
  16525. "type": "integer"
  16526. },
  16527. "mobile": {
  16528. "description": "手机号码",
  16529. "type": "string"
  16530. },
  16531. "modifytime": {
  16532. "description": "修改时间",
  16533. "type": "string"
  16534. },
  16535. "nickname": {
  16536. "description": "昵称",
  16537. "type": "string"
  16538. },
  16539. "provinceid": {
  16540. "description": "省",
  16541. "type": "integer"
  16542. },
  16543. "remark": {
  16544. "description": "备注",
  16545. "type": "string"
  16546. },
  16547. "status": {
  16548. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16549. "type": "integer"
  16550. },
  16551. "statusdesc": {
  16552. "description": "账户状态中文描述",
  16553. "type": "string"
  16554. },
  16555. "taxpayernum": {
  16556. "description": "纳税人识别号",
  16557. "type": "string"
  16558. },
  16559. "telphone": {
  16560. "description": "联系电话",
  16561. "type": "string"
  16562. },
  16563. "userid": {
  16564. "description": "用户ID",
  16565. "type": "integer"
  16566. },
  16567. "userinfotype": {
  16568. "description": "客户类型",
  16569. "type": "string"
  16570. }
  16571. }
  16572. },
  16573. "ermcp.QryWarehouseRsp": {
  16574. "type": "object",
  16575. "properties": {
  16576. "address": {
  16577. "description": "详细地址",
  16578. "type": "string"
  16579. },
  16580. "areauserid": {
  16581. "description": "所属机构",
  16582. "type": "integer"
  16583. },
  16584. "autoid": {
  16585. "description": "自增ID(仓库ID)",
  16586. "type": "integer"
  16587. },
  16588. "cityid": {
  16589. "description": "市",
  16590. "type": "integer"
  16591. },
  16592. "contactname": {
  16593. "description": "联系人",
  16594. "type": "string"
  16595. },
  16596. "contactnum": {
  16597. "description": "联系电话",
  16598. "type": "string"
  16599. },
  16600. "countryid": {
  16601. "description": "国家",
  16602. "type": "integer"
  16603. },
  16604. "createtime": {
  16605. "description": "创建时间",
  16606. "type": "string"
  16607. },
  16608. "districtid": {
  16609. "description": "区",
  16610. "type": "integer"
  16611. },
  16612. "hasvideo": {
  16613. "description": "是否有视频 - 0:无 1:有",
  16614. "type": "integer"
  16615. },
  16616. "provinceid": {
  16617. "description": "省",
  16618. "type": "integer"
  16619. },
  16620. "remark": {
  16621. "description": "审核备注",
  16622. "type": "string"
  16623. },
  16624. "videourl": {
  16625. "description": "视频地址",
  16626. "type": "string"
  16627. },
  16628. "warehousecode": {
  16629. "description": "仓库代码",
  16630. "type": "string"
  16631. },
  16632. "warehousename": {
  16633. "description": "仓库名称",
  16634. "type": "string"
  16635. },
  16636. "warehousestatus": {
  16637. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16638. "type": "integer"
  16639. },
  16640. "warehousetype": {
  16641. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16642. "type": "integer"
  16643. }
  16644. }
  16645. },
  16646. "ermcp.QueryErmcpTradePositionRsp": {
  16647. "type": "object",
  16648. "properties": {
  16649. "agreeunit": {
  16650. "description": "合约单位",
  16651. "type": "number"
  16652. },
  16653. "buyorsell": {
  16654. "description": "方向 - 0:买 1:卖",
  16655. "type": "integer"
  16656. },
  16657. "curpositionqty": {
  16658. "description": "持仓(总仓数量, 期末头寸)",
  16659. "type": "integer"
  16660. },
  16661. "curtdposition": {
  16662. "description": "今仓数量(期末今日头寸)",
  16663. "type": "integer"
  16664. },
  16665. "curtdpositionenabled": {
  16666. "description": "今仓可用",
  16667. "type": "integer"
  16668. },
  16669. "decimalplace": {
  16670. "description": "报价小数位",
  16671. "type": "integer"
  16672. },
  16673. "enableqty": {
  16674. "description": "可用(总仓可用)",
  16675. "type": "integer"
  16676. },
  16677. "exexchangename": {
  16678. "description": "外部交易所名称",
  16679. "type": "string"
  16680. },
  16681. "goodscode": {
  16682. "description": "商品代码(内部)",
  16683. "type": "string"
  16684. },
  16685. "goodsid": {
  16686. "description": "商品ID(自增ID SEQ_GOODS)",
  16687. "type": "integer"
  16688. },
  16689. "goodsname": {
  16690. "description": "商品名称",
  16691. "type": "string"
  16692. },
  16693. "last": {
  16694. "description": "现价",
  16695. "type": "number"
  16696. },
  16697. "marketid": {
  16698. "description": "所属市场ID",
  16699. "type": "integer"
  16700. },
  16701. "openaverageprice": {
  16702. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  16703. "type": "number"
  16704. },
  16705. "opencost": {
  16706. "description": "开仓成本",
  16707. "type": "number"
  16708. },
  16709. "openpl": {
  16710. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16711. "type": "number"
  16712. },
  16713. "outgoodscode": {
  16714. "description": "商品代码(外部)",
  16715. "type": "string"
  16716. },
  16717. "positionaverageprice": {
  16718. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  16719. "type": "number"
  16720. },
  16721. "positioncost": {
  16722. "description": "持仓成本",
  16723. "type": "number"
  16724. },
  16725. "positionpl": {
  16726. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16727. "type": "number"
  16728. },
  16729. "positionplrate": {
  16730. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  16731. "type": "number"
  16732. },
  16733. "usedmargin": {
  16734. "description": "占用保证金",
  16735. "type": "number"
  16736. }
  16737. }
  16738. },
  16739. "ermcp.RealtimeExposurePositionRsp": {
  16740. "type": "object",
  16741. "properties": {
  16742. "agreeunit": {
  16743. "description": "合约单位",
  16744. "type": "string"
  16745. },
  16746. "areauserid": {
  16747. "description": "所属机构id",
  16748. "type": "integer"
  16749. },
  16750. "convertratio": {
  16751. "description": "期货品种系数(折算系数)",
  16752. "type": "number"
  16753. },
  16754. "curqty": {
  16755. "description": "当前持仓",
  16756. "type": "integer"
  16757. },
  16758. "diffhedgeqty": {
  16759. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  16760. "type": "number"
  16761. },
  16762. "diffqty": {
  16763. "description": "持仓变动量=当前持仓-昨日持仓",
  16764. "type": "integer"
  16765. },
  16766. "goodscode": {
  16767. "description": "商品代码",
  16768. "type": "string"
  16769. },
  16770. "goodsid": {
  16771. "description": "商品id",
  16772. "type": "integer"
  16773. },
  16774. "goodsname": {
  16775. "description": "商品名称",
  16776. "type": "string"
  16777. },
  16778. "middlegoodsid": {
  16779. "description": "套保商品id",
  16780. "type": "integer"
  16781. },
  16782. "ydqty": {
  16783. "description": "昨日持仓",
  16784. "type": "integer"
  16785. }
  16786. }
  16787. },
  16788. "ermcp.RealtimeExposureRsp": {
  16789. "type": "object",
  16790. "properties": {
  16791. "AreaUserID": {
  16792. "description": "所属机构",
  16793. "type": "integer"
  16794. },
  16795. "BuyFutureQty": {
  16796. "description": "买入期货数量",
  16797. "type": "number"
  16798. },
  16799. "BuyPlanQty": {
  16800. "description": "采购计划数量",
  16801. "type": "number"
  16802. },
  16803. "BuyPricedQty": {
  16804. "description": "采购合同已定价数量",
  16805. "type": "number"
  16806. },
  16807. "MiddleGoodsCode": {
  16808. "description": "套保品种代码",
  16809. "type": "string"
  16810. },
  16811. "MiddleGoodsHedgeRatio": {
  16812. "description": "套保比例",
  16813. "type": "number"
  16814. },
  16815. "MiddleGoodsID": {
  16816. "description": "套保品种",
  16817. "type": "integer"
  16818. },
  16819. "MiddleGoodsName": {
  16820. "description": "套保品种名称",
  16821. "type": "string"
  16822. },
  16823. "NeedHedgeExposoure": {
  16824. "description": "应套保敞口(套保敞口)",
  16825. "type": "number"
  16826. },
  16827. "NeedHedgeRatio": {
  16828. "description": "应套保敞口比例",
  16829. "type": "number"
  16830. },
  16831. "OriBuyFutureQty": {
  16832. "description": "期初买入期货数量",
  16833. "type": "number"
  16834. },
  16835. "OriBuyPlanQty": {
  16836. "description": "期初采购计划数量",
  16837. "type": "number"
  16838. },
  16839. "OriBuyPricedQty": {
  16840. "description": "期初采购合同已定价数量",
  16841. "type": "number"
  16842. },
  16843. "OriSellFutureQty": {
  16844. "description": "期初卖出期货数量",
  16845. "type": "number"
  16846. },
  16847. "OriSellPlanQty": {
  16848. "description": "期初销售计划数量",
  16849. "type": "number"
  16850. },
  16851. "OriSellPricedQty": {
  16852. "description": "期初销售合同已定价数量",
  16853. "type": "number"
  16854. },
  16855. "SellFutureQty": {
  16856. "description": "卖出期货数量",
  16857. "type": "number"
  16858. },
  16859. "SellPlanQty": {
  16860. "description": "销售计划数量",
  16861. "type": "number"
  16862. },
  16863. "SellPricedQty": {
  16864. "description": "销售合同已定价数量",
  16865. "type": "number"
  16866. },
  16867. "TotalExposure": {
  16868. "description": "总敞口 平安:净敞口",
  16869. "type": "number"
  16870. },
  16871. "TotalFutureQty": {
  16872. "description": "期货总量 平安:保值净持仓量",
  16873. "type": "number"
  16874. },
  16875. "TotalHedgeRatio": {
  16876. "description": "敞口比例",
  16877. "type": "number"
  16878. },
  16879. "TotalNeedHedgeQty": {
  16880. "description": "应套保总量(现货应套保总量)",
  16881. "type": "number"
  16882. },
  16883. "TotalSpotQty": {
  16884. "description": "现货总量 平安:采销定价净值",
  16885. "type": "number"
  16886. },
  16887. "arbitrageqty": {
  16888. "description": "套利量",
  16889. "type": "number"
  16890. },
  16891. "diffArbitrageQty": {
  16892. "description": "套利变动量",
  16893. "type": "number"
  16894. },
  16895. "diffExposoureQty": {
  16896. "description": "变动量(套保敞口)",
  16897. "type": "number"
  16898. },
  16899. "diffFutuQty": {
  16900. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  16901. "type": "number"
  16902. },
  16903. "diffHedgeQty": {
  16904. "description": "套保变动量",
  16905. "type": "number"
  16906. },
  16907. "diffQty": {
  16908. "description": "变动量(总敞口) 平安:净敞口今日变动",
  16909. "type": "number"
  16910. },
  16911. "diffSpotHedgeQty": {
  16912. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  16913. "type": "number"
  16914. },
  16915. "diffSpotQty": {
  16916. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  16917. "type": "number"
  16918. },
  16919. "enumdicname": {
  16920. "description": "单位名称",
  16921. "type": "string"
  16922. },
  16923. "hedgeqty": {
  16924. "description": "套保量",
  16925. "type": "number"
  16926. },
  16927. "needarbitrageqty": {
  16928. "description": "应套利量",
  16929. "type": "number"
  16930. },
  16931. "needarbitrageratio": {
  16932. "description": "套利比例",
  16933. "type": "number"
  16934. },
  16935. "needhedgeqty": {
  16936. "description": "应套保量",
  16937. "type": "number"
  16938. },
  16939. "oriTotalFutuQty": {
  16940. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  16941. "type": "number"
  16942. },
  16943. "oriTotalSpotQty": {
  16944. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  16945. "type": "number"
  16946. },
  16947. "oriarbitrageqty": {
  16948. "description": "期初套利量",
  16949. "type": "number"
  16950. },
  16951. "orihedgeqty": {
  16952. "description": "期初套保量",
  16953. "type": "number"
  16954. },
  16955. "orineedhedgeexposoure": {
  16956. "description": "期初套保敞口",
  16957. "type": "number"
  16958. },
  16959. "oritotalexposure": {
  16960. "description": "期初总敞口",
  16961. "type": "number"
  16962. },
  16963. "oritotalfutureqty": {
  16964. "description": "期初期货总量",
  16965. "type": "number"
  16966. },
  16967. "oritotalneedhedgeqty": {
  16968. "description": "期初现货应套保量",
  16969. "type": "number"
  16970. }
  16971. }
  16972. },
  16973. "erms2.QueryArbitrageStrategyRsp": {
  16974. "type": "object",
  16975. "required": [
  16976. "asapplyid"
  16977. ],
  16978. "properties": {
  16979. "applybasis": {
  16980. "description": "申请基差",
  16981. "type": "number"
  16982. },
  16983. "asapplyid": {
  16984. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  16985. "type": "string"
  16986. },
  16987. "asname": {
  16988. "description": "策略名称",
  16989. "type": "string"
  16990. },
  16991. "asno": {
  16992. "description": "策略编号",
  16993. "type": "string"
  16994. },
  16995. "basischangepl": {
  16996. "description": "基差变动损益[结算更新]",
  16997. "type": "number"
  16998. },
  16999. "biztype": {
  17000. "description": "业务类型 - 1:正向套利 -1:反向套利",
  17001. "type": "integer"
  17002. },
  17003. "closetradedate": {
  17004. "description": "完结交易日(yyyyMMdd)",
  17005. "type": "string"
  17006. },
  17007. "curbasis": {
  17008. "description": "当前基差[结算更新]",
  17009. "type": "number"
  17010. },
  17011. "deliverygoodsid": {
  17012. "description": "现货品种ID",
  17013. "type": "integer"
  17014. },
  17015. "futureavgprice": {
  17016. "description": "期货建仓均价",
  17017. "type": "number"
  17018. },
  17019. "futurecloseamount": {
  17020. "description": "期货平仓金额",
  17021. "type": "number"
  17022. },
  17023. "futurecloseqty": {
  17024. "description": "期货平仓数量",
  17025. "type": "number"
  17026. },
  17027. "futureopenamount": {
  17028. "description": "期货开仓金额",
  17029. "type": "number"
  17030. },
  17031. "futureopenqty": {
  17032. "description": "期货开仓数量",
  17033. "type": "number"
  17034. },
  17035. "futurepl": {
  17036. "description": "期货总盈亏[结算更新]",
  17037. "type": "number"
  17038. },
  17039. "futureqty": {
  17040. "description": "期货持仓数量",
  17041. "type": "number"
  17042. },
  17043. "futurequote": {
  17044. "description": "期货额度",
  17045. "type": "number"
  17046. },
  17047. "goodsgroupid": {
  17048. "description": "期货品种ID",
  17049. "type": "integer"
  17050. },
  17051. "marketid": {
  17052. "description": "市场ID",
  17053. "type": "integer"
  17054. },
  17055. "netexposure": {
  17056. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  17057. "type": "number"
  17058. },
  17059. "netexposurepl": {
  17060. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  17061. "type": "number"
  17062. },
  17063. "netexposurerate": {
  17064. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  17065. "type": "number"
  17066. },
  17067. "openbasis": {
  17068. "description": "建仓基差",
  17069. "type": "number"
  17070. },
  17071. "pricedspotqty": {
  17072. "description": "已定价现货数量",
  17073. "type": "number"
  17074. },
  17075. "pricedspotqtynotax": {
  17076. "description": "已定价现货不含税数量",
  17077. "type": "number"
  17078. },
  17079. "remark": {
  17080. "description": "备注",
  17081. "type": "string"
  17082. },
  17083. "spotavgprice": {
  17084. "description": "现货均价",
  17085. "type": "number"
  17086. },
  17087. "spotbuyamount": {
  17088. "description": "现货采购金额",
  17089. "type": "number"
  17090. },
  17091. "spotbuyqty": {
  17092. "description": "现货采购数量",
  17093. "type": "number"
  17094. },
  17095. "spotpl": {
  17096. "description": "现货总盈亏[结算更新]",
  17097. "type": "number"
  17098. },
  17099. "spotquota": {
  17100. "description": "现货额度",
  17101. "type": "number"
  17102. },
  17103. "spotsellamount": {
  17104. "description": "现货销售金额",
  17105. "type": "number"
  17106. },
  17107. "spotsellqty": {
  17108. "description": "现货销售数量",
  17109. "type": "number"
  17110. },
  17111. "spotusedquota": {
  17112. "description": "现货占用资金",
  17113. "type": "number"
  17114. },
  17115. "strategystatus": {
  17116. "description": "策略状态 - 0:未结束 1:已结束",
  17117. "type": "integer"
  17118. },
  17119. "totalpl": {
  17120. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  17121. "type": "number"
  17122. },
  17123. "tradedate": {
  17124. "description": "交易日(yyyyMMdd)",
  17125. "type": "string"
  17126. },
  17127. "updatetime": {
  17128. "description": "更新时间",
  17129. "type": "string"
  17130. },
  17131. "usedquota": {
  17132. "description": "已占用资金",
  17133. "type": "number"
  17134. },
  17135. "userid": {
  17136. "description": "所属机构",
  17137. "type": "integer"
  17138. }
  17139. }
  17140. },
  17141. "erms2.QueryInnerTradeDetailRsp": {
  17142. "type": "object",
  17143. "required": [
  17144. "asapplyid",
  17145. "buyorsell",
  17146. "goodscode",
  17147. "goodsgroupid",
  17148. "goodsgroupname",
  17149. "goodsname",
  17150. "tradeid"
  17151. ],
  17152. "properties": {
  17153. "accountid": {
  17154. "description": "账号ID",
  17155. "type": "integer"
  17156. },
  17157. "agreeunit": {
  17158. "description": "合约单位",
  17159. "type": "number"
  17160. },
  17161. "asapplyid": {
  17162. "description": "策略申请ID",
  17163. "type": "integer"
  17164. },
  17165. "asname": {
  17166. "description": "策略名称",
  17167. "type": "string"
  17168. },
  17169. "asno": {
  17170. "description": "策略编号",
  17171. "type": "string"
  17172. },
  17173. "buyorsell": {
  17174. "description": "方向 - 0:买 1:卖",
  17175. "type": "integer"
  17176. },
  17177. "channelbuildtype": {
  17178. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  17179. "type": "integer"
  17180. },
  17181. "closetype": {
  17182. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  17183. "type": "integer"
  17184. },
  17185. "decimalplace": {
  17186. "description": "报价小数位",
  17187. "type": "integer"
  17188. },
  17189. "detailtype": {
  17190. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  17191. "type": "integer"
  17192. },
  17193. "exexchangecode": {
  17194. "description": "外部交易所代码",
  17195. "type": "string"
  17196. },
  17197. "exexchangename": {
  17198. "description": "外部交易所名称",
  17199. "type": "string"
  17200. },
  17201. "goodscode": {
  17202. "description": "商品代码(合约)",
  17203. "type": "string"
  17204. },
  17205. "goodsgroupid": {
  17206. "description": "商品组ID(品种ID)",
  17207. "type": "integer"
  17208. },
  17209. "goodsgroupname": {
  17210. "description": "商品组名称(品种)",
  17211. "type": "string"
  17212. },
  17213. "goodsid": {
  17214. "description": "商品ID",
  17215. "type": "integer"
  17216. },
  17217. "goodsname": {
  17218. "description": "商品名称(合约)",
  17219. "type": "string"
  17220. },
  17221. "goodunit": {
  17222. "description": "报价单位",
  17223. "type": "string"
  17224. },
  17225. "marketid": {
  17226. "description": "市场ID",
  17227. "type": "integer"
  17228. },
  17229. "orderid": {
  17230. "description": "委托单号",
  17231. "type": "string"
  17232. },
  17233. "outgoodscode": {
  17234. "description": "商品代码(外部)",
  17235. "type": "string"
  17236. },
  17237. "relatedouttradeid": {
  17238. "description": "关联外部成交单ID",
  17239. "type": "string"
  17240. },
  17241. "remark": {
  17242. "description": "备注",
  17243. "type": "string"
  17244. },
  17245. "spotcontractid": {
  17246. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  17247. "type": "integer"
  17248. },
  17249. "spotcontractno": {
  17250. "description": "现货合同编号",
  17251. "type": "string"
  17252. },
  17253. "tradeid": {
  17254. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17255. "type": "string"
  17256. },
  17257. "tradeprice": {
  17258. "description": "成交价格",
  17259. "type": "number"
  17260. },
  17261. "tradeqty": {
  17262. "description": "成交数量",
  17263. "type": "integer"
  17264. },
  17265. "tradetime": {
  17266. "description": "成交时间",
  17267. "type": "string"
  17268. },
  17269. "updatetime": {
  17270. "description": "更新时间",
  17271. "type": "string"
  17272. }
  17273. }
  17274. },
  17275. "erms2.QuerySpotContractRsp": {
  17276. "type": "object",
  17277. "required": [
  17278. "spotcontractid"
  17279. ],
  17280. "properties": {
  17281. "accountid": {
  17282. "description": "资金账户ID",
  17283. "type": "integer"
  17284. },
  17285. "areauserid": {
  17286. "description": "所属机构",
  17287. "type": "integer"
  17288. },
  17289. "closedate": {
  17290. "description": "终止日期",
  17291. "type": "string"
  17292. },
  17293. "closeremark": {
  17294. "description": "结束备注",
  17295. "type": "string"
  17296. },
  17297. "closetradedate": {
  17298. "description": "完结交易日(yyyyMMdd)",
  17299. "type": "string"
  17300. },
  17301. "closetype": {
  17302. "description": "终止类型 - 1:违约 2:提前终止",
  17303. "type": "integer"
  17304. },
  17305. "contractamount": {
  17306. "description": "合同金额",
  17307. "type": "number"
  17308. },
  17309. "contractattachment": {
  17310. "description": "合同附件",
  17311. "type": "string"
  17312. },
  17313. "contractno": {
  17314. "description": "现货合同编号",
  17315. "type": "string"
  17316. },
  17317. "contractqty": {
  17318. "description": "合同数量(数值) (用于计算)",
  17319. "type": "number"
  17320. },
  17321. "contractqtychar": {
  17322. "description": "合同数量\\已订价数量 (用于显示)",
  17323. "type": "string"
  17324. },
  17325. "contractstatus": {
  17326. "description": "合同状态 - 0:未结束 1:已结束",
  17327. "type": "integer"
  17328. },
  17329. "contracttype": {
  17330. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  17331. "type": "integer"
  17332. },
  17333. "customeraccountid": {
  17334. "description": "客户资金账户ID",
  17335. "type": "integer"
  17336. },
  17337. "customeruserid": {
  17338. "description": "客户ID",
  17339. "type": "integer"
  17340. },
  17341. "deliverygoodsdesc": {
  17342. "description": "品种说明",
  17343. "type": "string"
  17344. },
  17345. "deliverygoodsid": {
  17346. "description": "现货品种ID",
  17347. "type": "integer"
  17348. },
  17349. "handlestatus": {
  17350. "description": "处理状态",
  17351. "type": "integer"
  17352. },
  17353. "invoiceatt": {
  17354. "description": "发票附件",
  17355. "type": "string"
  17356. },
  17357. "invoicedatetime": {
  17358. "description": "开收票更新时间",
  17359. "type": "string"
  17360. },
  17361. "invoiceopentime": {
  17362. "description": "开票时间",
  17363. "type": "string"
  17364. },
  17365. "invoiceremark": {
  17366. "description": "发票备注",
  17367. "type": "string"
  17368. },
  17369. "invoicestatus": {
  17370. "description": "开收票状态 - 0:未开票 1:已开票",
  17371. "type": "integer"
  17372. },
  17373. "lastdate": {
  17374. "description": "交货时间",
  17375. "type": "string"
  17376. },
  17377. "marketid": {
  17378. "description": "市场ID",
  17379. "type": "integer"
  17380. },
  17381. "paydatetime": {
  17382. "description": "收付款更新时间",
  17383. "type": "string"
  17384. },
  17385. "payremark": {
  17386. "description": "收付款备注",
  17387. "type": "string"
  17388. },
  17389. "paystatus": {
  17390. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  17391. "type": "integer"
  17392. },
  17393. "positionqty": {
  17394. "description": "头寸数量 - 合同数量去小数部分",
  17395. "type": "integer"
  17396. },
  17397. "producttype": {
  17398. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17399. "type": "integer"
  17400. },
  17401. "relatedqty": {
  17402. "description": "已关联数量",
  17403. "type": "number"
  17404. },
  17405. "relatedstatus": {
  17406. "description": "关联完结状态 - 0:未结束 1:已结束",
  17407. "type": "integer"
  17408. },
  17409. "remark": {
  17410. "description": "备注",
  17411. "type": "string"
  17412. },
  17413. "signdate": {
  17414. "description": "签订日期",
  17415. "type": "string"
  17416. },
  17417. "spotcontractid": {
  17418. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  17419. "type": "string"
  17420. },
  17421. "spotdatetime": {
  17422. "description": "收发货更新时间",
  17423. "type": "string"
  17424. },
  17425. "spotprice": {
  17426. "description": "价格",
  17427. "type": "number"
  17428. },
  17429. "spotremark": {
  17430. "description": "收发货备注",
  17431. "type": "string"
  17432. },
  17433. "spotstatus": {
  17434. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  17435. "type": "integer"
  17436. },
  17437. "tradedate": {
  17438. "description": "交易日(yyyyMMdd)",
  17439. "type": "string"
  17440. },
  17441. "userid": {
  17442. "description": "业务员用户ID",
  17443. "type": "integer"
  17444. },
  17445. "warehouseid": {
  17446. "description": "仓库ID",
  17447. "type": "integer"
  17448. },
  17449. "wrfactortypeid": {
  17450. "description": "仓单要素类型ID",
  17451. "type": "integer"
  17452. },
  17453. "wrstandardid": {
  17454. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17455. "type": "integer"
  17456. }
  17457. }
  17458. },
  17459. "erms3.AddErms2ASApplyReq": {
  17460. "type": "object",
  17461. "required": [
  17462. "asapplyid"
  17463. ],
  17464. "properties": {
  17465. "applybasis": {
  17466. "description": "申请基差",
  17467. "type": "number"
  17468. },
  17469. "applystatus": {
  17470. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17471. "type": "integer"
  17472. },
  17473. "asapplyid": {
  17474. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  17475. "type": "integer"
  17476. },
  17477. "asname": {
  17478. "description": "策略名称",
  17479. "type": "string"
  17480. },
  17481. "asno": {
  17482. "description": "策略编号",
  17483. "type": "string"
  17484. },
  17485. "auditid": {
  17486. "description": "审核人",
  17487. "type": "integer"
  17488. },
  17489. "auditremark": {
  17490. "description": "审核备注",
  17491. "type": "string"
  17492. },
  17493. "audittime": {
  17494. "description": "审核时间",
  17495. "type": "string"
  17496. },
  17497. "biztype": {
  17498. "description": "业务类型 - 1:正向套利 2:反向套利",
  17499. "type": "integer"
  17500. },
  17501. "createtime": {
  17502. "description": "创建时间",
  17503. "type": "string"
  17504. },
  17505. "creatorid": {
  17506. "description": "创建人",
  17507. "type": "integer"
  17508. },
  17509. "deliverygoodsid": {
  17510. "description": "现货品种ID",
  17511. "type": "integer"
  17512. },
  17513. "futurequote": {
  17514. "description": "期货额度",
  17515. "type": "number"
  17516. },
  17517. "goodsgroupid": {
  17518. "description": "期货品种ID",
  17519. "type": "integer"
  17520. },
  17521. "marketid": {
  17522. "description": "市场ID",
  17523. "type": "integer"
  17524. },
  17525. "remark": {
  17526. "description": "备注",
  17527. "type": "string"
  17528. },
  17529. "spotquota": {
  17530. "description": "现货额度",
  17531. "type": "number"
  17532. },
  17533. "tradedate": {
  17534. "description": "交易日(yyyyMMdd)",
  17535. "type": "string"
  17536. },
  17537. "userid": {
  17538. "description": "所属机构",
  17539. "type": "integer"
  17540. }
  17541. }
  17542. },
  17543. "erms3.AddErms2SpotTradeApplyReq": {
  17544. "type": "object",
  17545. "required": [
  17546. "spottradeid"
  17547. ],
  17548. "properties": {
  17549. "applyjsondetail": {
  17550. "description": "申请明细(JSON)",
  17551. "type": "string"
  17552. },
  17553. "applystatus": {
  17554. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17555. "type": "integer"
  17556. },
  17557. "areauserid": {
  17558. "description": "所属机构",
  17559. "type": "integer"
  17560. },
  17561. "auditid": {
  17562. "description": "审核人",
  17563. "type": "integer"
  17564. },
  17565. "auditremark": {
  17566. "description": "审核备注",
  17567. "type": "string"
  17568. },
  17569. "audittime": {
  17570. "description": "审核时间",
  17571. "type": "string"
  17572. },
  17573. "createtime": {
  17574. "description": "创建时间",
  17575. "type": "string"
  17576. },
  17577. "creatorid": {
  17578. "description": "创建人",
  17579. "type": "integer"
  17580. },
  17581. "deliverygoodsid": {
  17582. "description": "现货品种ID",
  17583. "type": "integer"
  17584. },
  17585. "futureaccountid": {
  17586. "description": "期货资金账户",
  17587. "type": "integer"
  17588. },
  17589. "goodsgroupid": {
  17590. "description": "期货品种",
  17591. "type": "integer"
  17592. },
  17593. "marketid": {
  17594. "description": "市场ID",
  17595. "type": "integer"
  17596. },
  17597. "remark": {
  17598. "description": "备注",
  17599. "type": "string"
  17600. },
  17601. "spotaccountid": {
  17602. "description": "现货资金账户",
  17603. "type": "integer"
  17604. },
  17605. "spottradeid": {
  17606. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  17607. "type": "integer"
  17608. },
  17609. "spottradename": {
  17610. "description": "业务名称",
  17611. "type": "string"
  17612. },
  17613. "spottradeno": {
  17614. "description": "业务编号",
  17615. "type": "string"
  17616. },
  17617. "tradedate": {
  17618. "description": "交易日(yyyyMMdd)",
  17619. "type": "string"
  17620. },
  17621. "wrstandardid": {
  17622. "description": "仓单标准ID",
  17623. "type": "integer"
  17624. }
  17625. }
  17626. },
  17627. "erms3.AddSpotContractApplyReq": {
  17628. "type": "object",
  17629. "required": [
  17630. "accountid",
  17631. "areauserid",
  17632. "contractno",
  17633. "contracttype",
  17634. "customeraccountid",
  17635. "customeruserid",
  17636. "details",
  17637. "orimargin",
  17638. "signdate"
  17639. ],
  17640. "properties": {
  17641. "accountid": {
  17642. "description": "资金账户ID",
  17643. "type": "integer"
  17644. },
  17645. "areauserid": {
  17646. "description": "所属机构",
  17647. "type": "integer"
  17648. },
  17649. "contractattachment": {
  17650. "description": "合同附件",
  17651. "type": "string"
  17652. },
  17653. "contractno": {
  17654. "description": "现货合同编号",
  17655. "type": "string"
  17656. },
  17657. "contracttype": {
  17658. "description": "现货合同类型 - 1:采购 -1:销售",
  17659. "type": "integer"
  17660. },
  17661. "creatorid": {
  17662. "description": "申请人",
  17663. "type": "integer"
  17664. },
  17665. "customeraccountid": {
  17666. "description": "客户资金账户ID",
  17667. "type": "integer"
  17668. },
  17669. "customeruserid": {
  17670. "description": "客户ID",
  17671. "type": "integer"
  17672. },
  17673. "details": {
  17674. "description": "明细",
  17675. "type": "array",
  17676. "items": {
  17677. "$ref": "#/definitions/erms3.SoptContractDetail"
  17678. }
  17679. },
  17680. "orimargin": {
  17681. "description": "初始保证金",
  17682. "type": "number"
  17683. },
  17684. "remark": {
  17685. "description": "备注",
  17686. "type": "string"
  17687. },
  17688. "signdate": {
  17689. "description": "签订日期",
  17690. "type": "string"
  17691. }
  17692. }
  17693. },
  17694. "erms3.AddSpotContractApplyRsp": {
  17695. "type": "object",
  17696. "required": [
  17697. "contractno"
  17698. ],
  17699. "properties": {
  17700. "contractno": {
  17701. "description": "现货合同编号",
  17702. "type": "string"
  17703. },
  17704. "spotcontractid": {
  17705. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  17706. "type": "integer"
  17707. }
  17708. }
  17709. },
  17710. "erms3.AddUserInfoApplyReq": {
  17711. "type": "object",
  17712. "required": [
  17713. "userid"
  17714. ],
  17715. "properties": {
  17716. "accountid": {
  17717. "description": "交易系统帐号Id (加密存储)",
  17718. "type": "integer"
  17719. },
  17720. "areacode": {
  17721. "description": "机构代码",
  17722. "type": "string"
  17723. },
  17724. "areaid": {
  17725. "description": "机构Id",
  17726. "type": "integer"
  17727. },
  17728. "attachment1": {
  17729. "description": "附件1",
  17730. "type": "string"
  17731. },
  17732. "attachment2": {
  17733. "description": "附件2",
  17734. "type": "string"
  17735. },
  17736. "attachment3": {
  17737. "description": "附件3",
  17738. "type": "string"
  17739. },
  17740. "attachment4": {
  17741. "description": "附件4",
  17742. "type": "string"
  17743. },
  17744. "attachment5": {
  17745. "description": "附件5",
  17746. "type": "string"
  17747. },
  17748. "auditedby": {
  17749. "description": "审核人",
  17750. "type": "string"
  17751. },
  17752. "auditime": {
  17753. "description": "审核时间",
  17754. "type": "string"
  17755. },
  17756. "auditsrc": {
  17757. "description": "审核来源 - 1:管理端 2:终端",
  17758. "type": "integer"
  17759. },
  17760. "bankaccount": {
  17761. "description": "银行帐号 (加密存储)",
  17762. "type": "string"
  17763. },
  17764. "bankaccountname": {
  17765. "description": "收款人名称",
  17766. "type": "string"
  17767. },
  17768. "bankcardbackphotourl": {
  17769. "description": "银行卡背面照地址",
  17770. "type": "string"
  17771. },
  17772. "bankcardfrontphotourl": {
  17773. "description": "银行卡正面照地址",
  17774. "type": "string"
  17775. },
  17776. "bankid": {
  17777. "description": "银行编码",
  17778. "type": "string"
  17779. },
  17780. "bankname": {
  17781. "description": "银行名称",
  17782. "type": "string"
  17783. },
  17784. "bankpictureurl": {
  17785. "description": "银行卡正面地址",
  17786. "type": "string"
  17787. },
  17788. "biznature": {
  17789. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17790. "type": "integer"
  17791. },
  17792. "bizscope": {
  17793. "description": "企业经营范围(企业)",
  17794. "type": "string"
  17795. },
  17796. "biztype": {
  17797. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  17798. "type": "integer"
  17799. },
  17800. "brokerid": {
  17801. "description": "经纪人ID(加密存储)",
  17802. "type": "string"
  17803. },
  17804. "cardaddress": {
  17805. "description": "证件地址 (加密存储)",
  17806. "type": "string"
  17807. },
  17808. "cardbackphotourl": {
  17809. "description": "背面证件照地址",
  17810. "type": "string"
  17811. },
  17812. "cardfrontphotourl": {
  17813. "description": "正面证件照地址",
  17814. "type": "string"
  17815. },
  17816. "cardnum": {
  17817. "description": "证件号码 (加密存储)",
  17818. "type": "string"
  17819. },
  17820. "cardtype": {
  17821. "description": "证件类型",
  17822. "type": "integer"
  17823. },
  17824. "cityid": {
  17825. "description": "市",
  17826. "type": "integer"
  17827. },
  17828. "company": {
  17829. "description": "公司(个人)",
  17830. "type": "string"
  17831. },
  17832. "contactcardbackphotourl": {
  17833. "description": "联系人证件背面图片地址",
  17834. "type": "string"
  17835. },
  17836. "contactcardfrontphotourl": {
  17837. "description": "联系人证件正面图片地址",
  17838. "type": "string"
  17839. },
  17840. "contactname": {
  17841. "description": "联系人",
  17842. "type": "string"
  17843. },
  17844. "countryid": {
  17845. "description": "国家",
  17846. "type": "integer"
  17847. },
  17848. "createtime": {
  17849. "description": "开户申请时间",
  17850. "type": "string"
  17851. },
  17852. "cusbankid": {
  17853. "description": "签约类型",
  17854. "type": "string"
  17855. },
  17856. "cusbankname": {
  17857. "description": "签约类型名称",
  17858. "type": "string"
  17859. },
  17860. "customername": {
  17861. "description": "客户名称(企业名称)",
  17862. "type": "string"
  17863. },
  17864. "districtid": {
  17865. "description": "地区",
  17866. "type": "integer"
  17867. },
  17868. "email": {
  17869. "description": "Email地址(加密存储)",
  17870. "type": "string"
  17871. },
  17872. "halfbodyphotourl": {
  17873. "description": "半身照地址",
  17874. "type": "string"
  17875. },
  17876. "headurl": {
  17877. "description": "头像地址",
  17878. "type": "string"
  17879. },
  17880. "ipaddress": {
  17881. "description": "IP地址",
  17882. "type": "string"
  17883. },
  17884. "isvalidate": {
  17885. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  17886. "type": "string"
  17887. },
  17888. "legalcardbackphotourl": {
  17889. "description": "法人身份证背面照地址",
  17890. "type": "string"
  17891. },
  17892. "legalcardfrontphotourl": {
  17893. "description": "法人身份证正面照地址",
  17894. "type": "string"
  17895. },
  17896. "legalpersonname": {
  17897. "description": "法人姓名(企业)",
  17898. "type": "string"
  17899. },
  17900. "logincode": {
  17901. "description": "登录帐号 (加密存储)",
  17902. "type": "string"
  17903. },
  17904. "memberareaid": {
  17905. "description": "所属会员ID",
  17906. "type": "integer"
  17907. },
  17908. "mobile2": {
  17909. "description": "手机号码[明文-尚志]",
  17910. "type": "string"
  17911. },
  17912. "mobilephone": {
  17913. "description": "手机号码 (加密存储)",
  17914. "type": "string"
  17915. },
  17916. "modifiedby": {
  17917. "description": "修改人帐号",
  17918. "type": "integer"
  17919. },
  17920. "modifiedtime": {
  17921. "description": "修改时间",
  17922. "type": "string"
  17923. },
  17924. "nickname": {
  17925. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  17926. "type": "string"
  17927. },
  17928. "openmode": {
  17929. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  17930. "type": "integer"
  17931. },
  17932. "otherurl": {
  17933. "description": "其它图片地址[使用分号分隔]",
  17934. "type": "string"
  17935. },
  17936. "postalcode": {
  17937. "description": "邮政编码",
  17938. "type": "string"
  17939. },
  17940. "provinceid": {
  17941. "description": "省",
  17942. "type": "integer"
  17943. },
  17944. "proxystatementurl": {
  17945. "description": "授权委托书",
  17946. "type": "string"
  17947. },
  17948. "qq": {
  17949. "description": "QQ(加密存储",
  17950. "type": "string"
  17951. },
  17952. "referral": {
  17953. "description": "推荐人编码",
  17954. "type": "string"
  17955. },
  17956. "remark": {
  17957. "description": "备注",
  17958. "type": "string"
  17959. },
  17960. "removebeforestatus": {
  17961. "description": "REMOVEBEFORESTATUS",
  17962. "type": "integer"
  17963. },
  17964. "sex": {
  17965. "description": "性别 - 0:女 1:男",
  17966. "type": "integer"
  17967. },
  17968. "signedstatus": {
  17969. "description": "账户一号签签约状态",
  17970. "type": "integer"
  17971. },
  17972. "signpdfurl": {
  17973. "description": "签约pdf文件",
  17974. "type": "string"
  17975. },
  17976. "subbranch": {
  17977. "description": "开户支行",
  17978. "type": "string"
  17979. },
  17980. "taxpayernum": {
  17981. "description": "纳税人识别号",
  17982. "type": "string"
  17983. },
  17984. "telphone": {
  17985. "description": "联系电话(加密存储)",
  17986. "type": "string"
  17987. },
  17988. "userid": {
  17989. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  17990. "type": "integer"
  17991. },
  17992. "userinfotype": {
  17993. "description": "用户信息类型 - 1:个人 2:企业",
  17994. "type": "integer"
  17995. },
  17996. "username": {
  17997. "description": "用户姓名",
  17998. "type": "string"
  17999. },
  18000. "userstate": {
  18001. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18002. "type": "integer"
  18003. },
  18004. "usertype": {
  18005. "description": "用户类型 - 1:投资者 2:机构",
  18006. "type": "integer"
  18007. },
  18008. "videourl": {
  18009. "description": "视频地址",
  18010. "type": "string"
  18011. },
  18012. "wechat": {
  18013. "description": "微信号 (加密存储)",
  18014. "type": "string"
  18015. }
  18016. }
  18017. },
  18018. "erms3.CustomerInfo": {
  18019. "type": "object",
  18020. "required": [
  18021. "userid"
  18022. ],
  18023. "properties": {
  18024. "accountids": {
  18025. "description": "资金账户ID列表",
  18026. "type": "array",
  18027. "items": {
  18028. "type": "integer"
  18029. }
  18030. },
  18031. "customername": {
  18032. "description": "名称(企业名称)",
  18033. "type": "string"
  18034. },
  18035. "mobile": {
  18036. "description": "手机号码",
  18037. "type": "string"
  18038. },
  18039. "userid": {
  18040. "description": "用户ID",
  18041. "type": "integer"
  18042. }
  18043. }
  18044. },
  18045. "erms3.ModifyUserInfoApplyReq": {
  18046. "type": "object",
  18047. "required": [
  18048. "userid"
  18049. ],
  18050. "properties": {
  18051. "accountid": {
  18052. "description": "交易系统帐号Id (加密存储)",
  18053. "type": "integer"
  18054. },
  18055. "areacode": {
  18056. "description": "机构代码",
  18057. "type": "string"
  18058. },
  18059. "areaid": {
  18060. "description": "机构Id",
  18061. "type": "integer"
  18062. },
  18063. "attachment1": {
  18064. "description": "附件1",
  18065. "type": "string"
  18066. },
  18067. "attachment2": {
  18068. "description": "附件2",
  18069. "type": "string"
  18070. },
  18071. "attachment3": {
  18072. "description": "附件3",
  18073. "type": "string"
  18074. },
  18075. "attachment4": {
  18076. "description": "附件4",
  18077. "type": "string"
  18078. },
  18079. "attachment5": {
  18080. "description": "附件5",
  18081. "type": "string"
  18082. },
  18083. "auditedby": {
  18084. "description": "审核人",
  18085. "type": "string"
  18086. },
  18087. "auditime": {
  18088. "description": "审核时间",
  18089. "type": "string"
  18090. },
  18091. "auditsrc": {
  18092. "description": "审核来源 - 1:管理端 2:终端",
  18093. "type": "integer"
  18094. },
  18095. "bankaccount": {
  18096. "description": "银行帐号 (加密存储)",
  18097. "type": "string"
  18098. },
  18099. "bankaccountname": {
  18100. "description": "收款人名称",
  18101. "type": "string"
  18102. },
  18103. "bankcardbackphotourl": {
  18104. "description": "银行卡背面照地址",
  18105. "type": "string"
  18106. },
  18107. "bankcardfrontphotourl": {
  18108. "description": "银行卡正面照地址",
  18109. "type": "string"
  18110. },
  18111. "bankid": {
  18112. "description": "银行编码",
  18113. "type": "string"
  18114. },
  18115. "bankname": {
  18116. "description": "银行名称",
  18117. "type": "string"
  18118. },
  18119. "bankpictureurl": {
  18120. "description": "银行卡正面地址",
  18121. "type": "string"
  18122. },
  18123. "biznature": {
  18124. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18125. "type": "integer"
  18126. },
  18127. "bizscope": {
  18128. "description": "企业经营范围(企业)",
  18129. "type": "string"
  18130. },
  18131. "biztype": {
  18132. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18133. "type": "integer"
  18134. },
  18135. "brokerid": {
  18136. "description": "经纪人ID(加密存储)",
  18137. "type": "string"
  18138. },
  18139. "cardaddress": {
  18140. "description": "证件地址 (加密存储)",
  18141. "type": "string"
  18142. },
  18143. "cardbackphotourl": {
  18144. "description": "背面证件照地址",
  18145. "type": "string"
  18146. },
  18147. "cardfrontphotourl": {
  18148. "description": "正面证件照地址",
  18149. "type": "string"
  18150. },
  18151. "cardnum": {
  18152. "description": "证件号码 (加密存储)",
  18153. "type": "string"
  18154. },
  18155. "cardtype": {
  18156. "description": "证件类型",
  18157. "type": "integer"
  18158. },
  18159. "cityid": {
  18160. "description": "市",
  18161. "type": "integer"
  18162. },
  18163. "company": {
  18164. "description": "公司(个人)",
  18165. "type": "string"
  18166. },
  18167. "contactcardbackphotourl": {
  18168. "description": "联系人证件背面图片地址",
  18169. "type": "string"
  18170. },
  18171. "contactcardfrontphotourl": {
  18172. "description": "联系人证件正面图片地址",
  18173. "type": "string"
  18174. },
  18175. "contactname": {
  18176. "description": "联系人",
  18177. "type": "string"
  18178. },
  18179. "countryid": {
  18180. "description": "国家",
  18181. "type": "integer"
  18182. },
  18183. "createtime": {
  18184. "description": "开户申请时间",
  18185. "type": "string"
  18186. },
  18187. "cusbankid": {
  18188. "description": "签约类型",
  18189. "type": "string"
  18190. },
  18191. "cusbankname": {
  18192. "description": "签约类型名称",
  18193. "type": "string"
  18194. },
  18195. "customername": {
  18196. "description": "客户名称(企业名称)",
  18197. "type": "string"
  18198. },
  18199. "districtid": {
  18200. "description": "地区",
  18201. "type": "integer"
  18202. },
  18203. "email": {
  18204. "description": "Email地址(加密存储)",
  18205. "type": "string"
  18206. },
  18207. "halfbodyphotourl": {
  18208. "description": "半身照地址",
  18209. "type": "string"
  18210. },
  18211. "headurl": {
  18212. "description": "头像地址",
  18213. "type": "string"
  18214. },
  18215. "ipaddress": {
  18216. "description": "IP地址",
  18217. "type": "string"
  18218. },
  18219. "isvalidate": {
  18220. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18221. "type": "string"
  18222. },
  18223. "legalcardbackphotourl": {
  18224. "description": "法人身份证背面照地址",
  18225. "type": "string"
  18226. },
  18227. "legalcardfrontphotourl": {
  18228. "description": "法人身份证正面照地址",
  18229. "type": "string"
  18230. },
  18231. "legalpersonname": {
  18232. "description": "法人姓名(企业)",
  18233. "type": "string"
  18234. },
  18235. "logincode": {
  18236. "description": "登录帐号 (加密存储)",
  18237. "type": "string"
  18238. },
  18239. "memberareaid": {
  18240. "description": "所属会员ID",
  18241. "type": "integer"
  18242. },
  18243. "mobile2": {
  18244. "description": "手机号码[明文-尚志]",
  18245. "type": "string"
  18246. },
  18247. "mobilephone": {
  18248. "description": "手机号码 (加密存储)",
  18249. "type": "string"
  18250. },
  18251. "modifiedby": {
  18252. "description": "修改人帐号",
  18253. "type": "integer"
  18254. },
  18255. "modifiedtime": {
  18256. "description": "修改时间",
  18257. "type": "string"
  18258. },
  18259. "nickname": {
  18260. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18261. "type": "string"
  18262. },
  18263. "openmode": {
  18264. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18265. "type": "integer"
  18266. },
  18267. "otherurl": {
  18268. "description": "其它图片地址[使用分号分隔]",
  18269. "type": "string"
  18270. },
  18271. "postalcode": {
  18272. "description": "邮政编码",
  18273. "type": "string"
  18274. },
  18275. "provinceid": {
  18276. "description": "省",
  18277. "type": "integer"
  18278. },
  18279. "proxystatementurl": {
  18280. "description": "授权委托书",
  18281. "type": "string"
  18282. },
  18283. "qq": {
  18284. "description": "QQ(加密存储",
  18285. "type": "string"
  18286. },
  18287. "referral": {
  18288. "description": "推荐人编码",
  18289. "type": "string"
  18290. },
  18291. "remark": {
  18292. "description": "备注",
  18293. "type": "string"
  18294. },
  18295. "removebeforestatus": {
  18296. "description": "REMOVEBEFORESTATUS",
  18297. "type": "integer"
  18298. },
  18299. "sex": {
  18300. "description": "性别 - 0:女 1:男",
  18301. "type": "integer"
  18302. },
  18303. "signedstatus": {
  18304. "description": "账户一号签签约状态",
  18305. "type": "integer"
  18306. },
  18307. "signpdfurl": {
  18308. "description": "签约pdf文件",
  18309. "type": "string"
  18310. },
  18311. "subbranch": {
  18312. "description": "开户支行",
  18313. "type": "string"
  18314. },
  18315. "taxpayernum": {
  18316. "description": "纳税人识别号",
  18317. "type": "string"
  18318. },
  18319. "telphone": {
  18320. "description": "联系电话(加密存储)",
  18321. "type": "string"
  18322. },
  18323. "userid": {
  18324. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18325. "type": "integer"
  18326. },
  18327. "userinfotype": {
  18328. "description": "用户信息类型 - 1:个人 2:企业",
  18329. "type": "integer"
  18330. },
  18331. "username": {
  18332. "description": "用户姓名",
  18333. "type": "string"
  18334. },
  18335. "userstate": {
  18336. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18337. "type": "integer"
  18338. },
  18339. "usertype": {
  18340. "description": "用户类型 - 1:投资者 2:机构",
  18341. "type": "integer"
  18342. },
  18343. "videourl": {
  18344. "description": "视频地址",
  18345. "type": "string"
  18346. },
  18347. "wechat": {
  18348. "description": "微信号 (加密存储)",
  18349. "type": "string"
  18350. }
  18351. }
  18352. },
  18353. "erms3.QryAuditContractRsp": {
  18354. "type": "object",
  18355. "required": [
  18356. "matchcustomername",
  18357. "spotcontractid"
  18358. ],
  18359. "properties": {
  18360. "accountid": {
  18361. "description": "交易员ID",
  18362. "type": "string"
  18363. },
  18364. "applystatus": {
  18365. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18366. "type": "integer"
  18367. },
  18368. "curdeliveryqty": {
  18369. "description": "未交收量",
  18370. "type": "integer"
  18371. },
  18372. "customername": {
  18373. "description": "采购方ID",
  18374. "type": "string"
  18375. },
  18376. "deliverygoodsid": {
  18377. "description": "品种ID",
  18378. "type": "string"
  18379. },
  18380. "deliveryqty": {
  18381. "description": "交收量",
  18382. "type": "integer"
  18383. },
  18384. "enumdicname": {
  18385. "description": "单位名称",
  18386. "type": "string"
  18387. },
  18388. "matchaccountid": {
  18389. "description": "业务员ID",
  18390. "type": "string"
  18391. },
  18392. "matchcustomername": {
  18393. "description": "销售方ID",
  18394. "type": "string"
  18395. },
  18396. "pricedqty": {
  18397. "description": "定价量",
  18398. "type": "number"
  18399. },
  18400. "signdate": {
  18401. "description": "签订日期",
  18402. "type": "string"
  18403. },
  18404. "spotcontractid": {
  18405. "description": "合同ID",
  18406. "type": "string"
  18407. },
  18408. "totaldqty": {
  18409. "description": "合同量",
  18410. "type": "number"
  18411. },
  18412. "unpricedqty": {
  18413. "description": "未定价量",
  18414. "type": "number"
  18415. },
  18416. "wrstandardname": {
  18417. "description": "商品名称",
  18418. "type": "string"
  18419. }
  18420. }
  18421. },
  18422. "erms3.QryPendingBizRsp": {
  18423. "type": "object",
  18424. "properties": {
  18425. "accountid": {
  18426. "description": "现货账户",
  18427. "type": "string"
  18428. },
  18429. "areaname": {
  18430. "description": "所属部门",
  18431. "type": "string"
  18432. },
  18433. "bizid": {
  18434. "description": "业务ID",
  18435. "type": "string"
  18436. },
  18437. "bizname": {
  18438. "description": "业务名称",
  18439. "type": "string"
  18440. },
  18441. "status": {
  18442. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18443. "type": "integer"
  18444. },
  18445. "type": {
  18446. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  18447. "type": "integer"
  18448. }
  18449. }
  18450. },
  18451. "erms3.QueryBusinessInfoRsp": {
  18452. "type": "object",
  18453. "properties": {
  18454. "businessid": {
  18455. "description": "业务ID.",
  18456. "type": "integer"
  18457. },
  18458. "buyamount": {
  18459. "description": "采购额.",
  18460. "type": "number"
  18461. },
  18462. "buyqty": {
  18463. "description": "采购量.",
  18464. "type": "string"
  18465. },
  18466. "futurepl": {
  18467. "description": "期货盈亏.",
  18468. "type": "number"
  18469. },
  18470. "futureqty": {
  18471. "description": "期货敞口.",
  18472. "type": "string"
  18473. },
  18474. "goodsid": {
  18475. "description": "商品名称/商品代码.",
  18476. "type": "string"
  18477. },
  18478. "hedgingqty": {
  18479. "description": "套保量.",
  18480. "type": "string"
  18481. },
  18482. "sellamount": {
  18483. "description": "销售额.",
  18484. "type": "number"
  18485. },
  18486. "sellqty": {
  18487. "description": "销售量.",
  18488. "type": "string"
  18489. },
  18490. "spotmarketvalue": {
  18491. "description": "现货市值.",
  18492. "type": "number"
  18493. },
  18494. "spotpl": {
  18495. "description": "浮动权益.",
  18496. "type": "number"
  18497. },
  18498. "spotqty": {
  18499. "description": "现货量.",
  18500. "type": "string"
  18501. },
  18502. "statu": {
  18503. "description": "状态,0-未结束 1-已结束.",
  18504. "type": "integer"
  18505. },
  18506. "totalpl": {
  18507. "description": "总盈亏.",
  18508. "type": "number"
  18509. },
  18510. "totalqty": {
  18511. "description": "总敞口.",
  18512. "type": "string"
  18513. },
  18514. "type": {
  18515. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  18516. "type": "integer"
  18517. }
  18518. }
  18519. },
  18520. "erms3.QuerySpotContractAppleFormRsp": {
  18521. "type": "object",
  18522. "properties": {
  18523. "goodses": {
  18524. "description": "合约列表",
  18525. "type": "array",
  18526. "items": {
  18527. "$ref": "#/definitions/models.GoodsIDAndName"
  18528. }
  18529. },
  18530. "oppositeusers": {
  18531. "description": "对方账号列表",
  18532. "type": "array",
  18533. "items": {
  18534. "$ref": "#/definitions/erms3.CustomerInfo"
  18535. }
  18536. },
  18537. "ouruser": {
  18538. "description": "我方账号",
  18539. "$ref": "#/definitions/erms3.CustomerInfo"
  18540. },
  18541. "warehouseinfos": {
  18542. "description": "仓库信息列表",
  18543. "type": "array",
  18544. "items": {
  18545. "$ref": "#/definitions/models.Warehouseinfo"
  18546. }
  18547. },
  18548. "wrstandards": {
  18549. "description": "仓单标准列表",
  18550. "type": "array",
  18551. "items": {
  18552. "$ref": "#/definitions/models.WRStandardInfo"
  18553. }
  18554. }
  18555. }
  18556. },
  18557. "erms3.QuerySpotContractInfoRsp": {
  18558. "type": "object",
  18559. "properties": {
  18560. "accountid": {
  18561. "description": "表示交易员ID.",
  18562. "type": "integer"
  18563. },
  18564. "curdeliveryqty": {
  18565. "description": "表示未交收量.",
  18566. "type": "number"
  18567. },
  18568. "customername": {
  18569. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  18570. "type": "string"
  18571. },
  18572. "deliverygoodsid": {
  18573. "description": "表示品种ID.",
  18574. "type": "string"
  18575. },
  18576. "deliveryqty": {
  18577. "description": "表示交收量.",
  18578. "type": "number"
  18579. },
  18580. "matchaccountid": {
  18581. "description": "表示业务员ID.",
  18582. "type": "integer"
  18583. },
  18584. "matchcustomername": {
  18585. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  18586. "type": "string"
  18587. },
  18588. "priceqty": {
  18589. "description": "表示定价量.",
  18590. "type": "number"
  18591. },
  18592. "relatedbizid": {
  18593. "description": "表示业务ID.",
  18594. "type": "string"
  18595. },
  18596. "signdate": {
  18597. "description": "表示签订日期.",
  18598. "type": "string"
  18599. },
  18600. "spotcontractid": {
  18601. "description": "合同ID",
  18602. "type": "string"
  18603. },
  18604. "status": {
  18605. "description": "表示状态,0-履约中 1-已完成.",
  18606. "type": "integer"
  18607. },
  18608. "totalqty": {
  18609. "description": "表示合同量.",
  18610. "type": "number"
  18611. },
  18612. "unpricedqty": {
  18613. "description": "表示未定价量.",
  18614. "type": "number"
  18615. },
  18616. "wrstandardname": {
  18617. "description": "表示商品ID.",
  18618. "type": "string"
  18619. }
  18620. }
  18621. },
  18622. "erms3.QueryUserInfoAppliesRsp": {
  18623. "type": "object",
  18624. "required": [
  18625. "userid"
  18626. ],
  18627. "properties": {
  18628. "biznature": {
  18629. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18630. "type": "integer"
  18631. },
  18632. "contactname": {
  18633. "description": "联系人",
  18634. "type": "string"
  18635. },
  18636. "createtime": {
  18637. "description": "开户申请时间",
  18638. "type": "string"
  18639. },
  18640. "userid": {
  18641. "description": "用户ID(自增ID)",
  18642. "type": "integer"
  18643. },
  18644. "userinfotype": {
  18645. "description": "用户信息类型 - 1:个人 2:企业",
  18646. "type": "integer"
  18647. },
  18648. "username": {
  18649. "description": "用户姓名",
  18650. "type": "string"
  18651. },
  18652. "userstate": {
  18653. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18654. "type": "integer"
  18655. }
  18656. }
  18657. },
  18658. "erms3.QueryUserInfosRsp": {
  18659. "type": "object",
  18660. "required": [
  18661. "userid"
  18662. ],
  18663. "properties": {
  18664. "biznature": {
  18665. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18666. "type": "integer"
  18667. },
  18668. "contactname": {
  18669. "description": "联系人",
  18670. "type": "string"
  18671. },
  18672. "customername": {
  18673. "description": "客户名称(企业名称)",
  18674. "type": "string"
  18675. },
  18676. "userid": {
  18677. "description": "用户ID",
  18678. "type": "integer"
  18679. },
  18680. "userinfotype": {
  18681. "description": "用户信息类型 - 1:个人 2:企业",
  18682. "type": "integer"
  18683. },
  18684. "userstatus": {
  18685. "description": "用户状态 - 1:正常 2:注销",
  18686. "type": "integer"
  18687. }
  18688. }
  18689. },
  18690. "erms3.SoptContractDetail": {
  18691. "type": "object",
  18692. "required": [
  18693. "deliverygoodsid",
  18694. "producttype",
  18695. "unitname",
  18696. "warehouseid",
  18697. "wrstandardid",
  18698. "wrstandardname"
  18699. ],
  18700. "properties": {
  18701. "deliverygoodsdesc": {
  18702. "description": "现货品种说明",
  18703. "type": "string"
  18704. },
  18705. "deliverygoodsid": {
  18706. "description": "现货品种ID",
  18707. "type": "integer"
  18708. },
  18709. "deliverygoodsname": {
  18710. "description": "现货品种名称",
  18711. "type": "string"
  18712. },
  18713. "pointdesc": {
  18714. "description": "点价描述",
  18715. "type": "string"
  18716. },
  18717. "producttype": {
  18718. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  18719. "type": "integer"
  18720. },
  18721. "producttypename": {
  18722. "description": "产品类型名称",
  18723. "type": "string"
  18724. },
  18725. "spotPointOrderVoList": {
  18726. "description": "点价列表",
  18727. "type": "array",
  18728. "items": {
  18729. "$ref": "#/definitions/erms3.SpotPointOrder"
  18730. }
  18731. },
  18732. "spotPriceOrderList": {
  18733. "description": "定价列表",
  18734. "type": "array",
  18735. "items": {
  18736. "$ref": "#/definitions/erms3.SpotPriceOrder"
  18737. }
  18738. },
  18739. "unitname": {
  18740. "description": "单位名称",
  18741. "type": "string"
  18742. },
  18743. "warehouseid": {
  18744. "description": "仓库ID",
  18745. "type": "integer"
  18746. },
  18747. "warehousename": {
  18748. "description": "仓库名称",
  18749. "type": "string"
  18750. },
  18751. "wrstandardid": {
  18752. "description": "交易标的ID",
  18753. "type": "integer"
  18754. },
  18755. "wrstandardname": {
  18756. "description": "交易标的名称",
  18757. "type": "string"
  18758. }
  18759. }
  18760. },
  18761. "erms3.SpotPointOrder": {
  18762. "type": "object",
  18763. "required": [
  18764. "basic",
  18765. "goodsid",
  18766. "qty"
  18767. ],
  18768. "properties": {
  18769. "basic": {
  18770. "description": "基差",
  18771. "type": "number"
  18772. },
  18773. "deliveryenddate": {
  18774. "description": "交收结束日期",
  18775. "type": "string"
  18776. },
  18777. "deliverystartdate": {
  18778. "description": "交收开始日期",
  18779. "type": "string"
  18780. },
  18781. "enddate": {
  18782. "description": "点价结束日期",
  18783. "type": "string"
  18784. },
  18785. "goodsid": {
  18786. "description": "商品ID",
  18787. "type": "integer"
  18788. },
  18789. "goodsname": {
  18790. "description": "商品名称",
  18791. "type": "string"
  18792. },
  18793. "qty": {
  18794. "description": "数量",
  18795. "type": "number"
  18796. },
  18797. "startdate": {
  18798. "description": "点价开始日期",
  18799. "type": "string"
  18800. }
  18801. }
  18802. },
  18803. "erms3.SpotPriceOrder": {
  18804. "type": "object",
  18805. "required": [
  18806. "amount",
  18807. "price",
  18808. "qty"
  18809. ],
  18810. "properties": {
  18811. "amount": {
  18812. "description": "金额",
  18813. "type": "number"
  18814. },
  18815. "deliveryenddate": {
  18816. "description": "交收结束日期",
  18817. "type": "string"
  18818. },
  18819. "deliverystartdate": {
  18820. "description": "交收开始日期",
  18821. "type": "string"
  18822. },
  18823. "price": {
  18824. "description": "价格",
  18825. "type": "number"
  18826. },
  18827. "qty": {
  18828. "description": "数量",
  18829. "type": "number"
  18830. }
  18831. }
  18832. },
  18833. "hsby.GetHsbyMyCountRsp": {
  18834. "type": "object",
  18835. "properties": {
  18836. "myCouponCount": {
  18837. "description": "我的优惠卷数量",
  18838. "type": "integer"
  18839. },
  18840. "myOrderDetailListingCount": {
  18841. "description": "我的订单求购中数量",
  18842. "type": "integer"
  18843. },
  18844. "myOrderDetailPreCount": {
  18845. "description": "我的订单抢购中数量",
  18846. "type": "integer"
  18847. },
  18848. "myPackageUnReceiveCount": {
  18849. "description": "我的包裹待收货数量",
  18850. "type": "integer"
  18851. },
  18852. "myPackageUnSendCount": {
  18853. "description": "我的包裹待发货数量",
  18854. "type": "integer"
  18855. },
  18856. "myPayOrderCount": {
  18857. "description": "我的订单待付款数量",
  18858. "type": "integer"
  18859. }
  18860. }
  18861. },
  18862. "hsby.QueryProvincesAndCitiesRsp": {
  18863. "type": "object",
  18864. "properties": {
  18865. "cities": {
  18866. "description": "市",
  18867. "type": "array",
  18868. "items": {
  18869. "$ref": "#/definitions/models.Division"
  18870. }
  18871. },
  18872. "province": {
  18873. "description": "省",
  18874. "$ref": "#/definitions/models.Division"
  18875. }
  18876. }
  18877. },
  18878. "models.Arearole": {
  18879. "type": "object",
  18880. "required": [
  18881. "roletype",
  18882. "userid"
  18883. ],
  18884. "properties": {
  18885. "createtime": {
  18886. "description": "创建时间",
  18887. "type": "string"
  18888. },
  18889. "creatorid": {
  18890. "description": "创建人ID",
  18891. "type": "integer"
  18892. },
  18893. "fromuserid": {
  18894. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  18895. "type": "integer"
  18896. },
  18897. "isreturnscore": {
  18898. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  18899. "type": "integer"
  18900. },
  18901. "modifierid": {
  18902. "description": "修改人ID",
  18903. "type": "integer"
  18904. },
  18905. "modifytime": {
  18906. "description": "修改时间",
  18907. "type": "string"
  18908. },
  18909. "orgtype": {
  18910. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  18911. "type": "integer"
  18912. },
  18913. "outuserid": {
  18914. "description": "外部账户[场外期权做市商]",
  18915. "type": "string"
  18916. },
  18917. "parentuserid": {
  18918. "description": "上级组织机构(组织机构)",
  18919. "type": "integer"
  18920. },
  18921. "roletype": {
  18922. "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:门店",
  18923. "type": "integer"
  18924. },
  18925. "rootuserid": {
  18926. "description": "顶级组织机构用户ID(组织机构)",
  18927. "type": "integer"
  18928. },
  18929. "shoppassword": {
  18930. "description": "商城店铺登陆密码(商城店铺角色使用)",
  18931. "type": "string"
  18932. },
  18933. "sublevelpath": {
  18934. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  18935. "type": "string"
  18936. },
  18937. "suborgtype": {
  18938. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  18939. "type": "integer"
  18940. },
  18941. "tradeaccountid": {
  18942. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  18943. "type": "integer"
  18944. },
  18945. "transurl": {
  18946. "description": "物流地址(物流机构)",
  18947. "type": "string"
  18948. },
  18949. "userid": {
  18950. "description": "机构用户ID其他做市关系,都设置为 1",
  18951. "type": "integer"
  18952. }
  18953. }
  18954. },
  18955. "models.Clientfixedadconfig": {
  18956. "type": "object",
  18957. "required": [
  18958. "adsort",
  18959. "adtype"
  18960. ],
  18961. "properties": {
  18962. "adsort": {
  18963. "description": "排序",
  18964. "type": "integer"
  18965. },
  18966. "adtype": {
  18967. "description": "广告位类型 - 1:新品抢购(HSBY)",
  18968. "type": "integer"
  18969. },
  18970. "areauserid": {
  18971. "description": "所属机构ID",
  18972. "type": "integer"
  18973. },
  18974. "createdate": {
  18975. "description": "创建时间",
  18976. "type": "string"
  18977. },
  18978. "creatorid": {
  18979. "description": "创建人",
  18980. "type": "integer"
  18981. },
  18982. "imagepath": {
  18983. "description": "图片",
  18984. "type": "string"
  18985. },
  18986. "isshow": {
  18987. "description": "是否展示 - 0:不展示 1:展示",
  18988. "type": "integer"
  18989. },
  18990. "modifierid": {
  18991. "description": "操作人",
  18992. "type": "integer"
  18993. },
  18994. "recsize": {
  18995. "description": "推荐尺寸",
  18996. "type": "string"
  18997. },
  18998. "title": {
  18999. "description": "标题",
  19000. "type": "string"
  19001. },
  19002. "updatedate": {
  19003. "description": "更新时间",
  19004. "type": "string"
  19005. },
  19006. "urlcontent": {
  19007. "description": "链接(地址或商品ID)",
  19008. "type": "string"
  19009. },
  19010. "urltype": {
  19011. "description": "链接类型 - 1:直接地址 2:商品ID",
  19012. "type": "integer"
  19013. }
  19014. }
  19015. },
  19016. "models.Division": {
  19017. "type": "object",
  19018. "required": [
  19019. "autoid",
  19020. "divisioncode"
  19021. ],
  19022. "properties": {
  19023. "autoid": {
  19024. "description": "自增ID",
  19025. "type": "integer"
  19026. },
  19027. "divisioncode": {
  19028. "description": "行政代码",
  19029. "type": "string"
  19030. },
  19031. "divisionlevel": {
  19032. "description": "行政级别",
  19033. "type": "string"
  19034. },
  19035. "divisionname": {
  19036. "description": "行政名称",
  19037. "type": "string"
  19038. },
  19039. "modifierid": {
  19040. "description": "修改人",
  19041. "type": "integer"
  19042. },
  19043. "modifytime": {
  19044. "description": "修改时间",
  19045. "type": "string"
  19046. },
  19047. "parentcode": {
  19048. "description": "上级行政代码",
  19049. "type": "string"
  19050. },
  19051. "pathname": {
  19052. "description": "路径名称",
  19053. "type": "string"
  19054. },
  19055. "postcode": {
  19056. "description": "邮政编码",
  19057. "type": "string"
  19058. },
  19059. "separablename": {
  19060. "description": "可拆分的全称",
  19061. "type": "string"
  19062. },
  19063. "shortcode": {
  19064. "description": "地区简码",
  19065. "type": "string"
  19066. }
  19067. }
  19068. },
  19069. "models.Enumdicitem": {
  19070. "type": "object",
  19071. "required": [
  19072. "autoid",
  19073. "enumdiccode",
  19074. "enumdicid",
  19075. "enumitemname"
  19076. ],
  19077. "properties": {
  19078. "autoid": {
  19079. "description": "自增ID",
  19080. "type": "integer"
  19081. },
  19082. "bankmappedvalue": {
  19083. "description": "银行服务对应值",
  19084. "type": "string"
  19085. },
  19086. "enumdiccode": {
  19087. "description": "所属枚举代码",
  19088. "type": "string"
  19089. },
  19090. "enumdicid": {
  19091. "description": "所属枚举ID",
  19092. "type": "integer"
  19093. },
  19094. "enumdicname": {
  19095. "description": "枚举项名称",
  19096. "type": "string"
  19097. },
  19098. "enumitemname": {
  19099. "description": "枚举项值",
  19100. "type": "integer"
  19101. },
  19102. "enumitemstatus": {
  19103. "description": "枚举项状态 - 1.启用 2.不启用",
  19104. "type": "integer"
  19105. },
  19106. "enumitemvalue": {
  19107. "description": "通用值 - [币种通用简写]",
  19108. "type": "string"
  19109. },
  19110. "param1": {
  19111. "description": "参数1[币种:币种小数位]",
  19112. "type": "string"
  19113. },
  19114. "param2": {
  19115. "description": "参数1[币种:币种显示单位]",
  19116. "type": "string"
  19117. },
  19118. "remark": {
  19119. "description": "备注",
  19120. "type": "string"
  19121. }
  19122. }
  19123. },
  19124. "models.Ermcp3AreaSpot": {
  19125. "type": "object",
  19126. "properties": {
  19127. "areauserid": {
  19128. "description": "所属机构",
  19129. "type": "integer"
  19130. },
  19131. "convertratio": {
  19132. "description": "套保系数",
  19133. "type": "number"
  19134. },
  19135. "decreaseqty": {
  19136. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  19137. "type": "number"
  19138. },
  19139. "enumdicname": {
  19140. "description": "单位名称",
  19141. "type": "string"
  19142. },
  19143. "increaseqty": {
  19144. "description": "增加数量=销售计划数量+采购已定价数量",
  19145. "type": "number"
  19146. },
  19147. "oritoalspotqty": {
  19148. "description": "昨日数量",
  19149. "type": "number"
  19150. },
  19151. "totalspotqty": {
  19152. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  19153. "type": "number"
  19154. },
  19155. "unitid": {
  19156. "description": "现货商品单位id",
  19157. "type": "integer"
  19158. },
  19159. "updatetime": {
  19160. "description": "更新时间",
  19161. "type": "string"
  19162. },
  19163. "wrstandardcode": {
  19164. "description": "现货商品代码",
  19165. "type": "string"
  19166. },
  19167. "wrstandardid": {
  19168. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19169. "type": "integer"
  19170. },
  19171. "wrstandardname": {
  19172. "description": "现货商品名称",
  19173. "type": "string"
  19174. }
  19175. }
  19176. },
  19177. "models.Ermcp3AreaSpotDetail": {
  19178. "type": "object",
  19179. "properties": {
  19180. "contracttype": {
  19181. "description": "合同类型 1-采购 -1-销售",
  19182. "type": "integer"
  19183. },
  19184. "createtime": {
  19185. "description": "创建时间",
  19186. "type": "string"
  19187. },
  19188. "enumdicname": {
  19189. "description": "现货商品单位名称",
  19190. "type": "string"
  19191. },
  19192. "logtype": {
  19193. "description": "记录类型 1-套保 2-现货合同",
  19194. "type": "integer"
  19195. },
  19196. "qty": {
  19197. "description": "数量",
  19198. "type": "number"
  19199. },
  19200. "recordname": {
  19201. "description": "类型名称",
  19202. "type": "string"
  19203. },
  19204. "relatedid": {
  19205. "description": "套保计划ID/现货合同ID",
  19206. "type": "string"
  19207. },
  19208. "relatedno": {
  19209. "description": "编号",
  19210. "type": "string"
  19211. },
  19212. "strtime": {
  19213. "description": "时间",
  19214. "type": "string"
  19215. },
  19216. "wrstandardcode": {
  19217. "description": "现货商品代码",
  19218. "type": "string"
  19219. },
  19220. "wrstandardid": {
  19221. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19222. "type": "integer"
  19223. },
  19224. "wrstandardname": {
  19225. "description": "现货商品名称",
  19226. "type": "string"
  19227. }
  19228. }
  19229. },
  19230. "models.Ermcp3AreaSpotPLReport": {
  19231. "type": "object",
  19232. "properties": {
  19233. "accountid": {
  19234. "description": "期货账户ID (作废, 默认为0)",
  19235. "type": "integer"
  19236. },
  19237. "accountname": {
  19238. "description": "机构名称",
  19239. "type": "string"
  19240. },
  19241. "actualpl": {
  19242. "description": "现货损益",
  19243. "type": "number"
  19244. },
  19245. "areauserid": {
  19246. "description": "所属机构\\交易用户ID",
  19247. "type": "integer"
  19248. },
  19249. "begindate": {
  19250. "description": "开始交易日",
  19251. "type": "string"
  19252. },
  19253. "biztype": {
  19254. "description": "业务类型 - 1:套保 2:套利",
  19255. "type": "integer"
  19256. },
  19257. "brandname": {
  19258. "description": "品牌名称",
  19259. "type": "string"
  19260. },
  19261. "curamount": {
  19262. "description": "期末额",
  19263. "type": "number"
  19264. },
  19265. "curaverageprice": {
  19266. "description": "期末均价",
  19267. "type": "number"
  19268. },
  19269. "curbuyamount": {
  19270. "description": "期末采购总额",
  19271. "type": "number"
  19272. },
  19273. "curbuyqty": {
  19274. "description": "期末采购总量",
  19275. "type": "number"
  19276. },
  19277. "curmarketvalue": {
  19278. "description": "参考市值(期末市值)",
  19279. "type": "number"
  19280. },
  19281. "curqty": {
  19282. "description": "期末量",
  19283. "type": "number"
  19284. },
  19285. "currencyid": {
  19286. "description": "结算币种ID【原值】",
  19287. "type": "integer"
  19288. },
  19289. "currencyname": {
  19290. "description": "币种名称",
  19291. "type": "string"
  19292. },
  19293. "cursellamount": {
  19294. "description": "期末销售总额",
  19295. "type": "number"
  19296. },
  19297. "cursellqty": {
  19298. "description": "期末销售总量",
  19299. "type": "number"
  19300. },
  19301. "curspotprice": {
  19302. "description": "参考市价(最新价)",
  19303. "type": "number"
  19304. },
  19305. "cycletime": {
  19306. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19307. "type": "string"
  19308. },
  19309. "cycletype": {
  19310. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19311. "type": "integer"
  19312. },
  19313. "deliverygoodscode": {
  19314. "description": "现货商品代码",
  19315. "type": "string"
  19316. },
  19317. "deliverygoodsid": {
  19318. "description": "现货品种ID",
  19319. "type": "integer"
  19320. },
  19321. "deliverygoodsname": {
  19322. "description": "现货商品名称",
  19323. "type": "string"
  19324. },
  19325. "enddate": {
  19326. "description": "结束交易日",
  19327. "type": "string"
  19328. },
  19329. "enumdicname": {
  19330. "description": "现货商品单位名称",
  19331. "type": "string"
  19332. },
  19333. "floatpl": {
  19334. "description": "浮动损益",
  19335. "type": "number"
  19336. },
  19337. "goodsunitid": {
  19338. "description": "现货商品单位id",
  19339. "type": "integer"
  19340. },
  19341. "oriamount": {
  19342. "description": "期初额",
  19343. "type": "number"
  19344. },
  19345. "oriaverageprice": {
  19346. "description": "期初均价",
  19347. "type": "number"
  19348. },
  19349. "oribuyamount": {
  19350. "description": "期初采购总额",
  19351. "type": "number"
  19352. },
  19353. "oribuyqty": {
  19354. "description": "期初采购总量",
  19355. "type": "number"
  19356. },
  19357. "oriqty": {
  19358. "description": "期初量",
  19359. "type": "number"
  19360. },
  19361. "orisellamount": {
  19362. "description": "期初销售总额",
  19363. "type": "number"
  19364. },
  19365. "orisellqty": {
  19366. "description": "期初销售总量",
  19367. "type": "number"
  19368. },
  19369. "reckondate": {
  19370. "description": "日照时期(yyyyMMdd)",
  19371. "type": "string"
  19372. },
  19373. "spotgoodsbrandid": {
  19374. "description": "现货品牌ID",
  19375. "type": "integer"
  19376. },
  19377. "todaybuyamount": {
  19378. "description": "今日采购额(今采购额)",
  19379. "type": "number"
  19380. },
  19381. "todaybuyaverageprice": {
  19382. "description": "今日采购均价",
  19383. "type": "number"
  19384. },
  19385. "todaybuyqty": {
  19386. "description": "今日采购量(今采购量)",
  19387. "type": "number"
  19388. },
  19389. "todayinqty": {
  19390. "description": "今日入库量(今入库量)",
  19391. "type": "number"
  19392. },
  19393. "todayoutqty": {
  19394. "description": "今日出库量(今出库量)",
  19395. "type": "number"
  19396. },
  19397. "todaysellamount": {
  19398. "description": "今日销售额(今销售额)",
  19399. "type": "number"
  19400. },
  19401. "todaysellaverageprice": {
  19402. "description": "今日销售均价",
  19403. "type": "number"
  19404. },
  19405. "todaysellqty": {
  19406. "description": "今日销售量(今销售量)",
  19407. "type": "number"
  19408. },
  19409. "unitid": {
  19410. "description": "品类单位id",
  19411. "type": "integer"
  19412. },
  19413. "unitidname": {
  19414. "description": "品类单位名称",
  19415. "type": "string"
  19416. },
  19417. "updatetime": {
  19418. "description": "更新时间",
  19419. "type": "string"
  19420. },
  19421. "wrfactortypeid": {
  19422. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19423. "type": "integer"
  19424. },
  19425. "wrstandardcode": {
  19426. "description": "品类代码",
  19427. "type": "string"
  19428. },
  19429. "wrstandardid": {
  19430. "description": "现货品类ID",
  19431. "type": "integer"
  19432. },
  19433. "wrstandardname": {
  19434. "description": "品类名称",
  19435. "type": "string"
  19436. }
  19437. }
  19438. },
  19439. "models.Ermcp3AreaStock": {
  19440. "type": "object",
  19441. "required": [
  19442. "userid"
  19443. ],
  19444. "properties": {
  19445. "brandname": {
  19446. "description": "品牌名称",
  19447. "type": "string"
  19448. },
  19449. "curstock": {
  19450. "description": "期末库存量(今日量)",
  19451. "type": "number"
  19452. },
  19453. "deliverygoodscode": {
  19454. "description": "现货品种代码",
  19455. "type": "string"
  19456. },
  19457. "deliverygoodsid": {
  19458. "description": "现货品种id",
  19459. "type": "integer"
  19460. },
  19461. "deliverygoodsname": {
  19462. "description": "现货品种名称",
  19463. "type": "string"
  19464. },
  19465. "enumdicname": {
  19466. "description": "单位名称",
  19467. "type": "string"
  19468. },
  19469. "goodsunitid": {
  19470. "description": "现货商品单位id",
  19471. "type": "integer"
  19472. },
  19473. "oristock": {
  19474. "description": "期初库存量(昨日量)",
  19475. "type": "number"
  19476. },
  19477. "spotgoodsbrandid": {
  19478. "description": "现货品牌ID",
  19479. "type": "integer"
  19480. },
  19481. "todaybuyinqty": {
  19482. "description": "今日采购入库量",
  19483. "type": "number"
  19484. },
  19485. "todayproduceinqty": {
  19486. "description": "今日生产入库量",
  19487. "type": "number"
  19488. },
  19489. "todayproduceoutqty": {
  19490. "description": "今日生产出库量",
  19491. "type": "number"
  19492. },
  19493. "todayselloutqty": {
  19494. "description": "今日销售出库量",
  19495. "type": "number"
  19496. },
  19497. "unitid": {
  19498. "description": "单位id",
  19499. "type": "integer"
  19500. },
  19501. "updatetime": {
  19502. "description": "更新时间",
  19503. "type": "string"
  19504. },
  19505. "userid": {
  19506. "description": "机构ID",
  19507. "type": "integer"
  19508. },
  19509. "username": {
  19510. "description": "机构名称",
  19511. "type": "string"
  19512. },
  19513. "warehousecode": {
  19514. "description": "仓库代码",
  19515. "type": "string"
  19516. },
  19517. "warehouseinfoid": {
  19518. "description": "仓库ID",
  19519. "type": "string"
  19520. },
  19521. "warehousename": {
  19522. "description": "仓库名称",
  19523. "type": "string"
  19524. },
  19525. "warehousetype": {
  19526. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19527. "type": "integer"
  19528. },
  19529. "wrstandardcode": {
  19530. "description": "品类代码",
  19531. "type": "string"
  19532. },
  19533. "wrstandardid": {
  19534. "description": "品类ID",
  19535. "type": "string"
  19536. },
  19537. "wrstandardname": {
  19538. "description": "品类名称",
  19539. "type": "string"
  19540. }
  19541. }
  19542. },
  19543. "models.Ermcp3AreaStockApply": {
  19544. "type": "object",
  19545. "properties": {
  19546. "applyid": {
  19547. "description": "申请人",
  19548. "type": "integer"
  19549. },
  19550. "applyname": {
  19551. "description": "申请人名称",
  19552. "type": "string"
  19553. },
  19554. "applyremark": {
  19555. "description": "申请备注",
  19556. "type": "string"
  19557. },
  19558. "applysrc": {
  19559. "description": "申请来源 - 1:管理端 2:终端",
  19560. "type": "integer"
  19561. },
  19562. "applystatus": {
  19563. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19564. "type": "integer"
  19565. },
  19566. "applytime": {
  19567. "description": "申请时间",
  19568. "type": "string"
  19569. },
  19570. "auditid": {
  19571. "description": "审核人",
  19572. "type": "integer"
  19573. },
  19574. "auditname": {
  19575. "description": "审核人名称",
  19576. "type": "string"
  19577. },
  19578. "auditremark": {
  19579. "description": "审核备注",
  19580. "type": "string"
  19581. },
  19582. "auditsrc": {
  19583. "description": "审核来源 - 1:管理端 2:终端",
  19584. "type": "integer"
  19585. },
  19586. "audittime": {
  19587. "description": "审核时间",
  19588. "type": "string"
  19589. },
  19590. "audittradedate": {
  19591. "description": "审核交易日(yyyyMMdd)",
  19592. "type": "string"
  19593. },
  19594. "brandname": {
  19595. "description": "品牌名称",
  19596. "type": "string"
  19597. },
  19598. "buynickname": {
  19599. "description": "采购方昵称",
  19600. "type": "string"
  19601. },
  19602. "buyuserid": {
  19603. "description": "采购方userid",
  19604. "type": "integer"
  19605. },
  19606. "buyusername": {
  19607. "description": "采购方名称",
  19608. "type": "string"
  19609. },
  19610. "contractno": {
  19611. "description": "合同编号",
  19612. "type": "string"
  19613. },
  19614. "contractqty": {
  19615. "description": "合同量",
  19616. "type": "number"
  19617. },
  19618. "contracttype": {
  19619. "description": "现货合同类型 - 1:采购 -1:销售",
  19620. "type": "integer"
  19621. },
  19622. "deliverygoodscode": {
  19623. "description": "现货品种代码",
  19624. "type": "string"
  19625. },
  19626. "deliverygoodsid": {
  19627. "description": "现货品种id",
  19628. "type": "integer"
  19629. },
  19630. "deliverygoodsname": {
  19631. "description": "现货品种名称",
  19632. "type": "string"
  19633. },
  19634. "detailjson": {
  19635. "description": "明细数据",
  19636. "type": "string"
  19637. },
  19638. "enumdicname": {
  19639. "description": "现货商品单位名称",
  19640. "type": "string"
  19641. },
  19642. "inoutapplyid": {
  19643. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  19644. "type": "string"
  19645. },
  19646. "inouttype": {
  19647. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  19648. "type": "integer"
  19649. },
  19650. "pricetype": {
  19651. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19652. "type": "integer"
  19653. },
  19654. "qty": {
  19655. "description": "数量",
  19656. "type": "number"
  19657. },
  19658. "sellnickname": {
  19659. "description": "销售方昵称",
  19660. "type": "string"
  19661. },
  19662. "selluserid": {
  19663. "description": "销售方userid",
  19664. "type": "integer"
  19665. },
  19666. "sellusername": {
  19667. "description": "销售方名称",
  19668. "type": "string"
  19669. },
  19670. "spotcontractid": {
  19671. "description": "关联现货合同ID",
  19672. "type": "string"
  19673. },
  19674. "spotgoodsbrandid": {
  19675. "description": "现货品牌ID",
  19676. "type": "integer"
  19677. },
  19678. "unitid": {
  19679. "description": "单位id",
  19680. "type": "integer"
  19681. },
  19682. "userid": {
  19683. "description": "机构ID",
  19684. "type": "integer"
  19685. },
  19686. "warehousecode": {
  19687. "description": "仓库代码",
  19688. "type": "string"
  19689. },
  19690. "warehouseinfoid": {
  19691. "description": "现货仓库ID",
  19692. "type": "string"
  19693. },
  19694. "warehousename": {
  19695. "description": "仓库名称",
  19696. "type": "string"
  19697. },
  19698. "warehousetype": {
  19699. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19700. "type": "integer"
  19701. },
  19702. "wrstandardcode": {
  19703. "description": "品类代码",
  19704. "type": "string"
  19705. },
  19706. "wrstandardid": {
  19707. "description": "品类ID",
  19708. "type": "integer"
  19709. },
  19710. "wrstandardname": {
  19711. "description": "品类名称",
  19712. "type": "string"
  19713. }
  19714. }
  19715. },
  19716. "models.Ermcp3AreaStockApplySum": {
  19717. "type": "object",
  19718. "properties": {
  19719. "brandname": {
  19720. "description": "品牌名称",
  19721. "type": "string"
  19722. },
  19723. "inouttype": {
  19724. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  19725. "type": "integer"
  19726. },
  19727. "spotcontractid": {
  19728. "description": "关联现货合同ID",
  19729. "type": "string"
  19730. },
  19731. "spotgoodsbrandid": {
  19732. "description": "品牌id",
  19733. "type": "integer"
  19734. },
  19735. "totalqty": {
  19736. "description": "总数量",
  19737. "type": "number"
  19738. },
  19739. "wrstandardid": {
  19740. "description": "品类id",
  19741. "type": "integer"
  19742. },
  19743. "wrstandardname": {
  19744. "description": "品类名称",
  19745. "type": "string"
  19746. }
  19747. }
  19748. },
  19749. "models.Ermcp3AreaStockReportEx": {
  19750. "type": "object",
  19751. "properties": {
  19752. "begindate": {
  19753. "description": "开始交易日",
  19754. "type": "string"
  19755. },
  19756. "brandname": {
  19757. "description": "品牌名称",
  19758. "type": "string"
  19759. },
  19760. "curstock": {
  19761. "description": "期末库存量",
  19762. "type": "number"
  19763. },
  19764. "cycletime": {
  19765. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19766. "type": "string"
  19767. },
  19768. "cycletype": {
  19769. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19770. "type": "integer"
  19771. },
  19772. "deliverygoodscode": {
  19773. "description": "现货品种代码",
  19774. "type": "string"
  19775. },
  19776. "deliverygoodsid": {
  19777. "description": "现货品种id",
  19778. "type": "integer"
  19779. },
  19780. "deliverygoodsname": {
  19781. "description": "现货品种名称",
  19782. "type": "string"
  19783. },
  19784. "diffqty": {
  19785. "description": "库存变化量 = 期末 - 期初",
  19786. "type": "number"
  19787. },
  19788. "enddate": {
  19789. "description": "结束交易日",
  19790. "type": "string"
  19791. },
  19792. "enumdicname": {
  19793. "description": "单位名称",
  19794. "type": "string"
  19795. },
  19796. "goodsunitid": {
  19797. "description": "现货单位id",
  19798. "type": "integer"
  19799. },
  19800. "oristock": {
  19801. "description": "期初库存量",
  19802. "type": "number"
  19803. },
  19804. "reckondate": {
  19805. "description": "日照时期(yyyyMMdd)",
  19806. "type": "string"
  19807. },
  19808. "spotgoodsbrandid": {
  19809. "description": "现货品牌ID",
  19810. "type": "integer"
  19811. },
  19812. "todaybuyinqty": {
  19813. "description": "今采购入库量",
  19814. "type": "number"
  19815. },
  19816. "todayproduceinqty": {
  19817. "description": "今内部入库量",
  19818. "type": "number"
  19819. },
  19820. "todayproduceoutqty": {
  19821. "description": "今内部出库量",
  19822. "type": "number"
  19823. },
  19824. "todayselloutqty": {
  19825. "description": "今销售出库量",
  19826. "type": "number"
  19827. },
  19828. "unbuyinqty": {
  19829. "description": "采购未入库量(数据库未找到相关字段?)",
  19830. "type": "number"
  19831. },
  19832. "unitid": {
  19833. "description": "品类单位id",
  19834. "type": "integer"
  19835. },
  19836. "unselloutqty": {
  19837. "description": "销售未出库量(数据库未找到相关字段?)",
  19838. "type": "number"
  19839. },
  19840. "updatetime": {
  19841. "description": "更新时间",
  19842. "type": "string"
  19843. },
  19844. "userid": {
  19845. "description": "机构ID",
  19846. "type": "integer"
  19847. },
  19848. "username": {
  19849. "description": "机构名称",
  19850. "type": "string"
  19851. },
  19852. "warehousecode": {
  19853. "description": "仓库代码",
  19854. "type": "string"
  19855. },
  19856. "warehouseinfoid": {
  19857. "description": "仓库ID",
  19858. "type": "string"
  19859. },
  19860. "warehousename": {
  19861. "description": "仓库名称",
  19862. "type": "string"
  19863. },
  19864. "warehousetype": {
  19865. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19866. "type": "integer"
  19867. },
  19868. "wrstandardcode": {
  19869. "description": "品类代码",
  19870. "type": "string"
  19871. },
  19872. "wrstandardid": {
  19873. "description": "品类ID",
  19874. "type": "integer"
  19875. },
  19876. "wrstandardname": {
  19877. "description": "品类名称",
  19878. "type": "string"
  19879. }
  19880. }
  19881. },
  19882. "models.Ermcp3ArealSumPL": {
  19883. "type": "object",
  19884. "properties": {
  19885. "accountname": {
  19886. "description": "机构名称",
  19887. "type": "string"
  19888. },
  19889. "areauserid": {
  19890. "description": "所属机构\\交易用户ID",
  19891. "type": "integer"
  19892. },
  19893. "begindate": {
  19894. "description": "开始交易日",
  19895. "type": "string"
  19896. },
  19897. "currencyid": {
  19898. "description": "结算币种ID",
  19899. "type": "integer"
  19900. },
  19901. "currencyname": {
  19902. "description": "币种名称",
  19903. "type": "string"
  19904. },
  19905. "cycletime": {
  19906. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19907. "type": "string"
  19908. },
  19909. "cycletype": {
  19910. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19911. "type": "integer"
  19912. },
  19913. "enddate": {
  19914. "description": "结束交易日",
  19915. "type": "string"
  19916. },
  19917. "enumdicname": {
  19918. "description": "单位名称(套保品种)",
  19919. "type": "string"
  19920. },
  19921. "futureactualpl": {
  19922. "description": "期货损益",
  19923. "type": "number"
  19924. },
  19925. "futurefloatpl": {
  19926. "description": "期货浮动损益",
  19927. "type": "number"
  19928. },
  19929. "futurespotratio": {
  19930. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  19931. "type": "number"
  19932. },
  19933. "goodsunitid": {
  19934. "description": "套保品种单位id",
  19935. "type": "integer"
  19936. },
  19937. "hedgeexposurepl": {
  19938. "description": "套保敞口损益",
  19939. "type": "number"
  19940. },
  19941. "middlegoodscode": {
  19942. "description": "套保品种代码",
  19943. "type": "string"
  19944. },
  19945. "middlegoodsid": {
  19946. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  19947. "type": "integer"
  19948. },
  19949. "middlegoodsname": {
  19950. "description": "套保品种名称",
  19951. "type": "string"
  19952. },
  19953. "reckondate": {
  19954. "description": "日照时期(yyyyMMdd)",
  19955. "type": "string"
  19956. },
  19957. "spotactualpl": {
  19958. "description": "现货损益",
  19959. "type": "number"
  19960. },
  19961. "spotfloatpl": {
  19962. "description": "现货浮动损益",
  19963. "type": "number"
  19964. },
  19965. "sumactualpl": {
  19966. "description": "实际损益 = (ActualPL + FutureActualPL)",
  19967. "type": "number"
  19968. },
  19969. "sumpl": {
  19970. "description": "总敞口损益 | 汇总损益",
  19971. "type": "number"
  19972. },
  19973. "totalfutureqty": {
  19974. "description": "期货头寸总量",
  19975. "type": "number"
  19976. },
  19977. "totalneedhedgeqty": {
  19978. "description": "应套保总量",
  19979. "type": "number"
  19980. },
  19981. "totalspotqty": {
  19982. "description": "现货头寸总量",
  19983. "type": "number"
  19984. },
  19985. "updatetime": {
  19986. "description": "更新时间",
  19987. "type": "string"
  19988. }
  19989. }
  19990. },
  19991. "models.Ermcp3Brand": {
  19992. "type": "object",
  19993. "properties": {
  19994. "areauserid": {
  19995. "description": "用户id",
  19996. "type": "integer"
  19997. },
  19998. "brandid": {
  19999. "description": "品牌id",
  20000. "type": "integer"
  20001. },
  20002. "brandname": {
  20003. "description": "品牌名称",
  20004. "type": "string"
  20005. },
  20006. "deliverygoodsid": {
  20007. "description": "品种ID",
  20008. "type": "integer"
  20009. },
  20010. "isvalid": {
  20011. "description": "是否有效",
  20012. "type": "integer"
  20013. }
  20014. }
  20015. },
  20016. "models.Ermcp3Contract": {
  20017. "type": "object",
  20018. "properties": {
  20019. "accountid": {
  20020. "description": "期货账户id",
  20021. "type": "string"
  20022. },
  20023. "amount": {
  20024. "description": "金额 [1:一口价、3:暂定价]",
  20025. "type": "number"
  20026. },
  20027. "attachment": {
  20028. "description": "附件",
  20029. "type": "string"
  20030. },
  20031. "auditremark": {
  20032. "description": "审核意见",
  20033. "type": "string"
  20034. },
  20035. "audittime": {
  20036. "description": "审核时间",
  20037. "type": "string"
  20038. },
  20039. "biztype": {
  20040. "description": "业务类型 1-套保 2-套利",
  20041. "type": "integer"
  20042. },
  20043. "brandname": {
  20044. "description": "品牌名称",
  20045. "type": "string"
  20046. },
  20047. "buynickname": {
  20048. "description": "销售方昵称",
  20049. "type": "string"
  20050. },
  20051. "buyuserid": {
  20052. "description": "采购方ID",
  20053. "type": "integer"
  20054. },
  20055. "buyusername": {
  20056. "description": "采购方名称",
  20057. "type": "string"
  20058. },
  20059. "contracctstatus": {
  20060. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20061. "type": "integer"
  20062. },
  20063. "contractmargin": {
  20064. "description": "合同保证金",
  20065. "type": "number"
  20066. },
  20067. "contractno": {
  20068. "description": "现货合同编号",
  20069. "type": "string"
  20070. },
  20071. "contracttype": {
  20072. "description": "现货合同类型 - 1:采购 -1:销售",
  20073. "type": "integer"
  20074. },
  20075. "convertfactor": {
  20076. "description": "标仓系数(品类)",
  20077. "type": "number"
  20078. },
  20079. "createtime": {
  20080. "description": "创建时间",
  20081. "type": "string"
  20082. },
  20083. "currencyid": {
  20084. "description": "币种id",
  20085. "type": "integer"
  20086. },
  20087. "currencyname": {
  20088. "description": "币种名称",
  20089. "type": "string"
  20090. },
  20091. "deliveryenddate": {
  20092. "description": "交收期(结束)",
  20093. "type": "string"
  20094. },
  20095. "deliverygoodscode": {
  20096. "description": "现货品种代码",
  20097. "type": "string"
  20098. },
  20099. "deliverygoodsid": {
  20100. "description": "现货品种ID",
  20101. "type": "integer"
  20102. },
  20103. "deliverygoodsname": {
  20104. "description": "现货品种名称",
  20105. "type": "string"
  20106. },
  20107. "deliverystartdate": {
  20108. "description": "交收期(开始)",
  20109. "type": "string"
  20110. },
  20111. "enddate": {
  20112. "description": "点价结束日期 [2:点价 3:暂定价]",
  20113. "type": "string"
  20114. },
  20115. "enumdicname": {
  20116. "description": "单位名称",
  20117. "type": "string"
  20118. },
  20119. "goodscode": {
  20120. "description": "点价合约代码",
  20121. "type": "string"
  20122. },
  20123. "goodsid": {
  20124. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  20125. "type": "integer"
  20126. },
  20127. "goodsname": {
  20128. "description": "点价商品名称",
  20129. "type": "string"
  20130. },
  20131. "margin": {
  20132. "description": "当前保证金",
  20133. "type": "number"
  20134. },
  20135. "meruserid": {
  20136. "description": "跟单员id",
  20137. "type": "integer"
  20138. },
  20139. "meruserlogincode": {
  20140. "description": "跟单员登录代码",
  20141. "type": "string"
  20142. },
  20143. "merusername": {
  20144. "description": "跟单员名称",
  20145. "type": "string"
  20146. },
  20147. "price": {
  20148. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  20149. "type": "number"
  20150. },
  20151. "pricemove": {
  20152. "description": "升贴水 [2:点价 3:暂定价]",
  20153. "type": "number"
  20154. },
  20155. "pricetype": {
  20156. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20157. "type": "integer"
  20158. },
  20159. "producttype": {
  20160. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20161. "type": "integer"
  20162. },
  20163. "qty": {
  20164. "description": "数量",
  20165. "type": "number"
  20166. },
  20167. "remark": {
  20168. "description": "备注",
  20169. "type": "string"
  20170. },
  20171. "saleuserid": {
  20172. "description": "业务员id",
  20173. "type": "integer"
  20174. },
  20175. "saleuserlogincode": {
  20176. "description": "业务员登录代码",
  20177. "type": "string"
  20178. },
  20179. "saleusername": {
  20180. "description": "业务员名称",
  20181. "type": "string"
  20182. },
  20183. "sellnickname": {
  20184. "description": "采购方昵称",
  20185. "type": "string"
  20186. },
  20187. "selluserid": {
  20188. "description": "销售方ID",
  20189. "type": "integer"
  20190. },
  20191. "sellusername": {
  20192. "description": "销售方名称",
  20193. "type": "string"
  20194. },
  20195. "spotcontractid": {
  20196. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  20197. "type": "string"
  20198. },
  20199. "spotgoodsbrandid": {
  20200. "description": "现货品牌ID(DGFactoryItem表的ID)",
  20201. "type": "integer"
  20202. },
  20203. "spotgoodsdesc": {
  20204. "description": "商品型号",
  20205. "type": "string"
  20206. },
  20207. "startdate": {
  20208. "description": "点价开始日期 [2:点价 3:暂定价]",
  20209. "type": "string"
  20210. },
  20211. "subjectid": {
  20212. "description": "交易主体ID",
  20213. "type": "string"
  20214. },
  20215. "subjectname": {
  20216. "description": "交易主体名称",
  20217. "type": "string"
  20218. },
  20219. "tradeuserid": {
  20220. "description": "交易员id",
  20221. "type": "integer"
  20222. },
  20223. "tradeuserlogincode": {
  20224. "description": "交易员登录代码",
  20225. "type": "string"
  20226. },
  20227. "tradeusername": {
  20228. "description": "交易员名称",
  20229. "type": "string"
  20230. },
  20231. "unitid": {
  20232. "description": "单位id(取品类上的单位id)",
  20233. "type": "integer"
  20234. },
  20235. "updatetime": {
  20236. "description": "更新时间",
  20237. "type": "string"
  20238. },
  20239. "userid": {
  20240. "description": "所属机构ID",
  20241. "type": "integer"
  20242. },
  20243. "vatrate": {
  20244. "description": "增值税率",
  20245. "type": "number"
  20246. },
  20247. "wrstandardcode": {
  20248. "description": "品类代码",
  20249. "type": "string"
  20250. },
  20251. "wrstandardid": {
  20252. "description": "品类ID",
  20253. "type": "integer"
  20254. },
  20255. "wrstandardname": {
  20256. "description": "品类名称",
  20257. "type": "string"
  20258. }
  20259. }
  20260. },
  20261. "models.Ermcp3ExposureContractDetail": {
  20262. "type": "object",
  20263. "properties": {
  20264. "biztype": {
  20265. "description": "业务类型 1-套保 2-套利",
  20266. "type": "integer"
  20267. },
  20268. "brandname": {
  20269. "description": "品牌名称",
  20270. "type": "string"
  20271. },
  20272. "buyuserid": {
  20273. "description": "采购方id",
  20274. "type": "integer"
  20275. },
  20276. "buyusername": {
  20277. "description": "采购方名称",
  20278. "type": "string"
  20279. },
  20280. "contractno": {
  20281. "description": "合同编号",
  20282. "type": "string"
  20283. },
  20284. "contracttype": {
  20285. "description": "现货合同类型 - 1:采购 -1:销售",
  20286. "type": "integer"
  20287. },
  20288. "convertfactor": {
  20289. "description": "标仓系数",
  20290. "type": "number"
  20291. },
  20292. "convertratio": {
  20293. "description": "折算系数(套保品种)",
  20294. "type": "number"
  20295. },
  20296. "curqty": {
  20297. "description": "今定价量",
  20298. "type": "number"
  20299. },
  20300. "deliverygoodscode": {
  20301. "description": "现货商品代码",
  20302. "type": "string"
  20303. },
  20304. "deliverygoodsid": {
  20305. "description": "现货商品id",
  20306. "type": "integer"
  20307. },
  20308. "deliverygoodsname": {
  20309. "description": "现货商品名称",
  20310. "type": "string"
  20311. },
  20312. "diffhedgeqty": {
  20313. "description": "套保变动量",
  20314. "type": "number"
  20315. },
  20316. "diffneedhedgeqty": {
  20317. "description": "应套保变动量",
  20318. "type": "number"
  20319. },
  20320. "diffqty": {
  20321. "description": "套保品种今变动量",
  20322. "type": "number"
  20323. },
  20324. "enumdicname": {
  20325. "description": "单位名称",
  20326. "type": "string"
  20327. },
  20328. "mgunitname": {
  20329. "description": "套保品种单位名称",
  20330. "type": "string"
  20331. },
  20332. "middlegoodscode": {
  20333. "description": "套保品种代码",
  20334. "type": "string"
  20335. },
  20336. "middlegoodsid": {
  20337. "description": "套保品种id",
  20338. "type": "integer"
  20339. },
  20340. "middlegoodsname": {
  20341. "description": "套保品种名称",
  20342. "type": "string"
  20343. },
  20344. "needarbitrageratio": {
  20345. "description": "应套利比例",
  20346. "type": "number"
  20347. },
  20348. "needhedgeratio": {
  20349. "description": "应套保比例",
  20350. "type": "number"
  20351. },
  20352. "pricedqty": {
  20353. "description": "已定价量",
  20354. "type": "number"
  20355. },
  20356. "qty": {
  20357. "description": "合同量",
  20358. "type": "number"
  20359. },
  20360. "selluserid": {
  20361. "description": "销售方id",
  20362. "type": "integer"
  20363. },
  20364. "sellusername": {
  20365. "description": "销售方名称",
  20366. "type": "string"
  20367. },
  20368. "spotcontractid": {
  20369. "description": "合同id",
  20370. "type": "string"
  20371. },
  20372. "todaypricedqty": {
  20373. "description": "今定价量",
  20374. "type": "number"
  20375. },
  20376. "tradedate": {
  20377. "description": "交易日",
  20378. "type": "string"
  20379. },
  20380. "unitid": {
  20381. "description": "品类单位id",
  20382. "type": "integer"
  20383. },
  20384. "userid": {
  20385. "description": "机构id",
  20386. "type": "integer"
  20387. },
  20388. "username": {
  20389. "description": "交易用户",
  20390. "type": "string"
  20391. },
  20392. "wrstandardcode": {
  20393. "description": "品类代码",
  20394. "type": "string"
  20395. },
  20396. "wrstandardid": {
  20397. "description": "品类id",
  20398. "type": "integer"
  20399. },
  20400. "wrstandardname": {
  20401. "description": "品类名称",
  20402. "type": "string"
  20403. }
  20404. }
  20405. },
  20406. "models.Ermcp3ExposureDetail": {
  20407. "type": "object",
  20408. "properties": {
  20409. "areauserid": {
  20410. "description": "机构ID",
  20411. "type": "integer"
  20412. },
  20413. "changeQty": {
  20414. "description": "套保变动量",
  20415. "type": "number"
  20416. },
  20417. "contracttype": {
  20418. "description": "现货合同类型 - 1:采购 -1:销售",
  20419. "type": "integer"
  20420. },
  20421. "convertfactor": {
  20422. "description": "标仓系数",
  20423. "type": "number"
  20424. },
  20425. "convertratio": {
  20426. "description": "折算系数",
  20427. "type": "number"
  20428. },
  20429. "createtime": {
  20430. "description": "时间",
  20431. "type": "string"
  20432. },
  20433. "enumdicname": {
  20434. "description": "现货商品单位名称",
  20435. "type": "string"
  20436. },
  20437. "logtype": {
  20438. "description": "类型 - 1:套保计划 2:现货合同",
  20439. "type": "integer"
  20440. },
  20441. "mgunitid": {
  20442. "description": "套保品种单位id",
  20443. "type": "integer"
  20444. },
  20445. "mgunitidname": {
  20446. "description": "套保品种单位名称",
  20447. "type": "string"
  20448. },
  20449. "middlegoodsId": {
  20450. "description": "套保商品id",
  20451. "type": "integer"
  20452. },
  20453. "middlegoodscode": {
  20454. "description": "套保商品代码",
  20455. "type": "string"
  20456. },
  20457. "middlegoodsname": {
  20458. "description": "套保商品名称",
  20459. "type": "string"
  20460. },
  20461. "qty": {
  20462. "description": "数量",
  20463. "type": "number"
  20464. },
  20465. "relateNo": {
  20466. "description": "现货合同/套保计划编号",
  20467. "type": "string"
  20468. },
  20469. "unitid": {
  20470. "description": "现货商品单位id",
  20471. "type": "integer"
  20472. },
  20473. "wrstandardcode": {
  20474. "description": "现货商品代码",
  20475. "type": "string"
  20476. },
  20477. "wrstandardid": {
  20478. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20479. "type": "integer"
  20480. },
  20481. "wrstandardname": {
  20482. "description": "现货商品名称",
  20483. "type": "string"
  20484. }
  20485. }
  20486. },
  20487. "models.Ermcp3ExposureFutuDetail": {
  20488. "type": "object",
  20489. "properties": {
  20490. "accountid": {
  20491. "description": "交易账户id",
  20492. "type": "integer"
  20493. },
  20494. "accountname": {
  20495. "description": "交易账户",
  20496. "type": "string"
  20497. },
  20498. "begindate": {
  20499. "description": "开始交易日",
  20500. "type": "string"
  20501. },
  20502. "buyorsell": {
  20503. "description": "方向 0-买 1-卖",
  20504. "type": "integer"
  20505. },
  20506. "diffmgqty": {
  20507. "description": "套保品种今变化量",
  20508. "type": "number"
  20509. },
  20510. "diffneedqty": {
  20511. "description": "应套保总量变化量",
  20512. "type": "number"
  20513. },
  20514. "difftradeqty": {
  20515. "description": "交易品种今变化量",
  20516. "type": "number"
  20517. },
  20518. "enddate": {
  20519. "description": "结束交易日",
  20520. "type": "string"
  20521. },
  20522. "enumdicname": {
  20523. "description": "单位名称",
  20524. "type": "string"
  20525. },
  20526. "goodscode": {
  20527. "description": "商品代码",
  20528. "type": "string"
  20529. },
  20530. "goodsid": {
  20531. "description": "商品id",
  20532. "type": "integer"
  20533. },
  20534. "goodsname": {
  20535. "description": "商品名称",
  20536. "type": "string"
  20537. },
  20538. "holdqty": {
  20539. "description": "期末持仓量",
  20540. "type": "number"
  20541. },
  20542. "middlegoodscode": {
  20543. "description": "套保商品代码",
  20544. "type": "string"
  20545. },
  20546. "middlegoodsid": {
  20547. "description": "套保商品id",
  20548. "type": "integer"
  20549. },
  20550. "middlegoodsname": {
  20551. "description": "套保商品名称",
  20552. "type": "string"
  20553. },
  20554. "oriholdqty": {
  20555. "description": "期初持仓量",
  20556. "type": "number"
  20557. },
  20558. "todaycloseqty": {
  20559. "description": "今平仓量",
  20560. "type": "number"
  20561. },
  20562. "todayopenqty": {
  20563. "description": "今开仓量",
  20564. "type": "number"
  20565. },
  20566. "tradedate": {
  20567. "description": "交易日",
  20568. "type": "string"
  20569. }
  20570. }
  20571. },
  20572. "models.Ermcp3ExposureHedgeplanDetail": {
  20573. "type": "object",
  20574. "properties": {
  20575. "biztype": {
  20576. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  20577. "type": "integer"
  20578. },
  20579. "changqty": {
  20580. "description": "应套保总量变化量",
  20581. "type": "number"
  20582. },
  20583. "contracttype": {
  20584. "description": "计划类型 - 1:采购 -1:销售",
  20585. "type": "integer"
  20586. },
  20587. "convertratio": {
  20588. "description": "折算系数(套保品种)",
  20589. "type": "number"
  20590. },
  20591. "deliverygoodscode": {
  20592. "description": "现货商品代码",
  20593. "type": "string"
  20594. },
  20595. "deliverygoodsid": {
  20596. "description": "现货商品id",
  20597. "type": "integer"
  20598. },
  20599. "deliverygoodsname": {
  20600. "description": "现货商吕名称",
  20601. "type": "string"
  20602. },
  20603. "dgunitid": {
  20604. "description": "现货商品单位id",
  20605. "type": "integer"
  20606. },
  20607. "dgunitidname": {
  20608. "description": "单位名称(现货商品)",
  20609. "type": "string"
  20610. },
  20611. "diffqty": {
  20612. "description": "套保品种今变动量",
  20613. "type": "number"
  20614. },
  20615. "enumdicname": {
  20616. "description": "单位名称(品类)",
  20617. "type": "string"
  20618. },
  20619. "hedgeplanid": {
  20620. "description": "套保计划id",
  20621. "type": "string"
  20622. },
  20623. "hedgeplanno": {
  20624. "description": "套保计划名称",
  20625. "type": "string"
  20626. },
  20627. "hedgeplanstatus": {
  20628. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20629. "type": "integer"
  20630. },
  20631. "mgunitidname": {
  20632. "description": "单位名称(套保商品)",
  20633. "type": "string"
  20634. },
  20635. "middlegoodscode": {
  20636. "description": "套保品种代码",
  20637. "type": "string"
  20638. },
  20639. "middlegoodsid": {
  20640. "description": "套保品种id",
  20641. "type": "integer"
  20642. },
  20643. "middlegoodsname": {
  20644. "description": "套保品种名称",
  20645. "type": "string"
  20646. },
  20647. "needarbitrageratio": {
  20648. "description": "应套利比例",
  20649. "type": "number"
  20650. },
  20651. "needhedgeratio": {
  20652. "description": "应套保比例",
  20653. "type": "number"
  20654. },
  20655. "pricedqty": {
  20656. "description": "已定价量",
  20657. "type": "number"
  20658. },
  20659. "qty": {
  20660. "description": "合同量",
  20661. "type": "number"
  20662. },
  20663. "tradedate": {
  20664. "description": "交易日(登记日)",
  20665. "type": "string"
  20666. },
  20667. "unitid": {
  20668. "description": "品类单位id",
  20669. "type": "integer"
  20670. },
  20671. "userid": {
  20672. "description": "机构id",
  20673. "type": "integer"
  20674. },
  20675. "wrstandardcode": {
  20676. "description": "品类代码",
  20677. "type": "string"
  20678. },
  20679. "wrstandardid": {
  20680. "description": "品类id",
  20681. "type": "integer"
  20682. },
  20683. "wrstandardname": {
  20684. "description": "品类名称",
  20685. "type": "string"
  20686. }
  20687. }
  20688. },
  20689. "models.Ermcp3ExposureParamChLog": {
  20690. "type": "object",
  20691. "properties": {
  20692. "accountid": {
  20693. "description": "期货账户ID (作废, 默认为0)",
  20694. "type": "integer"
  20695. },
  20696. "aftervalue": {
  20697. "description": "应套保\\套利量变更后(调整后应套保总量)",
  20698. "type": "number"
  20699. },
  20700. "areauserid": {
  20701. "description": "所属机构\\交易用户ID",
  20702. "type": "integer"
  20703. },
  20704. "beforevalue": {
  20705. "description": "应套保\\套利量变更前(调整前应套保总量)",
  20706. "type": "number"
  20707. },
  20708. "begindate": {
  20709. "description": "开始交易日",
  20710. "type": "string"
  20711. },
  20712. "changelogtype": {
  20713. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  20714. "type": "integer"
  20715. },
  20716. "curvalue": {
  20717. "description": "当前套保\\套利量(套保总量|套利总量)",
  20718. "type": "number"
  20719. },
  20720. "diffvalue": {
  20721. "description": "应套保总量变化量",
  20722. "type": "number"
  20723. },
  20724. "enddate": {
  20725. "description": "结束交易日",
  20726. "type": "string"
  20727. },
  20728. "logdatetime": {
  20729. "description": "流水日期",
  20730. "type": "string"
  20731. },
  20732. "logid": {
  20733. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  20734. "type": "string"
  20735. },
  20736. "middlegoodscode": {
  20737. "description": "套保品种代码",
  20738. "type": "string"
  20739. },
  20740. "middlegoodsid": {
  20741. "description": "套保品种",
  20742. "type": "integer"
  20743. },
  20744. "middlegoodsname": {
  20745. "description": "套保品种名称",
  20746. "type": "string"
  20747. },
  20748. "paramaftervalue": {
  20749. "description": "参数变更后(调整后参数值)",
  20750. "type": "number"
  20751. },
  20752. "parambeforevalue": {
  20753. "description": "参数变更前(调整前参数值)",
  20754. "type": "number"
  20755. },
  20756. "tradedate": {
  20757. "description": "交易日(yyyyMMdd)",
  20758. "type": "string"
  20759. }
  20760. }
  20761. },
  20762. "models.Ermcp3ExpourseReport": {
  20763. "type": "object",
  20764. "properties": {
  20765. "accountid": {
  20766. "description": "期货账户ID (作废, 默认为0)",
  20767. "type": "integer"
  20768. },
  20769. "accountname": {
  20770. "description": "机构名称",
  20771. "type": "string"
  20772. },
  20773. "arbitrageqty": {
  20774. "description": "套利量",
  20775. "type": "number"
  20776. },
  20777. "areauserid": {
  20778. "description": "所属机构\\交易用户ID",
  20779. "type": "integer"
  20780. },
  20781. "begindate": {
  20782. "description": "开始交易日",
  20783. "type": "string"
  20784. },
  20785. "buyfutureqty": {
  20786. "description": "买入期货数量",
  20787. "type": "number"
  20788. },
  20789. "buyplanqty": {
  20790. "description": "采购计划数量",
  20791. "type": "number"
  20792. },
  20793. "buypricedqty": {
  20794. "description": "采购合同已定价数量",
  20795. "type": "number"
  20796. },
  20797. "cycletime": {
  20798. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20799. "type": "string"
  20800. },
  20801. "cycletype": {
  20802. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20803. "type": "integer"
  20804. },
  20805. "diffexposure": {
  20806. "description": "变动量(套保敞口)",
  20807. "type": "number"
  20808. },
  20809. "difffutuqty": {
  20810. "description": "变动量(期货)",
  20811. "type": "number"
  20812. },
  20813. "diffhedgeqty": {
  20814. "description": "变动量(现货应套保总量)",
  20815. "type": "number"
  20816. },
  20817. "diffmgqtya": {
  20818. "description": "套保变动量",
  20819. "type": "number"
  20820. },
  20821. "diffmgqtyb": {
  20822. "description": "套利变动量",
  20823. "type": "number"
  20824. },
  20825. "diffqty": {
  20826. "description": "变动量(总敞口)",
  20827. "type": "number"
  20828. },
  20829. "diffspotqty": {
  20830. "description": "变动量(现货)",
  20831. "type": "number"
  20832. },
  20833. "enddate": {
  20834. "description": "结束交易日",
  20835. "type": "string"
  20836. },
  20837. "enumdicname": {
  20838. "description": "单位名称",
  20839. "type": "string"
  20840. },
  20841. "hedgeqty": {
  20842. "description": "套保量",
  20843. "type": "number"
  20844. },
  20845. "mgneedhedgeratio": {
  20846. "description": "套保比例(套保品的)",
  20847. "type": "number"
  20848. },
  20849. "middlegoodsid": {
  20850. "description": "套保品种ID",
  20851. "type": "integer"
  20852. },
  20853. "middlegoodsname": {
  20854. "description": "套保商品名称",
  20855. "type": "string"
  20856. },
  20857. "middlgoodscode": {
  20858. "description": "套保商品代码",
  20859. "type": "string"
  20860. },
  20861. "needarbitrageqty": {
  20862. "description": "应套利量",
  20863. "type": "number"
  20864. },
  20865. "needarbitrageratio": {
  20866. "description": "套利比例(套保品的)",
  20867. "type": "number"
  20868. },
  20869. "needhedgeexposoure": {
  20870. "description": "应套保敞口(套保敞口)",
  20871. "type": "number"
  20872. },
  20873. "needhedgeqty": {
  20874. "description": "应套保量",
  20875. "type": "number"
  20876. },
  20877. "needhedgeratio": {
  20878. "description": "应套保敞口比例",
  20879. "type": "number"
  20880. },
  20881. "oriarbitrageqty": {
  20882. "description": "期初套利量",
  20883. "type": "number"
  20884. },
  20885. "oribuyfutureqty": {
  20886. "description": "期初买入期货数量",
  20887. "type": "number"
  20888. },
  20889. "oribuyplanqty": {
  20890. "description": "期初采购计划数量",
  20891. "type": "number"
  20892. },
  20893. "oribuypricedqty": {
  20894. "description": "期初采购合同已定价数量",
  20895. "type": "number"
  20896. },
  20897. "orihedgeqty": {
  20898. "description": "期初套保量",
  20899. "type": "number"
  20900. },
  20901. "orineedarbitrageqty": {
  20902. "description": "期初应套利量",
  20903. "type": "number"
  20904. },
  20905. "orineedhedgeexposoure": {
  20906. "description": "期初应套保敞口",
  20907. "type": "number"
  20908. },
  20909. "orineedhedgeqty": {
  20910. "description": "期初应套保量",
  20911. "type": "number"
  20912. },
  20913. "orisellfutureqty": {
  20914. "description": "期初卖出期货数量",
  20915. "type": "number"
  20916. },
  20917. "orisellplanqty": {
  20918. "description": "期初销售计划数量",
  20919. "type": "number"
  20920. },
  20921. "orisellpricedqty": {
  20922. "description": "期初销售合同已定价数量",
  20923. "type": "number"
  20924. },
  20925. "oritotalexposure": {
  20926. "description": "期初实时总敞口",
  20927. "type": "number"
  20928. },
  20929. "oritotalfutureqty": {
  20930. "description": "期初期货头寸总量",
  20931. "type": "number"
  20932. },
  20933. "oritotalneedhedgeqty": {
  20934. "description": "期初应套保总量",
  20935. "type": "number"
  20936. },
  20937. "oritotalspotqty": {
  20938. "description": "期初现货头寸总量",
  20939. "type": "number"
  20940. },
  20941. "reckondate": {
  20942. "description": "日照时期(yyyyMMdd)",
  20943. "type": "string"
  20944. },
  20945. "sellfutureqty": {
  20946. "description": "卖出期货数量",
  20947. "type": "number"
  20948. },
  20949. "sellplanqty": {
  20950. "description": "销售计划数量",
  20951. "type": "number"
  20952. },
  20953. "sellpricedqty": {
  20954. "description": "销售合同已定价数量",
  20955. "type": "number"
  20956. },
  20957. "totalexposure": {
  20958. "description": "实时总敞口(总敞口)",
  20959. "type": "number"
  20960. },
  20961. "totalfutureqty": {
  20962. "description": "期货头寸总量(期货总量)",
  20963. "type": "number"
  20964. },
  20965. "totalhedgeratio": {
  20966. "description": "敞口比例",
  20967. "type": "number"
  20968. },
  20969. "totalneedhedgeqty": {
  20970. "description": "应套保总量(现货应套保总量)",
  20971. "type": "number"
  20972. },
  20973. "totalspotqty": {
  20974. "description": "现货头寸总量",
  20975. "type": "number"
  20976. },
  20977. "unitid": {
  20978. "description": "单位id",
  20979. "type": "integer"
  20980. },
  20981. "updatetime": {
  20982. "description": "更新时间",
  20983. "type": "string"
  20984. }
  20985. }
  20986. },
  20987. "models.Ermcp3FinanceReport": {
  20988. "type": "object",
  20989. "properties": {
  20990. "accountname": {
  20991. "description": "机构名称",
  20992. "type": "string"
  20993. },
  20994. "areauserid": {
  20995. "description": "所属机构\\交易用户ID",
  20996. "type": "integer"
  20997. },
  20998. "begindate": {
  20999. "description": "开始交易日",
  21000. "type": "string"
  21001. },
  21002. "biztype": {
  21003. "description": "业务类型 - 1:套保 2:套利",
  21004. "type": "integer"
  21005. },
  21006. "brandname": {
  21007. "description": "品牌名称",
  21008. "type": "string"
  21009. },
  21010. "buypreinvoicedamount": {
  21011. "description": "采购预收票额(预收票额)",
  21012. "type": "number"
  21013. },
  21014. "buyprepaidamount": {
  21015. "description": "采购预付款额(预付货款额)",
  21016. "type": "number"
  21017. },
  21018. "buytodayinvoiceamount": {
  21019. "description": "采购今收票额(今收票额)",
  21020. "type": "number"
  21021. },
  21022. "buytodayrefundamount": {
  21023. "description": "采购今收退款额(今收退款额)",
  21024. "type": "number"
  21025. },
  21026. "buytodaysettleamount": {
  21027. "description": "采购今付款额(今付货款额)",
  21028. "type": "number"
  21029. },
  21030. "buyuninvoicedamount": {
  21031. "description": "采购应收票额(应收票额)",
  21032. "type": "number"
  21033. },
  21034. "buyunpaidamount": {
  21035. "description": "采购应付款额(应付货款额)",
  21036. "type": "number"
  21037. },
  21038. "currencyid": {
  21039. "description": "结算币种ID",
  21040. "type": "integer"
  21041. },
  21042. "currencyname": {
  21043. "description": "币种名称",
  21044. "type": "string"
  21045. },
  21046. "cycletime": {
  21047. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21048. "type": "string"
  21049. },
  21050. "cycletype": {
  21051. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21052. "type": "integer"
  21053. },
  21054. "deliverygoodscode": {
  21055. "description": "现货品种代码",
  21056. "type": "string"
  21057. },
  21058. "deliverygoodsid": {
  21059. "description": "现货品种ID",
  21060. "type": "integer"
  21061. },
  21062. "deliverygoodsname": {
  21063. "description": "现货品种名称",
  21064. "type": "string"
  21065. },
  21066. "enddate": {
  21067. "description": "结束交易日",
  21068. "type": "string"
  21069. },
  21070. "reckondate": {
  21071. "description": "日照时期(yyyyMMdd)",
  21072. "type": "string"
  21073. },
  21074. "sellpreinvoicedamount": {
  21075. "description": "销售预开票额(预开票额)",
  21076. "type": "number"
  21077. },
  21078. "sellprepaidamount": {
  21079. "description": "销售预收款额(预收货款额)",
  21080. "type": "number"
  21081. },
  21082. "selltodayinvoiceamount": {
  21083. "description": "销售今开票额(今开票额)",
  21084. "type": "number"
  21085. },
  21086. "selltodayrefundamount": {
  21087. "description": "销售今付退款额(今付退款额)",
  21088. "type": "number"
  21089. },
  21090. "selltodaysettleamount": {
  21091. "description": "销售今收款额(今收货款额)",
  21092. "type": "number"
  21093. },
  21094. "selluninvoicedamount": {
  21095. "description": "销售应开票额(应开票额)",
  21096. "type": "number"
  21097. },
  21098. "sellunpaidamount": {
  21099. "description": "销售应收款额(应收货款额)",
  21100. "type": "number"
  21101. },
  21102. "spotgoodsbrandid": {
  21103. "description": "现货品牌ID",
  21104. "type": "integer"
  21105. },
  21106. "todaypaysum": {
  21107. "description": "今付款合计",
  21108. "type": "number"
  21109. },
  21110. "todayreceivesum": {
  21111. "description": "今收款合计",
  21112. "type": "number"
  21113. },
  21114. "updatetime": {
  21115. "description": "更新时间",
  21116. "type": "string"
  21117. },
  21118. "wrfactortypeid": {
  21119. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21120. "type": "integer"
  21121. },
  21122. "wrstandardcode": {
  21123. "description": "品类代码",
  21124. "type": "string"
  21125. },
  21126. "wrstandardid": {
  21127. "description": "现货商品ID",
  21128. "type": "integer"
  21129. },
  21130. "wrstandardname": {
  21131. "description": "品类名称",
  21132. "type": "string"
  21133. }
  21134. }
  21135. },
  21136. "models.Ermcp3GoodsGroup": {
  21137. "type": "object",
  21138. "required": [
  21139. "areauserid"
  21140. ],
  21141. "properties": {
  21142. "agreeunit": {
  21143. "description": "合约单位",
  21144. "type": "number"
  21145. },
  21146. "areauserid": {
  21147. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  21148. "type": "integer"
  21149. },
  21150. "canshort": {
  21151. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21152. "type": "integer"
  21153. },
  21154. "closepricemode": {
  21155. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21156. "type": "integer"
  21157. },
  21158. "createtime": {
  21159. "description": "创建时间",
  21160. "type": "string"
  21161. },
  21162. "creatorid": {
  21163. "description": "创建人",
  21164. "type": "integer"
  21165. },
  21166. "currencyid": {
  21167. "description": "报价货币ID",
  21168. "type": "integer"
  21169. },
  21170. "decimalplace": {
  21171. "description": "报价小数位",
  21172. "type": "integer"
  21173. },
  21174. "enumdicname": {
  21175. "description": "单位名称",
  21176. "type": "string"
  21177. },
  21178. "exchangefullname": {
  21179. "description": "交易所全称",
  21180. "type": "string"
  21181. },
  21182. "excludecfg": {
  21183. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  21184. "type": "integer"
  21185. },
  21186. "exexchangecode": {
  21187. "description": "交易所代码",
  21188. "type": "string"
  21189. },
  21190. "exexchangeid": {
  21191. "description": "外部交易所ID[通道交易]",
  21192. "type": "integer"
  21193. },
  21194. "exexchangename": {
  21195. "description": "交易所名称",
  21196. "type": "string"
  21197. },
  21198. "goodsgroupid": {
  21199. "description": "商品组ID(自增ID)",
  21200. "type": "integer"
  21201. },
  21202. "goodsgroupname": {
  21203. "description": "商品组名称",
  21204. "type": "string"
  21205. },
  21206. "goodsgroupstatus": {
  21207. "description": "商品组状态 - 1:正常 2:注销",
  21208. "type": "integer"
  21209. },
  21210. "goodunitid": {
  21211. "description": "报价单位ID",
  21212. "type": "integer"
  21213. },
  21214. "groupcategroyid": {
  21215. "description": "品种分类ID",
  21216. "type": "integer"
  21217. },
  21218. "innerdealmode": {
  21219. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21220. "type": "integer"
  21221. },
  21222. "marketid": {
  21223. "description": "所属市场ID",
  21224. "type": "integer"
  21225. },
  21226. "modifierid": {
  21227. "description": "修改人",
  21228. "type": "integer"
  21229. },
  21230. "modifytime": {
  21231. "description": "修改时间",
  21232. "type": "string"
  21233. },
  21234. "outerdealmode": {
  21235. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21236. "type": "integer"
  21237. },
  21238. "outergroupcode": {
  21239. "description": "外部商品组代码[通道交易]",
  21240. "type": "string"
  21241. },
  21242. "quoteminunit": {
  21243. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21244. "type": "integer"
  21245. },
  21246. "quotesourcegroupid": {
  21247. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21248. "type": "integer"
  21249. },
  21250. "syncgoodsqty": {
  21251. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21252. "type": "integer"
  21253. }
  21254. }
  21255. },
  21256. "models.Ermcp3HedgePlan": {
  21257. "type": "object",
  21258. "properties": {
  21259. "accountid": {
  21260. "description": "资金账号",
  21261. "type": "integer"
  21262. },
  21263. "areauserid": {
  21264. "description": "用户ID",
  21265. "type": "integer"
  21266. },
  21267. "auditid": {
  21268. "description": "审核id",
  21269. "type": "integer"
  21270. },
  21271. "auditname": {
  21272. "description": "审核人名称",
  21273. "type": "string"
  21274. },
  21275. "auditremark": {
  21276. "description": "审核备注",
  21277. "type": "string"
  21278. },
  21279. "auditsrc": {
  21280. "description": "审核来源 1-管理端 2-终端",
  21281. "type": "integer"
  21282. },
  21283. "audittime": {
  21284. "description": "审核时间",
  21285. "type": "string"
  21286. },
  21287. "contracttype": {
  21288. "description": "计划类型 - 1:采购 -1:销售",
  21289. "type": "integer"
  21290. },
  21291. "convertfactor": {
  21292. "description": "标仓系数",
  21293. "type": "number"
  21294. },
  21295. "createtime": {
  21296. "description": "创建时间",
  21297. "type": "string"
  21298. },
  21299. "currencyid": {
  21300. "description": "币种id",
  21301. "type": "integer"
  21302. },
  21303. "currencyname": {
  21304. "description": "币种名称",
  21305. "type": "string"
  21306. },
  21307. "deliverygoodscode": {
  21308. "description": "现货品种代码",
  21309. "type": "string"
  21310. },
  21311. "deliverygoodsid": {
  21312. "description": "现货品种ID",
  21313. "type": "integer"
  21314. },
  21315. "deliverygoodsname": {
  21316. "description": "现货品种名称",
  21317. "type": "string"
  21318. },
  21319. "enumdicname": {
  21320. "description": "单位名称(现货商品)",
  21321. "type": "string"
  21322. },
  21323. "hedgeplanid": {
  21324. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  21325. "type": "string"
  21326. },
  21327. "hedgeplanno": {
  21328. "description": "套保计划编号(名称)",
  21329. "type": "string"
  21330. },
  21331. "hedgeplanstatus": {
  21332. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21333. "type": "integer"
  21334. },
  21335. "planqty": {
  21336. "description": "计划数量",
  21337. "type": "number"
  21338. },
  21339. "plantime": {
  21340. "description": "计划时间",
  21341. "type": "string"
  21342. },
  21343. "producttype": {
  21344. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21345. "type": "integer"
  21346. },
  21347. "remark": {
  21348. "description": "备注",
  21349. "type": "string"
  21350. },
  21351. "spotgoodsdesc": {
  21352. "description": "商品型号",
  21353. "type": "string"
  21354. },
  21355. "taaccountname": {
  21356. "description": "资金账号名称",
  21357. "type": "string"
  21358. },
  21359. "tradeuserid": {
  21360. "description": "交易用户id",
  21361. "type": "integer"
  21362. },
  21363. "tradeusername": {
  21364. "description": "交易用户名称",
  21365. "type": "string"
  21366. },
  21367. "unitid": {
  21368. "description": "单位id(现货商品)",
  21369. "type": "integer"
  21370. },
  21371. "updatetime": {
  21372. "description": "更新时间",
  21373. "type": "string"
  21374. },
  21375. "vatrate": {
  21376. "description": "增值税率",
  21377. "type": "number"
  21378. },
  21379. "wrstandardcode": {
  21380. "description": "品类代码",
  21381. "type": "string"
  21382. },
  21383. "wrstandardid": {
  21384. "description": "品类id",
  21385. "type": "integer"
  21386. },
  21387. "wrstandardname": {
  21388. "description": "品类名称",
  21389. "type": "string"
  21390. },
  21391. "wrunitid": {
  21392. "description": "品类单位id",
  21393. "type": "integer"
  21394. },
  21395. "wrunitidame": {
  21396. "description": "品类单位名称",
  21397. "type": "string"
  21398. }
  21399. }
  21400. },
  21401. "models.Ermcp3InnerTradeLink": {
  21402. "type": "object",
  21403. "properties": {
  21404. "accountid": {
  21405. "description": "期货账号代码 | 资金账号ID",
  21406. "type": "integer"
  21407. },
  21408. "buyorsell": {
  21409. "description": "方向 - 0:买 1:卖",
  21410. "type": "integer"
  21411. },
  21412. "channelbuildtype": {
  21413. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21414. "type": "integer"
  21415. },
  21416. "currencyid": {
  21417. "description": "币种id",
  21418. "type": "integer"
  21419. },
  21420. "currencyname": {
  21421. "description": "结算币种 名称",
  21422. "type": "string"
  21423. },
  21424. "goodscode": {
  21425. "description": "商品代码",
  21426. "type": "string"
  21427. },
  21428. "goodsid": {
  21429. "description": "商品ID",
  21430. "type": "integer"
  21431. },
  21432. "goodsname": {
  21433. "description": "商品名称",
  21434. "type": "string"
  21435. },
  21436. "outtradeid": {
  21437. "description": "外部成交单号",
  21438. "type": "string"
  21439. },
  21440. "taname": {
  21441. "description": "期货账户名称",
  21442. "type": "string"
  21443. },
  21444. "tradeid": {
  21445. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21446. "type": "string"
  21447. },
  21448. "tradeprice": {
  21449. "description": "成交价格",
  21450. "type": "number"
  21451. },
  21452. "tradeqty": {
  21453. "description": "期货成交数量",
  21454. "type": "integer"
  21455. },
  21456. "tradetime": {
  21457. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  21458. "type": "string"
  21459. },
  21460. "username": {
  21461. "description": "用户名称",
  21462. "type": "string"
  21463. }
  21464. }
  21465. },
  21466. "models.Ermcp3OutTradeLink": {
  21467. "type": "object",
  21468. "properties": {
  21469. "buyorsell": {
  21470. "description": "买卖方向 - 0:买 1:卖",
  21471. "type": "integer"
  21472. },
  21473. "channelbuildtype": {
  21474. "description": "开平标志- 0:无 1:建仓 2:平仓",
  21475. "type": "integer"
  21476. },
  21477. "currencyname": {
  21478. "description": "币种名称",
  21479. "type": "string"
  21480. },
  21481. "exexchangecode": {
  21482. "description": "交易所代码",
  21483. "type": "string"
  21484. },
  21485. "exexchangename": {
  21486. "description": "交易所名称",
  21487. "type": "string"
  21488. },
  21489. "goodscode": {
  21490. "description": "合约代码",
  21491. "type": "string"
  21492. },
  21493. "goodsid": {
  21494. "description": "合约id",
  21495. "type": "integer"
  21496. },
  21497. "goodsname": {
  21498. "description": "合约名称",
  21499. "type": "string"
  21500. },
  21501. "hasinnerorder": {
  21502. "description": "是否有内部单关联 - 0:无 1:有",
  21503. "type": "integer"
  21504. },
  21505. "hedgeaccountcode": {
  21506. "description": "外部账号 | 对冲账号",
  21507. "type": "string"
  21508. },
  21509. "outtradeid": {
  21510. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21511. "type": "string"
  21512. },
  21513. "tradeprice": {
  21514. "description": "成交价格",
  21515. "type": "number"
  21516. },
  21517. "tradeqty": {
  21518. "description": "成交数量",
  21519. "type": "integer"
  21520. },
  21521. "tradetime": {
  21522. "description": "成交时间",
  21523. "type": "string"
  21524. }
  21525. }
  21526. },
  21527. "models.Ermcp3PaAreaAuditCfg": {
  21528. "type": "object",
  21529. "properties": {
  21530. "areauserid": {
  21531. "description": "用户ID",
  21532. "type": "integer"
  21533. },
  21534. "buyinauditflag": {
  21535. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  21536. "type": "integer"
  21537. },
  21538. "costratioauditflag": {
  21539. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  21540. "type": "integer"
  21541. },
  21542. "customerauditflag": {
  21543. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  21544. "type": "integer"
  21545. },
  21546. "deliveryauditflag": {
  21547. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  21548. "type": "integer"
  21549. },
  21550. "invoiceauditflag": {
  21551. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  21552. "type": "integer"
  21553. },
  21554. "mgneedhedgeratioauditflag": {
  21555. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  21556. "type": "integer"
  21557. },
  21558. "moneyauditflag": {
  21559. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  21560. "type": "integer"
  21561. },
  21562. "operatorid": {
  21563. "description": "操作人",
  21564. "type": "integer"
  21565. },
  21566. "operatorsrc": {
  21567. "description": "操作来源 - 1:管理端 2:终端",
  21568. "type": "integer"
  21569. },
  21570. "pointpriceauditflag": {
  21571. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  21572. "type": "integer"
  21573. },
  21574. "produceinauditflag": {
  21575. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  21576. "type": "integer"
  21577. },
  21578. "produceoutauditflag": {
  21579. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  21580. "type": "integer"
  21581. },
  21582. "selloutauditflag": {
  21583. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  21584. "type": "integer"
  21585. },
  21586. "sgconvertratioauditflag": {
  21587. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  21588. "type": "integer"
  21589. },
  21590. "sgvtaratioauditflag": {
  21591. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  21592. "type": "integer"
  21593. },
  21594. "spotcontractauditflag": {
  21595. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  21596. "type": "integer"
  21597. },
  21598. "updatetime": {
  21599. "description": "更新时间",
  21600. "type": "string"
  21601. }
  21602. }
  21603. },
  21604. "models.Ermcp3PaAreaSubject": {
  21605. "type": "object",
  21606. "properties": {
  21607. "areauserid": {
  21608. "description": "所属机构",
  21609. "type": "integer"
  21610. },
  21611. "canmodify": {
  21612. "description": "是否可修改 - 0:否 1:是",
  21613. "type": "integer"
  21614. },
  21615. "createtime": {
  21616. "description": "创建时间",
  21617. "type": "string"
  21618. },
  21619. "creatorid": {
  21620. "description": "创建人ID",
  21621. "type": "string"
  21622. },
  21623. "creatorsrc": {
  21624. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  21625. "type": "integer"
  21626. },
  21627. "modifierid": {
  21628. "description": "修改人",
  21629. "type": "string"
  21630. },
  21631. "modifiersrc": {
  21632. "description": "修改人来源 - 1:管理端 2:终端",
  21633. "type": "integer"
  21634. },
  21635. "modifytime": {
  21636. "description": "修改时间",
  21637. "type": "string"
  21638. },
  21639. "parentsubjectid": {
  21640. "description": "上级主体ID",
  21641. "type": "string"
  21642. },
  21643. "remark": {
  21644. "description": "备注",
  21645. "type": "string"
  21646. },
  21647. "subjectid": {
  21648. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  21649. "type": "integer"
  21650. },
  21651. "subjectname": {
  21652. "description": "主体名称",
  21653. "type": "string"
  21654. },
  21655. "subjectstatus": {
  21656. "description": "主体状态 - 1:正常 2: 停用",
  21657. "type": "integer"
  21658. },
  21659. "subjecttype": {
  21660. "description": "主体类型 - 1:交易主体 2:业务部门",
  21661. "type": "integer"
  21662. }
  21663. }
  21664. },
  21665. "models.Ermcp3PaTradeLink": {
  21666. "type": "object",
  21667. "properties": {
  21668. "accountid": {
  21669. "description": "期货账户代码 | 账号ID",
  21670. "type": "integer"
  21671. },
  21672. "agreeunit": {
  21673. "description": "合约乘数",
  21674. "type": "number"
  21675. },
  21676. "buyorsell": {
  21677. "description": "方向 - 0:买 1:卖",
  21678. "type": "integer"
  21679. },
  21680. "channelbuildtype": {
  21681. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21682. "type": "integer"
  21683. },
  21684. "charge": {
  21685. "description": "手续费",
  21686. "type": "number"
  21687. },
  21688. "closepl": {
  21689. "description": "平仓盈亏",
  21690. "type": "number"
  21691. },
  21692. "closetype": {
  21693. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  21694. "type": "integer"
  21695. },
  21696. "convertratio": {
  21697. "description": "折算系数",
  21698. "type": "number"
  21699. },
  21700. "enumdicname": {
  21701. "description": "单位名称",
  21702. "type": "string"
  21703. },
  21704. "executeprice": {
  21705. "description": "执行价 [期权]",
  21706. "type": "integer"
  21707. },
  21708. "goodscode": {
  21709. "description": "合约代码",
  21710. "type": "string"
  21711. },
  21712. "goodsgroupid": {
  21713. "description": "对冲品种ID[期货合约商品组ID]",
  21714. "type": "integer"
  21715. },
  21716. "goodsid": {
  21717. "description": "商品ID",
  21718. "type": "integer"
  21719. },
  21720. "goodsname": {
  21721. "description": "合约名称",
  21722. "type": "string"
  21723. },
  21724. "goodunitid": {
  21725. "description": "单位id",
  21726. "type": "integer"
  21727. },
  21728. "hedgeflag": {
  21729. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  21730. "type": "integer"
  21731. },
  21732. "marketid": {
  21733. "description": "市场ID",
  21734. "type": "integer"
  21735. },
  21736. "middlegoodsid": {
  21737. "description": "套保品种ID",
  21738. "type": "integer"
  21739. },
  21740. "middlegoodsqty": {
  21741. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  21742. "type": "number"
  21743. },
  21744. "optioncode": {
  21745. "description": "期权代码 [期权]",
  21746. "type": "string"
  21747. },
  21748. "ordertype": {
  21749. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  21750. "type": "integer"
  21751. },
  21752. "ordertypename": {
  21753. "description": "订单类型",
  21754. "type": "string"
  21755. },
  21756. "parentaccountid": {
  21757. "description": "所属母账户",
  21758. "type": "integer"
  21759. },
  21760. "premium": {
  21761. "description": "权利金 [期权]",
  21762. "type": "number"
  21763. },
  21764. "relatedlot": {
  21765. "description": "已关联数量(已关联数量手) | db:关联手数",
  21766. "type": "number"
  21767. },
  21768. "relatedouttradeid": {
  21769. "description": "关联外部成交单ID",
  21770. "type": "string"
  21771. },
  21772. "relatedqty": {
  21773. "description": "关联数量",
  21774. "type": "number"
  21775. },
  21776. "spotcontractid": {
  21777. "description": "现货合同ID [4:套期保值\\10\\11]",
  21778. "type": "string"
  21779. },
  21780. "taname": {
  21781. "description": "期货账户名称",
  21782. "type": "string"
  21783. },
  21784. "tradeamount": {
  21785. "description": "成交金额(账户)",
  21786. "type": "number"
  21787. },
  21788. "tradedate": {
  21789. "description": "交易日(yyyyMMdd)",
  21790. "type": "string"
  21791. },
  21792. "tradeid": {
  21793. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21794. "type": "string"
  21795. },
  21796. "tradelot": {
  21797. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  21798. "type": "integer"
  21799. },
  21800. "tradeprice": {
  21801. "description": "成交价格",
  21802. "type": "number"
  21803. },
  21804. "tradetime": {
  21805. "description": "时间 | db:成交时间",
  21806. "type": "string"
  21807. },
  21808. "tradetype": {
  21809. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  21810. "type": "integer"
  21811. },
  21812. "userid": {
  21813. "description": "所属机构 - 所属母账户的UserID",
  21814. "type": "string"
  21815. },
  21816. "username": {
  21817. "description": "用户名称",
  21818. "type": "string"
  21819. }
  21820. }
  21821. },
  21822. "models.Ermcp3ParamChangeApp": {
  21823. "type": "object",
  21824. "properties": {
  21825. "aftervalue": {
  21826. "description": "变更后",
  21827. "type": "number"
  21828. },
  21829. "applicationid": {
  21830. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  21831. "type": "string"
  21832. },
  21833. "applyid": {
  21834. "description": "申请人",
  21835. "type": "string"
  21836. },
  21837. "applyname": {
  21838. "description": "申请人名称(代码)",
  21839. "type": "string"
  21840. },
  21841. "applyremark": {
  21842. "description": "申请备注",
  21843. "type": "string"
  21844. },
  21845. "applysrc": {
  21846. "description": "申请来源 - 1:管理端 2:终端",
  21847. "type": "integer"
  21848. },
  21849. "applystatus": {
  21850. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  21851. "type": "integer"
  21852. },
  21853. "applytime": {
  21854. "description": "申请时间",
  21855. "type": "string"
  21856. },
  21857. "areauserid": {
  21858. "description": "所属机构用户ID",
  21859. "type": "integer"
  21860. },
  21861. "auditid": {
  21862. "description": "审核人",
  21863. "type": "string"
  21864. },
  21865. "auditname": {
  21866. "description": "审核人名称(代码)",
  21867. "type": "string"
  21868. },
  21869. "auditremark": {
  21870. "description": "审核备注",
  21871. "type": "string"
  21872. },
  21873. "auditsrc": {
  21874. "description": "审核来源 - 1:管理端 2:终端",
  21875. "type": "integer"
  21876. },
  21877. "audittime": {
  21878. "description": "审核时间",
  21879. "type": "string"
  21880. },
  21881. "audittradedate": {
  21882. "description": "审核交易日(yyyyMMdd)",
  21883. "type": "string"
  21884. },
  21885. "beforevalue": {
  21886. "description": "变更前",
  21887. "type": "number"
  21888. },
  21889. "deliverygoodscode": {
  21890. "description": "品种代码",
  21891. "type": "string"
  21892. },
  21893. "deliverygoodsid": {
  21894. "description": "品种id",
  21895. "type": "integer"
  21896. },
  21897. "deliverygoodsname": {
  21898. "description": "品种名称",
  21899. "type": "string"
  21900. },
  21901. "middlegoodscode": {
  21902. "description": "套保品种代码",
  21903. "type": "string"
  21904. },
  21905. "middlegoodsid": {
  21906. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  21907. "type": "integer"
  21908. },
  21909. "middlegoodsname": {
  21910. "description": "套保品种名称",
  21911. "type": "string"
  21912. },
  21913. "operatetype": {
  21914. "description": "操作类型 - 1:新增 2:修改",
  21915. "type": "integer"
  21916. },
  21917. "paramchangetype": {
  21918. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  21919. "type": "integer"
  21920. },
  21921. "wrstandardcode": {
  21922. "description": "现货商品代码",
  21923. "type": "string"
  21924. },
  21925. "wrstandardid": {
  21926. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  21927. "type": "integer"
  21928. },
  21929. "wrstandardname": {
  21930. "description": "现货商品名称",
  21931. "type": "string"
  21932. }
  21933. }
  21934. },
  21935. "models.Ermcp3RootUserAccount": {
  21936. "type": "object",
  21937. "properties": {
  21938. "accountname": {
  21939. "description": "账户名称(机构名称)",
  21940. "type": "string"
  21941. },
  21942. "accountstatus": {
  21943. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  21944. "type": "integer"
  21945. },
  21946. "applysrc": {
  21947. "description": "申请来源 - 1:管理端 2:终端",
  21948. "type": "integer"
  21949. },
  21950. "auditremark": {
  21951. "description": "审核备注",
  21952. "type": "string"
  21953. },
  21954. "auditsrc": {
  21955. "description": "审核来源 - 1:管理端 2:终端",
  21956. "type": "integer"
  21957. },
  21958. "audittime": {
  21959. "description": "审核时间",
  21960. "type": "string"
  21961. },
  21962. "audituserid": {
  21963. "description": "审核人",
  21964. "type": "integer"
  21965. },
  21966. "broker": {
  21967. "description": "所属经纪人ID",
  21968. "type": "integer"
  21969. },
  21970. "canceltime": {
  21971. "description": "销户时间",
  21972. "type": "string"
  21973. },
  21974. "canceluserid": {
  21975. "description": "销户人",
  21976. "type": "integer"
  21977. },
  21978. "canrecommend": {
  21979. "description": "是否可推荐 - 0:不可 1;可",
  21980. "type": "integer"
  21981. },
  21982. "createtime": {
  21983. "description": "创建时间",
  21984. "type": "string"
  21985. },
  21986. "creatorid": {
  21987. "description": "创建人",
  21988. "type": "integer"
  21989. },
  21990. "hasauth": {
  21991. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  21992. "type": "integer"
  21993. },
  21994. "isanonymous": {
  21995. "description": "是否匿名下单 - 0:否 1:是",
  21996. "type": "integer"
  21997. },
  21998. "maxinvestornum": {
  21999. "description": "最大用户数(经纪会员下投资者个数)",
  22000. "type": "integer"
  22001. },
  22002. "memberuserid": {
  22003. "description": "所属会员ID",
  22004. "type": "integer"
  22005. },
  22006. "modifierid": {
  22007. "description": "修改人",
  22008. "type": "integer"
  22009. },
  22010. "modifyremark": {
  22011. "description": "变更备注",
  22012. "type": "string"
  22013. },
  22014. "modifystatus": {
  22015. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22016. "type": "integer"
  22017. },
  22018. "modifytime": {
  22019. "description": "修改时间",
  22020. "type": "string"
  22021. },
  22022. "parenttopuser": {
  22023. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  22024. "type": "string"
  22025. },
  22026. "parentuserid": {
  22027. "description": "所属机构ID",
  22028. "type": "integer"
  22029. },
  22030. "reckonaccountid": {
  22031. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22032. "type": "integer"
  22033. },
  22034. "refercount": {
  22035. "description": "推荐总人数",
  22036. "type": "integer"
  22037. },
  22038. "refereeuserid": {
  22039. "description": "推荐人ID",
  22040. "type": "integer"
  22041. },
  22042. "refernum": {
  22043. "description": "推荐码",
  22044. "type": "string"
  22045. },
  22046. "rootuserid": {
  22047. "description": "根用户ID",
  22048. "type": "integer"
  22049. },
  22050. "subaccountlevel": {
  22051. "description": "子账户层数",
  22052. "type": "integer"
  22053. },
  22054. "subarealevelpath": {
  22055. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22056. "type": "string"
  22057. },
  22058. "userid": {
  22059. "description": "用户ID",
  22060. "type": "integer"
  22061. },
  22062. "usertype": {
  22063. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22064. "type": "integer"
  22065. }
  22066. }
  22067. },
  22068. "models.Ermcp3SCMiddleGoods": {
  22069. "type": "object",
  22070. "properties": {
  22071. "contractno": {
  22072. "description": "合同编号",
  22073. "type": "string"
  22074. },
  22075. "contracttype": {
  22076. "description": "合同类型 1:采购 -1:销售",
  22077. "type": "integer"
  22078. },
  22079. "customername": {
  22080. "description": "对手手名称",
  22081. "type": "string"
  22082. },
  22083. "customeruserid": {
  22084. "description": "对手id",
  22085. "type": "integer"
  22086. },
  22087. "deliverygoodscode": {
  22088. "description": "现货品种代码",
  22089. "type": "string"
  22090. },
  22091. "deliverygoodsid": {
  22092. "description": "现货品种ID",
  22093. "type": "integer"
  22094. },
  22095. "deliverygoodsname": {
  22096. "description": "现货品种名称",
  22097. "type": "string"
  22098. },
  22099. "enumdicname": {
  22100. "description": "现货单位名称",
  22101. "type": "string"
  22102. },
  22103. "middlegoodsid": {
  22104. "description": "套保品种ID",
  22105. "type": "integer"
  22106. },
  22107. "middlegoodspricedqty3": {
  22108. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  22109. "type": "number"
  22110. },
  22111. "needhedgeratio": {
  22112. "description": "套保比例",
  22113. "type": "number"
  22114. },
  22115. "pricedqty": {
  22116. "description": "已定价量",
  22117. "type": "number"
  22118. },
  22119. "relatedmiddlegoodsqty": {
  22120. "description": "已关联量(套保品种)(期货)",
  22121. "type": "number"
  22122. },
  22123. "spotcontractid": {
  22124. "description": "合同编号",
  22125. "type": "string"
  22126. },
  22127. "unitid": {
  22128. "description": "现货单位id",
  22129. "type": "integer"
  22130. },
  22131. "userid": {
  22132. "description": "用户id",
  22133. "type": "integer"
  22134. },
  22135. "vatrate": {
  22136. "description": "增值税率",
  22137. "type": "number"
  22138. },
  22139. "wrstandardcode": {
  22140. "description": "现货商品代码",
  22141. "type": "string"
  22142. },
  22143. "wrstandardid": {
  22144. "description": "现货商品id",
  22145. "type": "integer"
  22146. },
  22147. "wrstandardname": {
  22148. "description": "现货商品名称",
  22149. "type": "string"
  22150. }
  22151. }
  22152. },
  22153. "models.Ermcp3SCMiddleGoodsReport": {
  22154. "type": "object",
  22155. "properties": {
  22156. "begindate": {
  22157. "description": "开始交易日",
  22158. "type": "string"
  22159. },
  22160. "contractno": {
  22161. "description": "合同编号",
  22162. "type": "string"
  22163. },
  22164. "contracttype": {
  22165. "description": "合同类型 1:采购 -1:销售",
  22166. "type": "integer"
  22167. },
  22168. "convertratio": {
  22169. "description": "折算系数",
  22170. "type": "number"
  22171. },
  22172. "cycletime": {
  22173. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22174. "type": "string"
  22175. },
  22176. "cycletype": {
  22177. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22178. "type": "integer"
  22179. },
  22180. "deliverygoodscode": {
  22181. "description": "品种代码",
  22182. "type": "string"
  22183. },
  22184. "deliverygoodsid": {
  22185. "description": "现货品种ID",
  22186. "type": "integer"
  22187. },
  22188. "deliverygoodsname": {
  22189. "description": "品种名称",
  22190. "type": "string"
  22191. },
  22192. "diffprice": {
  22193. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  22194. "type": "number"
  22195. },
  22196. "diffqty": {
  22197. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  22198. "type": "number"
  22199. },
  22200. "enddate": {
  22201. "description": "结束交易日",
  22202. "type": "string"
  22203. },
  22204. "hedgeplanqty": {
  22205. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  22206. "type": "number"
  22207. },
  22208. "matchname": {
  22209. "description": "交易对手方(个人:用户名称 企业:简称)",
  22210. "type": "string"
  22211. },
  22212. "middlegoodscode": {
  22213. "description": "套保品种代码",
  22214. "type": "string"
  22215. },
  22216. "middlegoodsid": {
  22217. "description": "套保品种ID",
  22218. "type": "integer"
  22219. },
  22220. "middlegoodsname": {
  22221. "description": "套保品种名称",
  22222. "type": "string"
  22223. },
  22224. "middlegoodspricedqty": {
  22225. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  22226. "type": "number"
  22227. },
  22228. "middlegoodspricedqty2": {
  22229. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  22230. "type": "number"
  22231. },
  22232. "middlegoodspricedqty3": {
  22233. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  22234. "type": "number"
  22235. },
  22236. "needhedgeratio": {
  22237. "description": "套保系数",
  22238. "type": "number"
  22239. },
  22240. "pricedamount": {
  22241. "description": "已定价额(现货)",
  22242. "type": "number"
  22243. },
  22244. "pricedamount2": {
  22245. "description": "已定价额(现货-基价额)",
  22246. "type": "number"
  22247. },
  22248. "pricedqty": {
  22249. "description": "已定价量(现货)",
  22250. "type": "number"
  22251. },
  22252. "reckondate": {
  22253. "description": "日照时期(yyyyMMdd)",
  22254. "type": "string"
  22255. },
  22256. "relatedmiddlegoodsamount": {
  22257. "description": "已关联额(期货)",
  22258. "type": "number"
  22259. },
  22260. "relatedmiddlegoodsqty": {
  22261. "description": "已关联量(套保品种)(期货)",
  22262. "type": "number"
  22263. },
  22264. "spotcontractid": {
  22265. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22266. "type": "string"
  22267. },
  22268. "todayavgfutuprice": {
  22269. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /TodayRelatedMiddleGoodsQty",
  22270. "type": "number"
  22271. },
  22272. "todayavgprice": {
  22273. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  22274. "type": "number"
  22275. },
  22276. "todayavgprice2": {
  22277. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  22278. "type": "number"
  22279. },
  22280. "todaypricedamount": {
  22281. "description": "今日定价额(现货)",
  22282. "type": "number"
  22283. },
  22284. "todaypricedamount2": {
  22285. "description": "今日定价额(现货-基价额)",
  22286. "type": "number"
  22287. },
  22288. "todaypricedqty": {
  22289. "description": "今日定价量(现货)",
  22290. "type": "number"
  22291. },
  22292. "todayrelatedmiddlegoodsamount": {
  22293. "description": "今日关联额(期货)",
  22294. "type": "number"
  22295. },
  22296. "todayrelatedmiddlegoodsqty": {
  22297. "description": "今日关联量(期货)",
  22298. "type": "number"
  22299. },
  22300. "updatetime": {
  22301. "description": "更新时间",
  22302. "type": "string"
  22303. },
  22304. "userid": {
  22305. "description": "合同所属用户id",
  22306. "type": "integer"
  22307. },
  22308. "vatrate": {
  22309. "description": "增值税率",
  22310. "type": "number"
  22311. },
  22312. "wrstandardcode": {
  22313. "description": "商品(品类) 代码",
  22314. "type": "string"
  22315. },
  22316. "wrstandardid": {
  22317. "description": "现货商品ID",
  22318. "type": "integer"
  22319. },
  22320. "wrstandardname": {
  22321. "description": "商品(品类) 名称",
  22322. "type": "string"
  22323. }
  22324. }
  22325. },
  22326. "models.Ermcp3SellBuyContract": {
  22327. "type": "object",
  22328. "properties": {
  22329. "accountid": {
  22330. "description": "期货账户id",
  22331. "type": "string"
  22332. },
  22333. "accountname": {
  22334. "description": "账户名称",
  22335. "type": "string"
  22336. },
  22337. "attachment": {
  22338. "description": "附件",
  22339. "type": "string"
  22340. },
  22341. "audittime": {
  22342. "description": "审核时间",
  22343. "type": "string"
  22344. },
  22345. "biztype": {
  22346. "description": "业务类型 1-套保 2-套利",
  22347. "type": "integer"
  22348. },
  22349. "brandname": {
  22350. "description": "品牌名称",
  22351. "type": "string"
  22352. },
  22353. "contracctstatus": {
  22354. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22355. "type": "integer"
  22356. },
  22357. "contractmargin": {
  22358. "description": "合同保证金",
  22359. "type": "number"
  22360. },
  22361. "contractno": {
  22362. "description": "合同编号",
  22363. "type": "string"
  22364. },
  22365. "contracttype": {
  22366. "description": "合同类型 1-采购, -1-销售",
  22367. "type": "integer"
  22368. },
  22369. "convertfactor": {
  22370. "description": "标仓系数(品类)",
  22371. "type": "number"
  22372. },
  22373. "createtime": {
  22374. "description": "创建时间",
  22375. "type": "string"
  22376. },
  22377. "currencyid": {
  22378. "description": "币种id",
  22379. "type": "integer"
  22380. },
  22381. "currencyname": {
  22382. "description": "币种名称",
  22383. "type": "string"
  22384. },
  22385. "daikaiamount": {
  22386. "description": "应收(开)票额",
  22387. "type": "number"
  22388. },
  22389. "deliveryenddate": {
  22390. "description": "交割结束日",
  22391. "type": "string"
  22392. },
  22393. "deliverygoodscode": {
  22394. "description": "现货品种代码",
  22395. "type": "string"
  22396. },
  22397. "deliverygoodsid": {
  22398. "description": "现货商品ID",
  22399. "type": "integer"
  22400. },
  22401. "deliverygoodsname": {
  22402. "description": "现货品种名称",
  22403. "type": "string"
  22404. },
  22405. "deliverystartdate": {
  22406. "description": "交割开始日",
  22407. "type": "string"
  22408. },
  22409. "enddate": {
  22410. "description": "点价结束日",
  22411. "type": "string"
  22412. },
  22413. "enumdicname": {
  22414. "description": "单位名称",
  22415. "type": "string"
  22416. },
  22417. "goodscode": {
  22418. "description": "点价商品代码",
  22419. "type": "string"
  22420. },
  22421. "goodsid": {
  22422. "description": "点价商品ID",
  22423. "type": "integer"
  22424. },
  22425. "goodsname": {
  22426. "description": "点价商品名称",
  22427. "type": "string"
  22428. },
  22429. "invoiceamount": {
  22430. "description": "已开票额",
  22431. "type": "number"
  22432. },
  22433. "loanamount": {
  22434. "description": "贷款总额=已定价额+调整金额",
  22435. "type": "number"
  22436. },
  22437. "margin": {
  22438. "description": "保证金",
  22439. "type": "number"
  22440. },
  22441. "meruserid": {
  22442. "description": "跟单员id",
  22443. "type": "integer"
  22444. },
  22445. "meruserlogincode": {
  22446. "description": "跟单员登录代码",
  22447. "type": "string"
  22448. },
  22449. "merusername": {
  22450. "description": "跟单员名称",
  22451. "type": "string"
  22452. },
  22453. "nickname": {
  22454. "description": "账户昵称",
  22455. "type": "string"
  22456. },
  22457. "payamount": {
  22458. "description": "已收付额(收款或付款)",
  22459. "type": "number"
  22460. },
  22461. "preinvoiceamount": {
  22462. "description": "预收(开)票额",
  22463. "type": "number"
  22464. },
  22465. "prepayamount": {
  22466. "description": "预收付额",
  22467. "type": "number"
  22468. },
  22469. "price": {
  22470. "description": "价格",
  22471. "type": "number"
  22472. },
  22473. "pricedamount": {
  22474. "description": "已定价额",
  22475. "type": "number"
  22476. },
  22477. "pricedavg": {
  22478. "description": "已点均价",
  22479. "type": "number"
  22480. },
  22481. "pricedqty": {
  22482. "description": "已定价量",
  22483. "type": "number"
  22484. },
  22485. "pricemove": {
  22486. "description": "升贴水",
  22487. "type": "number"
  22488. },
  22489. "pricetype": {
  22490. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22491. "type": "integer"
  22492. },
  22493. "producttype": {
  22494. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22495. "type": "integer"
  22496. },
  22497. "qty": {
  22498. "description": "合同量",
  22499. "type": "number"
  22500. },
  22501. "reckonadjustamount": {
  22502. "description": "调整金额",
  22503. "type": "number"
  22504. },
  22505. "reckonedamount": {
  22506. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  22507. "type": "number"
  22508. },
  22509. "reckonotheramount": {
  22510. "description": "其它费用",
  22511. "type": "number"
  22512. },
  22513. "reckonrealqty": {
  22514. "description": "已确定量",
  22515. "type": "number"
  22516. },
  22517. "remark": {
  22518. "description": "备注",
  22519. "type": "string"
  22520. },
  22521. "saleuserid": {
  22522. "description": "业务员id",
  22523. "type": "integer"
  22524. },
  22525. "saleuserlogincode": {
  22526. "description": "业务员登录代码",
  22527. "type": "string"
  22528. },
  22529. "saleusername": {
  22530. "description": "业务员名称",
  22531. "type": "string"
  22532. },
  22533. "spotcontractid": {
  22534. "description": "合同ID",
  22535. "type": "string"
  22536. },
  22537. "spotgoodsbrandid": {
  22538. "description": "现货品牌ID(DGFactoryItem表的ID)",
  22539. "type": "integer"
  22540. },
  22541. "spotgoodsdesc": {
  22542. "description": "商品型号(商品规格)",
  22543. "type": "string"
  22544. },
  22545. "startdate": {
  22546. "description": "点价开始日",
  22547. "type": "string"
  22548. },
  22549. "subjectid": {
  22550. "description": "交易主体ID",
  22551. "type": "string"
  22552. },
  22553. "subjectname": {
  22554. "description": "交易主体名称",
  22555. "type": "string"
  22556. },
  22557. "totalamount": {
  22558. "description": "合计总额",
  22559. "type": "number"
  22560. },
  22561. "tradeuserid": {
  22562. "description": "交易员id",
  22563. "type": "integer"
  22564. },
  22565. "tradeuserlogincode": {
  22566. "description": "交易员登录代码",
  22567. "type": "string"
  22568. },
  22569. "tradeusername": {
  22570. "description": "交易员名称",
  22571. "type": "string"
  22572. },
  22573. "unpayamount": {
  22574. "description": "应收付款额(应支付或应收款)",
  22575. "type": "number"
  22576. },
  22577. "unpricedqty": {
  22578. "description": "未定价量",
  22579. "type": "number"
  22580. },
  22581. "unsureqty": {
  22582. "description": "未确定量",
  22583. "type": "number"
  22584. },
  22585. "userid": {
  22586. "description": "机构ID",
  22587. "type": "integer"
  22588. },
  22589. "vatrate": {
  22590. "description": "增值税率",
  22591. "type": "number"
  22592. },
  22593. "wrstandardcode": {
  22594. "description": "品类代码",
  22595. "type": "string"
  22596. },
  22597. "wrstandardid": {
  22598. "description": "品类ID",
  22599. "type": "integer"
  22600. },
  22601. "wrstandardname": {
  22602. "description": "品类名称",
  22603. "type": "string"
  22604. }
  22605. }
  22606. },
  22607. "models.Ermcp3SpotGoodsPrice": {
  22608. "type": "object",
  22609. "properties": {
  22610. "areauserid": {
  22611. "description": "所属机构id",
  22612. "type": "integer"
  22613. },
  22614. "brandname": {
  22615. "description": "品牌名称",
  22616. "type": "string"
  22617. },
  22618. "currencyid": {
  22619. "description": "报价货币ID",
  22620. "type": "integer"
  22621. },
  22622. "currencyname": {
  22623. "description": "币种名称",
  22624. "type": "string"
  22625. },
  22626. "deliverygoodscode": {
  22627. "description": "现货商品代码",
  22628. "type": "string"
  22629. },
  22630. "deliverygoodsid": {
  22631. "description": "现货商品id",
  22632. "type": "integer"
  22633. },
  22634. "deliverygoodsname": {
  22635. "description": "现货商品名称",
  22636. "type": "string"
  22637. },
  22638. "enumdicname": {
  22639. "description": "现货商品单位名称",
  22640. "type": "string"
  22641. },
  22642. "gbenumdicname": {
  22643. "description": "品类单位名称",
  22644. "type": "string"
  22645. },
  22646. "gmunitid": {
  22647. "description": "品类单位id",
  22648. "type": "integer"
  22649. },
  22650. "isvalid": {
  22651. "description": "是否有效 - 0:无效 1:有效",
  22652. "type": "integer"
  22653. },
  22654. "operateid": {
  22655. "description": "最后操作人",
  22656. "type": "integer"
  22657. },
  22658. "operatesrc": {
  22659. "description": "最后操作来源 - 1:管理端 2:终端",
  22660. "type": "integer"
  22661. },
  22662. "operatetime": {
  22663. "description": "最后操作时间",
  22664. "type": "string"
  22665. },
  22666. "operatorname": {
  22667. "description": "操作人名称",
  22668. "type": "string"
  22669. },
  22670. "spotgoodsbrandid": {
  22671. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  22672. "type": "integer"
  22673. },
  22674. "spotgoodsprice": {
  22675. "description": "现货价格",
  22676. "type": "number"
  22677. },
  22678. "tradedate": {
  22679. "description": "交易日(yyyyMMdd)",
  22680. "type": "string"
  22681. },
  22682. "unitid": {
  22683. "description": "现货商品单位id",
  22684. "type": "integer"
  22685. },
  22686. "wrstandardcode": {
  22687. "description": "品类代码",
  22688. "type": "string"
  22689. },
  22690. "wrstandardid": {
  22691. "description": "现货品类ID(通用则为0)",
  22692. "type": "integer"
  22693. },
  22694. "wrstandardname": {
  22695. "description": "品类名称",
  22696. "type": "string"
  22697. }
  22698. }
  22699. },
  22700. "models.Ermcp3SpotGoodsPriceLog": {
  22701. "type": "object",
  22702. "properties": {
  22703. "areauserid": {
  22704. "description": "所属机构id",
  22705. "type": "integer"
  22706. },
  22707. "brandname": {
  22708. "description": "品牌名称",
  22709. "type": "string"
  22710. },
  22711. "currencyid": {
  22712. "description": "报价货币ID",
  22713. "type": "integer"
  22714. },
  22715. "deliverygoodscode": {
  22716. "description": "现货商品代码",
  22717. "type": "string"
  22718. },
  22719. "deliverygoodsid": {
  22720. "description": "现货商品id",
  22721. "type": "integer"
  22722. },
  22723. "deliverygoodsname": {
  22724. "description": "现货商品名称",
  22725. "type": "string"
  22726. },
  22727. "enumdicname": {
  22728. "description": "现货商品单位名称",
  22729. "type": "string"
  22730. },
  22731. "gbenumdicname": {
  22732. "description": "品类单位名称",
  22733. "type": "string"
  22734. },
  22735. "gmunitid": {
  22736. "description": "品类单位id",
  22737. "type": "integer"
  22738. },
  22739. "logid": {
  22740. "description": "日志id",
  22741. "type": "integer"
  22742. },
  22743. "operateid": {
  22744. "description": "最后操作人",
  22745. "type": "integer"
  22746. },
  22747. "operatesrc": {
  22748. "description": "最后操作来源 - 1:管理端 2:终端",
  22749. "type": "integer"
  22750. },
  22751. "operatetime": {
  22752. "description": "最后操作时间",
  22753. "type": "string"
  22754. },
  22755. "operatorname": {
  22756. "description": "操作人名称",
  22757. "type": "string"
  22758. },
  22759. "spotgoodsbrandid": {
  22760. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  22761. "type": "integer"
  22762. },
  22763. "spotgoodsprice": {
  22764. "description": "现货价格",
  22765. "type": "number"
  22766. },
  22767. "tradedate": {
  22768. "description": "交易日(yyyyMMdd)",
  22769. "type": "string"
  22770. },
  22771. "unitid": {
  22772. "description": "现货商品单位id",
  22773. "type": "integer"
  22774. },
  22775. "wrstandardcode": {
  22776. "description": "品类代码",
  22777. "type": "string"
  22778. },
  22779. "wrstandardid": {
  22780. "description": "现货品类ID(通用则为0)",
  22781. "type": "integer"
  22782. },
  22783. "wrstandardname": {
  22784. "description": "品类名称",
  22785. "type": "string"
  22786. }
  22787. }
  22788. },
  22789. "models.Ermcp3SubTaaccount": {
  22790. "type": "object",
  22791. "properties": {
  22792. "accountid": {
  22793. "description": "资金账户ID",
  22794. "type": "integer"
  22795. },
  22796. "parentaccountcode": {
  22797. "description": "所属根账号代码(母账号代码)",
  22798. "type": "string"
  22799. },
  22800. "parentaccountid": {
  22801. "description": "所属根账号(母账号)",
  22802. "type": "integer"
  22803. },
  22804. "taname": {
  22805. "description": "资金账号名称",
  22806. "type": "string"
  22807. },
  22808. "tradestatus": {
  22809. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  22810. "type": "integer"
  22811. },
  22812. "username": {
  22813. "description": "交易用户",
  22814. "type": "string"
  22815. }
  22816. }
  22817. },
  22818. "models.Ermcp3TaFutuReDataReport": {
  22819. "type": "object",
  22820. "properties": {
  22821. "accountid": {
  22822. "description": "交易账户",
  22823. "type": "integer"
  22824. },
  22825. "accountname": {
  22826. "description": "交易账号名称",
  22827. "type": "string"
  22828. },
  22829. "agreeunit": {
  22830. "description": "商品合约单位",
  22831. "type": "number"
  22832. },
  22833. "begindate": {
  22834. "description": "开始交易日",
  22835. "type": "string"
  22836. },
  22837. "buyorsell": {
  22838. "description": "持仓方向",
  22839. "type": "integer"
  22840. },
  22841. "charge": {
  22842. "description": "手续费",
  22843. "type": "number"
  22844. },
  22845. "closeavgprice": {
  22846. "description": "平仓均价",
  22847. "type": "number"
  22848. },
  22849. "closepl": {
  22850. "description": "平仓损益",
  22851. "type": "number"
  22852. },
  22853. "currencyid": {
  22854. "description": "结算币种ID",
  22855. "type": "integer"
  22856. },
  22857. "currencyname": {
  22858. "description": "币种名称",
  22859. "type": "string"
  22860. },
  22861. "cycletime": {
  22862. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22863. "type": "string"
  22864. },
  22865. "cycletype": {
  22866. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22867. "type": "integer"
  22868. },
  22869. "enddate": {
  22870. "description": "结束交易日",
  22871. "type": "string"
  22872. },
  22873. "enumdicname": {
  22874. "description": "单位名称",
  22875. "type": "string"
  22876. },
  22877. "floatpl": {
  22878. "description": "浮动损益",
  22879. "type": "number"
  22880. },
  22881. "goodscode": {
  22882. "description": "交易合约代码",
  22883. "type": "string"
  22884. },
  22885. "goodsgroupid": {
  22886. "description": "交易品种",
  22887. "type": "integer"
  22888. },
  22889. "goodsgroupname": {
  22890. "description": "交易品种名称",
  22891. "type": "string"
  22892. },
  22893. "goodsgroupspotqty": {
  22894. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  22895. "type": "number"
  22896. },
  22897. "goodsid": {
  22898. "description": "交易合约",
  22899. "type": "integer"
  22900. },
  22901. "goodsname": {
  22902. "description": "交易合约名称",
  22903. "type": "string"
  22904. },
  22905. "goodunitid": {
  22906. "description": "交易合约单位id",
  22907. "type": "integer"
  22908. },
  22909. "holdamount": {
  22910. "description": "期末持仓额",
  22911. "type": "number"
  22912. },
  22913. "holdqty": {
  22914. "description": "期末持仓量",
  22915. "type": "number"
  22916. },
  22917. "lastholdamount": {
  22918. "description": "当前持仓额",
  22919. "type": "number"
  22920. },
  22921. "lastprice": {
  22922. "description": "最新价",
  22923. "type": "number"
  22924. },
  22925. "middlegoodsid": {
  22926. "description": "套保品种id",
  22927. "type": "integer"
  22928. },
  22929. "middlegoodsname": {
  22930. "description": "套保商品名称",
  22931. "type": "string"
  22932. },
  22933. "middlegoodsqty": {
  22934. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  22935. "type": "number"
  22936. },
  22937. "middlgoodscode": {
  22938. "description": "套保商品代码",
  22939. "type": "string"
  22940. },
  22941. "openamount": {
  22942. "description": "期末开仓额",
  22943. "type": "number"
  22944. },
  22945. "openavgprice": {
  22946. "description": "开仓均价",
  22947. "type": "number"
  22948. },
  22949. "oriholdamount": {
  22950. "description": "期初持仓额",
  22951. "type": "number"
  22952. },
  22953. "oriholdqty": {
  22954. "description": "期初持仓量",
  22955. "type": "number"
  22956. },
  22957. "oriopenamount": {
  22958. "description": "期初开仓额",
  22959. "type": "number"
  22960. },
  22961. "outergroupcode": {
  22962. "description": "交易品种代码",
  22963. "type": "string"
  22964. },
  22965. "qtydecimalplace": {
  22966. "description": "成交量小数位",
  22967. "type": "integer"
  22968. },
  22969. "reckondate": {
  22970. "description": "日照时期(yyyyMMdd)",
  22971. "type": "string"
  22972. },
  22973. "reckonholdamount": {
  22974. "description": "结算持仓额",
  22975. "type": "number"
  22976. },
  22977. "reckonpl": {
  22978. "description": "结算损益",
  22979. "type": "number"
  22980. },
  22981. "reckonpl2": {
  22982. "description": "结算逐笔盈亏",
  22983. "type": "number"
  22984. },
  22985. "reckonprice": {
  22986. "description": "结算价",
  22987. "type": "number"
  22988. },
  22989. "relateduserid": {
  22990. "description": "账户关联用户ID",
  22991. "type": "integer"
  22992. },
  22993. "todaycloseamount": {
  22994. "description": "今平仓额",
  22995. "type": "number"
  22996. },
  22997. "todaycloseqty": {
  22998. "description": "今平仓量",
  22999. "type": "number"
  23000. },
  23001. "todaygoodsgroupspotqty": {
  23002. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  23003. "type": "number"
  23004. },
  23005. "todaymiddlegoodsqty": {
  23006. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  23007. "type": "number"
  23008. },
  23009. "todayopenamount": {
  23010. "description": "今开仓额",
  23011. "type": "number"
  23012. },
  23013. "todayopenqty": {
  23014. "description": "今开仓量",
  23015. "type": "number"
  23016. },
  23017. "userid": {
  23018. "description": "账户所属用户ID",
  23019. "type": "integer"
  23020. }
  23021. }
  23022. },
  23023. "models.Ermcp3TradeLinkDetail": {
  23024. "type": "object",
  23025. "properties": {
  23026. "accountid": {
  23027. "description": "资金账号",
  23028. "type": "integer"
  23029. },
  23030. "agreeunit": {
  23031. "description": "合约乘数",
  23032. "type": "number"
  23033. },
  23034. "areauserid": {
  23035. "description": "所属机构",
  23036. "type": "string"
  23037. },
  23038. "bizsubjectid": {
  23039. "description": "归属业务部门ID - SubjectID",
  23040. "type": "string"
  23041. },
  23042. "buyorsell": {
  23043. "description": "方向 - 0:买 1:卖",
  23044. "type": "integer"
  23045. },
  23046. "channelbuildtype": {
  23047. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23048. "type": "integer"
  23049. },
  23050. "contractno": {
  23051. "description": "现货编号 (合同编号)",
  23052. "type": "string"
  23053. },
  23054. "convertratio": {
  23055. "description": "折算系数",
  23056. "type": "number"
  23057. },
  23058. "createtime": {
  23059. "description": "关联时间 | 创建时间",
  23060. "type": "string"
  23061. },
  23062. "creatorid": {
  23063. "description": "创建人ID",
  23064. "type": "string"
  23065. },
  23066. "creatorsrc": {
  23067. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  23068. "type": "integer"
  23069. },
  23070. "enumdicname": {
  23071. "description": "单位名称",
  23072. "type": "string"
  23073. },
  23074. "goodscode": {
  23075. "description": "合约代码",
  23076. "type": "string"
  23077. },
  23078. "goodsgroupid": {
  23079. "description": "对冲品种ID[期货合约商品组ID]",
  23080. "type": "integer"
  23081. },
  23082. "goodsid": {
  23083. "description": "商品ID",
  23084. "type": "integer"
  23085. },
  23086. "goodsname": {
  23087. "description": "合约名称",
  23088. "type": "string"
  23089. },
  23090. "hedgeflag": {
  23091. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  23092. "type": "integer"
  23093. },
  23094. "linkdetailid": {
  23095. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  23096. "type": "string"
  23097. },
  23098. "linkstatus": {
  23099. "description": "关联状态 - 1:成功 2:失败",
  23100. "type": "integer"
  23101. },
  23102. "middlegoodsid": {
  23103. "description": "套保品种ID",
  23104. "type": "integer"
  23105. },
  23106. "relatedlot": {
  23107. "description": "关联手数",
  23108. "type": "number"
  23109. },
  23110. "relatedmode": {
  23111. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  23112. "type": "integer"
  23113. },
  23114. "relatedqty": {
  23115. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  23116. "type": "number"
  23117. },
  23118. "retcode": {
  23119. "description": "返回码",
  23120. "type": "integer"
  23121. },
  23122. "saleuserid": {
  23123. "description": "业务员ID",
  23124. "type": "string"
  23125. },
  23126. "spotcontractid": {
  23127. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  23128. "type": "string"
  23129. },
  23130. "taname": {
  23131. "description": "期货账户",
  23132. "type": "string"
  23133. },
  23134. "tradedate": {
  23135. "description": "关联交易日(yyyyMMdd)",
  23136. "type": "string"
  23137. },
  23138. "tradeid": {
  23139. "description": "期货订单号 | 内部成交单ID",
  23140. "type": "string"
  23141. },
  23142. "tradelot": {
  23143. "description": "成交数量 | 成交手数",
  23144. "type": "integer"
  23145. },
  23146. "tradeprice": {
  23147. "description": "成交价格",
  23148. "type": "number"
  23149. },
  23150. "tradetime": {
  23151. "description": "期货成交时间",
  23152. "type": "string"
  23153. },
  23154. "tradetradedate": {
  23155. "description": "成交交易日(yyyyMMdd)",
  23156. "type": "string"
  23157. },
  23158. "username": {
  23159. "description": "用户名称",
  23160. "type": "string"
  23161. }
  23162. }
  23163. },
  23164. "models.Ermcp3Wrstandard": {
  23165. "type": "object",
  23166. "properties": {
  23167. "areauserid": {
  23168. "description": "所属机构",
  23169. "type": "integer"
  23170. },
  23171. "cantrade": {
  23172. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  23173. "type": "integer"
  23174. },
  23175. "convertfactor": {
  23176. "description": "标仓系数",
  23177. "type": "number"
  23178. },
  23179. "createtime": {
  23180. "description": "创建时间",
  23181. "type": "string"
  23182. },
  23183. "creatorid": {
  23184. "description": "创建人",
  23185. "type": "integer"
  23186. },
  23187. "deliverygoodsid": {
  23188. "description": "现货品种ID",
  23189. "type": "integer"
  23190. },
  23191. "enumdicname": {
  23192. "description": "品类单位名称",
  23193. "type": "string"
  23194. },
  23195. "isvalid": {
  23196. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  23197. "type": "integer"
  23198. },
  23199. "minivalue": {
  23200. "description": "最小变动值",
  23201. "type": "integer"
  23202. },
  23203. "minivaluedp": {
  23204. "description": "最小变动值小数位",
  23205. "type": "integer"
  23206. },
  23207. "realminivalue": {
  23208. "description": "实际最小变动值",
  23209. "type": "integer"
  23210. },
  23211. "realminivaluedp": {
  23212. "description": "实际最小变动值小数位",
  23213. "type": "integer"
  23214. },
  23215. "remark": {
  23216. "description": "备注",
  23217. "type": "string"
  23218. },
  23219. "unitid": {
  23220. "description": "品类单位ID",
  23221. "type": "integer"
  23222. },
  23223. "updatetime": {
  23224. "description": "更新时间",
  23225. "type": "string"
  23226. },
  23227. "wrstandardcode": {
  23228. "description": "品类代码",
  23229. "type": "string"
  23230. },
  23231. "wrstandardid": {
  23232. "description": "品类ID(SEQ_WRSTANDARD)",
  23233. "type": "integer"
  23234. },
  23235. "wrstandardname": {
  23236. "description": "品类名称",
  23237. "type": "string"
  23238. }
  23239. }
  23240. },
  23241. "models.ErmcpBizGroupEx": {
  23242. "type": "object",
  23243. "properties": {
  23244. "acclist": {
  23245. "description": "账号列表",
  23246. "type": "array",
  23247. "items": {
  23248. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  23249. }
  23250. },
  23251. "bizgroupid": {
  23252. "description": "业务分组id",
  23253. "type": "integer"
  23254. },
  23255. "biztype": {
  23256. "description": "业务类型 1-套保 2-套利",
  23257. "type": "integer"
  23258. },
  23259. "wrlist": {
  23260. "description": "现货商品表",
  23261. "type": "array",
  23262. "items": {
  23263. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  23264. }
  23265. }
  23266. }
  23267. },
  23268. "models.ErmcpBizGroupSpotGoods": {
  23269. "type": "object",
  23270. "properties": {
  23271. "areauserid": {
  23272. "description": "所属机构id",
  23273. "type": "integer"
  23274. },
  23275. "bizgroupid": {
  23276. "description": "分组id",
  23277. "type": "integer"
  23278. },
  23279. "biztype": {
  23280. "description": "业务类型 1-套保 2-套利",
  23281. "type": "integer"
  23282. },
  23283. "deliverygoodscode": {
  23284. "description": "现货商品代码",
  23285. "type": "string"
  23286. },
  23287. "deliverygoodsid": {
  23288. "description": "现货商品id",
  23289. "type": "integer"
  23290. },
  23291. "deliverygoodsname": {
  23292. "description": "现货商品名称",
  23293. "type": "string"
  23294. },
  23295. "unitid": {
  23296. "description": "现货商品单位id",
  23297. "type": "integer"
  23298. }
  23299. }
  23300. },
  23301. "models.ErmcpBizGroupTaAccount": {
  23302. "type": "object",
  23303. "properties": {
  23304. "accountid": {
  23305. "description": "账号id",
  23306. "type": "integer"
  23307. },
  23308. "accountname": {
  23309. "description": "账号名称",
  23310. "type": "string"
  23311. },
  23312. "areauserid": {
  23313. "description": "所属机构id",
  23314. "type": "integer"
  23315. },
  23316. "bizgroupid": {
  23317. "description": "业务分组id",
  23318. "type": "integer"
  23319. },
  23320. "ismain": {
  23321. "description": "是否主账号 1-是 0-否",
  23322. "type": "integer"
  23323. }
  23324. }
  23325. },
  23326. "models.ErmcpDGFactoryItem": {
  23327. "type": "object",
  23328. "properties": {
  23329. "areauserid": {
  23330. "description": "用户id",
  23331. "type": "integer"
  23332. },
  23333. "deliverygoodsid": {
  23334. "description": "现货品种ID",
  23335. "type": "integer"
  23336. },
  23337. "dgfactoryitemid": {
  23338. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  23339. "type": "integer"
  23340. },
  23341. "dgfactoryitemtypeid": {
  23342. "description": "要素项类型",
  23343. "type": "integer"
  23344. },
  23345. "dgfactoryitemvalue": {
  23346. "description": "要素项值(类型为仓库时填写仓库名称)",
  23347. "type": "string"
  23348. },
  23349. "isvalid": {
  23350. "description": "是否有效 - 0:无效 1:有效",
  23351. "type": "integer"
  23352. },
  23353. "orderindex": {
  23354. "description": "顺序",
  23355. "type": "integer"
  23356. },
  23357. "warehouseid": {
  23358. "description": "仓库ID(类型为仓库时填写)",
  23359. "type": "integer"
  23360. }
  23361. }
  23362. },
  23363. "models.ErmcpDeliveryGoods": {
  23364. "type": "object",
  23365. "properties": {
  23366. "agreeunit": {
  23367. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  23368. "type": "integer"
  23369. },
  23370. "areauserid": {
  23371. "description": "所属机构",
  23372. "type": "integer"
  23373. },
  23374. "auditflag": {
  23375. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  23376. "type": "integer"
  23377. },
  23378. "categoryid": {
  23379. "description": "类别ID(SEQ_WRCATEGORY)",
  23380. "type": "integer"
  23381. },
  23382. "deliverygoodscode": {
  23383. "description": "现货品种代码",
  23384. "type": "string"
  23385. },
  23386. "deliverygoodsid": {
  23387. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  23388. "type": "integer"
  23389. },
  23390. "deliverygoodsname": {
  23391. "description": "现货品种名称",
  23392. "type": "string"
  23393. },
  23394. "deliverygoodstype": {
  23395. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  23396. "type": "integer"
  23397. },
  23398. "dgstatus": {
  23399. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  23400. "type": "integer"
  23401. },
  23402. "enumdicname": {
  23403. "description": "现货品种单位名称",
  23404. "type": "string"
  23405. },
  23406. "goodsunitid": {
  23407. "description": "现货品种单位ID",
  23408. "type": "integer"
  23409. },
  23410. "isvalid": {
  23411. "description": "是否有效 - 0:无效 1:有效",
  23412. "type": "integer"
  23413. },
  23414. "qtydecimalplace": {
  23415. "description": "成交量小数位",
  23416. "type": "integer"
  23417. },
  23418. "remark": {
  23419. "description": "备注",
  23420. "type": "string"
  23421. },
  23422. "standardqty": {
  23423. "description": "标准数量(库位数量) [标准品特有]",
  23424. "type": "integer"
  23425. },
  23426. "standardqtyrange": {
  23427. "description": "标准数量偏差范围 [标准品特有]",
  23428. "type": "integer"
  23429. }
  23430. }
  23431. },
  23432. "models.ErmcpFuturesCompany": {
  23433. "type": "object",
  23434. "properties": {
  23435. "brokerid": {
  23436. "description": "经纪公司代码",
  23437. "type": "string"
  23438. },
  23439. "channeladdress": {
  23440. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  23441. "type": "string"
  23442. },
  23443. "channelid": {
  23444. "description": "对冲渠道ID",
  23445. "type": "string"
  23446. },
  23447. "createtime": {
  23448. "description": "创建时间",
  23449. "type": "string"
  23450. },
  23451. "creatorid": {
  23452. "description": "创建人",
  23453. "type": "string"
  23454. },
  23455. "fcid": {
  23456. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  23457. "type": "integer"
  23458. },
  23459. "fcname": {
  23460. "description": "期货公司名称",
  23461. "type": "string"
  23462. },
  23463. "isvalid": {
  23464. "description": "是否有效 - 0:无效 1:有效",
  23465. "type": "integer"
  23466. },
  23467. "mhpaddress": {
  23468. "description": "MHP服务地址(IP:Port)",
  23469. "type": "string"
  23470. },
  23471. "riskrulegroupid": {
  23472. "description": "风控规则组ID",
  23473. "type": "string"
  23474. },
  23475. "tradefeetmpid": {
  23476. "description": "手续费模板ID[TradeConfigTmpType为2]",
  23477. "type": "string"
  23478. },
  23479. "trademargintmpid": {
  23480. "description": "保证金模板ID [TradeConfigTmpType为1]",
  23481. "type": "string"
  23482. },
  23483. "traderatetmpid": {
  23484. "description": "汇率模板ID[TradeConfigTmpType为3]",
  23485. "type": "string"
  23486. },
  23487. "updatetime": {
  23488. "description": "更新时间",
  23489. "type": "string"
  23490. },
  23491. "updatorid": {
  23492. "description": "更新人",
  23493. "type": "string"
  23494. }
  23495. }
  23496. },
  23497. "models.ErmcpGGConvertCfg": {
  23498. "type": "object",
  23499. "properties": {
  23500. "convertratio": {
  23501. "description": "折算系数",
  23502. "type": "number"
  23503. },
  23504. "destgoodsgroupid": {
  23505. "description": "目标品种ID",
  23506. "type": "integer"
  23507. },
  23508. "dstcode": {
  23509. "description": "目录品种代码",
  23510. "type": "string"
  23511. },
  23512. "dstexchangecode": {
  23513. "description": "目标期货交易所",
  23514. "type": "string"
  23515. },
  23516. "dstname": {
  23517. "description": "目标品种名称",
  23518. "type": "string"
  23519. },
  23520. "dstunitid": {
  23521. "description": "目标品种单位ID",
  23522. "type": "integer"
  23523. },
  23524. "dstunitidname": {
  23525. "description": "目标品种单位名称",
  23526. "type": "string"
  23527. },
  23528. "modifytime": {
  23529. "description": "修改时间",
  23530. "type": "string"
  23531. },
  23532. "srccode": {
  23533. "description": "源品种代码",
  23534. "type": "string"
  23535. },
  23536. "srcexchangecode": {
  23537. "description": "源期货交易所",
  23538. "type": "string"
  23539. },
  23540. "srcgoodsgroupid": {
  23541. "description": "源品种ID",
  23542. "type": "integer"
  23543. },
  23544. "srcname": {
  23545. "description": "源品种名称",
  23546. "type": "string"
  23547. },
  23548. "srcunitid": {
  23549. "description": "源品种单位ID",
  23550. "type": "integer"
  23551. },
  23552. "srcunitidname": {
  23553. "description": "源品种单位名称",
  23554. "type": "string"
  23555. }
  23556. }
  23557. },
  23558. "models.ErmcpGoods": {
  23559. "type": "object",
  23560. "required": [
  23561. "goodscode",
  23562. "goodsid",
  23563. "goodsname",
  23564. "marketid"
  23565. ],
  23566. "properties": {
  23567. "agreeunit": {
  23568. "description": "合约单位",
  23569. "type": "number"
  23570. },
  23571. "areauserid": {
  23572. "description": "所属机构",
  23573. "type": "integer"
  23574. },
  23575. "auditaccountid": {
  23576. "description": "审核操作员账号",
  23577. "type": "integer"
  23578. },
  23579. "audittime": {
  23580. "description": "审核时间",
  23581. "type": "string"
  23582. },
  23583. "cancelaccountid": {
  23584. "description": "注销操作员账号",
  23585. "type": "integer"
  23586. },
  23587. "canceltime": {
  23588. "description": "注销时间",
  23589. "type": "string"
  23590. },
  23591. "closepricemode": {
  23592. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23593. "type": "integer"
  23594. },
  23595. "closepriceparam": {
  23596. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  23597. "type": "number"
  23598. },
  23599. "createtime": {
  23600. "description": "创建时间",
  23601. "type": "string"
  23602. },
  23603. "creatorid": {
  23604. "description": "创建人",
  23605. "type": "integer"
  23606. },
  23607. "currencyid": {
  23608. "description": "报价货币ID",
  23609. "type": "integer"
  23610. },
  23611. "cutmode": {
  23612. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  23613. "type": "integer"
  23614. },
  23615. "decimalplace": {
  23616. "description": "报价小数位",
  23617. "type": "integer"
  23618. },
  23619. "delistingdate": {
  23620. "description": "商品退市时间(状态:退市) -- 已作废",
  23621. "type": "string"
  23622. },
  23623. "delistingmode": {
  23624. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  23625. "type": "integer"
  23626. },
  23627. "deliveryflag": {
  23628. "description": "交割标志 - 0:不可交割 1:可交割",
  23629. "type": "integer"
  23630. },
  23631. "enumdicname": {
  23632. "description": "单位名称",
  23633. "type": "string"
  23634. },
  23635. "forceclosemode": {
  23636. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  23637. "type": "integer"
  23638. },
  23639. "forceclosevalue": {
  23640. "description": "定期强平参数 [收益权]",
  23641. "type": "integer"
  23642. },
  23643. "goodscode": {
  23644. "description": "商品代码(内部)",
  23645. "type": "string"
  23646. },
  23647. "goodscurrencyid": {
  23648. "description": "合约货币ID",
  23649. "type": "integer"
  23650. },
  23651. "goodsgroupid": {
  23652. "description": "所属商品组ID",
  23653. "type": "integer"
  23654. },
  23655. "goodsid": {
  23656. "description": "商品ID(自增ID SEQ_GOODS)",
  23657. "type": "integer"
  23658. },
  23659. "goodsname": {
  23660. "description": "商品名称",
  23661. "type": "string"
  23662. },
  23663. "goodsquotetype": {
  23664. "description": "合约报价类型: 1-直接报价 2-间接报价",
  23665. "type": "integer"
  23666. },
  23667. "goodsstatus": {
  23668. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  23669. "type": "integer"
  23670. },
  23671. "goodstradetype": {
  23672. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  23673. "type": "integer"
  23674. },
  23675. "goodunitid": {
  23676. "description": "报价单位ID",
  23677. "type": "integer"
  23678. },
  23679. "hasquoter": {
  23680. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  23681. "type": "integer"
  23682. },
  23683. "hqprotecttime": {
  23684. "description": "行情保护时间(秒)",
  23685. "type": "integer"
  23686. },
  23687. "innerdealmode": {
  23688. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23689. "type": "integer"
  23690. },
  23691. "isbuylimited": {
  23692. "description": "是否限制建仓量 - 0:不限制 1:限制",
  23693. "type": "integer"
  23694. },
  23695. "isvisible": {
  23696. "description": "游客是否可见 - 0:不可见 1:可见",
  23697. "type": "integer"
  23698. },
  23699. "lasttradedate": {
  23700. "description": "最后交易日期(状态:待退市)",
  23701. "type": "string"
  23702. },
  23703. "listingdate": {
  23704. "description": "交易开始日期",
  23705. "type": "string"
  23706. },
  23707. "marketid": {
  23708. "description": "所属市场ID",
  23709. "type": "integer"
  23710. },
  23711. "modifierid": {
  23712. "description": "修改人",
  23713. "type": "integer"
  23714. },
  23715. "modifystatus": {
  23716. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  23717. "type": "integer"
  23718. },
  23719. "modifytime": {
  23720. "description": "修改时间",
  23721. "type": "string"
  23722. },
  23723. "outerdealmode": {
  23724. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23725. "type": "integer"
  23726. },
  23727. "outgoodscode": {
  23728. "description": "商品代码(外部)",
  23729. "type": "string"
  23730. },
  23731. "pictureurl": {
  23732. "description": "商品图片",
  23733. "type": "string"
  23734. },
  23735. "qtydecimalplace": {
  23736. "description": "成交量小数位",
  23737. "type": "integer"
  23738. },
  23739. "quotegear": {
  23740. "description": "行情档位(1-10)",
  23741. "type": "integer"
  23742. },
  23743. "quoteminunit": {
  23744. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23745. "type": "integer"
  23746. },
  23747. "quoteshowtype": {
  23748. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  23749. "type": "integer"
  23750. },
  23751. "quoteshowtypeinterval": {
  23752. "description": "行情报价间隔时间(秒)(成交价时为0)",
  23753. "type": "integer"
  23754. },
  23755. "relatedgoodsid": {
  23756. "description": "关联参考商品ID",
  23757. "type": "integer"
  23758. },
  23759. "remark": {
  23760. "description": "备注",
  23761. "type": "string"
  23762. },
  23763. "trademode": {
  23764. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23765. "type": "integer"
  23766. }
  23767. }
  23768. },
  23769. "models.ErmcpGoodsBrand": {
  23770. "type": "object",
  23771. "properties": {
  23772. "areauserid": {
  23773. "description": "所属机构",
  23774. "type": "integer"
  23775. },
  23776. "brandid": {
  23777. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  23778. "type": "integer"
  23779. },
  23780. "brandname": {
  23781. "description": "品牌名称",
  23782. "type": "string"
  23783. },
  23784. "createtime": {
  23785. "description": "创建时间",
  23786. "type": "string"
  23787. },
  23788. "creatorid": {
  23789. "description": "创建人",
  23790. "type": "integer"
  23791. },
  23792. "creatorsrc": {
  23793. "description": "创建人来源 - 1:管理端 2:终端",
  23794. "type": "integer"
  23795. },
  23796. "deliverygoodsid": {
  23797. "description": "现货品种ID",
  23798. "type": "integer"
  23799. },
  23800. "isvalid": {
  23801. "description": "是否有效 - 0:无效 1:有效",
  23802. "type": "integer"
  23803. },
  23804. "updatetime": {
  23805. "description": "更新时间",
  23806. "type": "string"
  23807. },
  23808. "updatorid": {
  23809. "description": "更新人",
  23810. "type": "integer"
  23811. },
  23812. "updatorsrc": {
  23813. "description": "更新人来源 - 1:管理端 2:终端",
  23814. "type": "integer"
  23815. },
  23816. "wrstandardid": {
  23817. "description": "现货商品ID",
  23818. "type": "integer"
  23819. }
  23820. }
  23821. },
  23822. "models.ErmcpGoodsModel": {
  23823. "type": "object",
  23824. "properties": {
  23825. "areauserid": {
  23826. "description": "所属机构",
  23827. "type": "integer"
  23828. },
  23829. "convertfactor": {
  23830. "description": "标仓系数",
  23831. "type": "number"
  23832. },
  23833. "createtime": {
  23834. "description": "创建时间",
  23835. "type": "string"
  23836. },
  23837. "creatorid": {
  23838. "description": "创建人",
  23839. "type": "integer"
  23840. },
  23841. "creatorsrc": {
  23842. "description": "创建人来源 - 1:管理端 2:终端",
  23843. "type": "integer"
  23844. },
  23845. "deliverygoodsid": {
  23846. "description": "现货品种ID",
  23847. "type": "integer"
  23848. },
  23849. "isvalid": {
  23850. "description": "是否有效 - 0:无效 1:有效",
  23851. "type": "integer"
  23852. },
  23853. "modelid": {
  23854. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  23855. "type": "integer"
  23856. },
  23857. "modelname": {
  23858. "description": "型号名称",
  23859. "type": "string"
  23860. },
  23861. "updatetime": {
  23862. "description": "更新时间",
  23863. "type": "string"
  23864. },
  23865. "updatorid": {
  23866. "description": "更新人",
  23867. "type": "integer"
  23868. },
  23869. "updatorsrc": {
  23870. "description": "更新人来源 - 1:管理端 2:终端",
  23871. "type": "integer"
  23872. },
  23873. "wrstandardid": {
  23874. "description": "现货商品ID",
  23875. "type": "integer"
  23876. }
  23877. }
  23878. },
  23879. "models.ErmcpHisExposure": {
  23880. "type": "object",
  23881. "properties": {
  23882. "needhedgeexposoure": {
  23883. "description": "应套保敞口",
  23884. "type": "number"
  23885. },
  23886. "reckondate": {
  23887. "description": "日照时期(yyyyMMdd)",
  23888. "type": "string"
  23889. },
  23890. "totalexposure": {
  23891. "description": "总敞口",
  23892. "type": "number"
  23893. }
  23894. }
  23895. },
  23896. "models.ErmcpLoginTaAccount": {
  23897. "type": "object",
  23898. "properties": {
  23899. "accountid": {
  23900. "description": "账号id",
  23901. "type": "integer"
  23902. },
  23903. "accountname": {
  23904. "description": "账号名称",
  23905. "type": "string"
  23906. }
  23907. }
  23908. },
  23909. "models.ErmcpLoginUser": {
  23910. "type": "object",
  23911. "properties": {
  23912. "acclist": {
  23913. "description": "关联资金账号",
  23914. "type": "array",
  23915. "items": {
  23916. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  23917. }
  23918. },
  23919. "accountname": {
  23920. "description": "用户名称",
  23921. "type": "string"
  23922. },
  23923. "clientroleid": {
  23924. "description": "角色id(usertype=2)",
  23925. "type": "integer"
  23926. },
  23927. "createtime": {
  23928. "description": "创建时间",
  23929. "type": "string"
  23930. },
  23931. "logincode": {
  23932. "description": "登录代码",
  23933. "type": "string"
  23934. },
  23935. "loginid": {
  23936. "description": "登录id(LOGINID)",
  23937. "type": "integer"
  23938. },
  23939. "loginname": {
  23940. "description": "登录名称(loginaccount表中的accountname字段)",
  23941. "type": "string"
  23942. },
  23943. "loginstatus": {
  23944. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  23945. "type": "integer"
  23946. },
  23947. "memberuserid": {
  23948. "description": "所属会员id",
  23949. "type": "integer"
  23950. },
  23951. "mobile": {
  23952. "description": "手机号",
  23953. "type": "string"
  23954. },
  23955. "modifytime": {
  23956. "description": "修改时间",
  23957. "type": "string"
  23958. },
  23959. "password": {
  23960. "description": "密码(不可解密)",
  23961. "type": "string"
  23962. },
  23963. "rolename": {
  23964. "description": "角色名称",
  23965. "type": "string"
  23966. },
  23967. "rolestatus": {
  23968. "description": "角色状态 1-启用 2-停用",
  23969. "type": "integer"
  23970. },
  23971. "roletype": {
  23972. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  23973. "type": "string"
  23974. },
  23975. "userid": {
  23976. "description": "用户id",
  23977. "type": "integer"
  23978. },
  23979. "usertype": {
  23980. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  23981. "type": "integer"
  23982. }
  23983. }
  23984. },
  23985. "models.ErmcpLoginUserEx": {
  23986. "type": "object",
  23987. "properties": {
  23988. "accountstatus": {
  23989. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  23990. "type": "integer"
  23991. },
  23992. "mobile": {
  23993. "description": "手机号",
  23994. "type": "string"
  23995. },
  23996. "querytype": {
  23997. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  23998. "type": "integer"
  23999. },
  24000. "roleid": {
  24001. "description": "角色id(交易账户-\u003e用户id)",
  24002. "type": "integer"
  24003. },
  24004. "rolename": {
  24005. "description": "角色名称(交易账户-\u003e用户名称)",
  24006. "type": "string"
  24007. },
  24008. "userlist": {
  24009. "description": "用户列表",
  24010. "type": "array",
  24011. "items": {
  24012. "$ref": "#/definitions/models.ErmcpLoginUser"
  24013. }
  24014. },
  24015. "usertype": {
  24016. "description": "用户类型 2-机构 7-企业成员(云平台)",
  24017. "type": "integer"
  24018. }
  24019. }
  24020. },
  24021. "models.ErmcpMiddleGoodsModel": {
  24022. "type": "object",
  24023. "properties": {
  24024. "areauserid": {
  24025. "description": "机构用户ID",
  24026. "type": "integer"
  24027. },
  24028. "createtime": {
  24029. "description": "修改时间",
  24030. "type": "string"
  24031. },
  24032. "enumdicname": {
  24033. "description": "单位名称",
  24034. "type": "string"
  24035. },
  24036. "evaluateratio": {
  24037. "description": "估价系数",
  24038. "type": "number"
  24039. },
  24040. "goodsgroupid": {
  24041. "description": "关联期货品种ID",
  24042. "type": "integer"
  24043. },
  24044. "goodsunitid": {
  24045. "description": "单位ID",
  24046. "type": "integer"
  24047. },
  24048. "isvalid": {
  24049. "description": "状态 0-无效(停用) 1-有效(正常)",
  24050. "type": "integer"
  24051. },
  24052. "middlegoodscode": {
  24053. "description": "套保品种代码",
  24054. "type": "string"
  24055. },
  24056. "middlegoodsid": {
  24057. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  24058. "type": "integer"
  24059. },
  24060. "middlegoodsname": {
  24061. "description": "套保品种名称",
  24062. "type": "string"
  24063. },
  24064. "modifytime": {
  24065. "description": "修改时间",
  24066. "type": "string"
  24067. },
  24068. "needarbitrageratio": {
  24069. "description": "套利比例",
  24070. "type": "number"
  24071. },
  24072. "needhedgeratio": {
  24073. "description": "套保比率",
  24074. "type": "number"
  24075. },
  24076. "qtydecimalplace": {
  24077. "description": "数量小数位",
  24078. "type": "integer"
  24079. },
  24080. "relatedgoodsid": {
  24081. "description": "关联交易商品ID",
  24082. "type": "integer"
  24083. },
  24084. "relatedgoodstype": {
  24085. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  24086. "type": "integer"
  24087. },
  24088. "remark": {
  24089. "description": "备注",
  24090. "type": "string"
  24091. }
  24092. }
  24093. },
  24094. "models.ErmcpMiddlegoodsRelateGoods": {
  24095. "type": "object",
  24096. "properties": {
  24097. "agreeunit": {
  24098. "description": "合约乘数",
  24099. "type": "number"
  24100. },
  24101. "convertratio": {
  24102. "description": "折算系数",
  24103. "type": "number"
  24104. },
  24105. "enumdicname": {
  24106. "description": "单位名称(交易商品)",
  24107. "type": "string"
  24108. },
  24109. "goodscode": {
  24110. "description": "交易商品代码",
  24111. "type": "string"
  24112. },
  24113. "goodsgroupid": {
  24114. "description": "交易品种id",
  24115. "type": "integer"
  24116. },
  24117. "goodsid": {
  24118. "description": "商品Id",
  24119. "type": "integer"
  24120. },
  24121. "goodsname": {
  24122. "description": "交易商品名称",
  24123. "type": "string"
  24124. },
  24125. "goodunitid": {
  24126. "description": "交易商品单位id",
  24127. "type": "integer"
  24128. },
  24129. "middlegoodsid": {
  24130. "description": "套保商品id",
  24131. "type": "integer"
  24132. },
  24133. "middlegoodsname": {
  24134. "description": "套保商品名称",
  24135. "type": "string"
  24136. },
  24137. "middlegoodsswcode": {
  24138. "description": "套保商品代码",
  24139. "type": "string"
  24140. },
  24141. "needarbitrageratio": {
  24142. "description": "应套利比例",
  24143. "type": "number"
  24144. },
  24145. "needhedgeratio": {
  24146. "description": "应套保比例",
  24147. "type": "number"
  24148. }
  24149. }
  24150. },
  24151. "models.ErmcpRole": {
  24152. "type": "object",
  24153. "properties": {
  24154. "areauserid": {
  24155. "description": "所属机构",
  24156. "type": "integer"
  24157. },
  24158. "autoid": {
  24159. "description": "角色ID(自增ID)",
  24160. "type": "integer"
  24161. },
  24162. "modifierid": {
  24163. "description": "修改人(创建人)",
  24164. "type": "integer"
  24165. },
  24166. "modifiername": {
  24167. "description": "修改人名称",
  24168. "type": "string"
  24169. },
  24170. "modifytime": {
  24171. "description": "修改时间(创建时间)",
  24172. "type": "string"
  24173. },
  24174. "rolename": {
  24175. "description": "角色名称",
  24176. "type": "string"
  24177. },
  24178. "rolestatus": {
  24179. "description": "角色状态 - 1:启用 2:停用",
  24180. "type": "integer"
  24181. },
  24182. "roletype": {
  24183. "description": "角色类型 - 1- 管理端 2- 交易端",
  24184. "type": "integer"
  24185. }
  24186. }
  24187. },
  24188. "models.ErmcpRoleMenu": {
  24189. "type": "object",
  24190. "properties": {
  24191. "iconame": {
  24192. "description": "菜单图标",
  24193. "type": "string"
  24194. },
  24195. "ishadrole": {
  24196. "description": "是否有权限",
  24197. "type": "boolean"
  24198. },
  24199. "menutype": {
  24200. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  24201. "type": "integer"
  24202. },
  24203. "parentcode": {
  24204. "description": "上级资源代码",
  24205. "type": "string"
  24206. },
  24207. "remark": {
  24208. "description": "菜单备注",
  24209. "type": "string"
  24210. },
  24211. "resourcecode": {
  24212. "description": "菜单代码",
  24213. "type": "string"
  24214. },
  24215. "resourcelevel": {
  24216. "description": "级别",
  24217. "type": "integer"
  24218. },
  24219. "resourcename": {
  24220. "description": "菜单名称",
  24221. "type": "string"
  24222. },
  24223. "roleid": {
  24224. "description": "角色id",
  24225. "type": "integer"
  24226. },
  24227. "sort": {
  24228. "description": "排序",
  24229. "type": "integer"
  24230. },
  24231. "url": {
  24232. "description": "URL",
  24233. "type": "string"
  24234. },
  24235. "userid": {
  24236. "description": "用户id",
  24237. "type": "integer"
  24238. }
  24239. }
  24240. },
  24241. "models.ErmcpRoleMenuEx": {
  24242. "type": "object",
  24243. "properties": {
  24244. "menu": {
  24245. "description": "父级菜单",
  24246. "$ref": "#/definitions/models.ErmcpRoleMenu"
  24247. },
  24248. "subMenu": {
  24249. "description": "子级菜单",
  24250. "type": "array",
  24251. "items": {
  24252. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  24253. }
  24254. }
  24255. }
  24256. },
  24257. "models.ErmcpTaAccount": {
  24258. "type": "object",
  24259. "properties": {
  24260. "accountid": {
  24261. "description": "账户id",
  24262. "type": "integer"
  24263. },
  24264. "accountname": {
  24265. "description": "账户名称",
  24266. "type": "string"
  24267. },
  24268. "currencyid": {
  24269. "description": "币种id",
  24270. "type": "integer"
  24271. },
  24272. "hedgeaccountcode": {
  24273. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24274. "type": "string"
  24275. },
  24276. "ismain": {
  24277. "description": "是否主账户 0-否 1-是",
  24278. "type": "integer"
  24279. },
  24280. "parentaccountid": {
  24281. "description": "父账户id",
  24282. "type": "integer"
  24283. },
  24284. "relateduserid": {
  24285. "description": "关联userid",
  24286. "type": "integer"
  24287. },
  24288. "tradefeetmpid": {
  24289. "description": "手续费模板id",
  24290. "type": "integer"
  24291. },
  24292. "tradefeetmpname": {
  24293. "description": "手续费模板名称",
  24294. "type": "string"
  24295. },
  24296. "trademargintmpid": {
  24297. "description": "保证金模板id",
  24298. "type": "integer"
  24299. },
  24300. "trademargintmpname": {
  24301. "description": "保证金模板名称",
  24302. "type": "string"
  24303. },
  24304. "traderatetmpid": {
  24305. "description": "汇率模板id",
  24306. "type": "integer"
  24307. },
  24308. "traderatetmpname": {
  24309. "description": "汇率模板名称",
  24310. "type": "string"
  24311. },
  24312. "tradestatus": {
  24313. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24314. "type": "integer"
  24315. },
  24316. "userid": {
  24317. "description": "用户id",
  24318. "type": "integer"
  24319. }
  24320. }
  24321. },
  24322. "models.ErmcpTaAccountEx": {
  24323. "type": "object",
  24324. "properties": {
  24325. "mainAcc": {
  24326. "description": "主账号",
  24327. "$ref": "#/definitions/models.ErmcpTaAccountM"
  24328. },
  24329. "subacclist": {
  24330. "description": "子账号列表",
  24331. "type": "array",
  24332. "items": {
  24333. "$ref": "#/definitions/models.ErmcpTaAccount"
  24334. }
  24335. }
  24336. }
  24337. },
  24338. "models.ErmcpTaAccountInfo": {
  24339. "type": "object",
  24340. "properties": {
  24341. "accountid": {
  24342. "description": "资金账户ID",
  24343. "type": "integer"
  24344. },
  24345. "accountname": {
  24346. "description": "账户名称",
  24347. "type": "string"
  24348. },
  24349. "balance": {
  24350. "description": "期初余额",
  24351. "type": "number"
  24352. },
  24353. "capitalbalance": {
  24354. "description": "本金余额[外部子账户实际出入金余额]",
  24355. "type": "number"
  24356. },
  24357. "closepl": {
  24358. "description": "今日平仓盈亏",
  24359. "type": "number"
  24360. },
  24361. "creditdecrease": {
  24362. "description": "今日授信减少",
  24363. "type": "number"
  24364. },
  24365. "creditincrease": {
  24366. "description": "今日授信增加",
  24367. "type": "number"
  24368. },
  24369. "curdebt": {
  24370. "description": "期末欠款",
  24371. "type": "number"
  24372. },
  24373. "currencyid": {
  24374. "description": "货币ID",
  24375. "type": "integer"
  24376. },
  24377. "currentbalance": {
  24378. "description": "期末余额",
  24379. "type": "number"
  24380. },
  24381. "freezecharge": {
  24382. "description": "手续费冻结",
  24383. "type": "number"
  24384. },
  24385. "freezemargin": {
  24386. "description": "冻结保证金",
  24387. "type": "number"
  24388. },
  24389. "fromaccountid": {
  24390. "description": "所属上级账户",
  24391. "type": "integer"
  24392. },
  24393. "inamount": {
  24394. "description": "今日入金金额(包括三方入金)",
  24395. "type": "number"
  24396. },
  24397. "ismain": {
  24398. "description": "是否母账号 0:不是母账户 1:是母账户",
  24399. "type": "integer"
  24400. },
  24401. "mortgagecredit": {
  24402. "description": "授信金额",
  24403. "type": "number"
  24404. },
  24405. "oridebt": {
  24406. "description": "期初欠款",
  24407. "type": "number"
  24408. },
  24409. "orifreezecharge": {
  24410. "description": "期初手续费冻结",
  24411. "type": "number"
  24412. },
  24413. "orifreezemargin": {
  24414. "description": "期初冻结保证金",
  24415. "type": "number"
  24416. },
  24417. "orimortgagecredit": {
  24418. "description": "期初授信金额",
  24419. "type": "number"
  24420. },
  24421. "oriothercredit": {
  24422. "description": "期初其它授信金额",
  24423. "type": "number"
  24424. },
  24425. "oriotherfreezemargin": {
  24426. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  24427. "type": "number"
  24428. },
  24429. "orioutamountfreeze": {
  24430. "description": "期初出金冻结",
  24431. "type": "number"
  24432. },
  24433. "oriusedmargin": {
  24434. "description": "期初占用保证金",
  24435. "type": "number"
  24436. },
  24437. "othercredit": {
  24438. "description": "其它授信金额",
  24439. "type": "number"
  24440. },
  24441. "othercreditdecrease": {
  24442. "description": "今日其它授信减少",
  24443. "type": "number"
  24444. },
  24445. "othercreditincrease": {
  24446. "description": "今日其它授信增加",
  24447. "type": "number"
  24448. },
  24449. "otherfreezemargin": {
  24450. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  24451. "type": "number"
  24452. },
  24453. "outamount": {
  24454. "description": "今日出金金额(包括三方出金)",
  24455. "type": "number"
  24456. },
  24457. "outamountfreeze": {
  24458. "description": "出金冻结",
  24459. "type": "number"
  24460. },
  24461. "outthreshold": {
  24462. "description": "出金阈值",
  24463. "type": "number"
  24464. },
  24465. "parentaccountid": {
  24466. "description": "所属根账号",
  24467. "type": "integer"
  24468. },
  24469. "paycharge": {
  24470. "description": "今日手续费支出",
  24471. "type": "number"
  24472. },
  24473. "relateduserid": {
  24474. "description": "关联用户",
  24475. "type": "integer"
  24476. },
  24477. "signstatus": {
  24478. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  24479. "type": "integer"
  24480. },
  24481. "sublevelpath": {
  24482. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  24483. "type": "string"
  24484. },
  24485. "taaccounttype": {
  24486. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  24487. "type": "integer"
  24488. },
  24489. "thirdinamount": {
  24490. "description": "今日三方入金",
  24491. "type": "number"
  24492. },
  24493. "thirdoutamount": {
  24494. "description": "今日三方出金",
  24495. "type": "number"
  24496. },
  24497. "tradestatus": {
  24498. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24499. "type": "integer"
  24500. },
  24501. "transferamount": {
  24502. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  24503. "type": "number"
  24504. },
  24505. "usedmargin": {
  24506. "description": "占用保证金",
  24507. "type": "number"
  24508. },
  24509. "userid": {
  24510. "description": "用户ID",
  24511. "type": "integer"
  24512. }
  24513. }
  24514. },
  24515. "models.ErmcpTaAccountM": {
  24516. "type": "object",
  24517. "properties": {
  24518. "accountid": {
  24519. "description": "账户id",
  24520. "type": "integer"
  24521. },
  24522. "accountname": {
  24523. "description": "账户名称",
  24524. "type": "string"
  24525. },
  24526. "currencyid": {
  24527. "description": "币种id",
  24528. "type": "integer"
  24529. },
  24530. "fcid": {
  24531. "description": "期货公司id",
  24532. "type": "integer"
  24533. },
  24534. "fcname": {
  24535. "description": "期货公司代码",
  24536. "type": "string"
  24537. },
  24538. "hedgeaccountcode": {
  24539. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24540. "type": "string"
  24541. },
  24542. "ismain": {
  24543. "description": "是否主账户 0-否 1-是",
  24544. "type": "integer"
  24545. },
  24546. "parentaccountid": {
  24547. "description": "父账户id",
  24548. "type": "integer"
  24549. },
  24550. "relateduserid": {
  24551. "description": "关联userid",
  24552. "type": "integer"
  24553. },
  24554. "tradefeetmpid": {
  24555. "description": "手续费模板id",
  24556. "type": "integer"
  24557. },
  24558. "tradefeetmpname": {
  24559. "description": "手续费模板名称",
  24560. "type": "string"
  24561. },
  24562. "trademargintmpid": {
  24563. "description": "保证金模板id",
  24564. "type": "integer"
  24565. },
  24566. "trademargintmpname": {
  24567. "description": "保证金模板名称",
  24568. "type": "string"
  24569. },
  24570. "traderatetmpid": {
  24571. "description": "汇率模板id",
  24572. "type": "integer"
  24573. },
  24574. "traderatetmpname": {
  24575. "description": "汇率模板名称",
  24576. "type": "string"
  24577. },
  24578. "tradestatus": {
  24579. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24580. "type": "integer"
  24581. },
  24582. "userid": {
  24583. "description": "用户id",
  24584. "type": "integer"
  24585. }
  24586. }
  24587. },
  24588. "models.ErmcpTradeConfigTMP": {
  24589. "type": "object",
  24590. "properties": {
  24591. "areauserid": {
  24592. "description": "所属机构",
  24593. "type": "integer"
  24594. },
  24595. "basiccurrencyid": {
  24596. "description": "基本币种ID[汇率] - 目标币种",
  24597. "type": "integer"
  24598. },
  24599. "mainaccountid": {
  24600. "description": "主账户ID",
  24601. "type": "integer"
  24602. },
  24603. "modifierid": {
  24604. "description": "修改人",
  24605. "type": "integer"
  24606. },
  24607. "remark": {
  24608. "description": "备注",
  24609. "type": "string"
  24610. },
  24611. "tradeconfigtmpid": {
  24612. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  24613. "type": "integer"
  24614. },
  24615. "tradeconfigtmpname": {
  24616. "description": "交易配置模板名称",
  24617. "type": "string"
  24618. },
  24619. "tradeconfigtmptype": {
  24620. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  24621. "type": "integer"
  24622. },
  24623. "updatetime": {
  24624. "description": "更新时间",
  24625. "type": "string"
  24626. }
  24627. }
  24628. },
  24629. "models.Externalexchange": {
  24630. "type": "object",
  24631. "required": [
  24632. "autoid"
  24633. ],
  24634. "properties": {
  24635. "autoid": {
  24636. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  24637. "type": "integer"
  24638. },
  24639. "exchangefullname": {
  24640. "description": "外部交易所全称",
  24641. "type": "string"
  24642. },
  24643. "exexchangecode": {
  24644. "description": "外部交易所代码",
  24645. "type": "string"
  24646. },
  24647. "exexchangename": {
  24648. "description": "外部交易所名称(简称)",
  24649. "type": "string"
  24650. },
  24651. "ismarketprice": {
  24652. "description": "是否支持市价 - 0:不支持 1:支持",
  24653. "type": "integer"
  24654. },
  24655. "quotegear": {
  24656. "description": "行情档位(1-10)",
  24657. "type": "integer"
  24658. },
  24659. "showbrokerflag": {
  24660. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  24661. "type": "integer"
  24662. },
  24663. "updatetime": {
  24664. "description": "更新时间",
  24665. "type": "string"
  24666. }
  24667. }
  24668. },
  24669. "models.Funcmenulist": {
  24670. "type": "object",
  24671. "required": [
  24672. "resourcecode"
  24673. ],
  24674. "properties": {
  24675. "iconame": {
  24676. "description": "菜单图标",
  24677. "type": "string"
  24678. },
  24679. "menutype": {
  24680. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  24681. "type": "integer"
  24682. },
  24683. "parentcode": {
  24684. "description": "上级资源代码",
  24685. "type": "string"
  24686. },
  24687. "remark": {
  24688. "description": "备注",
  24689. "type": "string"
  24690. },
  24691. "resourcecode": {
  24692. "description": "资源代码",
  24693. "type": "string"
  24694. },
  24695. "resourcelevel": {
  24696. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  24697. "type": "integer"
  24698. },
  24699. "resourcename": {
  24700. "description": "资源名",
  24701. "type": "string"
  24702. },
  24703. "sort": {
  24704. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  24705. "type": "integer"
  24706. },
  24707. "url": {
  24708. "description": "URL",
  24709. "type": "string"
  24710. }
  24711. }
  24712. },
  24713. "models.Goods": {
  24714. "type": "object",
  24715. "required": [
  24716. "goodscode",
  24717. "goodsid",
  24718. "goodsname",
  24719. "marketid"
  24720. ],
  24721. "properties": {
  24722. "agreeunit": {
  24723. "description": "合约单位",
  24724. "type": "number"
  24725. },
  24726. "areauserid": {
  24727. "description": "所属机构",
  24728. "type": "integer"
  24729. },
  24730. "auditaccountid": {
  24731. "description": "审核操作员账号",
  24732. "type": "integer"
  24733. },
  24734. "audittime": {
  24735. "description": "审核时间",
  24736. "type": "string"
  24737. },
  24738. "cancelaccountid": {
  24739. "description": "注销操作员账号",
  24740. "type": "integer"
  24741. },
  24742. "canceltime": {
  24743. "description": "注销时间",
  24744. "type": "string"
  24745. },
  24746. "closepricemode": {
  24747. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24748. "type": "integer"
  24749. },
  24750. "closepriceparam": {
  24751. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  24752. "type": "number"
  24753. },
  24754. "createtime": {
  24755. "description": "创建时间",
  24756. "type": "string"
  24757. },
  24758. "creatorid": {
  24759. "description": "创建人",
  24760. "type": "integer"
  24761. },
  24762. "currencyid": {
  24763. "description": "报价货币ID",
  24764. "type": "integer"
  24765. },
  24766. "cutmode": {
  24767. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  24768. "type": "integer"
  24769. },
  24770. "decimalplace": {
  24771. "description": "报价小数位",
  24772. "type": "integer"
  24773. },
  24774. "delistingdate": {
  24775. "description": "商品退市时间(状态:退市) -- 已作废",
  24776. "type": "string"
  24777. },
  24778. "delistingmode": {
  24779. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  24780. "type": "integer"
  24781. },
  24782. "deliveryflag": {
  24783. "description": "交割标志 - 0:不可交割 1:可交割",
  24784. "type": "integer"
  24785. },
  24786. "forceclosemode": {
  24787. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  24788. "type": "integer"
  24789. },
  24790. "forceclosevalue": {
  24791. "description": "定期强平参数 [收益权]",
  24792. "type": "integer"
  24793. },
  24794. "goodscode": {
  24795. "description": "商品代码(内部)",
  24796. "type": "string"
  24797. },
  24798. "goodscurrencyid": {
  24799. "description": "合约货币ID",
  24800. "type": "integer"
  24801. },
  24802. "goodsgroupid": {
  24803. "description": "所属商品组ID",
  24804. "type": "integer"
  24805. },
  24806. "goodsid": {
  24807. "description": "商品ID(自增ID SEQ_GOODS)",
  24808. "type": "integer"
  24809. },
  24810. "goodsname": {
  24811. "description": "商品名称",
  24812. "type": "string"
  24813. },
  24814. "goodsquotetype": {
  24815. "description": "合约报价类型: 1-直接报价 2-间接报价",
  24816. "type": "integer"
  24817. },
  24818. "goodsstatus": {
  24819. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24820. "type": "integer"
  24821. },
  24822. "goodstradetype": {
  24823. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  24824. "type": "integer"
  24825. },
  24826. "goodunitid": {
  24827. "description": "报价单位ID",
  24828. "type": "integer"
  24829. },
  24830. "hasquoter": {
  24831. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  24832. "type": "integer"
  24833. },
  24834. "hqprotecttime": {
  24835. "description": "行情保护时间(秒)",
  24836. "type": "integer"
  24837. },
  24838. "innerdealmode": {
  24839. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24840. "type": "integer"
  24841. },
  24842. "isbuylimited": {
  24843. "description": "是否限制建仓量 - 0:不限制 1:限制",
  24844. "type": "integer"
  24845. },
  24846. "isvisible": {
  24847. "description": "游客是否可见 - 0:不可见 1:可见",
  24848. "type": "integer"
  24849. },
  24850. "lasttradedate": {
  24851. "description": "最后交易日期(状态:待退市)",
  24852. "type": "string"
  24853. },
  24854. "listingdate": {
  24855. "description": "交易开始日期",
  24856. "type": "string"
  24857. },
  24858. "marketid": {
  24859. "description": "所属市场ID",
  24860. "type": "integer"
  24861. },
  24862. "modifierid": {
  24863. "description": "修改人",
  24864. "type": "integer"
  24865. },
  24866. "modifystatus": {
  24867. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  24868. "type": "integer"
  24869. },
  24870. "modifytime": {
  24871. "description": "修改时间",
  24872. "type": "string"
  24873. },
  24874. "outerdealmode": {
  24875. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24876. "type": "integer"
  24877. },
  24878. "outgoodscode": {
  24879. "description": "商品代码(外部)",
  24880. "type": "string"
  24881. },
  24882. "pictureurl": {
  24883. "description": "商品图片",
  24884. "type": "string"
  24885. },
  24886. "qtydecimalplace": {
  24887. "description": "成交量小数位",
  24888. "type": "integer"
  24889. },
  24890. "quotegear": {
  24891. "description": "行情档位(1-10)",
  24892. "type": "integer"
  24893. },
  24894. "quoteminunit": {
  24895. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24896. "type": "integer"
  24897. },
  24898. "quoteshowtype": {
  24899. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  24900. "type": "integer"
  24901. },
  24902. "quoteshowtypeinterval": {
  24903. "description": "行情报价间隔时间(秒)(成交价时为0)",
  24904. "type": "integer"
  24905. },
  24906. "remark": {
  24907. "description": "备注",
  24908. "type": "string"
  24909. }
  24910. }
  24911. },
  24912. "models.GoodsIDAndName": {
  24913. "type": "object",
  24914. "required": [
  24915. "goodscode",
  24916. "goodsid",
  24917. "goodsname",
  24918. "marketid"
  24919. ],
  24920. "properties": {
  24921. "goodscode": {
  24922. "description": "商品代码(内部)",
  24923. "type": "string"
  24924. },
  24925. "goodsid": {
  24926. "description": "商品ID(自增ID SEQ_GOODS)",
  24927. "type": "integer"
  24928. },
  24929. "goodsname": {
  24930. "description": "商品名称",
  24931. "type": "string"
  24932. },
  24933. "marketid": {
  24934. "description": "所属市场ID",
  24935. "type": "integer"
  24936. }
  24937. }
  24938. },
  24939. "models.Goodsgroup": {
  24940. "type": "object",
  24941. "required": [
  24942. "goodsgroupid",
  24943. "goodsgroupname",
  24944. "goodsgroupstatus",
  24945. "marketid"
  24946. ],
  24947. "properties": {
  24948. "agreeunit": {
  24949. "description": "合约单位",
  24950. "type": "number"
  24951. },
  24952. "canshort": {
  24953. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  24954. "type": "integer"
  24955. },
  24956. "closepricemode": {
  24957. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24958. "type": "integer"
  24959. },
  24960. "closepriceparam": {
  24961. "description": "强平最新价浮动比例 - 方式为2时使用",
  24962. "type": "number"
  24963. },
  24964. "createtime": {
  24965. "description": "创建时间",
  24966. "type": "string"
  24967. },
  24968. "creatorid": {
  24969. "description": "创建人",
  24970. "type": "integer"
  24971. },
  24972. "currencyid": {
  24973. "description": "报价货币ID",
  24974. "type": "integer"
  24975. },
  24976. "decimalplace": {
  24977. "description": "报价小数位",
  24978. "type": "integer"
  24979. },
  24980. "exercisetype": {
  24981. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  24982. "type": "integer"
  24983. },
  24984. "exexchangeid": {
  24985. "description": "外部交易所ID[通道交易]",
  24986. "type": "integer"
  24987. },
  24988. "goodsgroupid": {
  24989. "description": "商品组ID(自增ID)",
  24990. "type": "integer"
  24991. },
  24992. "goodsgroupname": {
  24993. "description": "商品组名称",
  24994. "type": "string"
  24995. },
  24996. "goodsgroupstatus": {
  24997. "description": "商品组状态 - 1:正常 2:注销",
  24998. "type": "integer"
  24999. },
  25000. "goodunitid": {
  25001. "description": "报价单位ID",
  25002. "type": "integer"
  25003. },
  25004. "innerdealmode": {
  25005. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25006. "type": "integer"
  25007. },
  25008. "isbuylimited": {
  25009. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25010. "type": "integer"
  25011. },
  25012. "marketid": {
  25013. "description": "所属市场ID",
  25014. "type": "integer"
  25015. },
  25016. "modifierid": {
  25017. "description": "修改人",
  25018. "type": "integer"
  25019. },
  25020. "modifytime": {
  25021. "description": "修改时间",
  25022. "type": "string"
  25023. },
  25024. "outerdealmode": {
  25025. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25026. "type": "integer"
  25027. },
  25028. "outergroupcode": {
  25029. "description": "外部商品组代码[通道交易]",
  25030. "type": "string"
  25031. },
  25032. "premiumdecimalplace": {
  25033. "description": "权利金小数位[场外期权]",
  25034. "type": "integer"
  25035. },
  25036. "premiumspreadalgorithm": {
  25037. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  25038. "type": "integer"
  25039. },
  25040. "premiumspreadvalue": {
  25041. "description": "权利金点差值[场外期权]",
  25042. "type": "number"
  25043. },
  25044. "qtydecimalplace": {
  25045. "description": "成交量小数位",
  25046. "type": "integer"
  25047. },
  25048. "quotegear": {
  25049. "description": "行情档位(1-10)",
  25050. "type": "integer"
  25051. },
  25052. "quoteminunit": {
  25053. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25054. "type": "integer"
  25055. },
  25056. "quoterid": {
  25057. "description": "报价商ID[场外期权]",
  25058. "type": "integer"
  25059. },
  25060. "quotesourcegroupid": {
  25061. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  25062. "type": "integer"
  25063. },
  25064. "syncgoodsqty": {
  25065. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  25066. "type": "integer"
  25067. }
  25068. }
  25069. },
  25070. "models.Goodssortbypreposition": {
  25071. "type": "object",
  25072. "required": [
  25073. "goodscode",
  25074. "tradedate"
  25075. ],
  25076. "properties": {
  25077. "goodscode": {
  25078. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  25079. "type": "string"
  25080. },
  25081. "goodsgroupcode": {
  25082. "description": "品种代码",
  25083. "type": "string"
  25084. },
  25085. "prepositionqty": {
  25086. "description": "昨持仓量",
  25087. "type": "integer"
  25088. },
  25089. "sortindex": {
  25090. "description": "排序",
  25091. "type": "integer"
  25092. },
  25093. "tradedate": {
  25094. "description": "交易日",
  25095. "type": "string"
  25096. },
  25097. "updatetime": {
  25098. "description": "更新时间",
  25099. "type": "string"
  25100. }
  25101. }
  25102. },
  25103. "models.Hedgeinnerholderdetail": {
  25104. "type": "object",
  25105. "required": [
  25106. "buyorsell",
  25107. "tradeid"
  25108. ],
  25109. "properties": {
  25110. "accountid": {
  25111. "description": "账号ID",
  25112. "type": "integer"
  25113. },
  25114. "buyorsell": {
  25115. "description": "方向 - 0:买 1:卖",
  25116. "type": "integer"
  25117. },
  25118. "freezeqty": {
  25119. "description": "冻结数量 - 按单平使用",
  25120. "type": "integer"
  25121. },
  25122. "goodsid": {
  25123. "description": "商品ID",
  25124. "type": "integer"
  25125. },
  25126. "holderamount": {
  25127. "description": "持仓金额 [商品币种]",
  25128. "type": "number"
  25129. },
  25130. "holderdays": {
  25131. "description": "剩余冻结天数",
  25132. "type": "integer"
  25133. },
  25134. "holderprice": {
  25135. "description": "持仓价格",
  25136. "type": "number"
  25137. },
  25138. "holderqty": {
  25139. "description": "持仓数量",
  25140. "type": "integer"
  25141. },
  25142. "marketid": {
  25143. "description": "市场ID",
  25144. "type": "integer"
  25145. },
  25146. "openprice": {
  25147. "description": "建仓价格",
  25148. "type": "number"
  25149. },
  25150. "openqty": {
  25151. "description": "建仓数量",
  25152. "type": "integer"
  25153. },
  25154. "parentaccountid": {
  25155. "description": "所属母账户",
  25156. "type": "integer"
  25157. },
  25158. "releaseamount": {
  25159. "description": "释放持仓金额[商品币种]",
  25160. "type": "number"
  25161. },
  25162. "tradeamount": {
  25163. "description": "成交金额[账户]",
  25164. "type": "number"
  25165. },
  25166. "tradedate": {
  25167. "description": "交易日(yyyyMMdd)",
  25168. "type": "string"
  25169. },
  25170. "tradeid": {
  25171. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25172. "type": "string"
  25173. },
  25174. "tradetime": {
  25175. "description": "交易时间",
  25176. "type": "string"
  25177. }
  25178. }
  25179. },
  25180. "models.Hedgemarketopenlog": {
  25181. "type": "object",
  25182. "required": [
  25183. "accountid"
  25184. ],
  25185. "properties": {
  25186. "accountid": {
  25187. "description": "资金账号[外部母账户]",
  25188. "type": "integer"
  25189. },
  25190. "fcname": {
  25191. "description": "期货公司名称",
  25192. "type": "string"
  25193. },
  25194. "handlestatus": {
  25195. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  25196. "type": "integer"
  25197. },
  25198. "marketid": {
  25199. "description": "市场ID",
  25200. "type": "integer"
  25201. },
  25202. "status": {
  25203. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  25204. "type": "integer"
  25205. },
  25206. "tradedate": {
  25207. "description": "交易日(yyyyMMdd)",
  25208. "type": "string"
  25209. },
  25210. "updatetime": {
  25211. "description": "更新时间",
  25212. "type": "string"
  25213. }
  25214. }
  25215. },
  25216. "models.HsbyBuyMyPayOrder": {
  25217. "type": "object",
  25218. "required": [
  25219. "goodscode",
  25220. "goodsname",
  25221. "tradeid",
  25222. "trademode"
  25223. ],
  25224. "properties": {
  25225. "agreeunit": {
  25226. "description": "合约单位",
  25227. "type": "number"
  25228. },
  25229. "buyaccountid": {
  25230. "description": "买方账号ID[报价币种]",
  25231. "type": "integer"
  25232. },
  25233. "buyorderid": {
  25234. "description": "买方委托单号",
  25235. "type": "string"
  25236. },
  25237. "createtime": {
  25238. "description": "创建时间",
  25239. "type": "string"
  25240. },
  25241. "currencysign": {
  25242. "description": "货币符号",
  25243. "type": "string"
  25244. },
  25245. "decimalplace": {
  25246. "description": "报价小数位",
  25247. "type": "integer"
  25248. },
  25249. "goodscode": {
  25250. "description": "商品代码(内部)",
  25251. "type": "string"
  25252. },
  25253. "goodsid": {
  25254. "description": "商品ID",
  25255. "type": "integer"
  25256. },
  25257. "goodsname": {
  25258. "description": "商品名称",
  25259. "type": "string"
  25260. },
  25261. "marketid": {
  25262. "description": "市场ID",
  25263. "type": "integer"
  25264. },
  25265. "offamount": {
  25266. "description": "优惠金额",
  25267. "type": "number"
  25268. },
  25269. "originalamount": {
  25270. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  25271. "type": "number"
  25272. },
  25273. "payamount": {
  25274. "description": "支付金额 = TradeAmount + TradeCharge",
  25275. "type": "number"
  25276. },
  25277. "payflag": {
  25278. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25279. "type": "integer"
  25280. },
  25281. "paylimitedtime": {
  25282. "description": "支付期限",
  25283. "type": "string"
  25284. },
  25285. "paytime": {
  25286. "description": "付款时间",
  25287. "type": "string"
  25288. },
  25289. "picurls1": {
  25290. "description": "预售商品介绍图片[多张用逗号分隔]",
  25291. "type": "string"
  25292. },
  25293. "picurls2": {
  25294. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25295. "type": "string"
  25296. },
  25297. "sellaccountid": {
  25298. "description": "卖方账号ID[报价币种]",
  25299. "type": "integer"
  25300. },
  25301. "sellorderid": {
  25302. "description": "卖方委托单号",
  25303. "type": "string"
  25304. },
  25305. "tradeamount": {
  25306. "description": "成交金额",
  25307. "type": "number"
  25308. },
  25309. "tradecharge": {
  25310. "description": "成交手续费(买方)",
  25311. "type": "number"
  25312. },
  25313. "tradedate": {
  25314. "description": "交易日(yyyyMMdd)",
  25315. "type": "string"
  25316. },
  25317. "tradeid": {
  25318. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25319. "type": "string"
  25320. },
  25321. "trademode": {
  25322. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25323. "type": "integer"
  25324. },
  25325. "tradeprice": {
  25326. "description": "成交价格",
  25327. "type": "number"
  25328. },
  25329. "tradeqty": {
  25330. "description": "成交数量",
  25331. "type": "integer"
  25332. },
  25333. "vendorname1": {
  25334. "description": "预售商品供应商名称",
  25335. "type": "string"
  25336. },
  25337. "vendorname2": {
  25338. "description": "挂牌商品供应商名称",
  25339. "type": "string"
  25340. }
  25341. }
  25342. },
  25343. "models.HsbyBuyMyTradeDetail": {
  25344. "type": "object",
  25345. "required": [
  25346. "accountid",
  25347. "buyorsell",
  25348. "goodscode",
  25349. "goodsid",
  25350. "goodsname",
  25351. "marketid",
  25352. "orderid",
  25353. "qty",
  25354. "time",
  25355. "trademode"
  25356. ],
  25357. "properties": {
  25358. "accountid": {
  25359. "description": "账户ID[报价币种]",
  25360. "type": "integer"
  25361. },
  25362. "agreeunit": {
  25363. "description": "合约单位",
  25364. "type": "number"
  25365. },
  25366. "amount": {
  25367. "description": "金额 = 价格 * 数量 * 合约单位",
  25368. "type": "number"
  25369. },
  25370. "buyorsell": {
  25371. "description": "买卖 - 0:买 1:卖",
  25372. "type": "integer"
  25373. },
  25374. "currencysign": {
  25375. "description": "货币符号",
  25376. "type": "string"
  25377. },
  25378. "decimalplace": {
  25379. "description": "报价小数位",
  25380. "type": "integer"
  25381. },
  25382. "goodscode": {
  25383. "description": "商品代码(内部)",
  25384. "type": "string"
  25385. },
  25386. "goodsid": {
  25387. "description": "商品ID",
  25388. "type": "integer"
  25389. },
  25390. "goodsname": {
  25391. "description": "商品名称",
  25392. "type": "string"
  25393. },
  25394. "marketid": {
  25395. "description": "市场ID",
  25396. "type": "integer"
  25397. },
  25398. "orderamount": {
  25399. "description": "委托金额",
  25400. "type": "number"
  25401. },
  25402. "orderid": {
  25403. "description": "单号(成交单号)",
  25404. "type": "string"
  25405. },
  25406. "picurls1": {
  25407. "description": "预售商品介绍图片[多张用逗号分隔]",
  25408. "type": "string"
  25409. },
  25410. "picurls2": {
  25411. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25412. "type": "string"
  25413. },
  25414. "price": {
  25415. "description": "价格",
  25416. "type": "number"
  25417. },
  25418. "qty": {
  25419. "description": "数量",
  25420. "type": "integer"
  25421. },
  25422. "time": {
  25423. "description": "时间",
  25424. "type": "string"
  25425. },
  25426. "trademode": {
  25427. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25428. "type": "integer"
  25429. },
  25430. "vendorname1": {
  25431. "description": "预售商品供应商名称",
  25432. "type": "string"
  25433. },
  25434. "vendorname2": {
  25435. "description": "挂牌商品供应商名称",
  25436. "type": "string"
  25437. }
  25438. }
  25439. },
  25440. "models.HsbyGoodsOrderDetail": {
  25441. "type": "object",
  25442. "required": [
  25443. "buyorsell",
  25444. "orderid",
  25445. "ordertime"
  25446. ],
  25447. "properties": {
  25448. "buyorsell": {
  25449. "description": "买卖 - 0:买 1:卖",
  25450. "type": "integer"
  25451. },
  25452. "currencysign": {
  25453. "description": "货币符号",
  25454. "type": "string"
  25455. },
  25456. "customername": {
  25457. "description": "客户名称(企业名称),已脱敏",
  25458. "type": "string"
  25459. },
  25460. "enableqty": {
  25461. "description": "可用数量",
  25462. "type": "integer"
  25463. },
  25464. "goodunit": {
  25465. "description": "报价单位",
  25466. "type": "string"
  25467. },
  25468. "orderid": {
  25469. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25470. "type": "string"
  25471. },
  25472. "orderprice": {
  25473. "description": "委托价格",
  25474. "type": "number"
  25475. },
  25476. "ordertime": {
  25477. "description": "委托时间",
  25478. "type": "string"
  25479. }
  25480. }
  25481. },
  25482. "models.HsbyListingGoodsDetail": {
  25483. "type": "object",
  25484. "required": [
  25485. "goodscode",
  25486. "goodsid",
  25487. "goodsname",
  25488. "marketid",
  25489. "trademode"
  25490. ],
  25491. "properties": {
  25492. "agreeunit": {
  25493. "description": "合约单位",
  25494. "type": "number"
  25495. },
  25496. "buymaxqty": {
  25497. "description": "购买上限 [71] - 0为不限",
  25498. "type": "integer"
  25499. },
  25500. "currency": {
  25501. "description": "货币",
  25502. "type": "string"
  25503. },
  25504. "currencysign": {
  25505. "description": "货币符号",
  25506. "type": "string"
  25507. },
  25508. "decimalplace": {
  25509. "description": "报价小数位",
  25510. "type": "integer"
  25511. },
  25512. "desccityid": {
  25513. "description": "目的地(市)ID",
  25514. "type": "integer"
  25515. },
  25516. "descprovinceid": {
  25517. "description": "目的地(省)ID",
  25518. "type": "integer"
  25519. },
  25520. "goodscode": {
  25521. "description": "商品代码(内部)",
  25522. "type": "string"
  25523. },
  25524. "goodsdesc": {
  25525. "description": "商品详情",
  25526. "type": "string"
  25527. },
  25528. "goodsid": {
  25529. "description": "商品ID(自增ID SEQ_GOODS)",
  25530. "type": "integer"
  25531. },
  25532. "goodsname": {
  25533. "description": "商品名称",
  25534. "type": "string"
  25535. },
  25536. "goodsprice": {
  25537. "description": "商品价格",
  25538. "type": "number"
  25539. },
  25540. "hotindex": {
  25541. "description": "景点热度",
  25542. "type": "integer"
  25543. },
  25544. "last": {
  25545. "description": "现价",
  25546. "type": "number"
  25547. },
  25548. "limitdown": {
  25549. "description": "跌停价",
  25550. "type": "number"
  25551. },
  25552. "limitup": {
  25553. "description": "涨停价",
  25554. "type": "number"
  25555. },
  25556. "lotsize": {
  25557. "description": "手数最小变动单位",
  25558. "type": "integer"
  25559. },
  25560. "marketid": {
  25561. "description": "所属市场ID",
  25562. "type": "integer"
  25563. },
  25564. "picurls": {
  25565. "description": "介绍图片[多张用逗号分隔]",
  25566. "type": "string"
  25567. },
  25568. "quoteminunit": {
  25569. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25570. "type": "integer"
  25571. },
  25572. "stepvalue": {
  25573. "description": "价格最小变动单位",
  25574. "type": "number"
  25575. },
  25576. "trademode": {
  25577. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25578. "type": "integer"
  25579. },
  25580. "vendorattr": {
  25581. "description": "供应商附件(多张,逗号分隔)",
  25582. "type": "string"
  25583. },
  25584. "vendorname": {
  25585. "description": "供应商名称",
  25586. "type": "string"
  25587. },
  25588. "vendorphone": {
  25589. "description": "供应商客服电话",
  25590. "type": "string"
  25591. },
  25592. "videourls": {
  25593. "description": "介绍视频[多张用逗号分隔]",
  25594. "type": "string"
  25595. }
  25596. }
  25597. },
  25598. "models.HsbyMarketGoods": {
  25599. "type": "object",
  25600. "required": [
  25601. "accountid",
  25602. "buyorsell",
  25603. "goodscode",
  25604. "goodsid",
  25605. "goodsname",
  25606. "marketid",
  25607. "orderid",
  25608. "trademode"
  25609. ],
  25610. "properties": {
  25611. "accountid": {
  25612. "description": "账户ID[报价币种]",
  25613. "type": "integer"
  25614. },
  25615. "agreeunit": {
  25616. "description": "合约单位",
  25617. "type": "number"
  25618. },
  25619. "buyorsell": {
  25620. "description": "买卖 - 0:买 1:卖",
  25621. "type": "integer"
  25622. },
  25623. "categoryid": {
  25624. "description": "类别ID(WRCATEGORY)",
  25625. "type": "integer"
  25626. },
  25627. "currency": {
  25628. "description": "货币",
  25629. "type": "string"
  25630. },
  25631. "currencysign": {
  25632. "description": "货币符号",
  25633. "type": "string"
  25634. },
  25635. "customername": {
  25636. "description": "卖家名称",
  25637. "type": "string"
  25638. },
  25639. "decimalplace": {
  25640. "description": "报价小数位",
  25641. "type": "integer"
  25642. },
  25643. "goodscode": {
  25644. "description": "商品代码(内部)",
  25645. "type": "string"
  25646. },
  25647. "goodsid": {
  25648. "description": "商品ID",
  25649. "type": "integer"
  25650. },
  25651. "goodsname": {
  25652. "description": "商品名称",
  25653. "type": "string"
  25654. },
  25655. "goodsprice": {
  25656. "description": "商品价格",
  25657. "type": "number"
  25658. },
  25659. "hascoupon": {
  25660. "description": "是否可用优惠卷",
  25661. "type": "boolean"
  25662. },
  25663. "hotindex": {
  25664. "description": "景点热度",
  25665. "type": "integer"
  25666. },
  25667. "marketid": {
  25668. "description": "市场ID",
  25669. "type": "integer"
  25670. },
  25671. "orderid": {
  25672. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25673. "type": "string"
  25674. },
  25675. "orderprice": {
  25676. "description": "委托价格",
  25677. "type": "number"
  25678. },
  25679. "orderstatus": {
  25680. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25681. "type": "integer"
  25682. },
  25683. "picurls": {
  25684. "description": "介绍图片[多张用逗号分隔]",
  25685. "type": "string"
  25686. },
  25687. "quoteminunit": {
  25688. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25689. "type": "integer"
  25690. },
  25691. "sellUserID": {
  25692. "description": "卖方UserID",
  25693. "type": "integer"
  25694. },
  25695. "trademode": {
  25696. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25697. "type": "integer"
  25698. },
  25699. "videourls": {
  25700. "description": "介绍视频[多张用逗号分隔]",
  25701. "type": "string"
  25702. }
  25703. }
  25704. },
  25705. "models.HsbyMarketGoodsDetail": {
  25706. "type": "object",
  25707. "required": [
  25708. "accountid",
  25709. "buyorsell",
  25710. "goodscode",
  25711. "goodsid",
  25712. "goodsname",
  25713. "marketid",
  25714. "orderid",
  25715. "orderqty",
  25716. "trademode"
  25717. ],
  25718. "properties": {
  25719. "accountid": {
  25720. "description": "账户ID[报价币种]",
  25721. "type": "integer"
  25722. },
  25723. "agreeunit": {
  25724. "description": "合约单位",
  25725. "type": "number"
  25726. },
  25727. "buymaxqty": {
  25728. "description": "购买上限 [71] - 0为不限",
  25729. "type": "integer"
  25730. },
  25731. "buyorsell": {
  25732. "description": "买卖 - 0:买 1:卖",
  25733. "type": "integer"
  25734. },
  25735. "cancelqty": {
  25736. "description": "撤单数量",
  25737. "type": "integer"
  25738. },
  25739. "categoryid": {
  25740. "description": "类别ID(WRCATEGORY)",
  25741. "type": "integer"
  25742. },
  25743. "currency": {
  25744. "description": "货币",
  25745. "type": "string"
  25746. },
  25747. "currencysign": {
  25748. "description": "货币符号",
  25749. "type": "string"
  25750. },
  25751. "customername": {
  25752. "description": "卖家名称",
  25753. "type": "string"
  25754. },
  25755. "decimalplace": {
  25756. "description": "报价小数位",
  25757. "type": "integer"
  25758. },
  25759. "goodscode": {
  25760. "description": "商品代码(内部)",
  25761. "type": "string"
  25762. },
  25763. "goodsdesc": {
  25764. "description": "商品详情",
  25765. "type": "string"
  25766. },
  25767. "goodsid": {
  25768. "description": "商品ID",
  25769. "type": "integer"
  25770. },
  25771. "goodsname": {
  25772. "description": "商品名称",
  25773. "type": "string"
  25774. },
  25775. "goodsprice": {
  25776. "description": "商品价格",
  25777. "type": "number"
  25778. },
  25779. "hotindex": {
  25780. "description": "景点热度",
  25781. "type": "integer"
  25782. },
  25783. "lotsize": {
  25784. "description": "手数最小变动单位",
  25785. "type": "integer"
  25786. },
  25787. "marketid": {
  25788. "description": "市场ID",
  25789. "type": "integer"
  25790. },
  25791. "orderid": {
  25792. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25793. "type": "string"
  25794. },
  25795. "orderprice": {
  25796. "description": "委托价格",
  25797. "type": "number"
  25798. },
  25799. "orderqty": {
  25800. "description": "委托数量",
  25801. "type": "integer"
  25802. },
  25803. "orderstatus": {
  25804. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25805. "type": "integer"
  25806. },
  25807. "picurls": {
  25808. "description": "介绍图片[多张用逗号分隔]",
  25809. "type": "string"
  25810. },
  25811. "quoteminunit": {
  25812. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25813. "type": "integer"
  25814. },
  25815. "sellUserID": {
  25816. "description": "卖方UserID",
  25817. "type": "integer"
  25818. },
  25819. "trademode": {
  25820. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25821. "type": "integer"
  25822. },
  25823. "tradeqty": {
  25824. "description": "成交数量",
  25825. "type": "integer"
  25826. },
  25827. "vendorattr": {
  25828. "description": "供应商附件(多张,逗号分隔)",
  25829. "type": "string"
  25830. },
  25831. "vendorname": {
  25832. "description": "供应商名称",
  25833. "type": "string"
  25834. },
  25835. "vendorphone": {
  25836. "description": "供应商客服电话",
  25837. "type": "string"
  25838. },
  25839. "videourls": {
  25840. "description": "介绍视频[多张用逗号分隔]",
  25841. "type": "string"
  25842. }
  25843. }
  25844. },
  25845. "models.HsbyMarketInfo": {
  25846. "type": "object",
  25847. "required": [
  25848. "marketid",
  25849. "marketstatus",
  25850. "trademode"
  25851. ],
  25852. "properties": {
  25853. "marketid": {
  25854. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  25855. "type": "integer"
  25856. },
  25857. "marketname": {
  25858. "description": "市场名称",
  25859. "type": "string"
  25860. },
  25861. "marketstatus": {
  25862. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  25863. "type": "integer"
  25864. },
  25865. "trademode": {
  25866. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25867. "type": "integer"
  25868. }
  25869. }
  25870. },
  25871. "models.HsbyMyGoods": {
  25872. "type": "object",
  25873. "required": [
  25874. "accountid",
  25875. "goodscode",
  25876. "goodsid",
  25877. "goodsname",
  25878. "marketid",
  25879. "trademode"
  25880. ],
  25881. "properties": {
  25882. "accountid": {
  25883. "description": "账号Id",
  25884. "type": "integer"
  25885. },
  25886. "agreeunit": {
  25887. "description": "合约单位",
  25888. "type": "number"
  25889. },
  25890. "buyaverageprice": {
  25891. "description": "持仓均价",
  25892. "type": "number"
  25893. },
  25894. "buycurholderamount": {
  25895. "description": "买当前持仓总金额[商品币种]",
  25896. "type": "number"
  25897. },
  25898. "buycurpositionqty": {
  25899. "description": "买当前持仓总数量",
  25900. "type": "integer"
  25901. },
  25902. "buymaxqty": {
  25903. "description": "购买上限 [71] - 0为不限",
  25904. "type": "integer"
  25905. },
  25906. "currencysign": {
  25907. "description": "货币符号",
  25908. "type": "string"
  25909. },
  25910. "decimalplace": {
  25911. "description": "报价小数位",
  25912. "type": "integer"
  25913. },
  25914. "enableqty": {
  25915. "description": "可用数量",
  25916. "type": "integer"
  25917. },
  25918. "goodscode": {
  25919. "description": "商品代码(内部)",
  25920. "type": "string"
  25921. },
  25922. "goodsid": {
  25923. "description": "商品Id",
  25924. "type": "integer"
  25925. },
  25926. "goodsname": {
  25927. "description": "商品名称",
  25928. "type": "string"
  25929. },
  25930. "goodsprice": {
  25931. "description": "商品价格",
  25932. "type": "number"
  25933. },
  25934. "goodsstatus": {
  25935. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  25936. "type": "integer"
  25937. },
  25938. "last": {
  25939. "description": "现价(仅使用于挂牌点选)",
  25940. "type": "number"
  25941. },
  25942. "limitdown": {
  25943. "description": "跌停价(仅使用于挂牌点选)",
  25944. "type": "number"
  25945. },
  25946. "limitup": {
  25947. "description": "涨停价(仅使用于挂牌点选)",
  25948. "type": "number"
  25949. },
  25950. "lotsize": {
  25951. "description": "手数最小变动单位",
  25952. "type": "integer"
  25953. },
  25954. "marketid": {
  25955. "description": "所属市场ID",
  25956. "type": "integer"
  25957. },
  25958. "picurls": {
  25959. "description": "介绍图片[多张用逗号分隔]",
  25960. "type": "string"
  25961. },
  25962. "quoteminunit": {
  25963. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25964. "type": "integer"
  25965. },
  25966. "stepvalue": {
  25967. "description": "价格最小变动单位",
  25968. "type": "number"
  25969. },
  25970. "trademode": {
  25971. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25972. "type": "integer"
  25973. }
  25974. }
  25975. },
  25976. "models.HsbyMyPackage": {
  25977. "type": "object",
  25978. "required": [
  25979. "goodscode",
  25980. "goodsname",
  25981. "takeorderid",
  25982. "trademode"
  25983. ],
  25984. "properties": {
  25985. "accountid": {
  25986. "description": "账户ID",
  25987. "type": "integer"
  25988. },
  25989. "address": {
  25990. "description": "提货人详细地址",
  25991. "type": "string"
  25992. },
  25993. "agreeunit": {
  25994. "description": "合约单位",
  25995. "type": "number"
  25996. },
  25997. "amount": {
  25998. "description": "提货金额",
  25999. "type": "number"
  26000. },
  26001. "auditer": {
  26002. "description": "审核人",
  26003. "type": "integer"
  26004. },
  26005. "audittime": {
  26006. "description": "审核时间",
  26007. "type": "string"
  26008. },
  26009. "averageprice": {
  26010. "description": "均价",
  26011. "type": "number"
  26012. },
  26013. "cardnum": {
  26014. "description": "提货人证件号码",
  26015. "type": "string"
  26016. },
  26017. "cardtypeid": {
  26018. "description": "提货人证件类型",
  26019. "type": "integer"
  26020. },
  26021. "checkremark": {
  26022. "description": "审核备注",
  26023. "type": "string"
  26024. },
  26025. "currencysign": {
  26026. "description": "货币符号",
  26027. "type": "string"
  26028. },
  26029. "decimalplace": {
  26030. "description": "报价小数位",
  26031. "type": "integer"
  26032. },
  26033. "goodscode": {
  26034. "description": "商品代码(内部)",
  26035. "type": "string"
  26036. },
  26037. "goodsid": {
  26038. "description": "商品ID",
  26039. "type": "integer"
  26040. },
  26041. "goodsname": {
  26042. "description": "商品名称",
  26043. "type": "string"
  26044. },
  26045. "handlestatus": {
  26046. "description": "处理状态",
  26047. "type": "integer"
  26048. },
  26049. "marketid": {
  26050. "description": "市场ID",
  26051. "type": "integer"
  26052. },
  26053. "phonenum": {
  26054. "description": "提货人联系方式",
  26055. "type": "string"
  26056. },
  26057. "picurls": {
  26058. "description": "介绍图片[多张用逗号分隔]",
  26059. "type": "string"
  26060. },
  26061. "qty": {
  26062. "description": "提货数量",
  26063. "type": "number"
  26064. },
  26065. "recivername": {
  26066. "description": "提货人姓名",
  26067. "type": "string"
  26068. },
  26069. "reqtime": {
  26070. "description": "更新时间",
  26071. "type": "string"
  26072. },
  26073. "takemode": {
  26074. "description": "提货方式 - 2:自提 3:配送",
  26075. "type": "integer"
  26076. },
  26077. "takeorderid": {
  26078. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  26079. "type": "string"
  26080. },
  26081. "takeorderstatus": {
  26082. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  26083. "type": "integer"
  26084. },
  26085. "takeremark": {
  26086. "description": "提货备注",
  26087. "type": "string"
  26088. },
  26089. "tradedate": {
  26090. "description": "交易日(yyyyMMdd)",
  26091. "type": "string"
  26092. },
  26093. "trademode": {
  26094. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26095. "type": "integer"
  26096. },
  26097. "userid": {
  26098. "description": "用户ID",
  26099. "type": "integer"
  26100. },
  26101. "vendorname": {
  26102. "description": "供应商名称",
  26103. "type": "string"
  26104. }
  26105. }
  26106. },
  26107. "models.HsbyPreGoods": {
  26108. "type": "object",
  26109. "required": [
  26110. "goodscode",
  26111. "goodsid",
  26112. "goodsname",
  26113. "marketid",
  26114. "trademode"
  26115. ],
  26116. "properties": {
  26117. "agreeunit": {
  26118. "description": "合约单位",
  26119. "type": "number"
  26120. },
  26121. "currency": {
  26122. "description": "货币",
  26123. "type": "string"
  26124. },
  26125. "currencysign": {
  26126. "description": "货币符号",
  26127. "type": "string"
  26128. },
  26129. "decimalplace": {
  26130. "description": "报价小数位",
  26131. "type": "integer"
  26132. },
  26133. "desccityid": {
  26134. "description": "目的地(市)",
  26135. "type": "integer"
  26136. },
  26137. "descprovinceid": {
  26138. "description": "目的地(省)",
  26139. "type": "integer"
  26140. },
  26141. "enableqty": {
  26142. "description": "剩余数量",
  26143. "type": "integer"
  26144. },
  26145. "goodscode": {
  26146. "description": "商品代码(内部)",
  26147. "type": "string"
  26148. },
  26149. "goodsid": {
  26150. "description": "商品ID(自增ID SEQ_GOODS)",
  26151. "type": "integer"
  26152. },
  26153. "goodsname": {
  26154. "description": "商品名称",
  26155. "type": "string"
  26156. },
  26157. "goodsstatus": {
  26158. "description": "商品状态- 2:未上市 3:上市",
  26159. "type": "integer"
  26160. },
  26161. "lasttradedate": {
  26162. "description": "最后交易日期(状态:待退市)",
  26163. "type": "string"
  26164. },
  26165. "listingdate": {
  26166. "description": "交易开始日期",
  26167. "type": "string"
  26168. },
  26169. "marketid": {
  26170. "description": "所属市场ID",
  26171. "type": "integer"
  26172. },
  26173. "picurls": {
  26174. "description": "介绍图片[多张用逗号分隔]",
  26175. "type": "string"
  26176. },
  26177. "presaledqty": {
  26178. "description": "已预售量(预售结束时更新)",
  26179. "type": "integer"
  26180. },
  26181. "presaleqty": {
  26182. "description": "预售数量",
  26183. "type": "integer"
  26184. },
  26185. "quoteminunit": {
  26186. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26187. "type": "integer"
  26188. },
  26189. "refprice": {
  26190. "description": "参考价格[一口价]",
  26191. "type": "number"
  26192. },
  26193. "relatedgoodsid": {
  26194. "description": "关联交易合约ID",
  26195. "type": "integer"
  26196. },
  26197. "trademode": {
  26198. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26199. "type": "integer"
  26200. },
  26201. "videourls": {
  26202. "description": "介绍视频[多张用逗号分隔]",
  26203. "type": "string"
  26204. }
  26205. }
  26206. },
  26207. "models.HsbyPreGoodsDetail": {
  26208. "type": "object",
  26209. "required": [
  26210. "goodscode",
  26211. "goodsid",
  26212. "goodsname",
  26213. "marketid",
  26214. "trademode"
  26215. ],
  26216. "properties": {
  26217. "agreeunit": {
  26218. "description": "合约单位",
  26219. "type": "number"
  26220. },
  26221. "buymaxqty": {
  26222. "description": "购买上限 [71] - 0为不限",
  26223. "type": "integer"
  26224. },
  26225. "currency": {
  26226. "description": "货币",
  26227. "type": "string"
  26228. },
  26229. "currencysign": {
  26230. "description": "货币符号",
  26231. "type": "string"
  26232. },
  26233. "customername": {
  26234. "description": "发行单位",
  26235. "type": "string"
  26236. },
  26237. "decimalplace": {
  26238. "description": "报价小数位",
  26239. "type": "integer"
  26240. },
  26241. "desccityid": {
  26242. "description": "目的地(市)ID",
  26243. "type": "integer"
  26244. },
  26245. "descprovinceid": {
  26246. "description": "目的地(省)ID",
  26247. "type": "integer"
  26248. },
  26249. "enableqty": {
  26250. "description": "剩余数量",
  26251. "type": "integer"
  26252. },
  26253. "goodscode": {
  26254. "description": "商品代码(内部)",
  26255. "type": "string"
  26256. },
  26257. "goodsdesc": {
  26258. "description": "商品详情",
  26259. "type": "string"
  26260. },
  26261. "goodsid": {
  26262. "description": "商品ID(自增ID SEQ_GOODS)",
  26263. "type": "integer"
  26264. },
  26265. "goodsname": {
  26266. "description": "商品名称",
  26267. "type": "string"
  26268. },
  26269. "goodsstatus": {
  26270. "description": "商品状态- 2:未上市 3:上市",
  26271. "type": "integer"
  26272. },
  26273. "goodunit": {
  26274. "description": "报价单位",
  26275. "type": "string"
  26276. },
  26277. "lasttradedate": {
  26278. "description": "最后交易日期(状态:待退市)",
  26279. "type": "string"
  26280. },
  26281. "listingdate": {
  26282. "description": "交易开始日期",
  26283. "type": "string"
  26284. },
  26285. "lotsize": {
  26286. "description": "手数最小变动单位",
  26287. "type": "integer"
  26288. },
  26289. "marketid": {
  26290. "description": "所属市场ID",
  26291. "type": "integer"
  26292. },
  26293. "picurls": {
  26294. "description": "介绍图片[多张用逗号分隔]",
  26295. "type": "string"
  26296. },
  26297. "presaledqty": {
  26298. "description": "已预售量(预售结束时更新)",
  26299. "type": "integer"
  26300. },
  26301. "presaleqty": {
  26302. "description": "预售数量",
  26303. "type": "integer"
  26304. },
  26305. "quoteminunit": {
  26306. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26307. "type": "integer"
  26308. },
  26309. "refprice": {
  26310. "description": "参考价格[一口价]",
  26311. "type": "number"
  26312. },
  26313. "relatedgoodsid": {
  26314. "description": "关联交易合约ID",
  26315. "type": "integer"
  26316. },
  26317. "stepvalue": {
  26318. "description": "价格最小变动单位",
  26319. "type": "number"
  26320. },
  26321. "trademode": {
  26322. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26323. "type": "integer"
  26324. },
  26325. "vendorattr": {
  26326. "description": "供应商附件(多张,逗号分隔)",
  26327. "type": "string"
  26328. },
  26329. "vendorname": {
  26330. "description": "供应商名称",
  26331. "type": "string"
  26332. },
  26333. "vendorphone": {
  26334. "description": "供应商客服电话",
  26335. "type": "string"
  26336. },
  26337. "videourls": {
  26338. "description": "介绍视频[多张用逗号分隔]",
  26339. "type": "string"
  26340. }
  26341. }
  26342. },
  26343. "models.HsbySellCollectionOrder": {
  26344. "type": "object",
  26345. "required": [
  26346. "goodscode",
  26347. "goodsname",
  26348. "tradeid",
  26349. "trademode"
  26350. ],
  26351. "properties": {
  26352. "agreeunit": {
  26353. "description": "合约单位",
  26354. "type": "number"
  26355. },
  26356. "buyaccountid": {
  26357. "description": "买方账号ID[报价币种]",
  26358. "type": "integer"
  26359. },
  26360. "buyorderid": {
  26361. "description": "买方委托单号",
  26362. "type": "string"
  26363. },
  26364. "createtime": {
  26365. "description": "创建时间",
  26366. "type": "string"
  26367. },
  26368. "currencysign": {
  26369. "description": "货币符号",
  26370. "type": "string"
  26371. },
  26372. "decimalplace": {
  26373. "description": "报价小数位",
  26374. "type": "integer"
  26375. },
  26376. "goodscode": {
  26377. "description": "商品代码(内部)",
  26378. "type": "string"
  26379. },
  26380. "goodsid": {
  26381. "description": "商品ID",
  26382. "type": "integer"
  26383. },
  26384. "goodsname": {
  26385. "description": "商品名称",
  26386. "type": "string"
  26387. },
  26388. "marketid": {
  26389. "description": "市场ID",
  26390. "type": "integer"
  26391. },
  26392. "offamount": {
  26393. "description": "优惠金额",
  26394. "type": "number"
  26395. },
  26396. "payamount": {
  26397. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  26398. "type": "number"
  26399. },
  26400. "payflag": {
  26401. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26402. "type": "integer"
  26403. },
  26404. "paylimitedtime": {
  26405. "description": "支付期限",
  26406. "type": "string"
  26407. },
  26408. "paytime": {
  26409. "description": "付款时间",
  26410. "type": "string"
  26411. },
  26412. "picurls": {
  26413. "description": "商品介绍图片[多张用逗号分隔]",
  26414. "type": "string"
  26415. },
  26416. "sellaccountid": {
  26417. "description": "卖方账号ID[报价币种]",
  26418. "type": "integer"
  26419. },
  26420. "sellorderid": {
  26421. "description": "卖方委托单号",
  26422. "type": "string"
  26423. },
  26424. "tradeamount": {
  26425. "description": "成交金额",
  26426. "type": "number"
  26427. },
  26428. "tradecharge": {
  26429. "description": "成交手续费(买方)",
  26430. "type": "number"
  26431. },
  26432. "tradedate": {
  26433. "description": "交易日(yyyyMMdd)",
  26434. "type": "string"
  26435. },
  26436. "tradeid": {
  26437. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26438. "type": "string"
  26439. },
  26440. "trademode": {
  26441. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26442. "type": "integer"
  26443. },
  26444. "tradeprice": {
  26445. "description": "成交价格",
  26446. "type": "number"
  26447. },
  26448. "tradeqty": {
  26449. "description": "成交数量",
  26450. "type": "integer"
  26451. }
  26452. }
  26453. },
  26454. "models.HsbySellMyDetail": {
  26455. "type": "object",
  26456. "required": [
  26457. "accountid",
  26458. "buyorsell",
  26459. "goodscode",
  26460. "goodsid",
  26461. "goodsname",
  26462. "marketid",
  26463. "orderid",
  26464. "time",
  26465. "trademode"
  26466. ],
  26467. "properties": {
  26468. "accountid": {
  26469. "description": "账户ID[报价币种]",
  26470. "type": "integer"
  26471. },
  26472. "agreeunit": {
  26473. "description": "合约单位",
  26474. "type": "number"
  26475. },
  26476. "buyorsell": {
  26477. "description": "买卖 - 0:买 1:卖",
  26478. "type": "integer"
  26479. },
  26480. "currencysign": {
  26481. "description": "货币符号",
  26482. "type": "string"
  26483. },
  26484. "decimalplace": {
  26485. "description": "报价小数位",
  26486. "type": "integer"
  26487. },
  26488. "goodscode": {
  26489. "description": "商品代码(内部)",
  26490. "type": "string"
  26491. },
  26492. "goodsid": {
  26493. "description": "商品ID",
  26494. "type": "integer"
  26495. },
  26496. "goodsname": {
  26497. "description": "商品名称",
  26498. "type": "string"
  26499. },
  26500. "marketid": {
  26501. "description": "市场ID",
  26502. "type": "integer"
  26503. },
  26504. "orderid": {
  26505. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  26506. "type": "string"
  26507. },
  26508. "ordertype": {
  26509. "description": "单据类型:0 - 发布中, 1 - 已完成",
  26510. "type": "integer"
  26511. },
  26512. "picurls": {
  26513. "description": "介绍图片[多张用逗号分隔]",
  26514. "type": "string"
  26515. },
  26516. "price": {
  26517. "description": "价格",
  26518. "type": "number"
  26519. },
  26520. "qty": {
  26521. "description": "数量",
  26522. "type": "integer"
  26523. },
  26524. "time": {
  26525. "description": "时间",
  26526. "type": "string"
  26527. },
  26528. "trademode": {
  26529. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26530. "type": "integer"
  26531. },
  26532. "vendorname": {
  26533. "description": "供应商名称",
  26534. "type": "string"
  26535. }
  26536. }
  26537. },
  26538. "models.HsbyTopGoods": {
  26539. "type": "object",
  26540. "required": [
  26541. "goodscode",
  26542. "goodsid",
  26543. "goodsname",
  26544. "marketid",
  26545. "trademode"
  26546. ],
  26547. "properties": {
  26548. "agreeunit": {
  26549. "description": "合约单位",
  26550. "type": "number"
  26551. },
  26552. "currency": {
  26553. "description": "货币",
  26554. "type": "string"
  26555. },
  26556. "currencysign": {
  26557. "description": "货币符号",
  26558. "type": "string"
  26559. },
  26560. "decimalplace": {
  26561. "description": "报价小数位",
  26562. "type": "integer"
  26563. },
  26564. "desccityid": {
  26565. "description": "目的地(市)",
  26566. "type": "integer"
  26567. },
  26568. "descprovinceid": {
  26569. "description": "目的地(省)",
  26570. "type": "integer"
  26571. },
  26572. "goodscode": {
  26573. "description": "商品代码(内部)",
  26574. "type": "string"
  26575. },
  26576. "goodsid": {
  26577. "description": "商品ID(自增ID SEQ_GOODS)",
  26578. "type": "integer"
  26579. },
  26580. "goodsname": {
  26581. "description": "商品名称",
  26582. "type": "string"
  26583. },
  26584. "hotindex": {
  26585. "description": "景点热度",
  26586. "type": "integer"
  26587. },
  26588. "last": {
  26589. "description": "现价",
  26590. "type": "number"
  26591. },
  26592. "marketid": {
  26593. "description": "所属市场ID",
  26594. "type": "integer"
  26595. },
  26596. "picurls": {
  26597. "description": "介绍图片[多张用逗号分隔]",
  26598. "type": "string"
  26599. },
  26600. "quoteminunit": {
  26601. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26602. "type": "integer"
  26603. },
  26604. "trademode": {
  26605. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26606. "type": "integer"
  26607. },
  26608. "videourls": {
  26609. "description": "介绍视频[多张用逗号分隔]",
  26610. "type": "string"
  26611. }
  26612. }
  26613. },
  26614. "models.HybsMyBuyOrderDetail": {
  26615. "type": "object",
  26616. "required": [
  26617. "accountid",
  26618. "buyorsell",
  26619. "goodscode",
  26620. "goodsid",
  26621. "goodsname",
  26622. "marketid",
  26623. "orderid",
  26624. "orderqty",
  26625. "ordertime",
  26626. "trademode"
  26627. ],
  26628. "properties": {
  26629. "accountid": {
  26630. "description": "账户ID[报价币种]",
  26631. "type": "integer"
  26632. },
  26633. "agreeunit": {
  26634. "description": "合约单位",
  26635. "type": "number"
  26636. },
  26637. "buyorsell": {
  26638. "description": "买卖 - 0:买 1:卖",
  26639. "type": "integer"
  26640. },
  26641. "cancelqty": {
  26642. "description": "撤单数量",
  26643. "type": "integer"
  26644. },
  26645. "currencysign": {
  26646. "description": "货币符号",
  26647. "type": "string"
  26648. },
  26649. "decimalplace": {
  26650. "description": "报价小数位",
  26651. "type": "integer"
  26652. },
  26653. "goodscode": {
  26654. "description": "商品代码(内部)",
  26655. "type": "string"
  26656. },
  26657. "goodsid": {
  26658. "description": "商品ID",
  26659. "type": "integer"
  26660. },
  26661. "goodsname": {
  26662. "description": "商品名称",
  26663. "type": "string"
  26664. },
  26665. "listingselecttype": {
  26666. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  26667. "type": "integer"
  26668. },
  26669. "marketid": {
  26670. "description": "市场ID",
  26671. "type": "integer"
  26672. },
  26673. "mybuystatus": {
  26674. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  26675. "type": "integer"
  26676. },
  26677. "orderamount": {
  26678. "description": "委托金额",
  26679. "type": "number"
  26680. },
  26681. "orderid": {
  26682. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26683. "type": "string"
  26684. },
  26685. "orderprice": {
  26686. "description": "委托价格",
  26687. "type": "number"
  26688. },
  26689. "orderqty": {
  26690. "description": "委托数量",
  26691. "type": "integer"
  26692. },
  26693. "orderstatus": {
  26694. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26695. "type": "integer"
  26696. },
  26697. "ordertime": {
  26698. "description": "委托时间",
  26699. "type": "string"
  26700. },
  26701. "picurls1": {
  26702. "description": "预售商品介绍图片[多张用逗号分隔]",
  26703. "type": "string"
  26704. },
  26705. "picurls2": {
  26706. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  26707. "type": "string"
  26708. },
  26709. "trademode": {
  26710. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26711. "type": "integer"
  26712. },
  26713. "tradeqty": {
  26714. "description": "成交数量",
  26715. "type": "integer"
  26716. },
  26717. "vendorname1": {
  26718. "description": "预售商品供应商名称",
  26719. "type": "string"
  26720. },
  26721. "vendorname2": {
  26722. "description": "挂牌商品供应商名称",
  26723. "type": "string"
  26724. }
  26725. }
  26726. },
  26727. "models.Loginaccount": {
  26728. "type": "object",
  26729. "required": [
  26730. "loginid"
  26731. ],
  26732. "properties": {
  26733. "accountname": {
  26734. "description": "账户名称",
  26735. "type": "string"
  26736. },
  26737. "canoutin": {
  26738. "description": "是否可出入金 - 0:不可 1:可",
  26739. "type": "integer"
  26740. },
  26741. "clientroleid": {
  26742. "description": "终端角色ID",
  26743. "type": "integer"
  26744. },
  26745. "haslogined": {
  26746. "description": "是否已登录 - 0:未登录 1:已登录",
  26747. "type": "integer"
  26748. },
  26749. "hasupdatedpwd": {
  26750. "description": "是否已更改密码 - 0:未修改 1:已修改",
  26751. "type": "integer"
  26752. },
  26753. "lastloginip": {
  26754. "description": "最新登录地址",
  26755. "type": "string"
  26756. },
  26757. "lastloginmode": {
  26758. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  26759. "type": "integer"
  26760. },
  26761. "lastloginremark": {
  26762. "description": "最新登录描述",
  26763. "type": "string"
  26764. },
  26765. "lastlogintime": {
  26766. "description": "最新登录时间",
  26767. "type": "string"
  26768. },
  26769. "logincode": {
  26770. "description": "登录代码",
  26771. "type": "string"
  26772. },
  26773. "loginfailnum": {
  26774. "description": "连续登录失败次数(登录成功时清零)",
  26775. "type": "integer"
  26776. },
  26777. "loginid": {
  26778. "description": "登陆账号",
  26779. "type": "integer"
  26780. },
  26781. "loginport": {
  26782. "description": "最新登录端口",
  26783. "type": "integer"
  26784. },
  26785. "loginstatus": {
  26786. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  26787. "type": "integer"
  26788. },
  26789. "loginusertype": {
  26790. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  26791. "type": "integer"
  26792. },
  26793. "mobile": {
  26794. "description": "手机号码(加密存储)",
  26795. "type": "string"
  26796. },
  26797. "modifierid": {
  26798. "description": "修改人",
  26799. "type": "integer"
  26800. },
  26801. "modifysrc": {
  26802. "description": "审核来源 - 1:管理端 2:终端",
  26803. "type": "integer"
  26804. },
  26805. "modifytime": {
  26806. "description": "修改时间",
  26807. "type": "string"
  26808. },
  26809. "password": {
  26810. "description": "登陆密码",
  26811. "type": "string"
  26812. },
  26813. "pwdwrongcount": {
  26814. "description": "密码错误次数",
  26815. "type": "integer"
  26816. },
  26817. "relateduserid": {
  26818. "description": "关联用户ID(机构)",
  26819. "type": "integer"
  26820. },
  26821. "taaccountrighttype": {
  26822. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  26823. "type": "integer"
  26824. },
  26825. "unfreezetime": {
  26826. "description": "账户解冻时间",
  26827. "type": "string"
  26828. },
  26829. "userid": {
  26830. "description": "用户ID",
  26831. "type": "integer"
  26832. }
  26833. }
  26834. },
  26835. "models.MainAccountInfo": {
  26836. "type": "object",
  26837. "properties": {
  26838. "accountid": {
  26839. "description": "账号id",
  26840. "type": "integer"
  26841. },
  26842. "accountname": {
  26843. "description": "账号名称(taaccount表中的名称)",
  26844. "type": "string"
  26845. },
  26846. "appid": {
  26847. "description": "AppID",
  26848. "type": "string"
  26849. },
  26850. "authcode": {
  26851. "description": "授权码",
  26852. "type": "string"
  26853. },
  26854. "brokerid": {
  26855. "description": "经纪商id",
  26856. "type": "string"
  26857. },
  26858. "fcid": {
  26859. "description": "期货公司id",
  26860. "type": "integer"
  26861. },
  26862. "fcname": {
  26863. "description": "期货公司代码",
  26864. "type": "string"
  26865. },
  26866. "hedgeaccountcode": {
  26867. "description": "外部账号代码(主账号登录代码)",
  26868. "type": "string"
  26869. },
  26870. "hedgeaccountpwd": {
  26871. "description": "密码",
  26872. "type": "string"
  26873. },
  26874. "ismain": {
  26875. "description": "是否主账号",
  26876. "type": "integer"
  26877. },
  26878. "relateduserid": {
  26879. "description": "关联用户id",
  26880. "type": "integer"
  26881. },
  26882. "userid": {
  26883. "description": "关联用户id",
  26884. "type": "integer"
  26885. }
  26886. }
  26887. },
  26888. "models.Market": {
  26889. "type": "object",
  26890. "required": [
  26891. "marketid",
  26892. "marketstatus",
  26893. "openmethod",
  26894. "reckonpricealgorithm",
  26895. "trademode",
  26896. "tradeproperty"
  26897. ],
  26898. "properties": {
  26899. "auctionwrtype": {
  26900. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  26901. "type": "integer"
  26902. },
  26903. "canacceptquote": {
  26904. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  26905. "type": "integer"
  26906. },
  26907. "cangoodsexercise": {
  26908. "description": "[期权]是否可现货行权- 0:否 1:是",
  26909. "type": "integer"
  26910. },
  26911. "cangoodsexercisetype": {
  26912. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  26913. "type": "integer"
  26914. },
  26915. "canmanualquotestrike": {
  26916. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  26917. "type": "integer"
  26918. },
  26919. "canmutistage": {
  26920. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  26921. "type": "integer"
  26922. },
  26923. "canpreexercise": {
  26924. "description": "[期权]是否可预申报- 0:否 1:是",
  26925. "type": "integer"
  26926. },
  26927. "clearinterval": {
  26928. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  26929. "type": "integer"
  26930. },
  26931. "contracttmp": {
  26932. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  26933. "type": "string"
  26934. },
  26935. "exchareaid": {
  26936. "description": "所属交易所,可以没有",
  26937. "type": "integer"
  26938. },
  26939. "goodstype": {
  26940. "description": "商品类型 - 1:交易商品 2:仓单商品",
  26941. "type": "integer"
  26942. },
  26943. "hasrebate": {
  26944. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  26945. "type": "integer"
  26946. },
  26947. "hastradecredit": {
  26948. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  26949. "type": "integer"
  26950. },
  26951. "haswr": {
  26952. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  26953. "type": "integer"
  26954. },
  26955. "isdeductmargin": {
  26956. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  26957. "type": "integer"
  26958. },
  26959. "isrecordsource": {
  26960. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  26961. "type": "integer"
  26962. },
  26963. "isreleasemargin": {
  26964. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  26965. "type": "integer"
  26966. },
  26967. "marginformula": {
  26968. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  26969. "type": "integer"
  26970. },
  26971. "marginformula2": {
  26972. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  26973. "type": "integer"
  26974. },
  26975. "marketid": {
  26976. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  26977. "type": "integer"
  26978. },
  26979. "marketname": {
  26980. "description": "市场名称",
  26981. "type": "string"
  26982. },
  26983. "marketserviceid": {
  26984. "description": "市场服务ID",
  26985. "type": "integer"
  26986. },
  26987. "marketstatus": {
  26988. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  26989. "type": "integer"
  26990. },
  26991. "markettype": {
  26992. "description": "市场类型- 1:非交易服务 2:交易服务",
  26993. "type": "integer"
  26994. },
  26995. "matchermode": {
  26996. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  26997. "type": "integer"
  26998. },
  26999. "openmethod": {
  27000. "description": "开盘模式 - 0 自动 1手动",
  27001. "type": "integer"
  27002. },
  27003. "otcuserid": {
  27004. "description": "场外期权做市商[场外期权]",
  27005. "type": "integer"
  27006. },
  27007. "outersynctime": {
  27008. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  27009. "type": "string"
  27010. },
  27011. "pendingflag": {
  27012. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  27013. "type": "integer"
  27014. },
  27015. "pendingtime": {
  27016. "description": "待开市时间[通道交易-对冲](HH:mm)",
  27017. "type": "string"
  27018. },
  27019. "performancetempid": {
  27020. "description": "履约计划模板ID - 作废",
  27021. "type": "integer"
  27022. },
  27023. "premiumquotemode": {
  27024. "description": "权利金报价方式 - 1:自动 2:手动",
  27025. "type": "integer"
  27026. },
  27027. "rebateratio": {
  27028. "description": "返利比率[竞价式]",
  27029. "type": "number"
  27030. },
  27031. "reckonorder": {
  27032. "description": "结算顺序",
  27033. "type": "integer"
  27034. },
  27035. "reckonpricealgorithm": {
  27036. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  27037. "type": "integer"
  27038. },
  27039. "reckonpriceparam": {
  27040. "description": "结算价参数",
  27041. "type": "integer"
  27042. },
  27043. "reckontime": {
  27044. "description": "结算时间[通道交易-对冲](HH:mm)",
  27045. "type": "string"
  27046. },
  27047. "roleprioritytype": {
  27048. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  27049. "type": "integer"
  27050. },
  27051. "selllistingauditflag": {
  27052. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  27053. "type": "integer"
  27054. },
  27055. "trademarkettype": {
  27056. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  27057. "type": "integer"
  27058. },
  27059. "trademode": {
  27060. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27061. "type": "integer"
  27062. },
  27063. "tradeproperty": {
  27064. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  27065. "type": "integer"
  27066. },
  27067. "tradetype": {
  27068. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  27069. "type": "integer"
  27070. }
  27071. }
  27072. },
  27073. "models.Marketrun": {
  27074. "type": "object",
  27075. "required": [
  27076. "marketid",
  27077. "nexttradedate",
  27078. "reckonflag",
  27079. "runstatus",
  27080. "tradedate",
  27081. "tradedate2"
  27082. ],
  27083. "properties": {
  27084. "afternexttradedate": {
  27085. "description": "下下交易日",
  27086. "type": "string"
  27087. },
  27088. "clearquoteflag": {
  27089. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  27090. "type": "integer"
  27091. },
  27092. "lastreckondate": {
  27093. "description": "最新交易日(结算成功)",
  27094. "type": "string"
  27095. },
  27096. "machinedate": {
  27097. "description": "机器时间",
  27098. "type": "string"
  27099. },
  27100. "manualflag": {
  27101. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  27102. "type": "integer"
  27103. },
  27104. "marketid": {
  27105. "description": "市场ID",
  27106. "type": "integer"
  27107. },
  27108. "nexttradedate": {
  27109. "description": "下一交易日",
  27110. "type": "string"
  27111. },
  27112. "pretradedate": {
  27113. "description": "上一交易日",
  27114. "type": "string"
  27115. },
  27116. "reckonflag": {
  27117. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  27118. "type": "integer"
  27119. },
  27120. "runstatus": {
  27121. "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.今日免清算",
  27122. "type": "integer"
  27123. },
  27124. "sectionid": {
  27125. "description": "时间段号[多时段时用]",
  27126. "type": "integer"
  27127. },
  27128. "tradedate": {
  27129. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  27130. "type": "string"
  27131. },
  27132. "tradedate2": {
  27133. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  27134. "type": "string"
  27135. },
  27136. "updatetime": {
  27137. "description": "更新时间",
  27138. "type": "string"
  27139. }
  27140. }
  27141. },
  27142. "models.Messageboard": {
  27143. "type": "object",
  27144. "required": [
  27145. "messageboardid"
  27146. ],
  27147. "properties": {
  27148. "contactnum": {
  27149. "description": "联系电话",
  27150. "type": "string"
  27151. },
  27152. "createtime": {
  27153. "description": "创建时间",
  27154. "type": "string"
  27155. },
  27156. "message": {
  27157. "description": "留言信息",
  27158. "type": "string"
  27159. },
  27160. "messageboardid": {
  27161. "description": "留言簿ID(SEQ_MessageBoard)",
  27162. "type": "integer"
  27163. },
  27164. "userid": {
  27165. "description": "用户ID",
  27166. "type": "integer"
  27167. }
  27168. }
  27169. },
  27170. "models.MyCoupon": {
  27171. "type": "object",
  27172. "required": [
  27173. "accountid",
  27174. "coupontypeid"
  27175. ],
  27176. "properties": {
  27177. "accountid": {
  27178. "description": "资金账户ID",
  27179. "type": "integer"
  27180. },
  27181. "areauserid": {
  27182. "description": "所属机构",
  27183. "type": "integer"
  27184. },
  27185. "conditionvalue": {
  27186. "description": "条件阈值(可为0)",
  27187. "type": "number"
  27188. },
  27189. "couponcategroy": {
  27190. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  27191. "type": "integer"
  27192. },
  27193. "couponname": {
  27194. "description": "优惠券名称",
  27195. "type": "string"
  27196. },
  27197. "coupontypeid": {
  27198. "description": "优惠券类型ID",
  27199. "type": "string"
  27200. },
  27201. "couponvalue": {
  27202. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27203. "type": "number"
  27204. },
  27205. "curfreezeqty": {
  27206. "description": "期末冻结数量",
  27207. "type": "integer"
  27208. },
  27209. "curqty": {
  27210. "description": "期末数量",
  27211. "type": "integer"
  27212. },
  27213. "isgeneral": {
  27214. "description": "是否通用券 - 0:否 1:是",
  27215. "type": "integer"
  27216. },
  27217. "isunusable": {
  27218. "description": "是否不可用",
  27219. "type": "boolean"
  27220. },
  27221. "limitedflag": {
  27222. "description": "是否指定商品 - 0:不限 1:限制",
  27223. "type": "integer"
  27224. },
  27225. "limitedgoodsids": {
  27226. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  27227. "type": "string"
  27228. },
  27229. "orifreezeqty": {
  27230. "description": "期初冻结数量",
  27231. "type": "integer"
  27232. },
  27233. "oriqty": {
  27234. "description": "期初数量",
  27235. "type": "integer"
  27236. },
  27237. "reasontype": {
  27238. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  27239. "type": "integer"
  27240. },
  27241. "todaydecrease": {
  27242. "description": "今日减少",
  27243. "type": "integer"
  27244. },
  27245. "todayincrease": {
  27246. "description": "今日增加",
  27247. "type": "integer"
  27248. },
  27249. "userid": {
  27250. "description": "用户ID",
  27251. "type": "integer"
  27252. },
  27253. "userscope": {
  27254. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  27255. "type": "string"
  27256. }
  27257. }
  27258. },
  27259. "models.MyCouponHold": {
  27260. "type": "object",
  27261. "required": [
  27262. "couponholdid"
  27263. ],
  27264. "properties": {
  27265. "accountid": {
  27266. "description": "资金账户ID",
  27267. "type": "integer"
  27268. },
  27269. "conditionvalue": {
  27270. "description": "条件阈值(可为0)",
  27271. "type": "number"
  27272. },
  27273. "couponcategroy": {
  27274. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  27275. "type": "integer"
  27276. },
  27277. "couponholdid": {
  27278. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  27279. "type": "string"
  27280. },
  27281. "couponname": {
  27282. "description": "优惠券名称",
  27283. "type": "string"
  27284. },
  27285. "coupontypeid": {
  27286. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  27287. "type": "string"
  27288. },
  27289. "couponvalue": {
  27290. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27291. "type": "number"
  27292. },
  27293. "createtime": {
  27294. "description": "创建时间",
  27295. "type": "string"
  27296. },
  27297. "enddate": {
  27298. "description": "结束日期",
  27299. "type": "string"
  27300. },
  27301. "giveapplyid": {
  27302. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  27303. "type": "integer"
  27304. },
  27305. "holdstatus": {
  27306. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  27307. "type": "integer"
  27308. },
  27309. "isgeneral": {
  27310. "description": "是否通用券 - 0:否 1:是",
  27311. "type": "integer"
  27312. },
  27313. "limitedflag": {
  27314. "description": "是否指定商品 - 0:不限 1:限制",
  27315. "type": "integer"
  27316. },
  27317. "limitedgoodsids": {
  27318. "description": "指定商品IDs[逗号分隔]",
  27319. "type": "string"
  27320. },
  27321. "qty": {
  27322. "description": "数量(按1平铺)",
  27323. "type": "integer"
  27324. },
  27325. "startdate": {
  27326. "description": "开始日期",
  27327. "type": "string"
  27328. },
  27329. "userid": {
  27330. "description": "用户ID",
  27331. "type": "integer"
  27332. },
  27333. "userscope": {
  27334. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  27335. "type": "string"
  27336. }
  27337. }
  27338. },
  27339. "models.MyUsedCoupon": {
  27340. "type": "object",
  27341. "required": [
  27342. "coupontypeid",
  27343. "orderid"
  27344. ],
  27345. "properties": {
  27346. "accountid": {
  27347. "description": "资金账户ID(买方)",
  27348. "type": "integer"
  27349. },
  27350. "conditionvalue": {
  27351. "description": "条件阈值(可为0)",
  27352. "type": "number"
  27353. },
  27354. "couponcategroy": {
  27355. "description": "种类 - 1:现金券 2:折扣券",
  27356. "type": "integer"
  27357. },
  27358. "couponname": {
  27359. "description": "优惠券名称",
  27360. "type": "string"
  27361. },
  27362. "coupontypeid": {
  27363. "description": "优惠券类型ID(买方)",
  27364. "type": "string"
  27365. },
  27366. "couponvalue": {
  27367. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  27368. "type": "number"
  27369. },
  27370. "createtime": {
  27371. "description": "创建时间",
  27372. "type": "string"
  27373. },
  27374. "goodsid": {
  27375. "description": "商品ID",
  27376. "type": "integer"
  27377. },
  27378. "handlestatus": {
  27379. "description": "处理状态",
  27380. "type": "integer"
  27381. },
  27382. "marketid": {
  27383. "description": "市场ID",
  27384. "type": "integer"
  27385. },
  27386. "offamount": {
  27387. "description": "优惠金额",
  27388. "type": "number"
  27389. },
  27390. "orderid": {
  27391. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27392. "type": "string"
  27393. },
  27394. "sellaccountid": {
  27395. "description": "资金账户ID(卖方)",
  27396. "type": "integer"
  27397. },
  27398. "tradeamount": {
  27399. "description": "成交金额",
  27400. "type": "number"
  27401. },
  27402. "tradeid": {
  27403. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27404. "type": "string"
  27405. },
  27406. "usedqty": {
  27407. "description": "使用数量",
  27408. "type": "integer"
  27409. }
  27410. }
  27411. },
  27412. "models.OperationPrimaryMenu": {
  27413. "type": "object",
  27414. "properties": {
  27415. "Children": {
  27416. "description": "二级功能菜单",
  27417. "type": "array",
  27418. "items": {
  27419. "$ref": "#/definitions/models.OperationSecondaryMenu"
  27420. }
  27421. },
  27422. "Key": {
  27423. "description": "菜单KEY",
  27424. "type": "string"
  27425. },
  27426. "Label": {
  27427. "description": "菜单标题",
  27428. "type": "string"
  27429. }
  27430. }
  27431. },
  27432. "models.OperationSecondaryMenu": {
  27433. "type": "object",
  27434. "properties": {
  27435. "Key": {
  27436. "description": "菜单KEY",
  27437. "type": "string"
  27438. },
  27439. "Label": {
  27440. "description": "菜单标题",
  27441. "type": "string"
  27442. },
  27443. "TabList": {
  27444. "description": "三级功能菜单",
  27445. "type": "array",
  27446. "items": {
  27447. "$ref": "#/definitions/models.OperationTabMenu"
  27448. }
  27449. }
  27450. }
  27451. },
  27452. "models.OperationTabMenu": {
  27453. "type": "object",
  27454. "properties": {
  27455. "Key": {
  27456. "description": "菜单KEY",
  27457. "type": "string"
  27458. },
  27459. "Label": {
  27460. "description": "菜单标题",
  27461. "type": "string"
  27462. }
  27463. }
  27464. },
  27465. "models.QhjAccountOutInApply": {
  27466. "type": "object",
  27467. "properties": {
  27468. "accountcode": {
  27469. "description": "资金账号",
  27470. "type": "string"
  27471. },
  27472. "accountname": {
  27473. "description": "用户名称(名称)",
  27474. "type": "string"
  27475. },
  27476. "accountpwd": {
  27477. "description": "资金密码",
  27478. "type": "string"
  27479. },
  27480. "accountticket": {
  27481. "description": "最新账户服务流水号",
  27482. "type": "string"
  27483. },
  27484. "amount": {
  27485. "description": "金额",
  27486. "type": "number"
  27487. },
  27488. "applyremark": {
  27489. "description": "申请备注",
  27490. "type": "string"
  27491. },
  27492. "applystatus": {
  27493. "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: 复审通过,账户冻结金额检查中;",
  27494. "type": "integer"
  27495. },
  27496. "auditid": {
  27497. "description": "审核人",
  27498. "type": "integer"
  27499. },
  27500. "audittime": {
  27501. "description": "审核时间",
  27502. "type": "string"
  27503. },
  27504. "bank_apply_ticket": {
  27505. "description": "银行申请流水",
  27506. "type": "string"
  27507. },
  27508. "bankaccountname": {
  27509. "description": "银行账户名",
  27510. "type": "string"
  27511. },
  27512. "bankaccountno": {
  27513. "description": "银行卡号",
  27514. "type": "string"
  27515. },
  27516. "bankid": {
  27517. "description": "银行编号",
  27518. "type": "string"
  27519. },
  27520. "bankticket": {
  27521. "description": "银行流水",
  27522. "type": "string"
  27523. },
  27524. "branchbankid": {
  27525. "description": "银行支行号",
  27526. "type": "string"
  27527. },
  27528. "branchbankname": {
  27529. "description": "银行支行名称",
  27530. "type": "string"
  27531. },
  27532. "capamountout": {
  27533. "description": "出金(劣后本金) - 外部子账户",
  27534. "type": "number"
  27535. },
  27536. "certificatephotourl": {
  27537. "description": "凭证地址",
  27538. "type": "string"
  27539. },
  27540. "charge": {
  27541. "description": "手续费",
  27542. "type": "number"
  27543. },
  27544. "checkerrorflag": {
  27545. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  27546. "type": "integer"
  27547. },
  27548. "currency": {
  27549. "description": "币种",
  27550. "type": "string"
  27551. },
  27552. "cusbankid": {
  27553. "description": "托管银行编号",
  27554. "type": "string"
  27555. },
  27556. "exchticket": {
  27557. "description": "银行服务流水号",
  27558. "type": "string"
  27559. },
  27560. "executetype": {
  27561. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  27562. "type": "integer"
  27563. },
  27564. "extendinfo": {
  27565. "description": "扩展信息",
  27566. "type": "string"
  27567. },
  27568. "extoperateid": {
  27569. "description": "交易服务流水号",
  27570. "type": "integer"
  27571. },
  27572. "infamount": {
  27573. "description": "劣后金额(自有)",
  27574. "type": "number"
  27575. },
  27576. "logincode": {
  27577. "description": "登录账号(账号)",
  27578. "type": "string"
  27579. },
  27580. "netaddr": {
  27581. "description": "调转网址",
  27582. "type": "string"
  27583. },
  27584. "priamount": {
  27585. "description": "优先金额(授信)",
  27586. "type": "number"
  27587. },
  27588. "reauditid": {
  27589. "description": "复审人",
  27590. "type": "integer"
  27591. },
  27592. "reauditremark": {
  27593. "description": "复审备注",
  27594. "type": "string"
  27595. },
  27596. "reaudittime": {
  27597. "description": "复审时间",
  27598. "type": "string"
  27599. },
  27600. "relatedorderid": {
  27601. "description": "三方关联ID",
  27602. "type": "string"
  27603. },
  27604. "remark": {
  27605. "description": "备注",
  27606. "type": "string"
  27607. },
  27608. "remark2": {
  27609. "description": "备注(失败原因)",
  27610. "type": "string"
  27611. },
  27612. "soucreamount": {
  27613. "description": "原始出入金金额",
  27614. "type": "number"
  27615. },
  27616. "soucrecurrencyid": {
  27617. "description": "原始出入金币种",
  27618. "type": "integer"
  27619. },
  27620. "tradedate": {
  27621. "description": "交易日(yyyyMMdd)",
  27622. "type": "string"
  27623. },
  27624. "updatetime": {
  27625. "description": "更新时间(申请时间)",
  27626. "type": "string"
  27627. },
  27628. "userid": {
  27629. "description": "用户id",
  27630. "type": "integer"
  27631. },
  27632. "userinfotype": {
  27633. "description": "账户类型 1-个人 2-企业",
  27634. "type": "integer"
  27635. }
  27636. }
  27637. },
  27638. "models.QhjAgreementChangeLog": {
  27639. "type": "object",
  27640. "properties": {
  27641. "agreementcontent": {
  27642. "description": "协议内容",
  27643. "type": "string"
  27644. },
  27645. "agreementfrequency": {
  27646. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  27647. "type": "integer"
  27648. },
  27649. "agreementid": {
  27650. "description": "协议ID",
  27651. "type": "integer"
  27652. },
  27653. "agreementname": {
  27654. "description": "协议名称",
  27655. "type": "string"
  27656. },
  27657. "agreementno": {
  27658. "description": "协议编号",
  27659. "type": "string"
  27660. },
  27661. "agreementtype": {
  27662. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27663. "type": "integer"
  27664. },
  27665. "agreementversion": {
  27666. "description": "协议版本号",
  27667. "type": "integer"
  27668. },
  27669. "logid": {
  27670. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  27671. "type": "integer"
  27672. },
  27673. "reviserid": {
  27674. "description": "修改人",
  27675. "type": "integer"
  27676. },
  27677. "revisersrc": {
  27678. "description": "修改来源 - 1:管理端 2:终端",
  27679. "type": "integer"
  27680. },
  27681. "updatetime": {
  27682. "description": "更新时间",
  27683. "type": "string"
  27684. }
  27685. }
  27686. },
  27687. "models.QhjAgreementConfig": {
  27688. "type": "object",
  27689. "properties": {
  27690. "agreementcontent": {
  27691. "description": "协议内容",
  27692. "type": "string"
  27693. },
  27694. "agreementfrequency": {
  27695. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  27696. "type": "integer"
  27697. },
  27698. "agreementid": {
  27699. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  27700. "type": "integer"
  27701. },
  27702. "agreementname": {
  27703. "description": "协议名称",
  27704. "type": "string"
  27705. },
  27706. "agreementno": {
  27707. "description": "协议编号",
  27708. "type": "string"
  27709. },
  27710. "agreementtype": {
  27711. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27712. "type": "integer"
  27713. },
  27714. "agreementversion": {
  27715. "description": "协议版本号(从1开始每次修改加1)",
  27716. "type": "integer"
  27717. },
  27718. "createtime": {
  27719. "description": "创建时间",
  27720. "type": "string"
  27721. },
  27722. "creatorid": {
  27723. "description": "创建人",
  27724. "type": "integer"
  27725. },
  27726. "creatorsrc": {
  27727. "description": "创建来源 - 1:管理端 2:终端",
  27728. "type": "integer"
  27729. },
  27730. "isvalid": {
  27731. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  27732. "type": "integer"
  27733. },
  27734. "reviserid": {
  27735. "description": "修改人",
  27736. "type": "integer"
  27737. },
  27738. "revisersrc": {
  27739. "description": "修改来源 - 1:管理端 2:终端",
  27740. "type": "integer"
  27741. },
  27742. "updatetime": {
  27743. "description": "更新时间",
  27744. "type": "string"
  27745. }
  27746. }
  27747. },
  27748. "models.QhjAreaFinanceConfig": {
  27749. "type": "object",
  27750. "properties": {
  27751. "additionalratio": {
  27752. "description": "追加款比例",
  27753. "type": "number"
  27754. },
  27755. "advanceratio": {
  27756. "description": "预付款比例",
  27757. "type": "number"
  27758. },
  27759. "alarmratio": {
  27760. "description": "告警比例",
  27761. "type": "number"
  27762. },
  27763. "consumptiondirectreward": {
  27764. "description": "消费直推奖励值",
  27765. "type": "number"
  27766. },
  27767. "consumptionenabled": {
  27768. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  27769. "type": "integer"
  27770. },
  27771. "consumptionindirectreward": {
  27772. "description": "消费间推奖励值",
  27773. "type": "number"
  27774. },
  27775. "consumptionmodel": {
  27776. "description": "消费奖励方式 - 1:比率 2:固定",
  27777. "type": "integer"
  27778. },
  27779. "customerservicenum": {
  27780. "description": "客服电话",
  27781. "type": "string"
  27782. },
  27783. "dayinterestrate": {
  27784. "description": "日利率",
  27785. "type": "number"
  27786. },
  27787. "disableconsumptiontips": {
  27788. "description": "关闭消费奖励提示",
  27789. "type": "string"
  27790. },
  27791. "modifierid": {
  27792. "description": "修改人ID",
  27793. "type": "integer"
  27794. },
  27795. "modifysrc": {
  27796. "description": "审核来源 - 1:管理端 2:终端",
  27797. "type": "integer"
  27798. },
  27799. "modifytime": {
  27800. "description": "修改时间",
  27801. "type": "string"
  27802. },
  27803. "promotionvalue": {
  27804. "description": "推广奖励值(固定)",
  27805. "type": "number"
  27806. },
  27807. "scoreconfigvalue1": {
  27808. "description": "提货积分配置1",
  27809. "type": "integer"
  27810. },
  27811. "scoreconfigvalue2": {
  27812. "description": "提货积分配置2",
  27813. "type": "integer"
  27814. },
  27815. "userid": {
  27816. "description": "机构用户ID其他做市关系,都设置为 1",
  27817. "type": "integer"
  27818. },
  27819. "username": {
  27820. "description": "用户名称",
  27821. "type": "string"
  27822. }
  27823. }
  27824. },
  27825. "models.QhjBankAccountSign": {
  27826. "type": "object",
  27827. "properties": {
  27828. "accountcode": {
  27829. "description": "资金账号",
  27830. "type": "string"
  27831. },
  27832. "accountname": {
  27833. "description": "资金账号对应的账号名(UserName)",
  27834. "type": "string"
  27835. },
  27836. "accountname2": {
  27837. "description": "资金账号对应的账号名(UserName) - 密文",
  27838. "type": "string"
  27839. },
  27840. "accounttype": {
  27841. "description": "账户类型(UserType)",
  27842. "type": "integer"
  27843. },
  27844. "applicationtime": {
  27845. "description": "最后一次更新的时间",
  27846. "type": "string"
  27847. },
  27848. "applyexchticket": {
  27849. "description": "申请流水",
  27850. "type": "string"
  27851. },
  27852. "auditid": {
  27853. "description": "审核人",
  27854. "type": "integer"
  27855. },
  27856. "audittime": {
  27857. "description": "审核时间",
  27858. "type": "string"
  27859. },
  27860. "bankaccountname": {
  27861. "description": "签约银行卡账号名",
  27862. "type": "string"
  27863. },
  27864. "bankaccountname2": {
  27865. "description": "签约银行卡账号名 - 密文",
  27866. "type": "string"
  27867. },
  27868. "bankaccountno": {
  27869. "description": "银行卡号",
  27870. "type": "string"
  27871. },
  27872. "bankaccountno2": {
  27873. "description": "银行卡号 - 密文",
  27874. "type": "string"
  27875. },
  27876. "bankaccounttype": {
  27877. "description": "银行账户类型 - 1-对私; 2-对公",
  27878. "type": "integer"
  27879. },
  27880. "bankcardtype": {
  27881. "description": "银行卡类型",
  27882. "type": "integer"
  27883. },
  27884. "bankchildaccount": {
  27885. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  27886. "type": "string"
  27887. },
  27888. "bankcity": {
  27889. "description": "开户行城市",
  27890. "type": "string"
  27891. },
  27892. "bankid": {
  27893. "description": "签约银行ID",
  27894. "type": "string"
  27895. },
  27896. "bankname": {
  27897. "description": "签约银行名称",
  27898. "type": "string"
  27899. },
  27900. "bankprovince": {
  27901. "description": "开户行省份",
  27902. "type": "string"
  27903. },
  27904. "branchbankid": {
  27905. "description": "签约银行支行号",
  27906. "type": "string"
  27907. },
  27908. "branchbankname": {
  27909. "description": "签约银行支行名称",
  27910. "type": "string"
  27911. },
  27912. "cardno": {
  27913. "description": "证件号码",
  27914. "type": "string"
  27915. },
  27916. "cardno2": {
  27917. "description": "证件号码 - 密文",
  27918. "type": "string"
  27919. },
  27920. "cardtype": {
  27921. "description": "证件类型",
  27922. "type": "string"
  27923. },
  27924. "currency": {
  27925. "description": "币种",
  27926. "type": "string"
  27927. },
  27928. "cusbankid": {
  27929. "description": "托管银行编号",
  27930. "type": "string"
  27931. },
  27932. "direct": {
  27933. "description": "方向(可以判断那方先发起的签约)",
  27934. "type": "integer"
  27935. },
  27936. "exchticket": {
  27937. "description": "最后一次签约成功的流水号",
  27938. "type": "string"
  27939. },
  27940. "extendinfo": {
  27941. "description": "扩展信息(JSON字符串)",
  27942. "type": "string"
  27943. },
  27944. "mobilephone": {
  27945. "description": "手机号",
  27946. "type": "string"
  27947. },
  27948. "mobilephone2": {
  27949. "description": "手机号 - 密文",
  27950. "type": "string"
  27951. },
  27952. "netaddr": {
  27953. "description": "调转网址",
  27954. "type": "string"
  27955. },
  27956. "relateduserid": {
  27957. "description": "关联使用者userid",
  27958. "type": "integer"
  27959. },
  27960. "signstatus": {
  27961. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  27962. "type": "integer"
  27963. },
  27964. "updatetime": {
  27965. "description": "更新时间(签解约更新时间)",
  27966. "type": "string"
  27967. }
  27968. }
  27969. },
  27970. "models.QhjBankInfo": {
  27971. "type": "object",
  27972. "properties": {
  27973. "bankid": {
  27974. "description": "银行ID",
  27975. "type": "string"
  27976. },
  27977. "bankname": {
  27978. "description": "银行名称",
  27979. "type": "string"
  27980. },
  27981. "clearbankno": {
  27982. "description": "清算系统银行编号",
  27983. "type": "string"
  27984. },
  27985. "orderindex": {
  27986. "description": "排序顺序",
  27987. "type": "integer"
  27988. },
  27989. "status": {
  27990. "description": "状态 - 0:正常 1:注销",
  27991. "type": "integer"
  27992. }
  27993. }
  27994. },
  27995. "models.QhjBrokerApply": {
  27996. "type": "object",
  27997. "properties": {
  27998. "applicantid": {
  27999. "description": "申请人",
  28000. "type": "integer"
  28001. },
  28002. "applysrc": {
  28003. "description": "申请来源 - 1:管理端 2:终端",
  28004. "type": "integer"
  28005. },
  28006. "applystatus": {
  28007. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  28008. "type": "integer"
  28009. },
  28010. "applytime": {
  28011. "description": "申请时间",
  28012. "type": "string"
  28013. },
  28014. "auditorid": {
  28015. "description": "审核人",
  28016. "type": "integer"
  28017. },
  28018. "auditremark": {
  28019. "description": "审核备注",
  28020. "type": "string"
  28021. },
  28022. "auditsrc": {
  28023. "description": "审核来源 - 1:管理端 2:终端",
  28024. "type": "integer"
  28025. },
  28026. "audittime": {
  28027. "description": "审核时间",
  28028. "type": "string"
  28029. },
  28030. "audittradedate": {
  28031. "description": "审核交易日(yyyyMMdd)",
  28032. "type": "string"
  28033. },
  28034. "brokerapplyid": {
  28035. "description": "申请ID(SEQ_BROKERAPPLY)",
  28036. "type": "integer"
  28037. },
  28038. "cardbackphotourl": {
  28039. "description": "证件背面图片地址",
  28040. "type": "string"
  28041. },
  28042. "cardfrontphotourl": {
  28043. "description": "证件正面图片地址",
  28044. "type": "string"
  28045. },
  28046. "cardnum": {
  28047. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  28048. "type": "string"
  28049. },
  28050. "customername": {
  28051. "description": "姓名",
  28052. "type": "string"
  28053. },
  28054. "logincode": {
  28055. "description": "登录代码",
  28056. "type": "string"
  28057. },
  28058. "mobile": {
  28059. "description": "手机号码",
  28060. "type": "string"
  28061. },
  28062. "parentuserid": {
  28063. "description": "所属机构id",
  28064. "type": "integer"
  28065. },
  28066. "parentusername": {
  28067. "description": "所属机构名称",
  28068. "type": "string"
  28069. },
  28070. "refereeuserid": {
  28071. "description": "推荐人id(经纪人)",
  28072. "type": "integer"
  28073. },
  28074. "refernum": {
  28075. "description": "推荐码",
  28076. "type": "string"
  28077. },
  28078. "remark": {
  28079. "description": "备注",
  28080. "type": "string"
  28081. },
  28082. "subarealevelpath": {
  28083. "description": "层级路径",
  28084. "type": "string"
  28085. },
  28086. "tradedate": {
  28087. "description": "交易日(yyyyMMdd)",
  28088. "type": "string"
  28089. },
  28090. "userid": {
  28091. "description": "申请人用户ID",
  28092. "type": "integer"
  28093. },
  28094. "userinfotype": {
  28095. "description": "用户类型 1-个人 2-企业",
  28096. "type": "integer"
  28097. },
  28098. "username": {
  28099. "description": "用户名称",
  28100. "type": "string"
  28101. }
  28102. }
  28103. },
  28104. "models.QhjBrokerApplyEx": {
  28105. "type": "object",
  28106. "properties": {
  28107. "applylist": {
  28108. "description": "经纪人申请记录(只返回最新一条)",
  28109. "type": "array",
  28110. "items": {
  28111. "$ref": "#/definitions/models.QhjBrokerApply"
  28112. }
  28113. },
  28114. "canrecommend": {
  28115. "description": "是否经纪人 0-不是 1-是",
  28116. "type": "integer"
  28117. },
  28118. "refernum": {
  28119. "description": "推荐码",
  28120. "type": "string"
  28121. },
  28122. "userid": {
  28123. "description": "用户id",
  28124. "type": "integer"
  28125. },
  28126. "userinfotype": {
  28127. "description": "用户类型 1-个人 2-企业",
  28128. "type": "integer"
  28129. }
  28130. }
  28131. },
  28132. "models.QhjBrokerRewardLog": {
  28133. "type": "object",
  28134. "properties": {
  28135. "accountid": {
  28136. "description": "资金账号ID",
  28137. "type": "integer"
  28138. },
  28139. "createtime": {
  28140. "description": "创建时间(时间)",
  28141. "type": "string"
  28142. },
  28143. "handlestatus": {
  28144. "description": "处理状态",
  28145. "type": "integer"
  28146. },
  28147. "logid": {
  28148. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28149. "type": "string"
  28150. },
  28151. "marketid": {
  28152. "description": "市场ID",
  28153. "type": "integer"
  28154. },
  28155. "mmaccountid": {
  28156. "description": "做市商资金账号ID",
  28157. "type": "string"
  28158. },
  28159. "mmuserid": {
  28160. "description": "做市商用户ID",
  28161. "type": "string"
  28162. },
  28163. "rewardamount": {
  28164. "description": "奖励金额",
  28165. "type": "number"
  28166. },
  28167. "rewardmodel": {
  28168. "description": "消费奖励方式 - 1:比率 2:固定",
  28169. "type": "integer"
  28170. },
  28171. "rewardtype": {
  28172. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  28173. "type": "integer"
  28174. },
  28175. "rewardvalue": {
  28176. "description": "配置奖励值",
  28177. "type": "number"
  28178. },
  28179. "srcamount": {
  28180. "description": "成交金额 [消费奖励] (金额)",
  28181. "type": "number"
  28182. },
  28183. "srcgoodsid": {
  28184. "description": "来源商品ID [消费奖励]",
  28185. "type": "string"
  28186. },
  28187. "srctime": {
  28188. "description": "来源时间 (成交时间) [消费奖励]",
  28189. "type": "string"
  28190. },
  28191. "srctradeid": {
  28192. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  28193. "type": "string"
  28194. },
  28195. "srcuserid": {
  28196. "description": "来源用户ID(推广账户)",
  28197. "type": "string"
  28198. },
  28199. "srcusername": {
  28200. "description": "推广账户名称",
  28201. "type": "string"
  28202. },
  28203. "tradedate": {
  28204. "description": "交易日(yyyyMMdd)",
  28205. "type": "string"
  28206. },
  28207. "userid": {
  28208. "description": "经纪人用户ID",
  28209. "type": "integer"
  28210. }
  28211. }
  28212. },
  28213. "models.QhjContract": {
  28214. "type": "object",
  28215. "properties": {
  28216. "contractconfirmtime": {
  28217. "description": "合同确认时间(时间)",
  28218. "type": "string"
  28219. },
  28220. "currisklevel": {
  28221. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  28222. "type": "integer"
  28223. },
  28224. "decimalplace": {
  28225. "description": "商品报价小数位",
  28226. "type": "integer"
  28227. },
  28228. "enumdicname": {
  28229. "description": "单位名称",
  28230. "type": "string"
  28231. },
  28232. "goodscode": {
  28233. "description": "商品代码",
  28234. "type": "string"
  28235. },
  28236. "goodsid": {
  28237. "description": "商品ID [5:融资单]",
  28238. "type": "integer"
  28239. },
  28240. "goodsname": {
  28241. "description": "商品名称",
  28242. "type": "string"
  28243. },
  28244. "goodunitid": {
  28245. "description": "商品单位id",
  28246. "type": "integer"
  28247. },
  28248. "initmargin": {
  28249. "description": "初始保证金(首付款)",
  28250. "type": "number"
  28251. },
  28252. "lenderamount": {
  28253. "description": "贷款金额(总额|订单总额)",
  28254. "type": "number"
  28255. },
  28256. "marginratio": {
  28257. "description": "保证金比率(首付比例)",
  28258. "type": "number"
  28259. },
  28260. "payamount": {
  28261. "description": "已付(已付货款)",
  28262. "type": "number"
  28263. },
  28264. "reckonrecovermargin": {
  28265. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  28266. "type": "number"
  28267. },
  28268. "recoveredmargin": {
  28269. "description": "已追缴保证金",
  28270. "type": "number"
  28271. },
  28272. "remainamount": {
  28273. "description": "合同剩余金额(融资额)",
  28274. "type": "number"
  28275. },
  28276. "scfcontractid": {
  28277. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28278. "type": "string"
  28279. },
  28280. "scfcontractstatus": {
  28281. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  28282. "type": "integer"
  28283. },
  28284. "scfcontracttype": {
  28285. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  28286. "type": "integer"
  28287. },
  28288. "totalinterest": {
  28289. "description": "已计总利息(利息)",
  28290. "type": "number"
  28291. },
  28292. "tradeprice": {
  28293. "description": "成交价格(成本价格)",
  28294. "type": "number"
  28295. },
  28296. "userid": {
  28297. "description": "用户ID",
  28298. "type": "integer"
  28299. },
  28300. "username": {
  28301. "description": "用户名称",
  28302. "type": "string"
  28303. },
  28304. "wrqty": {
  28305. "description": "仓单数量(数量)",
  28306. "type": "number"
  28307. }
  28308. }
  28309. },
  28310. "models.QhjContractLog": {
  28311. "type": "object",
  28312. "properties": {
  28313. "amount": {
  28314. "description": "支付金额",
  28315. "type": "number"
  28316. },
  28317. "amounttype": {
  28318. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  28319. "type": "integer"
  28320. },
  28321. "logid": {
  28322. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28323. "type": "string"
  28324. },
  28325. "remainamount": {
  28326. "description": "剩余货款",
  28327. "type": "number"
  28328. },
  28329. "scfcontractid": {
  28330. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28331. "type": "integer"
  28332. },
  28333. "updatetime": {
  28334. "description": "更新时间",
  28335. "type": "string"
  28336. }
  28337. }
  28338. },
  28339. "models.QhjCusBankSignBankEx": {
  28340. "type": "object",
  28341. "properties": {
  28342. "banklst": {
  28343. "description": "银行列表",
  28344. "type": "array",
  28345. "items": {
  28346. "$ref": "#/definitions/models.QhjBankInfo"
  28347. }
  28348. },
  28349. "canallot": {
  28350. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  28351. "type": "integer"
  28352. },
  28353. "canallotquery": {
  28354. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  28355. "type": "integer"
  28356. },
  28357. "canbindcard": {
  28358. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  28359. "type": "integer"
  28360. },
  28361. "caninamount": {
  28362. "description": "是否可入金 - 0:不可 1:可以",
  28363. "type": "integer"
  28364. },
  28365. "caninamount2": {
  28366. "description": "是否可入金(网银端) - 0:不可 1:可以",
  28367. "type": "integer"
  28368. },
  28369. "canmodifybankcard": {
  28370. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  28371. "type": "integer"
  28372. },
  28373. "canmodifyphone": {
  28374. "description": "是否可修改手机号 - 0:不可 1:可以",
  28375. "type": "integer"
  28376. },
  28377. "canmodifysigninfo": {
  28378. "description": "是否可修改签约信息 - 0:不可 1:可以",
  28379. "type": "integer"
  28380. },
  28381. "canoutamount": {
  28382. "description": "是否可出金 - 0:不可 1:可以",
  28383. "type": "integer"
  28384. },
  28385. "canoutamount2": {
  28386. "description": "是否可出金(网银端) - 0:不可 1:可以",
  28387. "type": "integer"
  28388. },
  28389. "canrelease": {
  28390. "description": "是否可解约 - 0:不可 1:可以",
  28391. "type": "integer"
  28392. },
  28393. "canrelease2": {
  28394. "description": "是否可解约(网银端) - 0:不可 1:可以",
  28395. "type": "integer"
  28396. },
  28397. "cansign": {
  28398. "description": "是否可签约 - 0:不可 1:可以",
  28399. "type": "integer"
  28400. },
  28401. "cansign2": {
  28402. "description": "是否可签约(网银端) - 0:不可 1:可以",
  28403. "type": "integer"
  28404. },
  28405. "currency": {
  28406. "description": "币种",
  28407. "type": "string"
  28408. },
  28409. "cusbankid": {
  28410. "description": "托管银行编号(对应清算中心TRAN_NO)",
  28411. "type": "string"
  28412. },
  28413. "cusbankname": {
  28414. "description": "银行业务名称",
  28415. "type": "string"
  28416. },
  28417. "cusbankshortname": {
  28418. "description": "银行业务简称",
  28419. "type": "string"
  28420. },
  28421. "exchbankid": {
  28422. "description": "交易所开户银行ID",
  28423. "type": "string"
  28424. },
  28425. "exchpaybankaccname": {
  28426. "description": "交易所支出结算账户户名",
  28427. "type": "string"
  28428. },
  28429. "exchpaybankaccno": {
  28430. "description": "交易所支出结算账户",
  28431. "type": "string"
  28432. },
  28433. "isneedcheck": {
  28434. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  28435. "type": "integer"
  28436. },
  28437. "isneedclear": {
  28438. "description": "是否需要清算 - 0:不需要 1:需要",
  28439. "type": "integer"
  28440. },
  28441. "lastcheckstatus": {
  28442. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  28443. "type": "integer"
  28444. },
  28445. "lastchecktime": {
  28446. "description": "最后对账时间",
  28447. "type": "string"
  28448. },
  28449. "lastclearstatus": {
  28450. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  28451. "type": "integer"
  28452. },
  28453. "lastcleartime": {
  28454. "description": "最后清算时间",
  28455. "type": "string"
  28456. },
  28457. "lastsignintime": {
  28458. "description": "最后签到时间",
  28459. "type": "string"
  28460. },
  28461. "lastsignouttime": {
  28462. "description": "最后签退时间",
  28463. "type": "string"
  28464. },
  28465. "riskinfo": {
  28466. "description": "签约风险提示书",
  28467. "type": "string"
  28468. },
  28469. "signstatus": {
  28470. "description": "当前签到/签退状态 - 1:签到 2:签退",
  28471. "type": "integer"
  28472. },
  28473. "tradedate": {
  28474. "description": "交易日(yyyyMMdd)",
  28475. "type": "string"
  28476. },
  28477. "updatetime": {
  28478. "description": "当前签到/签退更新时间",
  28479. "type": "string"
  28480. }
  28481. }
  28482. },
  28483. "models.QhjCustomer": {
  28484. "type": "object",
  28485. "properties": {
  28486. "address": {
  28487. "description": "通讯地址",
  28488. "type": "string"
  28489. },
  28490. "attachment1": {
  28491. "description": "附件1",
  28492. "type": "string"
  28493. },
  28494. "audittime": {
  28495. "description": "审核时间",
  28496. "type": "string"
  28497. },
  28498. "cardbackphotourl": {
  28499. "description": "证件反面图片地址",
  28500. "type": "string"
  28501. },
  28502. "cardfrontphotourl": {
  28503. "description": "证件正面图片地址",
  28504. "type": "string"
  28505. },
  28506. "cardnum": {
  28507. "description": "证件号码",
  28508. "type": "string"
  28509. },
  28510. "cardtype": {
  28511. "description": "证件类型",
  28512. "type": "integer"
  28513. },
  28514. "cardtypename": {
  28515. "description": "证件类型名称",
  28516. "type": "string"
  28517. },
  28518. "cityid": {
  28519. "description": "市",
  28520. "type": "integer"
  28521. },
  28522. "cityname": {
  28523. "description": "城市名称",
  28524. "type": "string"
  28525. },
  28526. "contactname": {
  28527. "description": "联系人",
  28528. "type": "string"
  28529. },
  28530. "countryid": {
  28531. "description": "国家",
  28532. "type": "integer"
  28533. },
  28534. "countryname": {
  28535. "description": "国家名称",
  28536. "type": "string"
  28537. },
  28538. "createtime": {
  28539. "description": "创建时间",
  28540. "type": "string"
  28541. },
  28542. "customername": {
  28543. "description": "客户名称",
  28544. "type": "string"
  28545. },
  28546. "districtid": {
  28547. "description": "区域",
  28548. "type": "integer"
  28549. },
  28550. "districtname": {
  28551. "description": "地区名称",
  28552. "type": "string"
  28553. },
  28554. "email": {
  28555. "description": "邮件",
  28556. "type": "string"
  28557. },
  28558. "legalpersonname": {
  28559. "description": "法人姓名(企业)",
  28560. "type": "string"
  28561. },
  28562. "logincode": {
  28563. "description": "登录账号(代码)",
  28564. "type": "string"
  28565. },
  28566. "memberuserid": {
  28567. "description": "所属机构ID(所属会员)",
  28568. "type": "integer"
  28569. },
  28570. "memberusername": {
  28571. "description": "所属会员名称",
  28572. "type": "string"
  28573. },
  28574. "mobile": {
  28575. "description": "手机号码",
  28576. "type": "string"
  28577. },
  28578. "modifytime": {
  28579. "description": "修改时间",
  28580. "type": "string"
  28581. },
  28582. "nickname": {
  28583. "description": "昵称",
  28584. "type": "string"
  28585. },
  28586. "parentuserid": {
  28587. "description": "上级机构(所属机构)",
  28588. "type": "integer"
  28589. },
  28590. "parentusername": {
  28591. "description": "所属机构名称",
  28592. "type": "string"
  28593. },
  28594. "provinceid": {
  28595. "description": "省",
  28596. "type": "integer"
  28597. },
  28598. "provincename": {
  28599. "description": "省名称",
  28600. "type": "string"
  28601. },
  28602. "proxystatementurl": {
  28603. "description": "授权委托书",
  28604. "type": "string"
  28605. },
  28606. "remark": {
  28607. "description": "备注",
  28608. "type": "string"
  28609. },
  28610. "status": {
  28611. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  28612. "type": "integer"
  28613. },
  28614. "statusdesc": {
  28615. "description": "账户状态中文描述",
  28616. "type": "string"
  28617. },
  28618. "taxpayernum": {
  28619. "description": "纳税人识别号",
  28620. "type": "string"
  28621. },
  28622. "telphone": {
  28623. "description": "联系电话",
  28624. "type": "string"
  28625. },
  28626. "userid": {
  28627. "description": "用户ID",
  28628. "type": "integer"
  28629. },
  28630. "userinfotype": {
  28631. "description": "客户类型 1-个人 2-企业",
  28632. "type": "integer"
  28633. },
  28634. "username": {
  28635. "description": "用户名称",
  28636. "type": "string"
  28637. }
  28638. }
  28639. },
  28640. "models.QhjCustomerSignLog": {
  28641. "type": "object",
  28642. "properties": {
  28643. "agreementcontent": {
  28644. "description": "协议内容",
  28645. "type": "string"
  28646. },
  28647. "agreementid": {
  28648. "description": "协议ID",
  28649. "type": "integer"
  28650. },
  28651. "agreementname": {
  28652. "description": "协议名称",
  28653. "type": "string"
  28654. },
  28655. "agreementno": {
  28656. "description": "协议编号",
  28657. "type": "string"
  28658. },
  28659. "agreementtype": {
  28660. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28661. "type": "integer"
  28662. },
  28663. "agreementversion": {
  28664. "description": "协议版本号",
  28665. "type": "integer"
  28666. },
  28667. "createtime": {
  28668. "description": "创建时间",
  28669. "type": "string"
  28670. },
  28671. "goodscode": {
  28672. "description": "商品代码",
  28673. "type": "string"
  28674. },
  28675. "goodsid": {
  28676. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28677. "type": "integer"
  28678. },
  28679. "goodsname": {
  28680. "description": "商品名称",
  28681. "type": "string"
  28682. },
  28683. "logid": {
  28684. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  28685. "type": "integer"
  28686. },
  28687. "nodetype": {
  28688. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  28689. "type": "integer"
  28690. },
  28691. "signadressurl": {
  28692. "description": "签约文件地址",
  28693. "type": "string"
  28694. },
  28695. "signtimestamp": {
  28696. "description": "签约状态时间戳",
  28697. "type": "string"
  28698. },
  28699. "userid": {
  28700. "description": "客户ID",
  28701. "type": "integer"
  28702. },
  28703. "username": {
  28704. "description": "客户名称",
  28705. "type": "string"
  28706. }
  28707. }
  28708. },
  28709. "models.QhjCustomerSignStatus": {
  28710. "type": "object",
  28711. "properties": {
  28712. "createtime": {
  28713. "description": "创建时间",
  28714. "type": "string"
  28715. },
  28716. "goodscode": {
  28717. "description": "商品代码",
  28718. "type": "string"
  28719. },
  28720. "goodsid": {
  28721. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28722. "type": "integer"
  28723. },
  28724. "goodsname": {
  28725. "description": "商品名称",
  28726. "type": "string"
  28727. },
  28728. "nodetype": {
  28729. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  28730. "type": "integer"
  28731. },
  28732. "signtimestamp": {
  28733. "description": "签约状态时间戳",
  28734. "type": "string"
  28735. },
  28736. "tradedate": {
  28737. "description": "创建交易日(yyyyMMdd)",
  28738. "type": "string"
  28739. },
  28740. "updatetime": {
  28741. "description": "更新时间",
  28742. "type": "string"
  28743. },
  28744. "userid": {
  28745. "description": "客户ID",
  28746. "type": "integer"
  28747. },
  28748. "username": {
  28749. "description": "客户名称",
  28750. "type": "string"
  28751. }
  28752. }
  28753. },
  28754. "models.QhjMgrAccountOutInApply": {
  28755. "type": "object",
  28756. "properties": {
  28757. "accountcode": {
  28758. "description": "资金账号",
  28759. "type": "string"
  28760. },
  28761. "accountname": {
  28762. "description": "用户名称(名称)",
  28763. "type": "string"
  28764. },
  28765. "accountpwd": {
  28766. "description": "资金密码",
  28767. "type": "string"
  28768. },
  28769. "accountticket": {
  28770. "description": "最新账户服务流水号",
  28771. "type": "string"
  28772. },
  28773. "amount": {
  28774. "description": "金额",
  28775. "type": "number"
  28776. },
  28777. "applyremark": {
  28778. "description": "申请备注",
  28779. "type": "string"
  28780. },
  28781. "applystatus": {
  28782. "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: 复审通过,账户冻结金额检查中;",
  28783. "type": "integer"
  28784. },
  28785. "auditid": {
  28786. "description": "审核人",
  28787. "type": "integer"
  28788. },
  28789. "audittime": {
  28790. "description": "审核时间",
  28791. "type": "string"
  28792. },
  28793. "bank_apply_ticket": {
  28794. "description": "银行申请流水",
  28795. "type": "string"
  28796. },
  28797. "bankaccountname": {
  28798. "description": "银行账户名",
  28799. "type": "string"
  28800. },
  28801. "bankaccountno": {
  28802. "description": "银行卡号",
  28803. "type": "string"
  28804. },
  28805. "bankid": {
  28806. "description": "银行编号",
  28807. "type": "string"
  28808. },
  28809. "bankname": {
  28810. "description": "银行名称",
  28811. "type": "string"
  28812. },
  28813. "bankticket": {
  28814. "description": "银行流水",
  28815. "type": "string"
  28816. },
  28817. "branchbankid": {
  28818. "description": "银行支行号",
  28819. "type": "string"
  28820. },
  28821. "branchbankname": {
  28822. "description": "银行支行名称",
  28823. "type": "string"
  28824. },
  28825. "capamountout": {
  28826. "description": "出金(劣后本金) - 外部子账户",
  28827. "type": "number"
  28828. },
  28829. "certificatephotourl": {
  28830. "description": "凭证地址",
  28831. "type": "string"
  28832. },
  28833. "charge": {
  28834. "description": "手续费",
  28835. "type": "number"
  28836. },
  28837. "checkerrorflag": {
  28838. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  28839. "type": "integer"
  28840. },
  28841. "currency": {
  28842. "description": "币种",
  28843. "type": "string"
  28844. },
  28845. "cusbankid": {
  28846. "description": "托管银行编号",
  28847. "type": "string"
  28848. },
  28849. "exchticket": {
  28850. "description": "银行服务流水号",
  28851. "type": "string"
  28852. },
  28853. "executetype": {
  28854. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  28855. "type": "integer"
  28856. },
  28857. "extendinfo": {
  28858. "description": "扩展信息",
  28859. "type": "string"
  28860. },
  28861. "extoperateid": {
  28862. "description": "交易服务流水号",
  28863. "type": "integer"
  28864. },
  28865. "infamount": {
  28866. "description": "劣后金额(自有)",
  28867. "type": "number"
  28868. },
  28869. "logincode": {
  28870. "description": "登录账号(账号)",
  28871. "type": "string"
  28872. },
  28873. "netaddr": {
  28874. "description": "调转网址",
  28875. "type": "string"
  28876. },
  28877. "priamount": {
  28878. "description": "优先金额(授信)",
  28879. "type": "number"
  28880. },
  28881. "reauditid": {
  28882. "description": "复审人",
  28883. "type": "integer"
  28884. },
  28885. "reauditremark": {
  28886. "description": "复审备注",
  28887. "type": "string"
  28888. },
  28889. "reaudittime": {
  28890. "description": "复审时间",
  28891. "type": "string"
  28892. },
  28893. "relatedorderid": {
  28894. "description": "三方关联ID",
  28895. "type": "string"
  28896. },
  28897. "remark": {
  28898. "description": "备注",
  28899. "type": "string"
  28900. },
  28901. "remark2": {
  28902. "description": "备注(失败原因)",
  28903. "type": "string"
  28904. },
  28905. "soucreamount": {
  28906. "description": "原始出入金金额",
  28907. "type": "number"
  28908. },
  28909. "soucrecurrencyid": {
  28910. "description": "原始出入金币种",
  28911. "type": "integer"
  28912. },
  28913. "tradedate": {
  28914. "description": "交易日(yyyyMMdd)",
  28915. "type": "string"
  28916. },
  28917. "updatetime": {
  28918. "description": "更新时间(申请时间)",
  28919. "type": "string"
  28920. },
  28921. "userid": {
  28922. "description": "用户id",
  28923. "type": "integer"
  28924. },
  28925. "userinfotype": {
  28926. "description": "账户类型 1-个人 2-企业",
  28927. "type": "integer"
  28928. }
  28929. }
  28930. },
  28931. "models.QhjMgrBrokerApply": {
  28932. "type": "object",
  28933. "properties": {
  28934. "applicantid": {
  28935. "description": "申请人",
  28936. "type": "integer"
  28937. },
  28938. "applysrc": {
  28939. "description": "申请来源 - 1:管理端 2:终端",
  28940. "type": "integer"
  28941. },
  28942. "applystatus": {
  28943. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  28944. "type": "integer"
  28945. },
  28946. "applytime": {
  28947. "description": "申请时间",
  28948. "type": "string"
  28949. },
  28950. "auditorid": {
  28951. "description": "审核人",
  28952. "type": "integer"
  28953. },
  28954. "auditremark": {
  28955. "description": "审核备注",
  28956. "type": "string"
  28957. },
  28958. "auditsrc": {
  28959. "description": "审核来源 - 1:管理端 2:终端",
  28960. "type": "integer"
  28961. },
  28962. "audittime": {
  28963. "description": "审核时间",
  28964. "type": "string"
  28965. },
  28966. "audittradedate": {
  28967. "description": "审核交易日(yyyyMMdd)",
  28968. "type": "string"
  28969. },
  28970. "brokerapplyid": {
  28971. "description": "申请ID(SEQ_BROKERAPPLY)",
  28972. "type": "integer"
  28973. },
  28974. "cardbackphotourl": {
  28975. "description": "证件背面图片地址",
  28976. "type": "string"
  28977. },
  28978. "cardfrontphotourl": {
  28979. "description": "证件正面图片地址",
  28980. "type": "string"
  28981. },
  28982. "cardnum": {
  28983. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  28984. "type": "string"
  28985. },
  28986. "customername": {
  28987. "description": "姓名",
  28988. "type": "string"
  28989. },
  28990. "filterstatus": {
  28991. "description": "筛选条件",
  28992. "type": "string"
  28993. },
  28994. "logincode": {
  28995. "description": "登录代码",
  28996. "type": "string"
  28997. },
  28998. "mobile": {
  28999. "description": "手机号码",
  29000. "type": "string"
  29001. },
  29002. "parentuserid": {
  29003. "description": "所属机构id",
  29004. "type": "integer"
  29005. },
  29006. "parentusername": {
  29007. "description": "所属机构名称",
  29008. "type": "string"
  29009. },
  29010. "refereeuserid": {
  29011. "description": "推荐人id(经纪人)",
  29012. "type": "integer"
  29013. },
  29014. "refernum": {
  29015. "description": "推荐码",
  29016. "type": "string"
  29017. },
  29018. "remark": {
  29019. "description": "备注",
  29020. "type": "string"
  29021. },
  29022. "subarealevelpath": {
  29023. "description": "层级路径",
  29024. "type": "string"
  29025. },
  29026. "tradedate": {
  29027. "description": "交易日(yyyyMMdd)",
  29028. "type": "string"
  29029. },
  29030. "userid": {
  29031. "description": "申请人用户ID",
  29032. "type": "integer"
  29033. },
  29034. "userinfotype": {
  29035. "description": "用户类型 1-个人 2-企业",
  29036. "type": "integer"
  29037. },
  29038. "username": {
  29039. "description": "用户名称",
  29040. "type": "string"
  29041. }
  29042. }
  29043. },
  29044. "models.QhjMgrBrokerRewardReport": {
  29045. "type": "object",
  29046. "properties": {
  29047. "createtime": {
  29048. "description": "创建时间(注册时间)",
  29049. "type": "string"
  29050. },
  29051. "cycletime": {
  29052. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  29053. "type": "string"
  29054. },
  29055. "cycletype": {
  29056. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  29057. "type": "integer"
  29058. },
  29059. "directtotalnum": {
  29060. "description": "直推总人数【期末】",
  29061. "type": "integer"
  29062. },
  29063. "indirecttotalnum": {
  29064. "description": "间推总人数【期末】",
  29065. "type": "integer"
  29066. },
  29067. "mobile": {
  29068. "description": "电话号码",
  29069. "type": "string"
  29070. },
  29071. "refereeuserid": {
  29072. "description": "推荐人id(经纪人id)",
  29073. "type": "integer"
  29074. },
  29075. "refereeusername": {
  29076. "description": "推荐人名称(经纪人) 上级经纪人名称",
  29077. "type": "string"
  29078. },
  29079. "refernum": {
  29080. "description": "推荐码",
  29081. "type": "string"
  29082. },
  29083. "subarealevelpath": {
  29084. "description": "用户层级路径",
  29085. "type": "string"
  29086. },
  29087. "todayrewardamount": {
  29088. "description": "奖励总金额【汇总】",
  29089. "type": "number"
  29090. },
  29091. "updatetime": {
  29092. "description": "更新时间",
  29093. "type": "string"
  29094. },
  29095. "userid": {
  29096. "description": "经纪人用户ID",
  29097. "type": "integer"
  29098. },
  29099. "userinfotype": {
  29100. "description": "用户类型 1-个人 2-企业",
  29101. "type": "integer"
  29102. },
  29103. "username": {
  29104. "description": "用户名称",
  29105. "type": "string"
  29106. }
  29107. }
  29108. },
  29109. "models.QhjMgrContract": {
  29110. "type": "object",
  29111. "properties": {
  29112. "contractconfirmtime": {
  29113. "description": "合同确认时间(时间)",
  29114. "type": "string"
  29115. },
  29116. "currisklevel": {
  29117. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  29118. "type": "integer"
  29119. },
  29120. "decimalplace": {
  29121. "description": "商品报价小数位",
  29122. "type": "integer"
  29123. },
  29124. "enumdicname": {
  29125. "description": "单位名称",
  29126. "type": "string"
  29127. },
  29128. "goodscode": {
  29129. "description": "商品代码",
  29130. "type": "string"
  29131. },
  29132. "goodsid": {
  29133. "description": "商品ID [5:融资单]",
  29134. "type": "integer"
  29135. },
  29136. "goodsname": {
  29137. "description": "商品名称",
  29138. "type": "string"
  29139. },
  29140. "goodunitid": {
  29141. "description": "商品单位id",
  29142. "type": "integer"
  29143. },
  29144. "initmargin": {
  29145. "description": "初始保证金(首付款)",
  29146. "type": "number"
  29147. },
  29148. "lenderamount": {
  29149. "description": "贷款金额(总额|订单总额)",
  29150. "type": "number"
  29151. },
  29152. "logincode": {
  29153. "description": "账号(登录代码)",
  29154. "type": "string"
  29155. },
  29156. "marginratio": {
  29157. "description": "保证金比率(首付比例)",
  29158. "type": "number"
  29159. },
  29160. "mobile": {
  29161. "description": "电话号码(用户资料里的电话)",
  29162. "type": "string"
  29163. },
  29164. "payamount": {
  29165. "description": "已付(已付货款)",
  29166. "type": "number"
  29167. },
  29168. "reckonrecovermargin": {
  29169. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  29170. "type": "number"
  29171. },
  29172. "recoveredmargin": {
  29173. "description": "已追缴保证金",
  29174. "type": "number"
  29175. },
  29176. "remainamount": {
  29177. "description": "合同剩余金额(融资额)",
  29178. "type": "number"
  29179. },
  29180. "scfcontractid": {
  29181. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  29182. "type": "string"
  29183. },
  29184. "scfcontractstatus": {
  29185. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  29186. "type": "integer"
  29187. },
  29188. "scfcontracttype": {
  29189. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  29190. "type": "integer"
  29191. },
  29192. "totalinterest": {
  29193. "description": "已计总利息(利息)",
  29194. "type": "number"
  29195. },
  29196. "tradedate": {
  29197. "description": "交易日",
  29198. "type": "string"
  29199. },
  29200. "tradeprice": {
  29201. "description": "成交价格(成本价格)",
  29202. "type": "number"
  29203. },
  29204. "userid": {
  29205. "description": "用户ID",
  29206. "type": "integer"
  29207. },
  29208. "userinfotype": {
  29209. "description": "用户类型 1-个人 2-企业",
  29210. "type": "integer"
  29211. },
  29212. "username": {
  29213. "description": "用户名称",
  29214. "type": "string"
  29215. },
  29216. "wrqty": {
  29217. "description": "仓单数量(数量)",
  29218. "type": "number"
  29219. }
  29220. }
  29221. },
  29222. "models.QhjMgrCustomer": {
  29223. "type": "object",
  29224. "properties": {
  29225. "address": {
  29226. "description": "通讯地址",
  29227. "type": "string"
  29228. },
  29229. "attachment1": {
  29230. "description": "附件1",
  29231. "type": "string"
  29232. },
  29233. "audittime": {
  29234. "description": "审核时间",
  29235. "type": "string"
  29236. },
  29237. "birthday": {
  29238. "description": "生日",
  29239. "type": "string"
  29240. },
  29241. "brokerid": {
  29242. "description": "所属客户经理id",
  29243. "type": "integer"
  29244. },
  29245. "brokername": {
  29246. "description": "所属客户经理名称",
  29247. "type": "string"
  29248. },
  29249. "cardbackphotourl": {
  29250. "description": "证件反面图片地址",
  29251. "type": "string"
  29252. },
  29253. "cardfrontphotourl": {
  29254. "description": "证件正面图片地址",
  29255. "type": "string"
  29256. },
  29257. "cardnum": {
  29258. "description": "证件号码",
  29259. "type": "string"
  29260. },
  29261. "cardtype": {
  29262. "description": "证件类型",
  29263. "type": "integer"
  29264. },
  29265. "cardtypename": {
  29266. "description": "证件类型名称",
  29267. "type": "string"
  29268. },
  29269. "cityid": {
  29270. "description": "市",
  29271. "type": "integer"
  29272. },
  29273. "cityname": {
  29274. "description": "城市名称",
  29275. "type": "string"
  29276. },
  29277. "contactname": {
  29278. "description": "联系人",
  29279. "type": "string"
  29280. },
  29281. "countryid": {
  29282. "description": "国家",
  29283. "type": "integer"
  29284. },
  29285. "countryname": {
  29286. "description": "国家名称",
  29287. "type": "string"
  29288. },
  29289. "createtime": {
  29290. "description": "创建时间",
  29291. "type": "string"
  29292. },
  29293. "customername": {
  29294. "description": "客户名称",
  29295. "type": "string"
  29296. },
  29297. "districtid": {
  29298. "description": "区域",
  29299. "type": "integer"
  29300. },
  29301. "districtname": {
  29302. "description": "地区名称",
  29303. "type": "string"
  29304. },
  29305. "email": {
  29306. "description": "邮件",
  29307. "type": "string"
  29308. },
  29309. "legalpersonname": {
  29310. "description": "法人姓名(企业)",
  29311. "type": "string"
  29312. },
  29313. "logincode": {
  29314. "description": "登录账号(代码)",
  29315. "type": "string"
  29316. },
  29317. "memberuserid": {
  29318. "description": "所属机构ID(所属会员)",
  29319. "type": "integer"
  29320. },
  29321. "memberusername": {
  29322. "description": "所属会员名称",
  29323. "type": "string"
  29324. },
  29325. "mobile": {
  29326. "description": "手机号码",
  29327. "type": "string"
  29328. },
  29329. "modifytime": {
  29330. "description": "修改时间",
  29331. "type": "string"
  29332. },
  29333. "nickname": {
  29334. "description": "昵称",
  29335. "type": "string"
  29336. },
  29337. "parentuserid": {
  29338. "description": "上级机构(所属机构)",
  29339. "type": "integer"
  29340. },
  29341. "parentusername": {
  29342. "description": "所属机构名称",
  29343. "type": "string"
  29344. },
  29345. "provinceid": {
  29346. "description": "省",
  29347. "type": "integer"
  29348. },
  29349. "provincename": {
  29350. "description": "省名称",
  29351. "type": "string"
  29352. },
  29353. "proxystatementurl": {
  29354. "description": "授权委托书",
  29355. "type": "string"
  29356. },
  29357. "querytype": {
  29358. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  29359. "type": "integer"
  29360. },
  29361. "remark": {
  29362. "description": "备注",
  29363. "type": "string"
  29364. },
  29365. "sex": {
  29366. "description": "性别 0-女 1-男",
  29367. "type": "integer"
  29368. },
  29369. "status": {
  29370. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29371. "type": "integer"
  29372. },
  29373. "statusdesc": {
  29374. "description": "账户状态中文描述",
  29375. "type": "string"
  29376. },
  29377. "taxpayernum": {
  29378. "description": "纳税人识别号",
  29379. "type": "string"
  29380. },
  29381. "telphone": {
  29382. "description": "联系电话",
  29383. "type": "string"
  29384. },
  29385. "userid": {
  29386. "description": "用户ID",
  29387. "type": "integer"
  29388. },
  29389. "userinfotype": {
  29390. "description": "客户类型 1-个人 2-企业",
  29391. "type": "integer"
  29392. },
  29393. "username": {
  29394. "description": "用户名称",
  29395. "type": "string"
  29396. }
  29397. }
  29398. },
  29399. "models.QhjMgrPickGoods": {
  29400. "type": "object",
  29401. "properties": {
  29402. "enumdicname": {
  29403. "description": "单位名称(提货商品)",
  29404. "type": "string"
  29405. },
  29406. "goodsid": {
  29407. "description": "商品id",
  29408. "type": "integer"
  29409. },
  29410. "imageaddress": {
  29411. "description": "图片",
  29412. "type": "string"
  29413. },
  29414. "modifierid": {
  29415. "description": "修改人",
  29416. "type": "integer"
  29417. },
  29418. "modifiername": {
  29419. "description": "修改人名称",
  29420. "type": "string"
  29421. },
  29422. "modifysrc": {
  29423. "description": "修改来源 - 1:管理端 2:终端",
  29424. "type": "integer"
  29425. },
  29426. "pickupgoodsagreeunit": {
  29427. "description": "合约乘数",
  29428. "type": "number"
  29429. },
  29430. "pickupgoodsdesc": {
  29431. "description": "描述",
  29432. "type": "string"
  29433. },
  29434. "pickupgoodsid": {
  29435. "description": "提货商品ID",
  29436. "type": "string"
  29437. },
  29438. "pickupgoodsname": {
  29439. "description": "提货商品名称",
  29440. "type": "string"
  29441. },
  29442. "pickupgoodsstatus": {
  29443. "description": "状态 - 1:正常 2:停用 3:注销",
  29444. "type": "integer"
  29445. },
  29446. "pickupgoodsunitid": {
  29447. "description": "单位ID",
  29448. "type": "integer"
  29449. },
  29450. "pickupratio": {
  29451. "description": "提货系数",
  29452. "type": "number"
  29453. },
  29454. "preparedays": {
  29455. "description": "备货期(天)",
  29456. "type": "integer"
  29457. },
  29458. "remark": {
  29459. "description": "备注",
  29460. "type": "string"
  29461. },
  29462. "updatetime": {
  29463. "description": "更新时间",
  29464. "type": "string"
  29465. }
  29466. }
  29467. },
  29468. "models.QhjMgrPositionRsp": {
  29469. "type": "object",
  29470. "properties": {
  29471. "accountid": {
  29472. "description": "账号Id",
  29473. "type": "integer"
  29474. },
  29475. "accountname": {
  29476. "description": "用户名称",
  29477. "type": "string"
  29478. },
  29479. "agreeunit": {
  29480. "description": "合约乘数",
  29481. "type": "number"
  29482. },
  29483. "averageprice": {
  29484. "description": "均价",
  29485. "type": "number"
  29486. },
  29487. "avialqty": {
  29488. "description": "可用数量",
  29489. "type": "number"
  29490. },
  29491. "decimalplace": {
  29492. "description": "报价小数位",
  29493. "type": "integer"
  29494. },
  29495. "enumdicname": {
  29496. "description": "单位名称(商品)",
  29497. "type": "string"
  29498. },
  29499. "frozenqty": {
  29500. "description": "冻结数量",
  29501. "type": "number"
  29502. },
  29503. "goodscode": {
  29504. "description": "商品代码(内部)",
  29505. "type": "string"
  29506. },
  29507. "goodsid": {
  29508. "description": "商品Id",
  29509. "type": "integer"
  29510. },
  29511. "goodsname": {
  29512. "description": "商品名称",
  29513. "type": "string"
  29514. },
  29515. "goodunitid": {
  29516. "description": "报价单位ID",
  29517. "type": "integer"
  29518. },
  29519. "holderamount": {
  29520. "description": "金额",
  29521. "type": "number"
  29522. },
  29523. "holderqty": {
  29524. "description": "持有数量",
  29525. "type": "number"
  29526. },
  29527. "holdertype": {
  29528. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  29529. "type": "integer"
  29530. },
  29531. "logincode": {
  29532. "description": "登录代码(账户)",
  29533. "type": "string"
  29534. },
  29535. "marketid": {
  29536. "description": "市场id",
  29537. "type": "integer"
  29538. },
  29539. "qtydecimalplace": {
  29540. "description": "成交量小数位",
  29541. "type": "integer"
  29542. },
  29543. "trademode": {
  29544. "description": "交易模式",
  29545. "type": "integer"
  29546. },
  29547. "userid": {
  29548. "description": "用户id",
  29549. "type": "integer"
  29550. },
  29551. "userinfotype": {
  29552. "description": "账户类型 1-个人 2-企业",
  29553. "type": "integer"
  29554. }
  29555. }
  29556. },
  29557. "models.QhjMgrSubArea": {
  29558. "type": "object",
  29559. "properties": {
  29560. "accountname": {
  29561. "description": "账户名称(机构名称)",
  29562. "type": "string"
  29563. },
  29564. "memberuserid": {
  29565. "description": "所属会员ID",
  29566. "type": "integer"
  29567. },
  29568. "parenttopuser": {
  29569. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  29570. "type": "string"
  29571. },
  29572. "parentuserid": {
  29573. "description": "所属机构ID",
  29574. "type": "integer"
  29575. },
  29576. "rootuserid": {
  29577. "description": "根用户ID",
  29578. "type": "string"
  29579. },
  29580. "subaccountlevel": {
  29581. "description": "子账户层数",
  29582. "type": "integer"
  29583. },
  29584. "subarealevelpath": {
  29585. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  29586. "type": "string"
  29587. },
  29588. "userid": {
  29589. "description": "用户ID",
  29590. "type": "integer"
  29591. },
  29592. "usertype": {
  29593. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29594. "type": "integer"
  29595. }
  29596. }
  29597. },
  29598. "models.QhjMgrTradeDetailRsp": {
  29599. "type": "object",
  29600. "properties": {
  29601. "accountid": {
  29602. "description": "资金账号",
  29603. "type": "integer"
  29604. },
  29605. "accountname": {
  29606. "description": "用户名称",
  29607. "type": "string"
  29608. },
  29609. "agreeunit": {
  29610. "description": "合约乘数",
  29611. "type": "number"
  29612. },
  29613. "buyorsell": {
  29614. "description": "成交类型(方向) 0:买 1:卖",
  29615. "type": "integer"
  29616. },
  29617. "decimalplace": {
  29618. "description": "报价小数位",
  29619. "type": "integer"
  29620. },
  29621. "enumdicname": {
  29622. "description": "单位名称(商品)",
  29623. "type": "string"
  29624. },
  29625. "goodscode": {
  29626. "description": "商品代码(内部)",
  29627. "type": "string"
  29628. },
  29629. "goodsid": {
  29630. "description": "商品id",
  29631. "type": "integer"
  29632. },
  29633. "goodsname": {
  29634. "description": "商品名称",
  29635. "type": "string"
  29636. },
  29637. "goodunitid": {
  29638. "description": "报价单位ID",
  29639. "type": "integer"
  29640. },
  29641. "logincode": {
  29642. "description": "登录代码(账户)",
  29643. "type": "string"
  29644. },
  29645. "marketid": {
  29646. "description": "市场id",
  29647. "type": "integer"
  29648. },
  29649. "orderid": {
  29650. "description": "关联委托单号",
  29651. "type": "string"
  29652. },
  29653. "qtydecimalplace": {
  29654. "description": "成交量小数位",
  29655. "type": "integer"
  29656. },
  29657. "tradeamount": {
  29658. "description": "金额",
  29659. "type": "number"
  29660. },
  29661. "tradedate": {
  29662. "description": "交易日",
  29663. "type": "string"
  29664. },
  29665. "tradeid": {
  29666. "description": "成交单号",
  29667. "type": "string"
  29668. },
  29669. "trademode": {
  29670. "description": "交易模式",
  29671. "type": "integer"
  29672. },
  29673. "tradeprice": {
  29674. "description": "价格",
  29675. "type": "number"
  29676. },
  29677. "tradeqty": {
  29678. "description": "数量",
  29679. "type": "number"
  29680. },
  29681. "tradetime": {
  29682. "description": "成交时间",
  29683. "type": "string"
  29684. },
  29685. "userid": {
  29686. "description": "用户id",
  29687. "type": "integer"
  29688. },
  29689. "userinfotype": {
  29690. "description": "账户类型 1-个人 2-企业",
  29691. "type": "integer"
  29692. }
  29693. }
  29694. },
  29695. "models.QhjMgrTradeOrderDetailRsp": {
  29696. "type": "object",
  29697. "properties": {
  29698. "accountid": {
  29699. "description": "资金账号",
  29700. "type": "integer"
  29701. },
  29702. "accountname": {
  29703. "description": "用户名称",
  29704. "type": "string"
  29705. },
  29706. "agreeunit": {
  29707. "description": "合约乘数",
  29708. "type": "number"
  29709. },
  29710. "amount": {
  29711. "description": "金额",
  29712. "type": "number"
  29713. },
  29714. "decimalplace": {
  29715. "description": "报价小数位",
  29716. "type": "integer"
  29717. },
  29718. "enumdicname": {
  29719. "description": "单位名称(商品)",
  29720. "type": "string"
  29721. },
  29722. "goodscode": {
  29723. "description": "商品代码(内部)",
  29724. "type": "string"
  29725. },
  29726. "goodsid": {
  29727. "description": "商品id",
  29728. "type": "integer"
  29729. },
  29730. "goodsname": {
  29731. "description": "商品名称",
  29732. "type": "string"
  29733. },
  29734. "goodunitid": {
  29735. "description": "报价单位ID",
  29736. "type": "integer"
  29737. },
  29738. "logincode": {
  29739. "description": "登录代码(账户)",
  29740. "type": "string"
  29741. },
  29742. "marketid": {
  29743. "description": "市场id",
  29744. "type": "integer"
  29745. },
  29746. "orderid": {
  29747. "description": "关联委托单号",
  29748. "type": "string"
  29749. },
  29750. "orderprice": {
  29751. "description": "价格",
  29752. "type": "number"
  29753. },
  29754. "orderqty": {
  29755. "description": "数量",
  29756. "type": "number"
  29757. },
  29758. "orderstatus": {
  29759. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  29760. "type": "integer"
  29761. },
  29762. "ordertime": {
  29763. "description": "委托时间",
  29764. "type": "string"
  29765. },
  29766. "qtydecimalplace": {
  29767. "description": "成交量小数位",
  29768. "type": "integer"
  29769. },
  29770. "tradedate": {
  29771. "description": "交易日",
  29772. "type": "string"
  29773. },
  29774. "trademode": {
  29775. "description": "交易模式",
  29776. "type": "integer"
  29777. },
  29778. "userid": {
  29779. "description": "用户id",
  29780. "type": "integer"
  29781. },
  29782. "userinfotype": {
  29783. "description": "账户类型 1-个人 2-企业",
  29784. "type": "integer"
  29785. }
  29786. }
  29787. },
  29788. "models.QhjMgrTradePayOrder": {
  29789. "type": "object",
  29790. "properties": {
  29791. "accountname": {
  29792. "description": "用户名称",
  29793. "type": "string"
  29794. },
  29795. "advanceratio": {
  29796. "description": "首付比率",
  29797. "type": "number"
  29798. },
  29799. "agreeunit": {
  29800. "description": "合约乘数",
  29801. "type": "number"
  29802. },
  29803. "buyaccountid": {
  29804. "description": "买方账号ID[报价币种]",
  29805. "type": "integer"
  29806. },
  29807. "buyorderid": {
  29808. "description": "买方委托单号(关联单号)",
  29809. "type": "string"
  29810. },
  29811. "createtime": {
  29812. "description": "创建时间",
  29813. "type": "string"
  29814. },
  29815. "decimalplace": {
  29816. "description": "报价小数位",
  29817. "type": "integer"
  29818. },
  29819. "enumdicname": {
  29820. "description": "单位名称(商品)",
  29821. "type": "string"
  29822. },
  29823. "goodscode": {
  29824. "description": "商品代码(内部)",
  29825. "type": "string"
  29826. },
  29827. "goodsid": {
  29828. "description": "商品ID",
  29829. "type": "integer"
  29830. },
  29831. "goodsname": {
  29832. "description": "商品名称",
  29833. "type": "string"
  29834. },
  29835. "goodunitid": {
  29836. "description": "报价单位ID",
  29837. "type": "integer"
  29838. },
  29839. "logincode": {
  29840. "description": "登录代码(账户)",
  29841. "type": "string"
  29842. },
  29843. "marketid": {
  29844. "description": "市场id",
  29845. "type": "integer"
  29846. },
  29847. "offamount": {
  29848. "description": "优惠金额",
  29849. "type": "number"
  29850. },
  29851. "operatetype": {
  29852. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  29853. "type": "integer"
  29854. },
  29855. "payamount": {
  29856. "description": "支付金额(金额)",
  29857. "type": "number"
  29858. },
  29859. "payflag": {
  29860. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  29861. "type": "integer"
  29862. },
  29863. "paylimitedtime": {
  29864. "description": "支付期限",
  29865. "type": "string"
  29866. },
  29867. "paytime": {
  29868. "description": "付款时间",
  29869. "type": "string"
  29870. },
  29871. "qtydecimalplace": {
  29872. "description": "成交量小数位",
  29873. "type": "integer"
  29874. },
  29875. "sellaccountid": {
  29876. "description": "卖方账号ID[报价币种]",
  29877. "type": "integer"
  29878. },
  29879. "sellorderid": {
  29880. "description": "卖方委托单号",
  29881. "type": "string"
  29882. },
  29883. "tradeamount": {
  29884. "description": "成交金额(优惠后金额)",
  29885. "type": "number"
  29886. },
  29887. "tradecharge": {
  29888. "description": "成交手续费(买方)",
  29889. "type": "number"
  29890. },
  29891. "tradedate": {
  29892. "description": "交易日(yyyyMMdd)",
  29893. "type": "string"
  29894. },
  29895. "tradeid": {
  29896. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29897. "type": "string"
  29898. },
  29899. "trademode": {
  29900. "description": "交易模式",
  29901. "type": "integer"
  29902. },
  29903. "tradeprice": {
  29904. "description": "成交价格(价格)",
  29905. "type": "number"
  29906. },
  29907. "tradeqty": {
  29908. "description": "成交数量(数量)",
  29909. "type": "number"
  29910. },
  29911. "tradetime": {
  29912. "description": "成交时间",
  29913. "type": "string"
  29914. },
  29915. "userid": {
  29916. "description": "用户id",
  29917. "type": "integer"
  29918. },
  29919. "userinfotype": {
  29920. "description": "账户类型 1-个人 2-企业",
  29921. "type": "integer"
  29922. }
  29923. }
  29924. },
  29925. "models.QhjMyTeamEx": {
  29926. "type": "object",
  29927. "properties": {
  29928. "accountname": {
  29929. "description": "用户名称",
  29930. "type": "string"
  29931. },
  29932. "accountstatus": {
  29933. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29934. "type": "integer"
  29935. },
  29936. "createtime": {
  29937. "description": "创建时间",
  29938. "type": "string"
  29939. },
  29940. "mobile": {
  29941. "description": "手机号码",
  29942. "type": "string"
  29943. },
  29944. "refereeuserid": {
  29945. "description": "推荐人id",
  29946. "type": "integer"
  29947. },
  29948. "refernum": {
  29949. "description": "推荐码",
  29950. "type": "string"
  29951. },
  29952. "subList": {
  29953. "type": "array",
  29954. "items": {
  29955. "$ref": "#/definitions/models.QhjMyTeamEx"
  29956. }
  29957. },
  29958. "userid": {
  29959. "description": "用户id",
  29960. "type": "integer"
  29961. },
  29962. "userinfotype": {
  29963. "description": "用户类型 1-个人 2-企业",
  29964. "type": "integer"
  29965. }
  29966. }
  29967. },
  29968. "models.QhjNodeAgreementConfig": {
  29969. "type": "object",
  29970. "properties": {
  29971. "agreementcontent": {
  29972. "description": "协议内容",
  29973. "type": "string"
  29974. },
  29975. "agreementid": {
  29976. "description": "协议ID",
  29977. "type": "integer"
  29978. },
  29979. "agreementname": {
  29980. "description": "协议名称",
  29981. "type": "string"
  29982. },
  29983. "agreementno": {
  29984. "description": "协议编号",
  29985. "type": "string"
  29986. },
  29987. "agreementtype": {
  29988. "description": "协议类型 - 1:注册 2:登录 3:交易",
  29989. "type": "integer"
  29990. },
  29991. "agreementversion": {
  29992. "description": "协议版本号",
  29993. "type": "integer"
  29994. },
  29995. "configid": {
  29996. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  29997. "type": "integer"
  29998. },
  29999. "createtime": {
  30000. "description": "创建时间",
  30001. "type": "string"
  30002. },
  30003. "goodsid": {
  30004. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  30005. "type": "integer"
  30006. },
  30007. "nodetype": {
  30008. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  30009. "type": "integer"
  30010. }
  30011. }
  30012. },
  30013. "models.QhjParentAreaList": {
  30014. "type": "object",
  30015. "properties": {
  30016. "accountname": {
  30017. "description": "账户名称(机构名称)",
  30018. "type": "string"
  30019. },
  30020. "userid": {
  30021. "description": "用户ID",
  30022. "type": "integer"
  30023. },
  30024. "usertype": {
  30025. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30026. "type": "integer"
  30027. }
  30028. }
  30029. },
  30030. "models.QhjPayOrder": {
  30031. "type": "object",
  30032. "properties": {
  30033. "advanceratio": {
  30034. "description": "首付比率",
  30035. "type": "number"
  30036. },
  30037. "buyaccountid": {
  30038. "description": "买方账号ID[报价币种]",
  30039. "type": "integer"
  30040. },
  30041. "buyorderid": {
  30042. "description": "买方委托单号",
  30043. "type": "string"
  30044. },
  30045. "createtime": {
  30046. "description": "创建时间",
  30047. "type": "string"
  30048. },
  30049. "decimalplace": {
  30050. "description": "商品报价小数位",
  30051. "type": "integer"
  30052. },
  30053. "enumdicname": {
  30054. "description": "单位名称",
  30055. "type": "string"
  30056. },
  30057. "goodscode": {
  30058. "description": "商品代码",
  30059. "type": "string"
  30060. },
  30061. "goodsid": {
  30062. "description": "商品ID",
  30063. "type": "integer"
  30064. },
  30065. "goodsname": {
  30066. "description": "商品名称",
  30067. "type": "string"
  30068. },
  30069. "goodunitid": {
  30070. "description": "商品单位id",
  30071. "type": "integer"
  30072. },
  30073. "marketid": {
  30074. "description": "市场ID",
  30075. "type": "integer"
  30076. },
  30077. "offamount": {
  30078. "description": "优惠金额",
  30079. "type": "number"
  30080. },
  30081. "operatetype": {
  30082. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30083. "type": "integer"
  30084. },
  30085. "payamount": {
  30086. "description": "支付金额",
  30087. "type": "number"
  30088. },
  30089. "payflag": {
  30090. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30091. "type": "integer"
  30092. },
  30093. "paylimitedtime": {
  30094. "description": "支付期限",
  30095. "type": "string"
  30096. },
  30097. "paytime": {
  30098. "description": "付款时间",
  30099. "type": "string"
  30100. },
  30101. "qtydecimalplace": {
  30102. "description": "成交量小数位",
  30103. "type": "integer"
  30104. },
  30105. "sellaccountid": {
  30106. "description": "卖方账号ID[报价币种]",
  30107. "type": "integer"
  30108. },
  30109. "sellorderid": {
  30110. "description": "卖方委托单号",
  30111. "type": "string"
  30112. },
  30113. "tradeamount": {
  30114. "description": "成交金额(优惠后金额)",
  30115. "type": "number"
  30116. },
  30117. "tradecharge": {
  30118. "description": "成交手续费(买方)",
  30119. "type": "number"
  30120. },
  30121. "tradedate": {
  30122. "description": "交易日(yyyyMMdd)",
  30123. "type": "string"
  30124. },
  30125. "tradeid": {
  30126. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30127. "type": "string"
  30128. },
  30129. "tradeprice": {
  30130. "description": "成交价格",
  30131. "type": "number"
  30132. },
  30133. "tradeqty": {
  30134. "description": "成交数量",
  30135. "type": "number"
  30136. }
  30137. }
  30138. },
  30139. "models.QhjPickArea": {
  30140. "type": "object",
  30141. "properties": {
  30142. "address": {
  30143. "description": "详细地址",
  30144. "type": "string"
  30145. },
  30146. "cityid": {
  30147. "description": "市",
  30148. "type": "integer"
  30149. },
  30150. "cityname": {
  30151. "description": "城市名称",
  30152. "type": "string"
  30153. },
  30154. "countryid": {
  30155. "description": "国家",
  30156. "type": "integer"
  30157. },
  30158. "countryname": {
  30159. "description": "国家名称",
  30160. "type": "string"
  30161. },
  30162. "districtid": {
  30163. "description": "地区",
  30164. "type": "integer"
  30165. },
  30166. "districtname": {
  30167. "description": "地区名称",
  30168. "type": "string"
  30169. },
  30170. "fromuserid": {
  30171. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  30172. "type": "integer"
  30173. },
  30174. "fromusername": {
  30175. "description": "所属机构名称",
  30176. "type": "string"
  30177. },
  30178. "provinceid": {
  30179. "description": "省",
  30180. "type": "integer"
  30181. },
  30182. "provincename": {
  30183. "description": "省名称",
  30184. "type": "string"
  30185. },
  30186. "suborgtype": {
  30187. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  30188. "type": "integer"
  30189. },
  30190. "userid": {
  30191. "description": "机构用户ID 其他做市关系,都设置为 1",
  30192. "type": "integer"
  30193. },
  30194. "username": {
  30195. "description": "机构用户名称(门店门称)",
  30196. "type": "string"
  30197. }
  30198. }
  30199. },
  30200. "models.QhjPickGoods": {
  30201. "type": "object",
  30202. "properties": {
  30203. "enumdicname": {
  30204. "description": "单位名称(提货商品)",
  30205. "type": "string"
  30206. },
  30207. "goodsid": {
  30208. "description": "商品id",
  30209. "type": "integer"
  30210. },
  30211. "imageaddress": {
  30212. "description": "图片",
  30213. "type": "string"
  30214. },
  30215. "modifierid": {
  30216. "description": "修改人",
  30217. "type": "integer"
  30218. },
  30219. "modifiername": {
  30220. "description": "修改人名称",
  30221. "type": "string"
  30222. },
  30223. "modifysrc": {
  30224. "description": "修改来源 - 1:管理端 2:终端",
  30225. "type": "integer"
  30226. },
  30227. "pickupgoodsagreeunit": {
  30228. "description": "合约乘数",
  30229. "type": "number"
  30230. },
  30231. "pickupgoodsdesc": {
  30232. "description": "描述",
  30233. "type": "string"
  30234. },
  30235. "pickupgoodsid": {
  30236. "description": "提货商品ID",
  30237. "type": "string"
  30238. },
  30239. "pickupgoodsname": {
  30240. "description": "提货商品名称",
  30241. "type": "string"
  30242. },
  30243. "pickupgoodsstatus": {
  30244. "description": "状态 - 1:正常 2:停用 3:注销",
  30245. "type": "integer"
  30246. },
  30247. "pickupgoodsunitid": {
  30248. "description": "单位ID",
  30249. "type": "integer"
  30250. },
  30251. "pickupratio": {
  30252. "description": "提货系数",
  30253. "type": "number"
  30254. },
  30255. "preparedays": {
  30256. "description": "备货期(天)",
  30257. "type": "integer"
  30258. },
  30259. "remark": {
  30260. "description": "备注",
  30261. "type": "string"
  30262. },
  30263. "updatetime": {
  30264. "description": "更新时间",
  30265. "type": "string"
  30266. }
  30267. }
  30268. },
  30269. "models.QhjRSTriggerLog": {
  30270. "type": "object",
  30271. "properties": {
  30272. "accountid": {
  30273. "description": "用户资金账户",
  30274. "type": "integer"
  30275. },
  30276. "accountname": {
  30277. "description": "账号名称(ACCOUNTID对应的名称)",
  30278. "type": "string"
  30279. },
  30280. "currencyid": {
  30281. "description": "币种id",
  30282. "type": "integer"
  30283. },
  30284. "currencyname": {
  30285. "description": "币种名称",
  30286. "type": "string"
  30287. },
  30288. "decimalplace": {
  30289. "description": "商品报价小数位",
  30290. "type": "integer"
  30291. },
  30292. "enumdicname": {
  30293. "description": "单位名称",
  30294. "type": "string"
  30295. },
  30296. "goodscode": {
  30297. "description": "定投商品代码",
  30298. "type": "string"
  30299. },
  30300. "goodsid": {
  30301. "description": "定投商品ID",
  30302. "type": "integer"
  30303. },
  30304. "goodsname": {
  30305. "description": "定投商品名称",
  30306. "type": "string"
  30307. },
  30308. "goodunitid": {
  30309. "description": "定投商品单位id",
  30310. "type": "integer"
  30311. },
  30312. "logid": {
  30313. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  30314. "type": "string"
  30315. },
  30316. "logincode": {
  30317. "description": "账号(登录代码)",
  30318. "type": "string"
  30319. },
  30320. "qtydecimalplace": {
  30321. "description": "成交量小数位",
  30322. "type": "integer"
  30323. },
  30324. "regularlycycle": {
  30325. "description": "定投频率 - 1:每周 2:每月",
  30326. "type": "integer"
  30327. },
  30328. "regularlycyclevalue": {
  30329. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30330. "type": "string"
  30331. },
  30332. "regularlymode": {
  30333. "description": "定投方式 - 1:按数量 2:按金额",
  30334. "type": "integer"
  30335. },
  30336. "regularlymodevalue": {
  30337. "description": "定投方式值 - 数量或金额",
  30338. "type": "number"
  30339. },
  30340. "regularlystrategyid": {
  30341. "description": "定投策略ID",
  30342. "type": "integer"
  30343. },
  30344. "retcode": {
  30345. "description": "错误码",
  30346. "type": "string"
  30347. },
  30348. "tradeid": {
  30349. "description": "成交单ID",
  30350. "type": "string"
  30351. },
  30352. "triggeramount": {
  30353. "description": "触发金额",
  30354. "type": "number"
  30355. },
  30356. "triggerqty": {
  30357. "description": "触发数量",
  30358. "type": "number"
  30359. },
  30360. "triggerstatus": {
  30361. "description": "触发状态 - 1:成功 2:失败",
  30362. "type": "integer"
  30363. },
  30364. "triggertime": {
  30365. "description": "触发时间",
  30366. "type": "string"
  30367. },
  30368. "triggertradedate": {
  30369. "description": "触发交易日",
  30370. "type": "string"
  30371. },
  30372. "userid": {
  30373. "description": "所属用户ID",
  30374. "type": "integer"
  30375. },
  30376. "userinfotype": {
  30377. "description": "用户类型 1-个人 2-企业",
  30378. "type": "integer"
  30379. },
  30380. "username": {
  30381. "description": "用户名称(userid对应的名称)",
  30382. "type": "string"
  30383. }
  30384. }
  30385. },
  30386. "models.QhjRStrategy": {
  30387. "type": "object",
  30388. "properties": {
  30389. "accountid": {
  30390. "description": "用户资金账户",
  30391. "type": "integer"
  30392. },
  30393. "accountname": {
  30394. "description": "账号名称(ACCOUNTID对应的名称)",
  30395. "type": "string"
  30396. },
  30397. "currencyid": {
  30398. "description": "币种id",
  30399. "type": "integer"
  30400. },
  30401. "currencyname": {
  30402. "description": "币种名称",
  30403. "type": "string"
  30404. },
  30405. "decimalplace": {
  30406. "description": "商品报价小数位",
  30407. "type": "integer"
  30408. },
  30409. "enumdicname": {
  30410. "description": "单位名称",
  30411. "type": "string"
  30412. },
  30413. "goodscode": {
  30414. "description": "定投商品代码",
  30415. "type": "string"
  30416. },
  30417. "goodsid": {
  30418. "description": "定投商品ID",
  30419. "type": "integer"
  30420. },
  30421. "goodsname": {
  30422. "description": "定投商品名称",
  30423. "type": "string"
  30424. },
  30425. "goodunitid": {
  30426. "description": "定投商品单位id",
  30427. "type": "integer"
  30428. },
  30429. "lasteffecttradedate": {
  30430. "description": "最新生效交易日",
  30431. "type": "string"
  30432. },
  30433. "laststoptradedate": {
  30434. "description": "最新暂停交易日",
  30435. "type": "string"
  30436. },
  30437. "lasttriggertradedate": {
  30438. "description": "最新触发交易日",
  30439. "type": "string"
  30440. },
  30441. "logincode": {
  30442. "description": "账号(登录代码)",
  30443. "type": "string"
  30444. },
  30445. "nexttriggeramount": {
  30446. "description": "下次触发金额",
  30447. "type": "number"
  30448. },
  30449. "nexttriggerdate": {
  30450. "description": "下次触发日期",
  30451. "type": "string"
  30452. },
  30453. "nexttriggerqty": {
  30454. "description": "下次触发数量 [按小数位放大值]",
  30455. "type": "number"
  30456. },
  30457. "qtydecimalplace": {
  30458. "description": "成交量小数位",
  30459. "type": "integer"
  30460. },
  30461. "regularlycycle": {
  30462. "description": "定投频率 - 1:每周 2:每月",
  30463. "type": "integer"
  30464. },
  30465. "regularlycyclevalue": {
  30466. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30467. "type": "string"
  30468. },
  30469. "regularlymode": {
  30470. "description": "定投方式 - 1:按数量 2:按金额",
  30471. "type": "integer"
  30472. },
  30473. "regularlymodevalue": {
  30474. "description": "定投方式值 - 数量或金额",
  30475. "type": "number"
  30476. },
  30477. "regularlystrategyid": {
  30478. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  30479. "type": "integer"
  30480. },
  30481. "regularlystrategystatus": {
  30482. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  30483. "type": "integer"
  30484. },
  30485. "remark": {
  30486. "description": "备注",
  30487. "type": "string"
  30488. },
  30489. "triggersuccesstimes": {
  30490. "description": "累计定投成功次数",
  30491. "type": "string"
  30492. },
  30493. "triggertotalamount": {
  30494. "description": "累计定投金额(成功)",
  30495. "type": "number"
  30496. },
  30497. "triggertotalqty": {
  30498. "description": "累计定投数量(成功) [按小数位放大值]",
  30499. "type": "number"
  30500. },
  30501. "triggertotaltimes": {
  30502. "description": "累计定投总次数",
  30503. "type": "string"
  30504. },
  30505. "updatesrc": {
  30506. "description": "更新来源 - 1:管理端 2:终端",
  30507. "type": "integer"
  30508. },
  30509. "updatetime": {
  30510. "description": "更新时间",
  30511. "type": "string"
  30512. },
  30513. "updatorid": {
  30514. "description": "更新人",
  30515. "type": "string"
  30516. },
  30517. "userid": {
  30518. "description": "所属用户ID",
  30519. "type": "integer"
  30520. },
  30521. "userinfotype": {
  30522. "description": "用户类型 1-个人 2-企业",
  30523. "type": "integer"
  30524. },
  30525. "username": {
  30526. "description": "用户名称(userid对应的名称)",
  30527. "type": "string"
  30528. }
  30529. }
  30530. },
  30531. "models.QhjReckonPriceLog": {
  30532. "type": "object",
  30533. "properties": {
  30534. "decimalplace": {
  30535. "description": "商品报价小数位",
  30536. "type": "integer"
  30537. },
  30538. "goodscode": {
  30539. "description": "商品代码",
  30540. "type": "string"
  30541. },
  30542. "goodsid": {
  30543. "description": "商品ID",
  30544. "type": "integer"
  30545. },
  30546. "goodsname": {
  30547. "description": "商品名称",
  30548. "type": "string"
  30549. },
  30550. "lastreckonprice": {
  30551. "description": "上日结算价",
  30552. "type": "number"
  30553. },
  30554. "nextdnlimitprice": {
  30555. "description": "下个交易日跌停价",
  30556. "type": "number"
  30557. },
  30558. "nexttrade": {
  30559. "description": "下个交易日",
  30560. "type": "string"
  30561. },
  30562. "nextuplimitprice": {
  30563. "description": "下个交易日涨停价",
  30564. "type": "number"
  30565. },
  30566. "reckonprice": {
  30567. "description": "今日结算价(定投价)",
  30568. "type": "number"
  30569. },
  30570. "reckontime": {
  30571. "description": "结算时间",
  30572. "type": "string"
  30573. },
  30574. "totalholderqty": {
  30575. "description": "总持仓数",
  30576. "type": "integer"
  30577. },
  30578. "totalstock": {
  30579. "description": "总库存",
  30580. "type": "integer"
  30581. },
  30582. "tradedate": {
  30583. "description": "交易日",
  30584. "type": "string"
  30585. },
  30586. "updowncount": {
  30587. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  30588. "type": "integer"
  30589. },
  30590. "updownflag": {
  30591. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  30592. "type": "integer"
  30593. },
  30594. "updownrate": {
  30595. "description": "今日涨跌幅",
  30596. "type": "number"
  30597. },
  30598. "updownrate_2d": {
  30599. "description": "连续两日涨跌幅",
  30600. "type": "number"
  30601. },
  30602. "updownrate_3d": {
  30603. "description": "连续三日涨跌幅",
  30604. "type": "number"
  30605. }
  30606. }
  30607. },
  30608. "models.QhjScoreLog": {
  30609. "type": "object",
  30610. "properties": {
  30611. "accountid": {
  30612. "description": "账户ID",
  30613. "type": "integer"
  30614. },
  30615. "createtime": {
  30616. "description": "创建时间(时间)",
  30617. "type": "string"
  30618. },
  30619. "goodsid": {
  30620. "description": "商品ID",
  30621. "type": "integer"
  30622. },
  30623. "hasuploaded": {
  30624. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  30625. "type": "integer"
  30626. },
  30627. "logid": {
  30628. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30629. "type": "string"
  30630. },
  30631. "marketid": {
  30632. "description": "市场ID",
  30633. "type": "integer"
  30634. },
  30635. "relatedamount": {
  30636. "description": "关联金额",
  30637. "type": "number"
  30638. },
  30639. "relatedorderid": {
  30640. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  30641. "type": "string"
  30642. },
  30643. "scoreconfigvalue1": {
  30644. "description": "积分配置1",
  30645. "type": "integer"
  30646. },
  30647. "scoreconfigvalue2": {
  30648. "description": "积分配置1",
  30649. "type": "integer"
  30650. },
  30651. "scoretype": {
  30652. "description": "积分类型 - 1:提货积分",
  30653. "type": "integer"
  30654. },
  30655. "scorevalue": {
  30656. "description": "积分",
  30657. "type": "number"
  30658. },
  30659. "tradedate": {
  30660. "description": "交易日(yyyyMMdd)",
  30661. "type": "string"
  30662. },
  30663. "uploadedtime": {
  30664. "description": "同步时间",
  30665. "type": "string"
  30666. },
  30667. "userid": {
  30668. "description": "用户ID",
  30669. "type": "integer"
  30670. }
  30671. }
  30672. },
  30673. "models.QhjSiteColumnDetail": {
  30674. "type": "object",
  30675. "properties": {
  30676. "author": {
  30677. "description": "作者",
  30678. "type": "string"
  30679. },
  30680. "brief": {
  30681. "description": "简介",
  30682. "type": "string"
  30683. },
  30684. "columnid": {
  30685. "description": "所属栏目",
  30686. "type": "integer"
  30687. },
  30688. "context": {
  30689. "description": "内容",
  30690. "type": "string"
  30691. },
  30692. "coverimage": {
  30693. "description": "封面图片",
  30694. "type": "string"
  30695. },
  30696. "creaedate": {
  30697. "description": "创建时间",
  30698. "type": "string"
  30699. },
  30700. "creatorid": {
  30701. "description": "创建人",
  30702. "type": "integer"
  30703. },
  30704. "hits": {
  30705. "description": "点击数",
  30706. "type": "integer"
  30707. },
  30708. "id": {
  30709. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  30710. "type": "integer"
  30711. },
  30712. "isshow": {
  30713. "description": "是否展示 - 0:不展示 1:展示",
  30714. "type": "integer"
  30715. },
  30716. "istop": {
  30717. "description": "是否置顶 - 0:不置 1:置顶",
  30718. "type": "integer"
  30719. },
  30720. "modifierid": {
  30721. "description": "操作人",
  30722. "type": "integer"
  30723. },
  30724. "publishdate": {
  30725. "description": "发布日期",
  30726. "type": "string"
  30727. },
  30728. "status": {
  30729. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  30730. "type": "integer"
  30731. },
  30732. "title": {
  30733. "description": "标题",
  30734. "type": "string"
  30735. },
  30736. "updatedate": {
  30737. "description": "修改时间",
  30738. "type": "string"
  30739. },
  30740. "userid": {
  30741. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  30742. "type": "integer"
  30743. },
  30744. "username": {
  30745. "description": "用户名称",
  30746. "type": "string"
  30747. }
  30748. }
  30749. },
  30750. "models.QhjTeamOrder": {
  30751. "type": "object",
  30752. "properties": {
  30753. "accountid": {
  30754. "description": "账户ID[报价币种]",
  30755. "type": "integer"
  30756. },
  30757. "accountname": {
  30758. "description": "账户名称",
  30759. "type": "string"
  30760. },
  30761. "agreeunit": {
  30762. "description": "合约乘数",
  30763. "type": "number"
  30764. },
  30765. "buyorsell": {
  30766. "description": "方向 - 0:买 1:卖",
  30767. "type": "integer"
  30768. },
  30769. "decimalplace": {
  30770. "description": "报价小数位",
  30771. "type": "integer"
  30772. },
  30773. "enumdicname": {
  30774. "description": "单位名称",
  30775. "type": "string"
  30776. },
  30777. "goodscode": {
  30778. "description": "商品代码(内部)",
  30779. "type": "string"
  30780. },
  30781. "goodsid": {
  30782. "description": "商品ID",
  30783. "type": "integer"
  30784. },
  30785. "goodsname": {
  30786. "description": "商品名称",
  30787. "type": "string"
  30788. },
  30789. "goodunitid": {
  30790. "description": "报价单位ID",
  30791. "type": "integer"
  30792. },
  30793. "marketid": {
  30794. "description": "市场ID",
  30795. "type": "integer"
  30796. },
  30797. "marketname": {
  30798. "description": "市场名称",
  30799. "type": "string"
  30800. },
  30801. "qtydecimalplace": {
  30802. "description": "成交量小数位",
  30803. "type": "integer"
  30804. },
  30805. "refereeuserid": {
  30806. "description": "推荐人ID",
  30807. "type": "integer"
  30808. },
  30809. "tradeamount": {
  30810. "description": "成交金额[账户币种,用于所有权]",
  30811. "type": "number"
  30812. },
  30813. "tradedate": {
  30814. "description": "交易日(yyyyMMdd)",
  30815. "type": "string"
  30816. },
  30817. "trademode": {
  30818. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30819. "type": "integer"
  30820. },
  30821. "tradeprice": {
  30822. "description": "成交价格",
  30823. "type": "number"
  30824. },
  30825. "tradeqty": {
  30826. "description": "成交数量",
  30827. "type": "number"
  30828. },
  30829. "tradetime": {
  30830. "description": "成交时间",
  30831. "type": "string"
  30832. },
  30833. "userid": {
  30834. "description": "用户ID",
  30835. "type": "integer"
  30836. }
  30837. }
  30838. },
  30839. "models.QhjTradeGoodsPickup": {
  30840. "type": "object",
  30841. "properties": {
  30842. "accountid": {
  30843. "description": "账户ID",
  30844. "type": "integer"
  30845. },
  30846. "address": {
  30847. "description": "提货人详细地址",
  30848. "type": "string"
  30849. },
  30850. "amount": {
  30851. "description": "提货金额",
  30852. "type": "number"
  30853. },
  30854. "artradedate": {
  30855. "description": "自动收货交易日(yyyyMMdd)",
  30856. "type": "string"
  30857. },
  30858. "auditer": {
  30859. "description": "审核人",
  30860. "type": "integer"
  30861. },
  30862. "auditsrc": {
  30863. "description": "更新来源 - 1:管理端 2:终端",
  30864. "type": "integer"
  30865. },
  30866. "audittime": {
  30867. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  30868. "type": "string"
  30869. },
  30870. "audittradedate": {
  30871. "description": "审核交易日(yyyyMMdd)",
  30872. "type": "string"
  30873. },
  30874. "cardnum": {
  30875. "description": "提货人证件号码",
  30876. "type": "string"
  30877. },
  30878. "cardtypeid": {
  30879. "description": "提货人证件类型",
  30880. "type": "integer"
  30881. },
  30882. "checkremark": {
  30883. "description": "审核备注",
  30884. "type": "string"
  30885. },
  30886. "cityid": {
  30887. "description": "市",
  30888. "type": "integer"
  30889. },
  30890. "cityname": {
  30891. "description": "城市名称",
  30892. "type": "string"
  30893. },
  30894. "confirmtime": {
  30895. "description": "取货时间 或 收货时间",
  30896. "type": "string"
  30897. },
  30898. "countryid": {
  30899. "description": "国家",
  30900. "type": "integer"
  30901. },
  30902. "countryname": {
  30903. "description": "国家名称",
  30904. "type": "string"
  30905. },
  30906. "decimalplace": {
  30907. "description": "商品报价小数位",
  30908. "type": "integer"
  30909. },
  30910. "districtid": {
  30911. "description": "地区",
  30912. "type": "integer"
  30913. },
  30914. "districtname": {
  30915. "description": "地区名称",
  30916. "type": "string"
  30917. },
  30918. "enumdicname": {
  30919. "description": "单位名称(提货商品)",
  30920. "type": "string"
  30921. },
  30922. "expresscompany": {
  30923. "description": "物流公司",
  30924. "type": "string"
  30925. },
  30926. "expressnum": {
  30927. "description": "物流单号",
  30928. "type": "string"
  30929. },
  30930. "goodsagreeunit": {
  30931. "description": "交易商品乘数",
  30932. "type": "number"
  30933. },
  30934. "goodscode": {
  30935. "description": "商品代码",
  30936. "type": "string"
  30937. },
  30938. "goodsid": {
  30939. "description": "商品ID",
  30940. "type": "integer"
  30941. },
  30942. "goodsname": {
  30943. "description": "商品名称",
  30944. "type": "string"
  30945. },
  30946. "goodsqty": {
  30947. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  30948. "type": "number"
  30949. },
  30950. "handlestatus": {
  30951. "description": "处理状态",
  30952. "type": "integer"
  30953. },
  30954. "logincode": {
  30955. "description": "账号(登录代码, 有可能为空)",
  30956. "type": "string"
  30957. },
  30958. "marketid": {
  30959. "description": "市场ID",
  30960. "type": "integer"
  30961. },
  30962. "phonenum": {
  30963. "description": "提货人联系方式",
  30964. "type": "string"
  30965. },
  30966. "pickupgoodsagreeunit": {
  30967. "description": "提货商品合约乘数",
  30968. "type": "number"
  30969. },
  30970. "pickupgoodsid": {
  30971. "description": "提货商品ID",
  30972. "type": "string"
  30973. },
  30974. "pickupgoodsname": {
  30975. "description": "提货商品名称",
  30976. "type": "string"
  30977. },
  30978. "pickupgoodsqty": {
  30979. "description": "提货商品手数(数量)",
  30980. "type": "number"
  30981. },
  30982. "pickupgoodsunitid": {
  30983. "description": "单位ID(提货商品)",
  30984. "type": "integer"
  30985. },
  30986. "pickupratio": {
  30987. "description": "提货系数",
  30988. "type": "number"
  30989. },
  30990. "preparedays": {
  30991. "description": "备货期(天)-提货单明细表",
  30992. "type": "integer"
  30993. },
  30994. "provinceid": {
  30995. "description": "省",
  30996. "type": "integer"
  30997. },
  30998. "provincename": {
  30999. "description": "省名称",
  31000. "type": "string"
  31001. },
  31002. "qty": {
  31003. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  31004. "type": "number"
  31005. },
  31006. "qtydecimalplace": {
  31007. "description": "商品数量小数位",
  31008. "type": "integer"
  31009. },
  31010. "recivername": {
  31011. "description": "提货人姓名",
  31012. "type": "string"
  31013. },
  31014. "reqtime": {
  31015. "description": "提货申请时间",
  31016. "type": "string"
  31017. },
  31018. "storeuserid": {
  31019. "description": "门店用户ID (千海金)",
  31020. "type": "integer"
  31021. },
  31022. "storeusername": {
  31023. "description": "门店用户名称",
  31024. "type": "string"
  31025. },
  31026. "takemode": {
  31027. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  31028. "type": "integer"
  31029. },
  31030. "takeorderid": {
  31031. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  31032. "type": "string"
  31033. },
  31034. "takeorderstatus": {
  31035. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  31036. "type": "integer"
  31037. },
  31038. "takeremark": {
  31039. "description": "提货备注",
  31040. "type": "string"
  31041. },
  31042. "tradedate": {
  31043. "description": "交易日(yyyyMMdd)",
  31044. "type": "string"
  31045. },
  31046. "updatetime": {
  31047. "description": "更新时间",
  31048. "type": "string"
  31049. },
  31050. "userid": {
  31051. "description": "用户ID",
  31052. "type": "integer"
  31053. },
  31054. "userinfotype": {
  31055. "description": "客户类型 1-个人 2-企业",
  31056. "type": "integer"
  31057. },
  31058. "username": {
  31059. "description": "用户名称",
  31060. "type": "string"
  31061. }
  31062. }
  31063. },
  31064. "models.QhjUserNodeCfgAndStatus": {
  31065. "type": "object",
  31066. "properties": {
  31067. "agreementcontent": {
  31068. "description": "协议内容",
  31069. "type": "string"
  31070. },
  31071. "agreementid": {
  31072. "description": "协议ID",
  31073. "type": "integer"
  31074. },
  31075. "agreementname": {
  31076. "description": "协议名称",
  31077. "type": "string"
  31078. },
  31079. "agreementno": {
  31080. "description": "协议编号",
  31081. "type": "string"
  31082. },
  31083. "agreementtype": {
  31084. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31085. "type": "integer"
  31086. },
  31087. "agreementversion": {
  31088. "description": "协议版本号",
  31089. "type": "integer"
  31090. },
  31091. "configid": {
  31092. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  31093. "type": "integer"
  31094. },
  31095. "createtime": {
  31096. "description": "创建时间",
  31097. "type": "string"
  31098. },
  31099. "goodsid": {
  31100. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  31101. "type": "integer"
  31102. },
  31103. "nodetype": {
  31104. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  31105. "type": "integer"
  31106. },
  31107. "signtimestamp": {
  31108. "description": "签约状态时间戳(最近一次)",
  31109. "type": "string"
  31110. },
  31111. "tradedate": {
  31112. "description": "签约交易日(yyyyMMdd)",
  31113. "type": "string"
  31114. },
  31115. "userid": {
  31116. "description": "客户ID",
  31117. "type": "integer"
  31118. }
  31119. }
  31120. },
  31121. "models.Qhjgoodsex": {
  31122. "type": "object",
  31123. "properties": {
  31124. "canfinance": {
  31125. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  31126. "type": "integer"
  31127. },
  31128. "canregularlybuy": {
  31129. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  31130. "type": "integer"
  31131. },
  31132. "defaulttradeuserid": {
  31133. "description": "默认交易用户ID",
  31134. "type": "integer"
  31135. },
  31136. "deliverygoodsid": {
  31137. "description": "现货品种ID",
  31138. "type": "integer"
  31139. },
  31140. "goodsid": {
  31141. "description": "商品ID(自增ID SEQ_GOODS)",
  31142. "type": "integer"
  31143. },
  31144. "minamount": {
  31145. "description": "最小购买金额",
  31146. "type": "number"
  31147. },
  31148. "regularlybuyminamount": {
  31149. "description": "定投最小金额",
  31150. "type": "number"
  31151. },
  31152. "regularlybuyminqty": {
  31153. "description": "定投最小数量",
  31154. "type": "number"
  31155. },
  31156. "spotgoodsbrandid": {
  31157. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  31158. "type": "integer"
  31159. },
  31160. "visibilityforenterprise": {
  31161. "description": "企业客户是否可见 - 0:不可见 1:可见",
  31162. "type": "integer"
  31163. },
  31164. "visibilityforpersonal": {
  31165. "description": "个人客户是否可见 - 0:不可见 1:可见",
  31166. "type": "integer"
  31167. },
  31168. "wrstandardid": {
  31169. "description": "现货商品ID",
  31170. "type": "integer"
  31171. }
  31172. }
  31173. },
  31174. "models.QueryErrorInfosRsp": {
  31175. "type": "object",
  31176. "required": [
  31177. "errorid"
  31178. ],
  31179. "properties": {
  31180. "description": {
  31181. "description": "异常描述",
  31182. "type": "string"
  31183. },
  31184. "errorcode": {
  31185. "description": "异常代码",
  31186. "type": "string"
  31187. },
  31188. "errorid": {
  31189. "description": "异常ID",
  31190. "type": "integer"
  31191. },
  31192. "modulecode": {
  31193. "description": "所属模块",
  31194. "type": "string"
  31195. },
  31196. "operatecode": {
  31197. "description": "所属操作",
  31198. "type": "string"
  31199. },
  31200. "rownumber": {
  31201. "description": "行号",
  31202. "type": "string"
  31203. }
  31204. }
  31205. },
  31206. "models.QueryHedgeOrderDetailRsp": {
  31207. "type": "object",
  31208. "properties": {
  31209. "accountid": {
  31210. "description": "账户ID",
  31211. "type": "integer"
  31212. },
  31213. "buyorsell": {
  31214. "description": "买卖 - 0:买 1:卖",
  31215. "type": "integer"
  31216. },
  31217. "cancellogincode": {
  31218. "description": "撤单人",
  31219. "type": "string"
  31220. },
  31221. "channelbuildtype": {
  31222. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  31223. "type": "integer"
  31224. },
  31225. "channelinnerorderstatus": {
  31226. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  31227. "type": "integer"
  31228. },
  31229. "channeloperatetype": {
  31230. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  31231. "type": "integer"
  31232. },
  31233. "closetype": {
  31234. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31235. "type": "integer"
  31236. },
  31237. "curexchangerate": {
  31238. "description": "当前汇率",
  31239. "type": "number"
  31240. },
  31241. "exchangefullname": {
  31242. "description": "外部交易所全称",
  31243. "type": "string"
  31244. },
  31245. "goodscode": {
  31246. "description": "商品代码(内部)",
  31247. "type": "string"
  31248. },
  31249. "goodsid": {
  31250. "description": "商品ID",
  31251. "type": "integer"
  31252. },
  31253. "goodsname": {
  31254. "description": "商品名称",
  31255. "type": "string"
  31256. },
  31257. "marketid": {
  31258. "description": "市场ID",
  31259. "type": "integer"
  31260. },
  31261. "openfreezemargin": {
  31262. "description": "冻结保证金(冻结交易金额)",
  31263. "type": "number"
  31264. },
  31265. "orderid": {
  31266. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31267. "type": "string"
  31268. },
  31269. "orderlogincode": {
  31270. "description": "委托人",
  31271. "type": "string"
  31272. },
  31273. "orderprice": {
  31274. "description": "委托价格(账户)",
  31275. "type": "number"
  31276. },
  31277. "orderqty": {
  31278. "description": "委托数量",
  31279. "type": "integer"
  31280. },
  31281. "ordertime": {
  31282. "description": "委托时间",
  31283. "type": "string"
  31284. },
  31285. "pricemode": {
  31286. "description": "取价方式 - 1:市价 2: 限价",
  31287. "type": "integer"
  31288. },
  31289. "tradedate": {
  31290. "description": "交易日(yyyyMMdd)",
  31291. "type": "string"
  31292. },
  31293. "tradeqty": {
  31294. "description": "成交数量",
  31295. "type": "integer"
  31296. }
  31297. }
  31298. },
  31299. "models.QueryHedgeTradeDetailRsp": {
  31300. "type": "object",
  31301. "properties": {
  31302. "accountid": {
  31303. "description": "账号ID",
  31304. "type": "integer"
  31305. },
  31306. "buyorsell": {
  31307. "description": "方向 - 0:买 1:卖",
  31308. "type": "integer"
  31309. },
  31310. "channelbuildtype": {
  31311. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  31312. "type": "integer"
  31313. },
  31314. "closecharge": {
  31315. "description": "平仓手续费(账户)",
  31316. "type": "number"
  31317. },
  31318. "closecharge2": {
  31319. "description": "平仓手续费(商品)",
  31320. "type": "number"
  31321. },
  31322. "closepl": {
  31323. "description": "平仓盈亏(账户)",
  31324. "type": "number"
  31325. },
  31326. "closepl2": {
  31327. "description": "平仓盈亏(商品)",
  31328. "type": "number"
  31329. },
  31330. "closepl3": {
  31331. "description": "平仓盈亏(账户)(逐笔)",
  31332. "type": "number"
  31333. },
  31334. "closepl4": {
  31335. "description": "平仓盈亏(商品)(逐笔)",
  31336. "type": "number"
  31337. },
  31338. "closetype": {
  31339. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31340. "type": "integer"
  31341. },
  31342. "curexchangerate": {
  31343. "description": "当前汇率",
  31344. "type": "number"
  31345. },
  31346. "exchangefullname": {
  31347. "description": "外部交易所全称",
  31348. "type": "string"
  31349. },
  31350. "goodscode": {
  31351. "description": "商品代码(内部)",
  31352. "type": "string"
  31353. },
  31354. "goodsid": {
  31355. "description": "商品ID",
  31356. "type": "integer"
  31357. },
  31358. "goodsname": {
  31359. "description": "商品名称",
  31360. "type": "string"
  31361. },
  31362. "marketid": {
  31363. "description": "市场ID",
  31364. "type": "integer"
  31365. },
  31366. "opencharge": {
  31367. "description": "建仓手续费(账户)",
  31368. "type": "number"
  31369. },
  31370. "opencharge2": {
  31371. "description": "建仓手续费(商品)",
  31372. "type": "number"
  31373. },
  31374. "orderid": {
  31375. "description": "委托单号",
  31376. "type": "string"
  31377. },
  31378. "orderlogincode": {
  31379. "description": "委托人",
  31380. "type": "string"
  31381. },
  31382. "tradeamount": {
  31383. "description": "成交金额(账户)",
  31384. "type": "number"
  31385. },
  31386. "tradedate": {
  31387. "description": "交易日(yyyyMMdd)",
  31388. "type": "string"
  31389. },
  31390. "tradeid": {
  31391. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31392. "type": "string"
  31393. },
  31394. "tradeprice": {
  31395. "description": "成交价格",
  31396. "type": "number"
  31397. },
  31398. "tradeqty": {
  31399. "description": "成交数量",
  31400. "type": "integer"
  31401. },
  31402. "tradetime": {
  31403. "description": "成交时间",
  31404. "type": "string"
  31405. },
  31406. "tradetype": {
  31407. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  31408. "type": "integer"
  31409. }
  31410. }
  31411. },
  31412. "models.QuotePrimaryMenu": {
  31413. "type": "object",
  31414. "properties": {
  31415. "Index": {
  31416. "description": "序号",
  31417. "type": "integer"
  31418. },
  31419. "Key": {
  31420. "description": "键名",
  31421. "type": "string"
  31422. },
  31423. "Name": {
  31424. "description": "菜单名称",
  31425. "type": "string"
  31426. },
  31427. "SubMenus": {
  31428. "description": "子菜单",
  31429. "type": "array",
  31430. "items": {
  31431. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  31432. }
  31433. },
  31434. "SubTitleType": {
  31435. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  31436. "type": "integer"
  31437. },
  31438. "TradeModes": {
  31439. "description": "包含市场交易类型",
  31440. "type": "string"
  31441. }
  31442. }
  31443. },
  31444. "models.QuoteSecondaryMenu": {
  31445. "type": "object",
  31446. "properties": {
  31447. "ExExchangeCode": {
  31448. "description": "外部交易所代码",
  31449. "type": "string"
  31450. },
  31451. "ExExchangeID": {
  31452. "description": "外部交易所ID",
  31453. "type": "integer"
  31454. },
  31455. "GoodsGroupIDs": {
  31456. "description": "商品组ID列表",
  31457. "type": "array",
  31458. "items": {
  31459. "type": "integer"
  31460. }
  31461. },
  31462. "Index": {
  31463. "description": "序号",
  31464. "type": "integer"
  31465. },
  31466. "MarketID": {
  31467. "description": "市场ID",
  31468. "type": "integer"
  31469. },
  31470. "MenuTitle": {
  31471. "description": "菜单标题(市场名称或外部交易所名称)",
  31472. "type": "string"
  31473. },
  31474. "TradeMode": {
  31475. "description": "交易模式",
  31476. "type": "integer"
  31477. }
  31478. }
  31479. },
  31480. "models.RoleMenu": {
  31481. "type": "object",
  31482. "properties": {
  31483. "hasright": {
  31484. "description": "是否有权限 0-没有权限 1-有权限",
  31485. "type": "integer"
  31486. },
  31487. "iconame": {
  31488. "description": "菜单图标",
  31489. "type": "string"
  31490. },
  31491. "menutype": {
  31492. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  31493. "type": "integer"
  31494. },
  31495. "parentcode": {
  31496. "description": "上级资源代码",
  31497. "type": "string"
  31498. },
  31499. "remark": {
  31500. "description": "菜单备注",
  31501. "type": "string"
  31502. },
  31503. "resourcecode": {
  31504. "description": "菜单代码",
  31505. "type": "string"
  31506. },
  31507. "resourcelevel": {
  31508. "description": "级别",
  31509. "type": "integer"
  31510. },
  31511. "resourcename": {
  31512. "description": "菜单名称",
  31513. "type": "string"
  31514. },
  31515. "roleid": {
  31516. "description": "角色id",
  31517. "type": "integer"
  31518. },
  31519. "sort": {
  31520. "description": "排序",
  31521. "type": "integer"
  31522. },
  31523. "subMenu": {
  31524. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  31525. "type": "array",
  31526. "items": {
  31527. "$ref": "#/definitions/models.RoleMenu"
  31528. }
  31529. },
  31530. "url": {
  31531. "description": "URL",
  31532. "type": "string"
  31533. },
  31534. "userid": {
  31535. "description": "用户id",
  31536. "type": "integer"
  31537. }
  31538. }
  31539. },
  31540. "models.SearchGoods": {
  31541. "type": "object",
  31542. "required": [
  31543. "goodscode",
  31544. "goodsid",
  31545. "goodsname",
  31546. "marketid",
  31547. "trademode"
  31548. ],
  31549. "properties": {
  31550. "goodscode": {
  31551. "description": "商品代码(内部)",
  31552. "type": "string"
  31553. },
  31554. "goodsid": {
  31555. "description": "商品ID(自增ID SEQ_GOODS)",
  31556. "type": "integer"
  31557. },
  31558. "goodsname": {
  31559. "description": "商品名称",
  31560. "type": "string"
  31561. },
  31562. "marketid": {
  31563. "description": "所属市场ID",
  31564. "type": "integer"
  31565. },
  31566. "marketname": {
  31567. "description": "市场名称",
  31568. "type": "string"
  31569. },
  31570. "trademode": {
  31571. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31572. "type": "integer"
  31573. }
  31574. }
  31575. },
  31576. "models.Systemparam": {
  31577. "type": "object",
  31578. "required": [
  31579. "paramcode"
  31580. ],
  31581. "properties": {
  31582. "loginid": {
  31583. "description": "更新用户账号,登录账号",
  31584. "type": "string"
  31585. },
  31586. "modifyflag": {
  31587. "description": "修改标志0 不允许修改 1 允许修改",
  31588. "type": "integer"
  31589. },
  31590. "paramcode": {
  31591. "description": "参数代码",
  31592. "type": "string"
  31593. },
  31594. "paramname": {
  31595. "description": "参数名",
  31596. "type": "string"
  31597. },
  31598. "paramtype": {
  31599. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  31600. "type": "integer"
  31601. },
  31602. "paramvalue": {
  31603. "description": "参数值",
  31604. "type": "string"
  31605. },
  31606. "paramvalue2": {
  31607. "description": "参数值(CLOB)",
  31608. "type": "string"
  31609. },
  31610. "regexpress": {
  31611. "description": "正则表达式",
  31612. "type": "string"
  31613. },
  31614. "remark": {
  31615. "description": "备注",
  31616. "type": "string"
  31617. },
  31618. "serverip": {
  31619. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  31620. "type": "string"
  31621. },
  31622. "showflag": {
  31623. "description": "是否显示0 不显示 1 显示",
  31624. "type": "integer"
  31625. },
  31626. "updatetime": {
  31627. "description": "更新时间",
  31628. "type": "string"
  31629. },
  31630. "userid": {
  31631. "description": "更新用户ID",
  31632. "type": "integer"
  31633. }
  31634. }
  31635. },
  31636. "models.Szdz3convertconfig": {
  31637. "type": "object",
  31638. "required": [
  31639. "converttype",
  31640. "innergoodsid",
  31641. "outergoodscode"
  31642. ],
  31643. "properties": {
  31644. "canin": {
  31645. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  31646. "type": "integer"
  31647. },
  31648. "canout": {
  31649. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  31650. "type": "integer"
  31651. },
  31652. "converttype": {
  31653. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  31654. "type": "integer"
  31655. },
  31656. "createtime": {
  31657. "description": "创建时间",
  31658. "type": "string"
  31659. },
  31660. "creatorid": {
  31661. "description": "创建人",
  31662. "type": "integer"
  31663. },
  31664. "daymaxvalue": {
  31665. "description": "当日最大转入限制",
  31666. "type": "number"
  31667. },
  31668. "freezedays": {
  31669. "description": "冻结天数 [5:花生米转交易]",
  31670. "type": "integer"
  31671. },
  31672. "innergoodsid": {
  31673. "description": "内部商品ID[交易]",
  31674. "type": "integer"
  31675. },
  31676. "inratio": {
  31677. "description": "目标值",
  31678. "type": "integer"
  31679. },
  31680. "modifierid": {
  31681. "description": "修改人",
  31682. "type": "integer"
  31683. },
  31684. "modifytime": {
  31685. "description": "修改时间",
  31686. "type": "string"
  31687. },
  31688. "outergoodscode": {
  31689. "description": "外部商品代码[JD\\PD]",
  31690. "type": "string"
  31691. },
  31692. "outratio": {
  31693. "description": "源值",
  31694. "type": "integer"
  31695. },
  31696. "pddecimalplace": {
  31697. "description": "PD小数位",
  31698. "type": "integer"
  31699. },
  31700. "timemaxvalue": {
  31701. "description": "单次最大转入限制",
  31702. "type": "number"
  31703. },
  31704. "timeminvalue": {
  31705. "description": "单次最小转入限制",
  31706. "type": "number"
  31707. }
  31708. }
  31709. },
  31710. "models.Szdz3searchwhitelist": {
  31711. "type": "object",
  31712. "required": [
  31713. "userid"
  31714. ],
  31715. "properties": {
  31716. "createtime": {
  31717. "description": "创建时间",
  31718. "type": "string"
  31719. },
  31720. "creatorid": {
  31721. "description": "创建人",
  31722. "type": "integer"
  31723. },
  31724. "modifierid": {
  31725. "description": "修改人",
  31726. "type": "integer"
  31727. },
  31728. "modifytime": {
  31729. "description": "修改时间",
  31730. "type": "string"
  31731. },
  31732. "userid": {
  31733. "description": "用户ID",
  31734. "type": "integer"
  31735. }
  31736. }
  31737. },
  31738. "models.TBGoods": {
  31739. "type": "object",
  31740. "properties": {
  31741. "agreeunit": {
  31742. "description": "合约乘数",
  31743. "type": "number"
  31744. },
  31745. "enumdicname": {
  31746. "description": "单位名称",
  31747. "type": "string"
  31748. },
  31749. "goodscode": {
  31750. "description": "商品代码(内部)",
  31751. "type": "string"
  31752. },
  31753. "goodsid": {
  31754. "description": "商品ID(自增ID SEQ_GOODS)",
  31755. "type": "integer"
  31756. },
  31757. "goodsname": {
  31758. "description": "商品名称",
  31759. "type": "string"
  31760. }
  31761. }
  31762. },
  31763. "models.TBGoodsGroup": {
  31764. "type": "object",
  31765. "properties": {
  31766. "convertratio": {
  31767. "description": "折算系数",
  31768. "type": "number"
  31769. },
  31770. "enumdicname": {
  31771. "description": "单位名称",
  31772. "type": "string"
  31773. },
  31774. "exexchangecode": {
  31775. "description": "交易所代码",
  31776. "type": "string"
  31777. },
  31778. "exexchangename": {
  31779. "description": "交易所名称",
  31780. "type": "string"
  31781. },
  31782. "gdlst": {
  31783. "description": "商品列表",
  31784. "type": "array",
  31785. "items": {
  31786. "$ref": "#/definitions/models.TBGoods"
  31787. }
  31788. },
  31789. "goodsgroupid": {
  31790. "description": "商品组ID(自增ID)",
  31791. "type": "integer"
  31792. },
  31793. "goodsgroupname": {
  31794. "description": "商品组名称",
  31795. "type": "string"
  31796. },
  31797. "goodunitid": {
  31798. "description": "报价单位ID",
  31799. "type": "integer"
  31800. }
  31801. }
  31802. },
  31803. "models.TBMiddleGoods": {
  31804. "type": "object",
  31805. "properties": {
  31806. "areauserid": {
  31807. "description": "机构用户ID",
  31808. "type": "integer"
  31809. },
  31810. "enumdicname": {
  31811. "description": "单位名称",
  31812. "type": "string"
  31813. },
  31814. "gplst": {
  31815. "description": "期货品种列表",
  31816. "type": "array",
  31817. "items": {
  31818. "$ref": "#/definitions/models.TBGoodsGroup"
  31819. }
  31820. },
  31821. "middlegoodscode": {
  31822. "description": "套保品种代码",
  31823. "type": "string"
  31824. },
  31825. "middlegoodsid": {
  31826. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  31827. "type": "integer"
  31828. },
  31829. "middlegoodsname": {
  31830. "description": "套保品种名称",
  31831. "type": "string"
  31832. },
  31833. "needarbitrageratio": {
  31834. "description": "套利比率",
  31835. "type": "number"
  31836. },
  31837. "needhedgeratio": {
  31838. "description": "套保比率",
  31839. "type": "number"
  31840. },
  31841. "wdlst": {
  31842. "description": "商品信息列表(现货品类)",
  31843. "type": "array",
  31844. "items": {
  31845. "$ref": "#/definitions/models.TBWrstandard"
  31846. }
  31847. }
  31848. }
  31849. },
  31850. "models.TBWrstandard": {
  31851. "type": "object",
  31852. "properties": {
  31853. "convertratio": {
  31854. "description": "折算系数",
  31855. "type": "number"
  31856. },
  31857. "deliverygoodsname": {
  31858. "description": "品种名称",
  31859. "type": "string"
  31860. },
  31861. "enumdicname": {
  31862. "description": "单位名称",
  31863. "type": "string"
  31864. },
  31865. "vatrate": {
  31866. "description": "增值税率",
  31867. "type": "number"
  31868. },
  31869. "wrstandardcode": {
  31870. "description": "现货商品代码",
  31871. "type": "string"
  31872. },
  31873. "wrstandardid": {
  31874. "description": "现货商品ID(SEQ_WRSTANDARD)",
  31875. "type": "integer"
  31876. },
  31877. "wrstandardname": {
  31878. "description": "现货商品名称",
  31879. "type": "string"
  31880. }
  31881. }
  31882. },
  31883. "models.Taaccount": {
  31884. "type": "object",
  31885. "required": [
  31886. "accountid",
  31887. "userid"
  31888. ],
  31889. "properties": {
  31890. "accountflag": {
  31891. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  31892. "type": "integer"
  31893. },
  31894. "accountid": {
  31895. "description": "资金账户ID",
  31896. "type": "integer"
  31897. },
  31898. "accountname": {
  31899. "description": "账户名称",
  31900. "type": "string"
  31901. },
  31902. "balance": {
  31903. "description": "期初余额",
  31904. "type": "number"
  31905. },
  31906. "capitalbalance": {
  31907. "description": "本金余额[外部子账户实际出入金余额]",
  31908. "type": "number"
  31909. },
  31910. "changeflag": {
  31911. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  31912. "type": "integer"
  31913. },
  31914. "changetime": {
  31915. "description": "账户状态变更时间",
  31916. "type": "string"
  31917. },
  31918. "closepl": {
  31919. "description": "今日平仓盈亏",
  31920. "type": "number"
  31921. },
  31922. "creditdecrease": {
  31923. "description": "今日授信减少",
  31924. "type": "number"
  31925. },
  31926. "creditincrease": {
  31927. "description": "今日授信增加",
  31928. "type": "number"
  31929. },
  31930. "curamount": {
  31931. "description": "总市值(从持仓中统计)",
  31932. "type": "number"
  31933. },
  31934. "currencyid": {
  31935. "description": "货币ID",
  31936. "type": "integer"
  31937. },
  31938. "currentbalance": {
  31939. "description": "期末余额",
  31940. "type": "number"
  31941. },
  31942. "freezecharge": {
  31943. "description": "手续费冻结",
  31944. "type": "number"
  31945. },
  31946. "freezemargin": {
  31947. "description": "冻结保证金",
  31948. "type": "number"
  31949. },
  31950. "fromaccountid": {
  31951. "description": "所属上级账户",
  31952. "type": "integer"
  31953. },
  31954. "inamount": {
  31955. "description": "今日入金金额(包括三方入金)",
  31956. "type": "number"
  31957. },
  31958. "ismain": {
  31959. "description": "是否母账号 0:不是母账户 1:是母账户",
  31960. "type": "integer"
  31961. },
  31962. "ismarketaccount": {
  31963. "description": "是否机构接单账号 0:不是 1:是",
  31964. "type": "integer"
  31965. },
  31966. "isreckonaccount": {
  31967. "description": "是否机构分润账号 0:不是 1:是",
  31968. "type": "integer"
  31969. },
  31970. "mortgagecredit": {
  31971. "description": "授信金额",
  31972. "type": "number"
  31973. },
  31974. "orifreezecharge": {
  31975. "description": "期初手续费冻结",
  31976. "type": "number"
  31977. },
  31978. "orifreezemargin": {
  31979. "description": "期初冻结保证金",
  31980. "type": "number"
  31981. },
  31982. "orimortgagecredit": {
  31983. "description": "期初授信金额",
  31984. "type": "number"
  31985. },
  31986. "oriothercredit": {
  31987. "description": "期初其它授信金额",
  31988. "type": "number"
  31989. },
  31990. "oriotherfreezemargin": {
  31991. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  31992. "type": "number"
  31993. },
  31994. "orioutamountfreeze": {
  31995. "description": "期初出金冻结",
  31996. "type": "number"
  31997. },
  31998. "oriusedmargin": {
  31999. "description": "期初占用保证金",
  32000. "type": "number"
  32001. },
  32002. "othercredit": {
  32003. "description": "其它授信金额",
  32004. "type": "number"
  32005. },
  32006. "othercreditdecrease": {
  32007. "description": "今日其它授信减少",
  32008. "type": "number"
  32009. },
  32010. "othercreditincrease": {
  32011. "description": "今日其它授信增加",
  32012. "type": "number"
  32013. },
  32014. "otherfreezemargin": {
  32015. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  32016. "type": "number"
  32017. },
  32018. "otherincome": {
  32019. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  32020. "type": "number"
  32021. },
  32022. "otherpay": {
  32023. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  32024. "type": "number"
  32025. },
  32026. "outamount": {
  32027. "description": "今日出金金额(包括三方出金)",
  32028. "type": "number"
  32029. },
  32030. "outamountfreeze": {
  32031. "description": "出金冻结",
  32032. "type": "number"
  32033. },
  32034. "outthreshold": {
  32035. "description": "出金阈值",
  32036. "type": "number"
  32037. },
  32038. "parentaccountid": {
  32039. "description": "所属根账号",
  32040. "type": "integer"
  32041. },
  32042. "paycharge": {
  32043. "description": "今日手续费支出",
  32044. "type": "number"
  32045. },
  32046. "relatedaccountstatus": {
  32047. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  32048. "type": "integer"
  32049. },
  32050. "relateduserid": {
  32051. "description": "关联用户",
  32052. "type": "integer"
  32053. },
  32054. "remainamount": {
  32055. "description": "融资额(从融资合同中统计)",
  32056. "type": "number"
  32057. },
  32058. "serivcegroup": {
  32059. "description": "服务分组",
  32060. "type": "integer"
  32061. },
  32062. "signstatus": {
  32063. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  32064. "type": "integer"
  32065. },
  32066. "sublevelpath": {
  32067. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  32068. "type": "string"
  32069. },
  32070. "taaccounttype": {
  32071. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  32072. "type": "integer"
  32073. },
  32074. "thirdinamount": {
  32075. "description": "今日三方入金",
  32076. "type": "number"
  32077. },
  32078. "thirdoutamount": {
  32079. "description": "今日三方出金",
  32080. "type": "number"
  32081. },
  32082. "tradestatus": {
  32083. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  32084. "type": "integer"
  32085. },
  32086. "tradestatuschangetime": {
  32087. "description": "激活时间",
  32088. "type": "string"
  32089. },
  32090. "transferamount": {
  32091. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  32092. "type": "number"
  32093. },
  32094. "usedmargin": {
  32095. "description": "占用保证金",
  32096. "type": "number"
  32097. },
  32098. "userid": {
  32099. "description": "用户ID",
  32100. "type": "integer"
  32101. }
  32102. }
  32103. },
  32104. "models.Tablecolumnconfig": {
  32105. "type": "object",
  32106. "required": [
  32107. "autoid"
  32108. ],
  32109. "properties": {
  32110. "aligntype": {
  32111. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  32112. "type": "integer"
  32113. },
  32114. "autoid": {
  32115. "description": "AutoID",
  32116. "type": "integer"
  32117. },
  32118. "columnfield": {
  32119. "description": "列字段",
  32120. "type": "string"
  32121. },
  32122. "columntitle": {
  32123. "description": "列Title",
  32124. "type": "string"
  32125. },
  32126. "columnwidth": {
  32127. "description": "列宽",
  32128. "type": "string"
  32129. },
  32130. "formatterstring": {
  32131. "description": "格式化字符",
  32132. "type": "string"
  32133. },
  32134. "formattertype": {
  32135. "description": "格式化类型",
  32136. "type": "string"
  32137. },
  32138. "groupname": {
  32139. "description": "表头分组名称",
  32140. "type": "string"
  32141. },
  32142. "isshow": {
  32143. "description": "是否显示 - 0:不显示 1:显示",
  32144. "type": "integer"
  32145. },
  32146. "needsummary": {
  32147. "description": "是否需要汇总 - 0:不需要 1:需要",
  32148. "type": "integer"
  32149. },
  32150. "orderindex": {
  32151. "description": "顺序",
  32152. "type": "integer"
  32153. },
  32154. "remark": {
  32155. "description": "备注",
  32156. "type": "string"
  32157. },
  32158. "summarytype": {
  32159. "description": "汇总类型 - 1:加总 2:最后一个",
  32160. "type": "integer"
  32161. },
  32162. "tablekey": {
  32163. "description": "列表Key",
  32164. "type": "string"
  32165. }
  32166. }
  32167. },
  32168. "models.TjmdQuoteGoods": {
  32169. "type": "object",
  32170. "properties": {
  32171. "buyqty": {
  32172. "description": "买量(暂不做, 无值, 保留字段)",
  32173. "type": "number"
  32174. },
  32175. "goodscode": {
  32176. "description": "合约代码",
  32177. "type": "string"
  32178. },
  32179. "goodsgroupid": {
  32180. "description": "商品组ID(自增ID)",
  32181. "type": "integer"
  32182. },
  32183. "goodsgroupname": {
  32184. "description": "商品组名称",
  32185. "type": "string"
  32186. },
  32187. "goodsid": {
  32188. "description": "合约id",
  32189. "type": "integer"
  32190. },
  32191. "goodsname": {
  32192. "description": "合约名称",
  32193. "type": "string"
  32194. },
  32195. "refgoodscode": {
  32196. "description": "标的合约代码",
  32197. "type": "string"
  32198. },
  32199. "refgoodsid": {
  32200. "description": "标的合约id",
  32201. "type": "integer"
  32202. },
  32203. "refgoodsname": {
  32204. "description": "标的合约名称",
  32205. "type": "string"
  32206. },
  32207. "sellqty": {
  32208. "description": "卖量(暂不做, 无值, 保留字段)",
  32209. "type": "number"
  32210. }
  32211. }
  32212. },
  32213. "models.TjmdTodayAccountMargin": {
  32214. "type": "object",
  32215. "properties": {
  32216. "accountid": {
  32217. "description": "账号ID",
  32218. "type": "integer"
  32219. },
  32220. "goodsid": {
  32221. "description": "商品ID",
  32222. "type": "integer"
  32223. },
  32224. "infoc": {
  32225. "description": "配置参数",
  32226. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  32227. },
  32228. "marketid": {
  32229. "description": "市场ID",
  32230. "type": "integer"
  32231. }
  32232. }
  32233. },
  32234. "models.TjmdTradeOrderDetail": {
  32235. "type": "object",
  32236. "properties": {
  32237. "buyorsell": {
  32238. "description": "买卖方向 0-买 1-卖",
  32239. "type": "integer"
  32240. },
  32241. "goodsid": {
  32242. "description": "商品id",
  32243. "type": "integer"
  32244. },
  32245. "marketmaxsub": {
  32246. "description": "市价最大偏移范围 [浮动价 - 点差]",
  32247. "type": "number"
  32248. },
  32249. "orderid": {
  32250. "description": "委托单号",
  32251. "type": "string"
  32252. },
  32253. "orderprice": {
  32254. "description": "委托价格",
  32255. "type": "number"
  32256. },
  32257. "orderqty": {
  32258. "description": "委托数量",
  32259. "type": "integer"
  32260. },
  32261. "pricemode": {
  32262. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  32263. "type": "integer"
  32264. },
  32265. "userid": {
  32266. "description": "用户id",
  32267. "type": "integer"
  32268. },
  32269. "username": {
  32270. "description": "用户名称(已脱敏)",
  32271. "type": "string"
  32272. }
  32273. }
  32274. },
  32275. "models.TjmdTransferApply": {
  32276. "type": "object",
  32277. "properties": {
  32278. "applyid": {
  32279. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  32280. "type": "integer"
  32281. },
  32282. "applystatus": {
  32283. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  32284. "type": "integer"
  32285. },
  32286. "applytime": {
  32287. "description": "申请时间(时间)",
  32288. "type": "string"
  32289. },
  32290. "auditremark": {
  32291. "description": "审核备注(拒绝原因?)",
  32292. "type": "string"
  32293. },
  32294. "buyorsell": {
  32295. "description": "买卖 - 0:买 1:卖",
  32296. "type": "integer"
  32297. },
  32298. "goodscode": {
  32299. "description": "商品代码",
  32300. "type": "string"
  32301. },
  32302. "goodsid": {
  32303. "description": "商品ID",
  32304. "type": "integer"
  32305. },
  32306. "goodsname": {
  32307. "description": "商品名称",
  32308. "type": "string"
  32309. },
  32310. "marketid": {
  32311. "description": "市场ID",
  32312. "type": "integer"
  32313. },
  32314. "qty": {
  32315. "description": "转让数量(数量)",
  32316. "type": "number"
  32317. },
  32318. "tradeid": {
  32319. "description": "成交单号(关联持仓)",
  32320. "type": "string"
  32321. },
  32322. "transferamount": {
  32323. "description": "转让总金额(金额)",
  32324. "type": "number"
  32325. },
  32326. "transferprice": {
  32327. "description": "转让价格(协议价格)",
  32328. "type": "number"
  32329. }
  32330. }
  32331. },
  32332. "models.TradeHolderDetail": {
  32333. "type": "object",
  32334. "properties": {
  32335. "accountid": {
  32336. "description": "账号ID",
  32337. "type": "integer"
  32338. },
  32339. "agreeunit": {
  32340. "description": "合约乘数",
  32341. "type": "number"
  32342. },
  32343. "buyorsell": {
  32344. "description": "方向 - 0:买 1:卖",
  32345. "type": "integer"
  32346. },
  32347. "currencyid": {
  32348. "description": "商品币种id",
  32349. "type": "integer"
  32350. },
  32351. "currencyname": {
  32352. "description": "币种名称",
  32353. "type": "string"
  32354. },
  32355. "decimalplace": {
  32356. "description": "商品价格小数位",
  32357. "type": "integer"
  32358. },
  32359. "enumdicname": {
  32360. "description": "商品单位名称",
  32361. "type": "string"
  32362. },
  32363. "expirecycle": {
  32364. "description": "行权周期(天) - 1:滚动行权时填写",
  32365. "type": "integer"
  32366. },
  32367. "expiredate": {
  32368. "description": "行权日(yyyyMMdd) - 到期日",
  32369. "type": "string"
  32370. },
  32371. "expiretype": {
  32372. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  32373. "type": "integer"
  32374. },
  32375. "freezeqty": {
  32376. "description": "冻结数量",
  32377. "type": "number"
  32378. },
  32379. "goodscode": {
  32380. "description": "商品代码",
  32381. "type": "string"
  32382. },
  32383. "goodsid": {
  32384. "description": "商品ID",
  32385. "type": "integer"
  32386. },
  32387. "goodsname": {
  32388. "description": "商品名称",
  32389. "type": "string"
  32390. },
  32391. "goodunitid": {
  32392. "description": "商品单位id",
  32393. "type": "integer"
  32394. },
  32395. "holderamount": {
  32396. "description": "持仓金额",
  32397. "type": "number"
  32398. },
  32399. "holdercredit": {
  32400. "description": "持仓授信金额",
  32401. "type": "number"
  32402. },
  32403. "holderdays": {
  32404. "description": "剩余冻结天数",
  32405. "type": "integer"
  32406. },
  32407. "holderprice": {
  32408. "description": "持仓价格",
  32409. "type": "number"
  32410. },
  32411. "holderqty": {
  32412. "description": "持仓数量",
  32413. "type": "number"
  32414. },
  32415. "isconfirmexercise": {
  32416. "description": "是否确认行权- 0:否 1:是",
  32417. "type": "integer"
  32418. },
  32419. "ispreexercise": {
  32420. "description": "是否预申报- 0:否 1:是 2:不可行权",
  32421. "type": "integer"
  32422. },
  32423. "marketid": {
  32424. "description": "市场id",
  32425. "type": "integer"
  32426. },
  32427. "marketname": {
  32428. "description": "市场名称",
  32429. "type": "string"
  32430. },
  32431. "openprice": {
  32432. "description": "建仓价格",
  32433. "type": "number"
  32434. },
  32435. "openqty": {
  32436. "description": "建仓数量",
  32437. "type": "number"
  32438. },
  32439. "optiontype": {
  32440. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  32441. "type": "integer"
  32442. },
  32443. "preexerciseprice": {
  32444. "description": "预申报价格",
  32445. "type": "number"
  32446. },
  32447. "premium": {
  32448. "description": "权利金",
  32449. "type": "number"
  32450. },
  32451. "qtydecimalplace": {
  32452. "description": "商品成交量小数位",
  32453. "type": "integer"
  32454. },
  32455. "refgoodscode": {
  32456. "description": "标的合约代码",
  32457. "type": "string"
  32458. },
  32459. "refgoodsid": {
  32460. "description": "标的合约id",
  32461. "type": "integer"
  32462. },
  32463. "releaseamount": {
  32464. "description": "释放持仓金额",
  32465. "type": "number"
  32466. },
  32467. "releaseholdercredit": {
  32468. "description": "释放持仓授信金额",
  32469. "type": "number"
  32470. },
  32471. "taname": {
  32472. "description": "资金账号名称",
  32473. "type": "string"
  32474. },
  32475. "tradeamount": {
  32476. "description": "成交金额",
  32477. "type": "number"
  32478. },
  32479. "tradedate": {
  32480. "description": "交易日(yyyyMMdd)",
  32481. "type": "string"
  32482. },
  32483. "tradeid": {
  32484. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32485. "type": "string"
  32486. },
  32487. "trademode": {
  32488. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  32489. "type": "integer"
  32490. },
  32491. "tradeproperty": {
  32492. "description": "交易属性",
  32493. "type": "integer"
  32494. },
  32495. "tradetime": {
  32496. "description": "交易时间",
  32497. "type": "string"
  32498. },
  32499. "userid": {
  32500. "description": "用户id",
  32501. "type": "integer"
  32502. },
  32503. "username": {
  32504. "description": "用户名称",
  32505. "type": "string"
  32506. }
  32507. }
  32508. },
  32509. "models.UserCollectConfig": {
  32510. "type": "object",
  32511. "properties": {
  32512. "accountstatus": {
  32513. "description": "账户状态 - 1:正常 2:停用 3:注销",
  32514. "type": "integer"
  32515. },
  32516. "collectaccountname": {
  32517. "description": "收款人账户名称",
  32518. "type": "string"
  32519. },
  32520. "collectaccountno": {
  32521. "description": "收款人账户",
  32522. "type": "string"
  32523. },
  32524. "collectbankname": {
  32525. "description": "收款人开户行",
  32526. "type": "string"
  32527. },
  32528. "collectbranchbankname": {
  32529. "description": "收款人开户支行",
  32530. "type": "string"
  32531. },
  32532. "collectconfigid": {
  32533. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  32534. "type": "string"
  32535. },
  32536. "remark": {
  32537. "description": "备注",
  32538. "type": "string"
  32539. },
  32540. "userid": {
  32541. "description": "收款人用户ID",
  32542. "type": "integer"
  32543. }
  32544. }
  32545. },
  32546. "models.UserReceiveInfo": {
  32547. "type": "object",
  32548. "properties": {
  32549. "address": {
  32550. "description": "提货人详细地址",
  32551. "type": "string"
  32552. },
  32553. "autoid": {
  32554. "description": "AutoID",
  32555. "type": "integer"
  32556. },
  32557. "cardnum": {
  32558. "description": "证件号码(加密存储)",
  32559. "type": "string"
  32560. },
  32561. "cardtypeid": {
  32562. "description": "证件类型",
  32563. "type": "integer"
  32564. },
  32565. "cityid": {
  32566. "description": "市",
  32567. "type": "integer"
  32568. },
  32569. "cityname": {
  32570. "description": "城市名称",
  32571. "type": "string"
  32572. },
  32573. "countryid": {
  32574. "description": "国家",
  32575. "type": "integer"
  32576. },
  32577. "countryname": {
  32578. "description": "国家名称",
  32579. "type": "string"
  32580. },
  32581. "districtid": {
  32582. "description": "地区",
  32583. "type": "integer"
  32584. },
  32585. "districtname": {
  32586. "description": "地区名称",
  32587. "type": "string"
  32588. },
  32589. "hasencrypt": {
  32590. "description": "数据是否已加密 - 0:未加密 1:已加密",
  32591. "type": "integer"
  32592. },
  32593. "isdefault": {
  32594. "description": "是否默认地址 - 0:否 1:是",
  32595. "type": "integer"
  32596. },
  32597. "phonenum": {
  32598. "description": "提货人联系方式(加密存储)",
  32599. "type": "string"
  32600. },
  32601. "provinceid": {
  32602. "description": "省",
  32603. "type": "integer"
  32604. },
  32605. "provincename": {
  32606. "description": "省名称",
  32607. "type": "string"
  32608. },
  32609. "receivername": {
  32610. "description": "提货人姓名",
  32611. "type": "string"
  32612. },
  32613. "takeremark": {
  32614. "description": "提货备注",
  32615. "type": "string"
  32616. },
  32617. "userid": {
  32618. "description": "用户ID",
  32619. "type": "integer"
  32620. }
  32621. }
  32622. },
  32623. "models.Useraccount": {
  32624. "type": "object",
  32625. "required": [
  32626. "userid"
  32627. ],
  32628. "properties": {
  32629. "accountname": {
  32630. "description": "账户名称(机构名称)",
  32631. "type": "string"
  32632. },
  32633. "accountstatus": {
  32634. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  32635. "type": "integer"
  32636. },
  32637. "applysrc": {
  32638. "description": "申请来源 - 1:管理端 2:终端",
  32639. "type": "integer"
  32640. },
  32641. "auditremark": {
  32642. "description": "审核备注",
  32643. "type": "string"
  32644. },
  32645. "auditsrc": {
  32646. "description": "审核来源 - 1:管理端 2:终端",
  32647. "type": "integer"
  32648. },
  32649. "audittime": {
  32650. "description": "审核时间",
  32651. "type": "string"
  32652. },
  32653. "audituserid": {
  32654. "description": "审核人",
  32655. "type": "integer"
  32656. },
  32657. "broker": {
  32658. "description": "所属经纪人ID",
  32659. "type": "integer"
  32660. },
  32661. "canceltime": {
  32662. "description": "销户时间",
  32663. "type": "string"
  32664. },
  32665. "canceluserid": {
  32666. "description": "销户人",
  32667. "type": "integer"
  32668. },
  32669. "canrecommend": {
  32670. "description": "是否可推荐 - 0:不可 1;可",
  32671. "type": "integer"
  32672. },
  32673. "createtime": {
  32674. "description": "创建时间",
  32675. "type": "string"
  32676. },
  32677. "creatorid": {
  32678. "description": "创建人",
  32679. "type": "integer"
  32680. },
  32681. "hasauth": {
  32682. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  32683. "type": "integer"
  32684. },
  32685. "isanonymous": {
  32686. "description": "是否匿名下单 - 0:否 1:是",
  32687. "type": "integer"
  32688. },
  32689. "maxinvestornum": {
  32690. "description": "最大用户数(经纪会员下投资者个数)",
  32691. "type": "integer"
  32692. },
  32693. "memberuserid": {
  32694. "description": "所属会员ID",
  32695. "type": "integer"
  32696. },
  32697. "modifierid": {
  32698. "description": "修改人",
  32699. "type": "integer"
  32700. },
  32701. "modifyremark": {
  32702. "description": "变更备注",
  32703. "type": "string"
  32704. },
  32705. "modifystatus": {
  32706. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  32707. "type": "integer"
  32708. },
  32709. "modifytime": {
  32710. "description": "修改时间",
  32711. "type": "string"
  32712. },
  32713. "parenttopuser": {
  32714. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  32715. "type": "string"
  32716. },
  32717. "parentuserid": {
  32718. "description": "所属机构ID",
  32719. "type": "integer"
  32720. },
  32721. "reckonaccountid": {
  32722. "description": "默认结算资金账号ID(机构分润使用) 作废",
  32723. "type": "integer"
  32724. },
  32725. "refercount": {
  32726. "description": "推荐总人数",
  32727. "type": "integer"
  32728. },
  32729. "refereeuserid": {
  32730. "description": "推荐人ID",
  32731. "type": "integer"
  32732. },
  32733. "refernum": {
  32734. "description": "推荐码",
  32735. "type": "string"
  32736. },
  32737. "rootuserid": {
  32738. "description": "根用户ID",
  32739. "type": "integer"
  32740. },
  32741. "subaccountlevel": {
  32742. "description": "子账户层数",
  32743. "type": "integer"
  32744. },
  32745. "subarealevelpath": {
  32746. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  32747. "type": "string"
  32748. },
  32749. "userid": {
  32750. "description": "用户ID",
  32751. "type": "integer"
  32752. },
  32753. "usertype": {
  32754. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  32755. "type": "integer"
  32756. }
  32757. }
  32758. },
  32759. "models.Userfavoritegoods": {
  32760. "type": "object",
  32761. "required": [
  32762. "goodsid"
  32763. ],
  32764. "properties": {
  32765. "goodsid": {
  32766. "description": "商品ID",
  32767. "type": "integer"
  32768. }
  32769. }
  32770. },
  32771. "models.Userinfo": {
  32772. "type": "object",
  32773. "required": [
  32774. "userid"
  32775. ],
  32776. "properties": {
  32777. "address": {
  32778. "description": "地址",
  32779. "type": "string"
  32780. },
  32781. "attachment1": {
  32782. "description": "附件1",
  32783. "type": "string"
  32784. },
  32785. "attachment2": {
  32786. "description": "附件2",
  32787. "type": "string"
  32788. },
  32789. "bankaccount": {
  32790. "description": "银行帐号 (加密存储)",
  32791. "type": "string"
  32792. },
  32793. "bankaccountname": {
  32794. "description": "收款人名称",
  32795. "type": "string"
  32796. },
  32797. "bankcardfrontphotourl": {
  32798. "description": "银行卡正面照地址",
  32799. "type": "string"
  32800. },
  32801. "bankid": {
  32802. "description": "银行编码",
  32803. "type": "string"
  32804. },
  32805. "bankname": {
  32806. "description": "银行名称",
  32807. "type": "string"
  32808. },
  32809. "biznature": {
  32810. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  32811. "type": "integer"
  32812. },
  32813. "bizscope": {
  32814. "description": "企业经营范围(企业)",
  32815. "type": "string"
  32816. },
  32817. "cardbackphotourl": {
  32818. "description": "证件背面图片地址",
  32819. "type": "string"
  32820. },
  32821. "cardfrontphotourl": {
  32822. "description": "证件正面图片地址",
  32823. "type": "string"
  32824. },
  32825. "cardnum": {
  32826. "description": "证件号码(加密存储)",
  32827. "type": "string"
  32828. },
  32829. "cardtypeid": {
  32830. "description": "证件类型ID",
  32831. "type": "integer"
  32832. },
  32833. "cityid": {
  32834. "description": "市",
  32835. "type": "integer"
  32836. },
  32837. "company": {
  32838. "description": "公司(个人)",
  32839. "type": "string"
  32840. },
  32841. "contactname": {
  32842. "description": "联系人",
  32843. "type": "string"
  32844. },
  32845. "countryid": {
  32846. "description": "国家",
  32847. "type": "integer"
  32848. },
  32849. "createtime": {
  32850. "description": "创建时间",
  32851. "type": "string"
  32852. },
  32853. "creatorid": {
  32854. "description": "创建人",
  32855. "type": "integer"
  32856. },
  32857. "customername": {
  32858. "description": "客户名称(企业名称)",
  32859. "type": "string"
  32860. },
  32861. "districtid": {
  32862. "description": "地区",
  32863. "type": "integer"
  32864. },
  32865. "email": {
  32866. "description": "邮件(加密存储)",
  32867. "type": "string"
  32868. },
  32869. "fax": {
  32870. "description": "传真(加密存储)",
  32871. "type": "string"
  32872. },
  32873. "halfbodyphotourl": {
  32874. "description": "半身照地址",
  32875. "type": "string"
  32876. },
  32877. "hasencrypt": {
  32878. "description": "数据是否已加密 - 0:未加密 1:已加密",
  32879. "type": "integer"
  32880. },
  32881. "headurl": {
  32882. "description": "头像地址",
  32883. "type": "string"
  32884. },
  32885. "legalcardbackphotourl": {
  32886. "description": "法人身份证背面照地址",
  32887. "type": "string"
  32888. },
  32889. "legalcardfrontphotourl": {
  32890. "description": "法人身份证正面照地址",
  32891. "type": "string"
  32892. },
  32893. "legalpersonname": {
  32894. "description": "法人姓名(企业)",
  32895. "type": "string"
  32896. },
  32897. "mobile": {
  32898. "description": "手机号码(加密存储)",
  32899. "type": "string"
  32900. },
  32901. "mobile2": {
  32902. "description": "手机号码[明文-尚志]",
  32903. "type": "string"
  32904. },
  32905. "modifierid": {
  32906. "description": "修改人",
  32907. "type": "integer"
  32908. },
  32909. "modifiertime": {
  32910. "description": "修改时间",
  32911. "type": "string"
  32912. },
  32913. "needinvoice": {
  32914. "description": "是否需要发票 - 0:不需要 1:需要",
  32915. "type": "integer"
  32916. },
  32917. "nickname": {
  32918. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  32919. "type": "string"
  32920. },
  32921. "openmode": {
  32922. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  32923. "type": "integer"
  32924. },
  32925. "otherurl": {
  32926. "description": "其它图片地址[使用分号分隔]",
  32927. "type": "string"
  32928. },
  32929. "postalcode": {
  32930. "description": "邮政编码",
  32931. "type": "string"
  32932. },
  32933. "provinceid": {
  32934. "description": "省",
  32935. "type": "integer"
  32936. },
  32937. "qq": {
  32938. "description": "QQ(加密存储",
  32939. "type": "string"
  32940. },
  32941. "remark": {
  32942. "description": "备注",
  32943. "type": "string"
  32944. },
  32945. "sex": {
  32946. "description": "用户性别 0: 女 1: 男",
  32947. "type": "integer"
  32948. },
  32949. "signpdfurl": {
  32950. "description": "签约pdf文件",
  32951. "type": "string"
  32952. },
  32953. "telphone": {
  32954. "description": "联系电话(加密存储)",
  32955. "type": "string"
  32956. },
  32957. "userid": {
  32958. "description": "用户ID",
  32959. "type": "integer"
  32960. },
  32961. "userinfotype": {
  32962. "description": "用户信息类型 - 1:个人 2:企业",
  32963. "type": "integer"
  32964. },
  32965. "userstatus": {
  32966. "description": "用户状态 - 1:正常 2:注销",
  32967. "type": "integer"
  32968. },
  32969. "usertype": {
  32970. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  32971. "type": "integer"
  32972. },
  32973. "wechat": {
  32974. "description": "微信(加密存储)",
  32975. "type": "string"
  32976. },
  32977. "wskhinfo": {
  32978. "description": "开户申请信息(JSON)",
  32979. "type": "string"
  32980. }
  32981. }
  32982. },
  32983. "models.WRSConverTDetail": {
  32984. "type": "object",
  32985. "properties": {
  32986. "convertratio": {
  32987. "description": "套保系数",
  32988. "type": "number"
  32989. },
  32990. "deliverygoodscode": {
  32991. "description": "现货商品代码",
  32992. "type": "string"
  32993. },
  32994. "deliverygoodsid": {
  32995. "description": "现货品种ID",
  32996. "type": "integer"
  32997. },
  32998. "deliverygoodsname": {
  32999. "description": "现货商品名称",
  33000. "type": "string"
  33001. },
  33002. "enumdicname": {
  33003. "description": "单位名称",
  33004. "type": "string"
  33005. },
  33006. "goodsunitid": {
  33007. "description": "套保品种单位id",
  33008. "type": "integer"
  33009. },
  33010. "middlegoodscode": {
  33011. "description": "套保品种代码",
  33012. "type": "string"
  33013. },
  33014. "middlegoodsid": {
  33015. "description": "套保品种ID",
  33016. "type": "integer"
  33017. },
  33018. "middlegoodsname": {
  33019. "description": "套保品种名称",
  33020. "type": "string"
  33021. },
  33022. "modifytime": {
  33023. "description": "修改时间",
  33024. "type": "string"
  33025. },
  33026. "wrstandardid": {
  33027. "description": "品类ID",
  33028. "type": "integer"
  33029. }
  33030. }
  33031. },
  33032. "models.WRStandardInfo": {
  33033. "type": "object",
  33034. "required": [
  33035. "wrstandardid"
  33036. ],
  33037. "properties": {
  33038. "areauserid": {
  33039. "description": "所属机构",
  33040. "type": "integer"
  33041. },
  33042. "convertfactor": {
  33043. "description": "标仓系数",
  33044. "type": "number"
  33045. },
  33046. "createtime": {
  33047. "description": "创建时间",
  33048. "type": "string"
  33049. },
  33050. "creatorid": {
  33051. "description": "创建人",
  33052. "type": "integer"
  33053. },
  33054. "deliverygoodsid": {
  33055. "description": "品种ID",
  33056. "type": "integer"
  33057. },
  33058. "deliverygoodsname": {
  33059. "description": "交割商品名称",
  33060. "type": "string"
  33061. },
  33062. "factoryitemjson": {
  33063. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  33064. "type": "string"
  33065. },
  33066. "isvalid": {
  33067. "description": "是否有效 - 0:无效 1:有效",
  33068. "type": "integer"
  33069. },
  33070. "minivalue": {
  33071. "description": "最小变动值",
  33072. "type": "integer"
  33073. },
  33074. "minivaluedp": {
  33075. "description": "最小变动值小数位",
  33076. "type": "integer"
  33077. },
  33078. "realminivalue": {
  33079. "description": "实际最小变动值",
  33080. "type": "integer"
  33081. },
  33082. "realminivaluedp": {
  33083. "description": "实际最小变动值小数位",
  33084. "type": "integer"
  33085. },
  33086. "remark": {
  33087. "description": "备注",
  33088. "type": "string"
  33089. },
  33090. "unitid": {
  33091. "description": "单位ID",
  33092. "type": "integer"
  33093. },
  33094. "unitname": {
  33095. "description": "单位",
  33096. "type": "string"
  33097. },
  33098. "updatetime": {
  33099. "description": "更新时间",
  33100. "type": "string"
  33101. },
  33102. "updatorid": {
  33103. "description": "更新人",
  33104. "type": "integer"
  33105. },
  33106. "wrsstatus": {
  33107. "description": "状态 - 作废 - 0:未激活 1:正常",
  33108. "type": "integer"
  33109. },
  33110. "wrstandardcode": {
  33111. "description": "现货品类代码",
  33112. "type": "string"
  33113. },
  33114. "wrstandardid": {
  33115. "description": "现货品类ID(SEQ_WRSTANDARD)",
  33116. "type": "integer"
  33117. },
  33118. "wrstandardname": {
  33119. "description": "现货品类名称",
  33120. "type": "string"
  33121. }
  33122. }
  33123. },
  33124. "models.WRTradeBargainApply": {
  33125. "type": "object",
  33126. "properties": {
  33127. "accountid": {
  33128. "description": "摘牌资金账号",
  33129. "type": "integer"
  33130. },
  33131. "applyprice": {
  33132. "description": "申请价格(议价价格)",
  33133. "type": "string"
  33134. },
  33135. "applyqty": {
  33136. "description": "摘牌数量(议价数量)",
  33137. "type": "number"
  33138. },
  33139. "applyremark": {
  33140. "description": "申请备注",
  33141. "type": "string"
  33142. },
  33143. "applystatus": {
  33144. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  33145. "type": "integer"
  33146. },
  33147. "applytime": {
  33148. "description": "申请时间(议价时间)",
  33149. "type": "string"
  33150. },
  33151. "buyorsell": {
  33152. "description": "买卖(挂牌类型) - 0:买 1:卖",
  33153. "type": "integer"
  33154. },
  33155. "confirmremark": {
  33156. "description": "确认备注",
  33157. "type": "string"
  33158. },
  33159. "confirmtime": {
  33160. "description": "确认时间",
  33161. "type": "string"
  33162. },
  33163. "confirmuserid": {
  33164. "description": "确认人",
  33165. "type": "integer"
  33166. },
  33167. "deliverygoodscode": {
  33168. "description": "品种代码",
  33169. "type": "string"
  33170. },
  33171. "deliverygoodsid": {
  33172. "description": "品种ID",
  33173. "type": "integer"
  33174. },
  33175. "deliverygoodsname": {
  33176. "description": "品种名称",
  33177. "type": "string"
  33178. },
  33179. "deliverymonth": {
  33180. "description": "交收月",
  33181. "type": "string"
  33182. },
  33183. "enumdicname": {
  33184. "description": "单位名称",
  33185. "type": "string"
  33186. },
  33187. "fixedprice": {
  33188. "description": "挂牌价格",
  33189. "type": "number"
  33190. },
  33191. "handlestatus": {
  33192. "description": "处理状态",
  33193. "type": "integer"
  33194. },
  33195. "marginvalue": {
  33196. "description": "履约保证金比例",
  33197. "type": "number"
  33198. },
  33199. "marketid": {
  33200. "description": "市场ID",
  33201. "type": "integer"
  33202. },
  33203. "matchaccountid": {
  33204. "description": "挂牌方资金账号",
  33205. "type": "integer"
  33206. },
  33207. "matchuserid": {
  33208. "description": "挂牌方用户id",
  33209. "type": "integer"
  33210. },
  33211. "matchusername": {
  33212. "description": "挂牌方用户名称(已脱敏)",
  33213. "type": "string"
  33214. },
  33215. "minivalue": {
  33216. "description": "现货商品最小变动值",
  33217. "type": "integer"
  33218. },
  33219. "optioncompare": {
  33220. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33221. "type": "string"
  33222. },
  33223. "orderqty": {
  33224. "description": "挂牌数量",
  33225. "type": "integer"
  33226. },
  33227. "refprice": {
  33228. "description": "参考价格",
  33229. "type": "string"
  33230. },
  33231. "retcode": {
  33232. "description": "委托返回代码",
  33233. "type": "integer"
  33234. },
  33235. "templatename": {
  33236. "description": "履约方式(履约模板名称)",
  33237. "type": "string"
  33238. },
  33239. "tradedate": {
  33240. "description": "交易日(yyyyMMdd)",
  33241. "type": "string"
  33242. },
  33243. "userid": {
  33244. "description": "摘牌人用户ID(议价人ID)",
  33245. "type": "integer"
  33246. },
  33247. "username": {
  33248. "description": "议价人名字(已脱敏)",
  33249. "type": "string"
  33250. },
  33251. "validtime": {
  33252. "description": "有效期限",
  33253. "type": "string"
  33254. },
  33255. "warehouseid": {
  33256. "description": "仓库ID",
  33257. "type": "integer"
  33258. },
  33259. "warehousename": {
  33260. "description": "仓库名称",
  33261. "type": "string"
  33262. },
  33263. "wrbargainid": {
  33264. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  33265. "type": "string"
  33266. },
  33267. "wrfactortypeid": {
  33268. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33269. "type": "string"
  33270. },
  33271. "wrfactortypename": {
  33272. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33273. "type": "string"
  33274. },
  33275. "wrstandardcode": {
  33276. "description": "现货商品代码",
  33277. "type": "string"
  33278. },
  33279. "wrstandardid": {
  33280. "description": "现货商品ID",
  33281. "type": "integer"
  33282. },
  33283. "wrstandardname": {
  33284. "description": "商品名称",
  33285. "type": "string"
  33286. },
  33287. "wrtradeorderid": {
  33288. "description": "关联委托单ID",
  33289. "type": "string"
  33290. },
  33291. "wrtypename": {
  33292. "description": "商品",
  33293. "type": "string"
  33294. }
  33295. }
  33296. },
  33297. "models.Warehouseinfo": {
  33298. "type": "object",
  33299. "required": [
  33300. "autoid",
  33301. "warehousecode"
  33302. ],
  33303. "properties": {
  33304. "address": {
  33305. "description": "详细地址",
  33306. "type": "string"
  33307. },
  33308. "areauserid": {
  33309. "description": "所属机构",
  33310. "type": "integer"
  33311. },
  33312. "autoid": {
  33313. "description": "自增ID",
  33314. "type": "integer"
  33315. },
  33316. "cityid": {
  33317. "description": "市",
  33318. "type": "integer"
  33319. },
  33320. "contactname": {
  33321. "description": "联系人",
  33322. "type": "string"
  33323. },
  33324. "contactnum": {
  33325. "description": "联系电话",
  33326. "type": "string"
  33327. },
  33328. "countryid": {
  33329. "description": "国家",
  33330. "type": "integer"
  33331. },
  33332. "createtime": {
  33333. "description": "创建时间",
  33334. "type": "string"
  33335. },
  33336. "districtid": {
  33337. "description": "区",
  33338. "type": "integer"
  33339. },
  33340. "hasvideo": {
  33341. "description": "是否有视频 - 0:无 1:有",
  33342. "type": "integer"
  33343. },
  33344. "provinceid": {
  33345. "description": "省",
  33346. "type": "integer"
  33347. },
  33348. "remark": {
  33349. "description": "审核备注",
  33350. "type": "string"
  33351. },
  33352. "videourl": {
  33353. "description": "视频地址",
  33354. "type": "string"
  33355. },
  33356. "warehousecode": {
  33357. "description": "仓库代码",
  33358. "type": "string"
  33359. },
  33360. "warehousename": {
  33361. "description": "仓库名称",
  33362. "type": "string"
  33363. },
  33364. "warehousestatus": {
  33365. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  33366. "type": "integer"
  33367. },
  33368. "warehousetype": {
  33369. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  33370. "type": "integer"
  33371. }
  33372. }
  33373. },
  33374. "models.WrAverageTradePrice": {
  33375. "type": "object",
  33376. "properties": {
  33377. "averageprice": {
  33378. "description": "成交均价",
  33379. "type": "number"
  33380. },
  33381. "tradedate": {
  33382. "description": "交易日yyyymm",
  33383. "type": "string"
  33384. }
  33385. }
  33386. },
  33387. "models.WrBsGoodsInfo": {
  33388. "type": "object",
  33389. "properties": {
  33390. "buyorsell": {
  33391. "description": "买卖方向 0-买 1-卖",
  33392. "type": "integer"
  33393. },
  33394. "goodsid": {
  33395. "description": "交易合约ID",
  33396. "type": "integer"
  33397. },
  33398. "lstitem": {
  33399. "description": "商品信息项",
  33400. "type": "array",
  33401. "items": {
  33402. "$ref": "#/definitions/models.WrTypeItem"
  33403. }
  33404. },
  33405. "lststep": {
  33406. "description": "履约规则",
  33407. "type": "array",
  33408. "items": {
  33409. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  33410. }
  33411. }
  33412. }
  33413. },
  33414. "models.WrBuybackDetail": {
  33415. "type": "object",
  33416. "properties": {
  33417. "buybackamount": {
  33418. "description": "回购金额",
  33419. "type": "number"
  33420. },
  33421. "buybackqty": {
  33422. "description": "回购数量",
  33423. "type": "number"
  33424. },
  33425. "buybackreleasemargin": {
  33426. "description": "回购释放保证金",
  33427. "type": "number"
  33428. },
  33429. "buybacktime": {
  33430. "description": "回购时间",
  33431. "type": "string"
  33432. },
  33433. "errordesc": {
  33434. "description": "错误描述",
  33435. "type": "string"
  33436. },
  33437. "handlestatus": {
  33438. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  33439. "type": "integer"
  33440. },
  33441. "relatedwrid": {
  33442. "description": "关联仓单ID",
  33443. "type": "integer"
  33444. },
  33445. "scfcontractid": {
  33446. "description": "SCF合同ID",
  33447. "type": "string"
  33448. },
  33449. "scfwrbuybackid": {
  33450. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  33451. "type": "integer"
  33452. },
  33453. "tradedate": {
  33454. "description": "交易日(yyyyMMdd)",
  33455. "type": "string"
  33456. }
  33457. }
  33458. },
  33459. "models.WrDeliveryAvalidHoldLB": {
  33460. "type": "object",
  33461. "properties": {
  33462. "accountid": {
  33463. "description": "资金账号",
  33464. "type": "integer"
  33465. },
  33466. "avalidqty": {
  33467. "description": "数量(可点选数量)",
  33468. "type": "number"
  33469. },
  33470. "deliverygoodsid": {
  33471. "description": "品种id",
  33472. "type": "integer"
  33473. },
  33474. "enumdicname": {
  33475. "description": "单位名称",
  33476. "type": "string"
  33477. },
  33478. "goodsid": {
  33479. "description": "x合约商品id",
  33480. "type": "integer"
  33481. },
  33482. "ladingbillid": {
  33483. "description": "提单id",
  33484. "type": "string"
  33485. },
  33486. "pgoodscode": {
  33487. "description": "p商品代码(点价合约)",
  33488. "type": "string"
  33489. },
  33490. "pgoodsid": {
  33491. "description": "p商品id(点价合约)",
  33492. "type": "integer"
  33493. },
  33494. "pgoodsname": {
  33495. "description": "p商品名称(点价合约)",
  33496. "type": "string"
  33497. },
  33498. "pricemove": {
  33499. "description": "升贴水",
  33500. "type": "number"
  33501. },
  33502. "subnum": {
  33503. "description": "提单子id",
  33504. "type": "integer"
  33505. },
  33506. "userid": {
  33507. "description": "用户id",
  33508. "type": "integer"
  33509. },
  33510. "username": {
  33511. "description": "仓单持有人",
  33512. "type": "string"
  33513. },
  33514. "warehousecode": {
  33515. "description": "仓库代码",
  33516. "type": "string"
  33517. },
  33518. "warehouseid": {
  33519. "description": "仓库id",
  33520. "type": "integer"
  33521. },
  33522. "warehousename": {
  33523. "description": "仓库名称",
  33524. "type": "string"
  33525. },
  33526. "wrfactortypeid": {
  33527. "description": "仓单要素id",
  33528. "type": "string"
  33529. },
  33530. "wrstandardcode": {
  33531. "description": "品代码",
  33532. "type": "string"
  33533. },
  33534. "wrstandardid": {
  33535. "description": "品类d",
  33536. "type": "integer"
  33537. },
  33538. "wrstandardname": {
  33539. "description": "品类名称",
  33540. "type": "string"
  33541. },
  33542. "wrtypename": {
  33543. "description": "商品",
  33544. "type": "string"
  33545. },
  33546. "xgoodscode": {
  33547. "description": "x合约代码",
  33548. "type": "string"
  33549. },
  33550. "xgoodsname": {
  33551. "description": "x合约名称",
  33552. "type": "string"
  33553. }
  33554. }
  33555. },
  33556. "models.WrDeliveryDetail": {
  33557. "type": "object",
  33558. "properties": {
  33559. "accountid": {
  33560. "description": "账号ID",
  33561. "type": "integer"
  33562. },
  33563. "averageprice": {
  33564. "description": "交割均价 = 交割金额 / 交割数量",
  33565. "type": "number"
  33566. },
  33567. "buyorsell": {
  33568. "description": "方向 - 0:买 1:卖",
  33569. "type": "integer"
  33570. },
  33571. "deliveryamount": {
  33572. "description": "货款金额(X总货款+P总货款)",
  33573. "type": "number"
  33574. },
  33575. "deliveryid": {
  33576. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  33577. "type": "string"
  33578. },
  33579. "deliveryorderid": {
  33580. "description": "申报单号",
  33581. "type": "string"
  33582. },
  33583. "deliverypricemove": {
  33584. "description": "升贴水(升贴水总额)",
  33585. "type": "number"
  33586. },
  33587. "deliveryqty": {
  33588. "description": "交收数量(点选数量)",
  33589. "type": "number"
  33590. },
  33591. "deliverystatus": {
  33592. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  33593. "type": "integer"
  33594. },
  33595. "deliverytime": {
  33596. "description": "交割时间",
  33597. "type": "string"
  33598. },
  33599. "deliverytotalamount": {
  33600. "description": "交收金额",
  33601. "type": "number"
  33602. },
  33603. "enumdicname": {
  33604. "description": "单位名称",
  33605. "type": "string"
  33606. },
  33607. "matchaccountid": {
  33608. "description": "对手账号ID",
  33609. "type": "integer"
  33610. },
  33611. "matchusername": {
  33612. "description": "对手方名称(仓单持有人)",
  33613. "type": "string"
  33614. },
  33615. "p1goodsremainamount": {
  33616. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  33617. "type": "number"
  33618. },
  33619. "pdeliverycloseqty": {
  33620. "description": "p合约平仓数量",
  33621. "type": "number"
  33622. },
  33623. "pdeliveryprice": {
  33624. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  33625. "type": "number"
  33626. },
  33627. "pgoodscode": {
  33628. "description": "商品代码",
  33629. "type": "string"
  33630. },
  33631. "pgoodsid": {
  33632. "description": "p点选合约id",
  33633. "type": "integer"
  33634. },
  33635. "pgoodsname": {
  33636. "description": "商品名称",
  33637. "type": "string"
  33638. },
  33639. "ppricemode": {
  33640. "description": "点价价格方式 - 1:商品价 2:固定值",
  33641. "type": "integer"
  33642. },
  33643. "tradedate": {
  33644. "description": "交易日(yyyymmdd)",
  33645. "type": "string"
  33646. },
  33647. "userid": {
  33648. "description": "用户id",
  33649. "type": "integer"
  33650. },
  33651. "username": {
  33652. "description": "用户名称",
  33653. "type": "string"
  33654. },
  33655. "warehousename": {
  33656. "description": "仓库名称",
  33657. "type": "string"
  33658. },
  33659. "wrfactortypeid": {
  33660. "description": "仓单要素类型ID",
  33661. "type": "string"
  33662. },
  33663. "wrtypename": {
  33664. "description": "商品",
  33665. "type": "string"
  33666. },
  33667. "xdeliverycloseqty": {
  33668. "description": "合约数量",
  33669. "type": "number"
  33670. },
  33671. "xgoodsamount": {
  33672. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  33673. "type": "number"
  33674. },
  33675. "xgoodscode": {
  33676. "description": "商品代码",
  33677. "type": "string"
  33678. },
  33679. "xgoodsid": {
  33680. "description": "x交易合约ID",
  33681. "type": "integer"
  33682. },
  33683. "xgoodsname": {
  33684. "description": "商品名称",
  33685. "type": "string"
  33686. }
  33687. }
  33688. },
  33689. "models.WrFAProductDetail": {
  33690. "type": "object",
  33691. "properties": {
  33692. "accountid": {
  33693. "description": "资金账号",
  33694. "type": "integer"
  33695. },
  33696. "areauserid": {
  33697. "description": "金融机构ID",
  33698. "type": "integer"
  33699. },
  33700. "financingdays": {
  33701. "description": "天数(天)",
  33702. "type": "integer"
  33703. },
  33704. "interestminlen": {
  33705. "description": "最小起息天数",
  33706. "type": "integer"
  33707. },
  33708. "interestrate": {
  33709. "description": "利率",
  33710. "type": "number"
  33711. },
  33712. "interestratemode": {
  33713. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  33714. "type": "integer"
  33715. },
  33716. "interestsettlemode": {
  33717. "description": "结息方式 - 1:按日结息 3:按月结息",
  33718. "type": "integer"
  33719. },
  33720. "interestsettlevalue": {
  33721. "description": "结息方式值",
  33722. "type": "integer"
  33723. },
  33724. "isautoloan": {
  33725. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  33726. "type": "integer"
  33727. },
  33728. "loantag": {
  33729. "description": "放款标识: \"放款快\" 或者为空",
  33730. "type": "string"
  33731. },
  33732. "marginratio": {
  33733. "description": "保证金比率质押率 - [仓单质押]",
  33734. "type": "number"
  33735. },
  33736. "productdetailid": {
  33737. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  33738. "type": "integer"
  33739. },
  33740. "productid": {
  33741. "description": "金融产品ID",
  33742. "type": "integer"
  33743. },
  33744. "productname": {
  33745. "description": "产品名称",
  33746. "type": "string"
  33747. },
  33748. "updatetime": {
  33749. "description": "更新时间",
  33750. "type": "string"
  33751. },
  33752. "username": {
  33753. "description": "融出方",
  33754. "type": "string"
  33755. }
  33756. }
  33757. },
  33758. "models.WrFactorTypeInfo": {
  33759. "type": "object",
  33760. "properties": {
  33761. "deliverygoodscode": {
  33762. "description": "品种代码",
  33763. "type": "string"
  33764. },
  33765. "deliverygoodsname": {
  33766. "description": "品种名称",
  33767. "type": "string"
  33768. },
  33769. "dgfactoryitemid": {
  33770. "description": "选择项id",
  33771. "type": "integer"
  33772. },
  33773. "dgfactoryitemtypeid": {
  33774. "description": "要素选择项ID (1-仓库 2-品牌)",
  33775. "type": "integer"
  33776. },
  33777. "dgfactoryitemvalue": {
  33778. "description": "要素项值",
  33779. "type": "string"
  33780. },
  33781. "itemtypename": {
  33782. "description": "要素项名称",
  33783. "type": "string"
  33784. },
  33785. "optioncompare": {
  33786. "description": "选择比较串",
  33787. "type": "string"
  33788. },
  33789. "warehouseid": {
  33790. "description": "仓库id",
  33791. "type": "integer"
  33792. },
  33793. "wrfactortypeid": {
  33794. "description": "仓单要素ID",
  33795. "type": "string"
  33796. },
  33797. "wrfactortypename": {
  33798. "description": "要素名称",
  33799. "type": "string"
  33800. },
  33801. "wrfactortypename2": {
  33802. "description": "要素名称(不含仓库)",
  33803. "type": "string"
  33804. },
  33805. "wrstandardcode": {
  33806. "description": "品类代码",
  33807. "type": "string"
  33808. },
  33809. "wrstandardid": {
  33810. "description": "品类id",
  33811. "type": "integer"
  33812. },
  33813. "wrstandardname": {
  33814. "description": "品类名称",
  33815. "type": "string"
  33816. }
  33817. }
  33818. },
  33819. "models.WrFilterItem": {
  33820. "type": "object",
  33821. "properties": {
  33822. "itemcode": {
  33823. "description": "代码",
  33824. "type": "string"
  33825. },
  33826. "itemid": {
  33827. "description": "项id",
  33828. "type": "integer"
  33829. },
  33830. "itemname": {
  33831. "description": "名称",
  33832. "type": "string"
  33833. },
  33834. "itemtype": {
  33835. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  33836. "type": "integer"
  33837. }
  33838. }
  33839. },
  33840. "models.WrFinanceBuyApply": {
  33841. "type": "object",
  33842. "properties": {
  33843. "applydate": {
  33844. "description": "申请时间",
  33845. "type": "string"
  33846. },
  33847. "applystatus": {
  33848. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  33849. "type": "integer"
  33850. },
  33851. "applyuserid": {
  33852. "description": "申请人",
  33853. "type": "integer"
  33854. },
  33855. "auditdate": {
  33856. "description": "审核时间",
  33857. "type": "string"
  33858. },
  33859. "auditremark": {
  33860. "description": "审核备注",
  33861. "type": "string"
  33862. },
  33863. "audituserid": {
  33864. "description": "审核人",
  33865. "type": "integer"
  33866. },
  33867. "buyaccountid": {
  33868. "description": "买方资金账号",
  33869. "type": "integer"
  33870. },
  33871. "buyorsell": {
  33872. "description": "买卖 - 0:买 1:卖",
  33873. "type": "integer"
  33874. },
  33875. "buyuserid": {
  33876. "description": "买方用户ID",
  33877. "type": "integer"
  33878. },
  33879. "buyusername": {
  33880. "description": "买方名称",
  33881. "type": "string"
  33882. },
  33883. "buywrtradeorderid": {
  33884. "description": "融资方买委托单ID",
  33885. "type": "string"
  33886. },
  33887. "deliverygoodscode": {
  33888. "description": "品种代码",
  33889. "type": "string"
  33890. },
  33891. "deliverygoodsid": {
  33892. "description": "品种ID",
  33893. "type": "integer"
  33894. },
  33895. "deliverygoodsname": {
  33896. "description": "品种名称",
  33897. "type": "string"
  33898. },
  33899. "deliverymonth": {
  33900. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  33901. "type": "string"
  33902. },
  33903. "enumdicname": {
  33904. "description": "单位名称",
  33905. "type": "string"
  33906. },
  33907. "financeaccountid": {
  33908. "description": "融资方资金帐户ID",
  33909. "type": "integer"
  33910. },
  33911. "financeapplyid": {
  33912. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33913. "type": "string"
  33914. },
  33915. "financeareauserid": {
  33916. "description": "融资方用户ID",
  33917. "type": "string"
  33918. },
  33919. "financename": {
  33920. "description": "融出方名称",
  33921. "type": "string"
  33922. },
  33923. "financetype": {
  33924. "description": "融资类型 1-融资回购",
  33925. "type": "integer"
  33926. },
  33927. "financingdays": {
  33928. "description": "天数(天)",
  33929. "type": "integer"
  33930. },
  33931. "freezebuymargin": {
  33932. "description": "冻结融资保证金(买方)",
  33933. "type": "number"
  33934. },
  33935. "handleremark": {
  33936. "description": "处理备注",
  33937. "type": "string"
  33938. },
  33939. "handlestatus": {
  33940. "description": "处理状态",
  33941. "type": "integer"
  33942. },
  33943. "interestminlen": {
  33944. "description": "最小起息天数",
  33945. "type": "integer"
  33946. },
  33947. "interestrate": {
  33948. "description": "利率",
  33949. "type": "number"
  33950. },
  33951. "interestratemode": {
  33952. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  33953. "type": "integer"
  33954. },
  33955. "interestsettlemode": {
  33956. "description": "结息方式 - 1:按日结息 3:按月结息",
  33957. "type": "integer"
  33958. },
  33959. "interestsettlevalue": {
  33960. "description": "结息方式值",
  33961. "type": "integer"
  33962. },
  33963. "isautoloan": {
  33964. "description": "是否自动放款 - 0:手动 1:自动",
  33965. "type": "integer"
  33966. },
  33967. "marginratio": {
  33968. "description": "保证金比率质押率 - [仓单质押]",
  33969. "type": "number"
  33970. },
  33971. "marketid": {
  33972. "description": "市场ID",
  33973. "type": "integer"
  33974. },
  33975. "minivalue": {
  33976. "description": "现货商品最小变动值",
  33977. "type": "integer"
  33978. },
  33979. "optioncompare": {
  33980. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33981. "type": "string"
  33982. },
  33983. "orderqty": {
  33984. "description": "委托数量(商品数量)",
  33985. "type": "number"
  33986. },
  33987. "productdetailid": {
  33988. "description": "产品组合ID",
  33989. "type": "integer"
  33990. },
  33991. "productid": {
  33992. "description": "金融产品ID",
  33993. "type": "integer"
  33994. },
  33995. "productname": {
  33996. "description": "产品名称",
  33997. "type": "string"
  33998. },
  33999. "remark": {
  34000. "description": "备注",
  34001. "type": "string"
  34002. },
  34003. "scfcontractid": {
  34004. "description": "仓单回购合同ID",
  34005. "type": "string"
  34006. },
  34007. "sellaccountid": {
  34008. "description": "卖方资金账号",
  34009. "type": "integer"
  34010. },
  34011. "selluserid": {
  34012. "description": "卖方用户ID",
  34013. "type": "integer"
  34014. },
  34015. "sellwrtradeorderid": {
  34016. "description": "卖方委托单ID",
  34017. "type": "string"
  34018. },
  34019. "tradeamount": {
  34020. "description": "成交金额(借款金额)",
  34021. "type": "number"
  34022. },
  34023. "tradedate": {
  34024. "description": "交易日(yyyyMMdd)",
  34025. "type": "string"
  34026. },
  34027. "tradeprice": {
  34028. "description": "成交价格",
  34029. "type": "number"
  34030. },
  34031. "warehouseid": {
  34032. "description": "仓库ID",
  34033. "type": "integer"
  34034. },
  34035. "warehousename": {
  34036. "description": "仓库名称",
  34037. "type": "string"
  34038. },
  34039. "wrfactortypeid": {
  34040. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34041. "type": "string"
  34042. },
  34043. "wrfactortypename": {
  34044. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34045. "type": "string"
  34046. },
  34047. "wrpricetype": {
  34048. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  34049. "type": "integer"
  34050. },
  34051. "wrstandardcode": {
  34052. "description": "现货商品代码",
  34053. "type": "string"
  34054. },
  34055. "wrstandardid": {
  34056. "description": "现货商品ID",
  34057. "type": "integer"
  34058. },
  34059. "wrstandardname": {
  34060. "description": "商品名称",
  34061. "type": "string"
  34062. },
  34063. "wrtypename": {
  34064. "description": "商品",
  34065. "type": "string"
  34066. }
  34067. }
  34068. },
  34069. "models.WrFriendApply": {
  34070. "type": "object",
  34071. "properties": {
  34072. "applicantid": {
  34073. "description": "申请人",
  34074. "type": "integer"
  34075. },
  34076. "applyname": {
  34077. "description": "申请人名称",
  34078. "type": "string"
  34079. },
  34080. "applysrc": {
  34081. "description": "申请来源 - 1:管理端 2:终端",
  34082. "type": "integer"
  34083. },
  34084. "applystatus": {
  34085. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  34086. "type": "integer"
  34087. },
  34088. "applytime": {
  34089. "description": "申请时间",
  34090. "type": "string"
  34091. },
  34092. "auditname": {
  34093. "description": "审核人名称",
  34094. "type": "string"
  34095. },
  34096. "auditorid": {
  34097. "description": "审核人",
  34098. "type": "integer"
  34099. },
  34100. "auditremark": {
  34101. "description": "审核备注",
  34102. "type": "string"
  34103. },
  34104. "auditsrc": {
  34105. "description": "审核来源 - 1:管理端 2:终端",
  34106. "type": "integer"
  34107. },
  34108. "audittime": {
  34109. "description": "审核时间",
  34110. "type": "string"
  34111. },
  34112. "friendapplyid": {
  34113. "description": "申请ID(SEQ_FRIENDAPPLY)",
  34114. "type": "string"
  34115. },
  34116. "friendname": {
  34117. "description": "好友名字(已脱敏)",
  34118. "type": "string"
  34119. },
  34120. "frienduserid": {
  34121. "description": "好友用户ID",
  34122. "type": "string"
  34123. },
  34124. "remark": {
  34125. "description": "备注",
  34126. "type": "string"
  34127. },
  34128. "userid": {
  34129. "description": "申请人用户ID",
  34130. "type": "integer"
  34131. }
  34132. }
  34133. },
  34134. "models.WrFtDeliveryGoods": {
  34135. "type": "object",
  34136. "properties": {
  34137. "deliverygoodscode": {
  34138. "description": "品种代码",
  34139. "type": "string"
  34140. },
  34141. "deliverygoodsid": {
  34142. "description": "品种ID",
  34143. "type": "integer"
  34144. },
  34145. "deliverygoodsname": {
  34146. "description": "品种名称",
  34147. "type": "string"
  34148. },
  34149. "wdlst": {
  34150. "description": "商品列表",
  34151. "type": "array",
  34152. "items": {
  34153. "$ref": "#/definitions/models.WrFtWrstandard"
  34154. }
  34155. }
  34156. }
  34157. },
  34158. "models.WrFtWrstandard": {
  34159. "type": "object",
  34160. "properties": {
  34161. "enumdicname": {
  34162. "description": "单位名称",
  34163. "type": "string"
  34164. },
  34165. "minivalue": {
  34166. "description": "最小变动值",
  34167. "type": "integer"
  34168. },
  34169. "wrstandardcode": {
  34170. "description": "现货商品代码",
  34171. "type": "string"
  34172. },
  34173. "wrstandardid": {
  34174. "description": "现货商品ID",
  34175. "type": "integer"
  34176. },
  34177. "wrstandardname": {
  34178. "description": "商品名称",
  34179. "type": "string"
  34180. }
  34181. }
  34182. },
  34183. "models.WrGoodsInfo": {
  34184. "type": "object",
  34185. "properties": {
  34186. "haswr": {
  34187. "description": "0:仓单预售 1:仓单贸易",
  34188. "type": "integer"
  34189. },
  34190. "lstitem": {
  34191. "description": "商品信息项",
  34192. "type": "array",
  34193. "items": {
  34194. "$ref": "#/definitions/models.WrTypeItem"
  34195. }
  34196. },
  34197. "lststep": {
  34198. "description": "履约规则",
  34199. "type": "array",
  34200. "items": {
  34201. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34202. }
  34203. },
  34204. "marketid": {
  34205. "description": "市场id",
  34206. "type": "integer"
  34207. }
  34208. }
  34209. },
  34210. "models.WrGoodsPerformanceStep": {
  34211. "type": "object",
  34212. "properties": {
  34213. "autoid": {
  34214. "description": "AutoID",
  34215. "type": "integer"
  34216. },
  34217. "isauto": {
  34218. "description": "是否自动 - 0:不自动 1:自动",
  34219. "type": "integer"
  34220. },
  34221. "remark": {
  34222. "description": "备注",
  34223. "type": "string"
  34224. },
  34225. "stepdate": {
  34226. "description": "天数信息(T+N)",
  34227. "type": "string"
  34228. },
  34229. "stepdays": {
  34230. "description": "距离上一步天数",
  34231. "type": "integer"
  34232. },
  34233. "stepindex": {
  34234. "description": "步骤序号",
  34235. "type": "integer"
  34236. },
  34237. "stepinfo": {
  34238. "description": "步骤信息(步骤名称+步骤值)",
  34239. "type": "string"
  34240. },
  34241. "steptypeid": {
  34242. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  34243. "type": "integer"
  34244. },
  34245. "steptypename": {
  34246. "description": "步骤名称",
  34247. "type": "string"
  34248. },
  34249. "stepvalue": {
  34250. "description": "步骤值",
  34251. "type": "number"
  34252. },
  34253. "templateid": {
  34254. "description": "履约计划模板ID",
  34255. "type": "integer"
  34256. }
  34257. }
  34258. },
  34259. "models.WrHoldLB": {
  34260. "type": "object",
  34261. "properties": {
  34262. "accountid": {
  34263. "description": "持有人帐户ID",
  34264. "type": "integer"
  34265. },
  34266. "createtime": {
  34267. "description": "创建时间(过户时间)",
  34268. "type": "string"
  34269. },
  34270. "deliverygoodscode": {
  34271. "description": "品种代码",
  34272. "type": "string"
  34273. },
  34274. "deliverygoodsid": {
  34275. "description": "品种ID",
  34276. "type": "integer"
  34277. },
  34278. "deliverygoodsname": {
  34279. "description": "品种名称",
  34280. "type": "string"
  34281. },
  34282. "enableqty": {
  34283. "description": "可用数量",
  34284. "type": "number"
  34285. },
  34286. "enumdicname": {
  34287. "description": "单位名称",
  34288. "type": "string"
  34289. },
  34290. "freezerqty": {
  34291. "description": "冻结数量",
  34292. "type": "number"
  34293. },
  34294. "ladingbillid": {
  34295. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  34296. "type": "string"
  34297. },
  34298. "minivalue": {
  34299. "description": "现货商品最小变动值",
  34300. "type": "integer"
  34301. },
  34302. "optioncompare": {
  34303. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34304. "type": "string"
  34305. },
  34306. "parentsubnum": {
  34307. "description": "拆分父子单号",
  34308. "type": "integer"
  34309. },
  34310. "pledgeqty": {
  34311. "description": "质押数量",
  34312. "type": "number"
  34313. },
  34314. "qty": {
  34315. "description": "数量",
  34316. "type": "number"
  34317. },
  34318. "subnum": {
  34319. "description": "提单子单号",
  34320. "type": "integer"
  34321. },
  34322. "tradedate": {
  34323. "description": "交易日(yyyyMMdd)",
  34324. "type": "string"
  34325. },
  34326. "userid": {
  34327. "description": "持有人ID",
  34328. "type": "integer"
  34329. },
  34330. "warehouseid": {
  34331. "description": "仓库ID",
  34332. "type": "integer"
  34333. },
  34334. "warehousename": {
  34335. "description": "仓库名称",
  34336. "type": "string"
  34337. },
  34338. "wrfactortypeid": {
  34339. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34340. "type": "string"
  34341. },
  34342. "wrfactortypename": {
  34343. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34344. "type": "string"
  34345. },
  34346. "wrholdeno": {
  34347. "description": "仓单编号",
  34348. "type": "string"
  34349. },
  34350. "wrid": {
  34351. "description": "仓单变更ID",
  34352. "type": "string"
  34353. },
  34354. "wrstandardcode": {
  34355. "description": "现货商品代码",
  34356. "type": "string"
  34357. },
  34358. "wrstandardid": {
  34359. "description": "现货商品ID",
  34360. "type": "integer"
  34361. },
  34362. "wrstandardname": {
  34363. "description": "商品名称",
  34364. "type": "string"
  34365. },
  34366. "wrtypename": {
  34367. "description": "商品",
  34368. "type": "string"
  34369. }
  34370. }
  34371. },
  34372. "models.WrMarketTradeConfig": {
  34373. "type": "object",
  34374. "properties": {
  34375. "basisdownratio": {
  34376. "description": "浮动价基差下限比例(仓单贸易)",
  34377. "type": "number"
  34378. },
  34379. "basisupratio": {
  34380. "description": "浮动价基差上限比例(仓单贸易)",
  34381. "type": "number"
  34382. },
  34383. "buychargealgorithm": {
  34384. "description": "买方手续费收取方式 1:比率 2:固定",
  34385. "type": "integer"
  34386. },
  34387. "buychargealgorithm2": {
  34388. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  34389. "type": "integer"
  34390. },
  34391. "buychargealgorithmvalue": {
  34392. "description": "买方手续费设置值(交易所部分)",
  34393. "type": "number"
  34394. },
  34395. "buychargealgorithmvalue2": {
  34396. "description": "买方手续费设置值(会员部分)",
  34397. "type": "number"
  34398. },
  34399. "buychargealgorithmvalue3": {
  34400. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  34401. "type": "number"
  34402. },
  34403. "buychargealgorithmvalue4": {
  34404. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  34405. "type": "number"
  34406. },
  34407. "buyfirstmarginalgorithm": {
  34408. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  34409. "type": "integer"
  34410. },
  34411. "buyfirstmarginvalue": {
  34412. "description": "买方出价保证金设置值 - [竞拍]",
  34413. "type": "number"
  34414. },
  34415. "buymarginalgorithm": {
  34416. "description": "买方保证金方式 - 1:比率 2:固定",
  34417. "type": "integer"
  34418. },
  34419. "buymarginvalue": {
  34420. "description": "买方保证金设置值",
  34421. "type": "number"
  34422. },
  34423. "buyreleaseratio": {
  34424. "description": "买方释放比率[2:分步履约]",
  34425. "type": "number"
  34426. },
  34427. "executemode": {
  34428. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  34429. "type": "integer"
  34430. },
  34431. "executeside": {
  34432. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  34433. "type": "integer"
  34434. },
  34435. "failedchargealgorithm": {
  34436. "description": "流拍手续费收取方式 1:比率 2:固定",
  34437. "type": "integer"
  34438. },
  34439. "failedchargevalue": {
  34440. "description": "流拍手续费设置值",
  34441. "type": "number"
  34442. },
  34443. "failedchargevalue2": {
  34444. "description": "流拍卖方手续费设置值",
  34445. "type": "number"
  34446. },
  34447. "holddays": {
  34448. "description": "合同期限[2:分步履约]",
  34449. "type": "integer"
  34450. },
  34451. "marketid": {
  34452. "description": "市场ID-仓单贸易、竞拍、预售",
  34453. "type": "integer"
  34454. },
  34455. "minqty": {
  34456. "description": "最小执行量[2:分步履约]",
  34457. "type": "number"
  34458. },
  34459. "modifierid": {
  34460. "description": "修改人",
  34461. "type": "integer"
  34462. },
  34463. "performancetempid": {
  34464. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  34465. "type": "integer"
  34466. },
  34467. "performancetempid2": {
  34468. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  34469. "type": "integer"
  34470. },
  34471. "performanceway": {
  34472. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  34473. "type": "integer"
  34474. },
  34475. "sellchargealgorithm": {
  34476. "description": "卖方手续费收取方式 1:比率 2:固定",
  34477. "type": "integer"
  34478. },
  34479. "sellchargealgorithm2": {
  34480. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  34481. "type": "integer"
  34482. },
  34483. "sellchargealgorithmvalue": {
  34484. "description": "卖方手续费设置值(交易所部分)",
  34485. "type": "number"
  34486. },
  34487. "sellchargealgorithmvalue2": {
  34488. "description": "卖方手续费设置值(会员部分)",
  34489. "type": "number"
  34490. },
  34491. "sellchargealgorithmvalue3": {
  34492. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  34493. "type": "number"
  34494. },
  34495. "sellchargealgorithmvalue4": {
  34496. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  34497. "type": "number"
  34498. },
  34499. "sellmarginalgorithm": {
  34500. "description": "卖方保证金方式 - 1:比率 2:固定",
  34501. "type": "integer"
  34502. },
  34503. "sellmarginvalue": {
  34504. "description": "卖方保证金设置值",
  34505. "type": "number"
  34506. },
  34507. "sellmarginvalue2": {
  34508. "description": "卖方保证金设置值(无仓单)",
  34509. "type": "number"
  34510. },
  34511. "sellreleaseratio": {
  34512. "description": "卖方释放比率[2:分步履约]",
  34513. "type": "number"
  34514. },
  34515. "updatetime": {
  34516. "description": "更新时间",
  34517. "type": "string"
  34518. }
  34519. }
  34520. },
  34521. "models.WrOrderDetail": {
  34522. "type": "object",
  34523. "properties": {
  34524. "accountid": {
  34525. "description": "交易账号(资金账号)",
  34526. "type": "integer"
  34527. },
  34528. "allfriendsflag": {
  34529. "description": "是否全好友可见 - 0:否 1:是",
  34530. "type": "integer"
  34531. },
  34532. "amount": {
  34533. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  34534. "type": "number"
  34535. },
  34536. "buyorsell": {
  34537. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  34538. "type": "integer"
  34539. },
  34540. "canbargain": {
  34541. "description": "是否可议价 - 0:不可 1:可",
  34542. "type": "integer"
  34543. },
  34544. "cancelqty": {
  34545. "description": "撤销数量",
  34546. "type": "number"
  34547. },
  34548. "canpart": {
  34549. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  34550. "type": "integer"
  34551. },
  34552. "delistminqty": {
  34553. "description": "起摘数量",
  34554. "type": "integer"
  34555. },
  34556. "deliverygoodscode": {
  34557. "description": "品种代码",
  34558. "type": "string"
  34559. },
  34560. "deliverygoodsid": {
  34561. "description": "品种ID",
  34562. "type": "integer"
  34563. },
  34564. "deliverygoodsname": {
  34565. "description": "品种名称",
  34566. "type": "string"
  34567. },
  34568. "deliverymonth": {
  34569. "description": "交收月",
  34570. "type": "string"
  34571. },
  34572. "enumdicname": {
  34573. "description": "单位名称",
  34574. "type": "string"
  34575. },
  34576. "fixedprice": {
  34577. "description": "固定价格 - [挂牌]",
  34578. "type": "number"
  34579. },
  34580. "freezemargin": {
  34581. "description": "冻结保证金(保证金)",
  34582. "type": "number"
  34583. },
  34584. "futupricemove": {
  34585. "description": "期货升贴水",
  34586. "type": "number"
  34587. },
  34588. "futushow": {
  34589. "description": "期货合约/升贴水",
  34590. "type": "string"
  34591. },
  34592. "goodscode": {
  34593. "description": "期货合约",
  34594. "type": "string"
  34595. },
  34596. "goodsid": {
  34597. "description": "期货商品id",
  34598. "type": "integer"
  34599. },
  34600. "goodsname": {
  34601. "description": "商品名称",
  34602. "type": "string"
  34603. },
  34604. "haswr": {
  34605. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34606. "type": "integer"
  34607. },
  34608. "isspecified": {
  34609. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  34610. "type": "integer"
  34611. },
  34612. "ladingbillid": {
  34613. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  34614. "type": "string"
  34615. },
  34616. "marginvalue": {
  34617. "description": "保证金设置值(履约保证金)",
  34618. "type": "number"
  34619. },
  34620. "marketid": {
  34621. "description": "市场ID",
  34622. "type": "integer"
  34623. },
  34624. "matchusername": {
  34625. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  34626. "type": "string"
  34627. },
  34628. "minivalue": {
  34629. "description": "现货商品最小变动值",
  34630. "type": "integer"
  34631. },
  34632. "optioncompare": {
  34633. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34634. "type": "string"
  34635. },
  34636. "orderqty": {
  34637. "description": "委托数量",
  34638. "type": "number"
  34639. },
  34640. "ordertime": {
  34641. "description": "委托时间(挂牌时间)",
  34642. "type": "string"
  34643. },
  34644. "performancetemplateid": {
  34645. "description": "履约模板id",
  34646. "type": "integer"
  34647. },
  34648. "pricemove": {
  34649. "description": "升贴水(浮动价时填写) - [挂牌]",
  34650. "type": "number"
  34651. },
  34652. "taname": {
  34653. "description": "交易用户名称(资金账号名称)",
  34654. "type": "string"
  34655. },
  34656. "tradedate": {
  34657. "description": "交易日(yyyyMMdd)",
  34658. "type": "string"
  34659. },
  34660. "tradeprice": {
  34661. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  34662. "type": "number"
  34663. },
  34664. "tradeqty": {
  34665. "description": "成交数量",
  34666. "type": "number"
  34667. },
  34668. "userid": {
  34669. "description": "用户ID",
  34670. "type": "integer"
  34671. },
  34672. "validtime": {
  34673. "description": "挂牌有效期",
  34674. "type": "string"
  34675. },
  34676. "warehouseid": {
  34677. "description": "仓库ID",
  34678. "type": "integer"
  34679. },
  34680. "warehousename": {
  34681. "description": "仓库名称",
  34682. "type": "string"
  34683. },
  34684. "wrfactortypeid": {
  34685. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34686. "type": "string"
  34687. },
  34688. "wrfactortypename": {
  34689. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34690. "type": "string"
  34691. },
  34692. "wrpricetype": {
  34693. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  34694. "type": "integer"
  34695. },
  34696. "wrstandardcode": {
  34697. "description": "现货商品代码",
  34698. "type": "string"
  34699. },
  34700. "wrstandardid": {
  34701. "description": "现货商品ID",
  34702. "type": "integer"
  34703. },
  34704. "wrstandardname": {
  34705. "description": "商品名称",
  34706. "type": "string"
  34707. },
  34708. "wrtradeorderid": {
  34709. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34710. "type": "string"
  34711. },
  34712. "wrtradeorderstatus": {
  34713. "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:撤单解冻贷款失败",
  34714. "type": "integer"
  34715. },
  34716. "wrtradetype": {
  34717. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  34718. "type": "integer"
  34719. },
  34720. "wrtypename": {
  34721. "description": "商品",
  34722. "type": "string"
  34723. }
  34724. }
  34725. },
  34726. "models.WrOrderQuote": {
  34727. "type": "object",
  34728. "properties": {
  34729. "buyprice": {
  34730. "description": "买价",
  34731. "type": "number"
  34732. },
  34733. "buypricemove": {
  34734. "description": "买升贴水(基差)",
  34735. "type": "number"
  34736. },
  34737. "buyqty": {
  34738. "description": "买量",
  34739. "type": "number"
  34740. },
  34741. "deliverygoodscode": {
  34742. "description": "品种代码",
  34743. "type": "string"
  34744. },
  34745. "deliverygoodsid": {
  34746. "description": "品种id",
  34747. "type": "integer"
  34748. },
  34749. "deliverygoodsname": {
  34750. "description": "品种名称",
  34751. "type": "string"
  34752. },
  34753. "deliverymonth": {
  34754. "description": "交收月",
  34755. "type": "string"
  34756. },
  34757. "enumdicname": {
  34758. "description": "单位名称",
  34759. "type": "string"
  34760. },
  34761. "goodscode": {
  34762. "description": "商品合约(浮动价列表才有)",
  34763. "type": "string"
  34764. },
  34765. "goodsid": {
  34766. "description": "商品id(浮动价列表才有)",
  34767. "type": "integer"
  34768. },
  34769. "minivalue": {
  34770. "description": "现货商品最小变动值",
  34771. "type": "integer"
  34772. },
  34773. "sellprice": {
  34774. "description": "卖价",
  34775. "type": "number"
  34776. },
  34777. "sellpricemove": {
  34778. "description": "卖升贴水(基差)",
  34779. "type": "number"
  34780. },
  34781. "sellqty": {
  34782. "description": "卖量",
  34783. "type": "number"
  34784. },
  34785. "warehousecode": {
  34786. "description": "仓库代码",
  34787. "type": "string"
  34788. },
  34789. "warehouseid": {
  34790. "description": "仓库id",
  34791. "type": "integer"
  34792. },
  34793. "warehousename": {
  34794. "description": "仓库名称",
  34795. "type": "string"
  34796. },
  34797. "wrfactortypeid": {
  34798. "description": "仓单要素id",
  34799. "type": "string"
  34800. },
  34801. "wrfactortypename": {
  34802. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34803. "type": "string"
  34804. },
  34805. "wrgoodsname": {
  34806. "description": "商品(商品名称+仓库要素名称 拼接)",
  34807. "type": "string"
  34808. },
  34809. "wrstandardcode": {
  34810. "description": "商品代码",
  34811. "type": "string"
  34812. },
  34813. "wrstandardid": {
  34814. "description": "商品id",
  34815. "type": "integer"
  34816. },
  34817. "wrstandardname": {
  34818. "description": "商品名称",
  34819. "type": "string"
  34820. }
  34821. }
  34822. },
  34823. "models.WrOrderQuoteDetail": {
  34824. "type": "object",
  34825. "properties": {
  34826. "buyorsell": {
  34827. "description": "买卖 - 0:买 1:卖",
  34828. "type": "integer"
  34829. },
  34830. "delistminqty": {
  34831. "description": "起摘数量",
  34832. "type": "number"
  34833. },
  34834. "deliverymonth": {
  34835. "description": "交收月",
  34836. "type": "string"
  34837. },
  34838. "enumdicname": {
  34839. "description": "单位名称",
  34840. "type": "string"
  34841. },
  34842. "fixedprice": {
  34843. "description": "买(卖)价",
  34844. "type": "number"
  34845. },
  34846. "minivalue": {
  34847. "description": "现货商品最小变动值",
  34848. "type": "integer"
  34849. },
  34850. "orderqty": {
  34851. "description": "买(卖)量(=委托量-成交量)",
  34852. "type": "number"
  34853. },
  34854. "ordertime": {
  34855. "description": "委托时间",
  34856. "type": "string"
  34857. },
  34858. "pricemove": {
  34859. "description": "买(卖)升贴水- 基差",
  34860. "type": "number"
  34861. },
  34862. "userid": {
  34863. "description": "购买方(销售方)用户ID",
  34864. "type": "integer"
  34865. },
  34866. "username": {
  34867. "description": "购买方(销售方)",
  34868. "type": "string"
  34869. },
  34870. "wrtradeorderid": {
  34871. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34872. "type": "string"
  34873. }
  34874. }
  34875. },
  34876. "models.WrOutInApply": {
  34877. "type": "object",
  34878. "properties": {
  34879. "applyid": {
  34880. "description": "申请单id",
  34881. "type": "string"
  34882. },
  34883. "applystatus": {
  34884. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  34885. "type": "integer"
  34886. },
  34887. "applytime": {
  34888. "description": "申请时间",
  34889. "type": "string"
  34890. },
  34891. "applytype": {
  34892. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  34893. "type": "integer"
  34894. },
  34895. "deliverygoodscode": {
  34896. "description": "品种代码",
  34897. "type": "string"
  34898. },
  34899. "deliverygoodsid": {
  34900. "description": "品种ID",
  34901. "type": "integer"
  34902. },
  34903. "deliverygoodsname": {
  34904. "description": "品种名称",
  34905. "type": "string"
  34906. },
  34907. "enumdicname": {
  34908. "description": "单位名称",
  34909. "type": "string"
  34910. },
  34911. "expresscompany": {
  34912. "description": "物流公司",
  34913. "type": "string"
  34914. },
  34915. "expressnum": {
  34916. "description": "物流单号",
  34917. "type": "string"
  34918. },
  34919. "minivalue": {
  34920. "description": "现货商品最小变动值",
  34921. "type": "integer"
  34922. },
  34923. "optioncompare": {
  34924. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34925. "type": "string"
  34926. },
  34927. "qty": {
  34928. "description": "数量",
  34929. "type": "integer"
  34930. },
  34931. "userid": {
  34932. "description": "用户id",
  34933. "type": "integer"
  34934. },
  34935. "warehouseid": {
  34936. "description": "仓库ID",
  34937. "type": "integer"
  34938. },
  34939. "warehousename": {
  34940. "description": "仓库名称",
  34941. "type": "string"
  34942. },
  34943. "wrfactortypeid": {
  34944. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34945. "type": "string"
  34946. },
  34947. "wrfactortypename": {
  34948. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34949. "type": "string"
  34950. },
  34951. "wrstandardcode": {
  34952. "description": "现货商品代码",
  34953. "type": "string"
  34954. },
  34955. "wrstandardid": {
  34956. "description": "现货商品ID",
  34957. "type": "integer"
  34958. },
  34959. "wrstandardname": {
  34960. "description": "商品名称",
  34961. "type": "string"
  34962. },
  34963. "wrtypename": {
  34964. "description": "商品",
  34965. "type": "string"
  34966. }
  34967. }
  34968. },
  34969. "models.WrPerformancePlan": {
  34970. "type": "object",
  34971. "required": [
  34972. "userid"
  34973. ],
  34974. "properties": {
  34975. "activatemonth": {
  34976. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  34977. "type": "string"
  34978. },
  34979. "amount": {
  34980. "description": "履约金额(总金额)",
  34981. "type": "number"
  34982. },
  34983. "buyaccountid": {
  34984. "description": "买方账号",
  34985. "type": "integer"
  34986. },
  34987. "buyerfreezeamount": {
  34988. "description": "履约冻结(买履约)",
  34989. "type": "number"
  34990. },
  34991. "buyerfreezeamountremain": {
  34992. "description": "履约冻结剩余(买履约)",
  34993. "type": "number"
  34994. },
  34995. "buyorsell": {
  34996. "description": "买卖方向 0-买 1-卖",
  34997. "type": "integer"
  34998. },
  34999. "buypaidamount": {
  35000. "description": "买方已冻/已扣金额 (已付金额)",
  35001. "type": "number"
  35002. },
  35003. "buyusername": {
  35004. "description": "买方名字",
  35005. "type": "string"
  35006. },
  35007. "contractid": {
  35008. "description": "合同ID",
  35009. "type": "integer"
  35010. },
  35011. "createtime": {
  35012. "description": "创建时间",
  35013. "type": "string"
  35014. },
  35015. "creatorid": {
  35016. "description": "创建人",
  35017. "type": "integer"
  35018. },
  35019. "curstepdeadline": {
  35020. "description": "当前步骤到期时间",
  35021. "type": "string"
  35022. },
  35023. "curstepid": {
  35024. "description": "当前步骤ID",
  35025. "type": "string"
  35026. },
  35027. "curstepname": {
  35028. "description": "当前步骤名称",
  35029. "type": "string"
  35030. },
  35031. "deliverygoodscode": {
  35032. "description": "品种代码",
  35033. "type": "string"
  35034. },
  35035. "deliverygoodsid": {
  35036. "description": "品种ID",
  35037. "type": "integer"
  35038. },
  35039. "deliverygoodsname": {
  35040. "description": "品种名称",
  35041. "type": "string"
  35042. },
  35043. "enumdicname": {
  35044. "description": "单位名称",
  35045. "type": "string"
  35046. },
  35047. "expressfee": {
  35048. "description": "运费",
  35049. "type": "number"
  35050. },
  35051. "expressfeeconfirmed": {
  35052. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  35053. "type": "integer"
  35054. },
  35055. "hasovershort": {
  35056. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  35057. "type": "integer"
  35058. },
  35059. "haswr": {
  35060. "description": "类型 0-仓单预售 1-仓单贸易",
  35061. "type": "integer"
  35062. },
  35063. "marketid": {
  35064. "description": "市场ID",
  35065. "type": "integer"
  35066. },
  35067. "middleaccountid": {
  35068. "description": "中间商资金账号ID",
  35069. "type": "integer"
  35070. },
  35071. "middleuserid": {
  35072. "description": "中间商用户ID",
  35073. "type": "integer"
  35074. },
  35075. "minivalue": {
  35076. "description": "现货商品最小变动值",
  35077. "type": "integer"
  35078. },
  35079. "optioncompare": {
  35080. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35081. "type": "string"
  35082. },
  35083. "overshortamount": {
  35084. "description": "溢短金额",
  35085. "type": "number"
  35086. },
  35087. "overshortqty": {
  35088. "description": "溢短数量",
  35089. "type": "number"
  35090. },
  35091. "paymenttype": {
  35092. "description": "付款方式 - 1:冻结 2:扣款",
  35093. "type": "integer"
  35094. },
  35095. "performanceplanid": {
  35096. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  35097. "type": "string"
  35098. },
  35099. "performancestatus": {
  35100. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  35101. "type": "integer"
  35102. },
  35103. "performancetype": {
  35104. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  35105. "type": "integer"
  35106. },
  35107. "qty": {
  35108. "description": "履约数量",
  35109. "type": "number"
  35110. },
  35111. "relatedorderid": {
  35112. "description": "关联单号(履约类型的关联单号)",
  35113. "type": "string"
  35114. },
  35115. "remark": {
  35116. "description": "备注",
  35117. "type": "string"
  35118. },
  35119. "sellaccountid": {
  35120. "description": "卖方账号",
  35121. "type": "integer"
  35122. },
  35123. "sellerfreezeamount": {
  35124. "description": "履约冻结(卖履约)",
  35125. "type": "number"
  35126. },
  35127. "sellerfreezeamountremain": {
  35128. "description": "履约冻结剩余(卖履约)",
  35129. "type": "number"
  35130. },
  35131. "sellreceivedamount": {
  35132. "description": "卖方已收金额",
  35133. "type": "number"
  35134. },
  35135. "sellusername": {
  35136. "description": "卖方名字",
  35137. "type": "string"
  35138. },
  35139. "shipremark": {
  35140. "description": "发货备注[物流单号]",
  35141. "type": "string"
  35142. },
  35143. "starttime": {
  35144. "description": "开始时间",
  35145. "type": "string"
  35146. },
  35147. "steptypeid": {
  35148. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35149. "type": "integer"
  35150. },
  35151. "typename": {
  35152. "description": "履约类型 名称",
  35153. "type": "string"
  35154. },
  35155. "unpaidamount": {
  35156. "description": "剩余款(待支付金额)",
  35157. "type": "number"
  35158. },
  35159. "userid": {
  35160. "description": "用户id",
  35161. "type": "integer"
  35162. },
  35163. "warehouseid": {
  35164. "description": "仓库ID",
  35165. "type": "integer"
  35166. },
  35167. "warehousename": {
  35168. "description": "仓库名称",
  35169. "type": "string"
  35170. },
  35171. "wrfactortypeid": {
  35172. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35173. "type": "string"
  35174. },
  35175. "wrfactortypename": {
  35176. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35177. "type": "string"
  35178. },
  35179. "wrstandardcode": {
  35180. "description": "现货商品代码",
  35181. "type": "string"
  35182. },
  35183. "wrstandardid": {
  35184. "description": "现货商品ID",
  35185. "type": "integer"
  35186. },
  35187. "wrstandardname": {
  35188. "description": "商品名称",
  35189. "type": "string"
  35190. },
  35191. "wrtransferuserid": {
  35192. "description": "仓单受让用户",
  35193. "type": "integer"
  35194. },
  35195. "wrtypename": {
  35196. "description": "商品",
  35197. "type": "string"
  35198. }
  35199. }
  35200. },
  35201. "models.WrPerformancePlanStep": {
  35202. "type": "object",
  35203. "properties": {
  35204. "delaydays": {
  35205. "description": "延期申请天数",
  35206. "type": "integer"
  35207. },
  35208. "deliverygoodscode": {
  35209. "description": "品种代码",
  35210. "type": "string"
  35211. },
  35212. "deliverygoodsid": {
  35213. "description": "品种ID",
  35214. "type": "integer"
  35215. },
  35216. "deliverygoodsname": {
  35217. "description": "品种名称",
  35218. "type": "string"
  35219. },
  35220. "endtime": {
  35221. "description": "结束日期",
  35222. "type": "string"
  35223. },
  35224. "enumdicname": {
  35225. "description": "单位名称",
  35226. "type": "string"
  35227. },
  35228. "executeside": {
  35229. "description": "步骤执行方 - 1:买方 2:卖方",
  35230. "type": "integer"
  35231. },
  35232. "handlestatus": {
  35233. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  35234. "type": "integer"
  35235. },
  35236. "isauto": {
  35237. "description": "是否自动 - 0:不自动 1:自动",
  35238. "type": "integer"
  35239. },
  35240. "islastreceivestep": {
  35241. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  35242. "type": "integer"
  35243. },
  35244. "minivalue": {
  35245. "description": "现货商品最小变动值",
  35246. "type": "integer"
  35247. },
  35248. "optioncompare": {
  35249. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35250. "type": "string"
  35251. },
  35252. "overdays": {
  35253. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  35254. "type": "integer"
  35255. },
  35256. "performancestepid": {
  35257. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  35258. "type": "string"
  35259. },
  35260. "planid": {
  35261. "description": "所属履约计划ID",
  35262. "type": "string"
  35263. },
  35264. "realamount": {
  35265. "description": "实际完成金额",
  35266. "type": "number"
  35267. },
  35268. "relatedorderid": {
  35269. "description": "关联单号",
  35270. "type": "string"
  35271. },
  35272. "remaindays": {
  35273. "description": "剩余天数",
  35274. "type": "integer"
  35275. },
  35276. "remark": {
  35277. "description": "错误备注",
  35278. "type": "string"
  35279. },
  35280. "starttime": {
  35281. "description": "开始日期",
  35282. "type": "string"
  35283. },
  35284. "stepamount": {
  35285. "description": "步骤金额",
  35286. "type": "number"
  35287. },
  35288. "stepdays": {
  35289. "description": "距离上一步天数(分钟)",
  35290. "type": "integer"
  35291. },
  35292. "stepindex": {
  35293. "description": "步骤序号",
  35294. "type": "integer"
  35295. },
  35296. "steplanchtype": {
  35297. "description": "步骤启动类型 - 1:系统自动 2:手动",
  35298. "type": "integer"
  35299. },
  35300. "stepremark": {
  35301. "description": "步骤备注",
  35302. "type": "string"
  35303. },
  35304. "stepstatus": {
  35305. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  35306. "type": "integer"
  35307. },
  35308. "steptypeid": {
  35309. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35310. "type": "integer"
  35311. },
  35312. "steptypename": {
  35313. "description": "步骤名称",
  35314. "type": "string"
  35315. },
  35316. "stepvalue": {
  35317. "description": "步骤值",
  35318. "type": "number"
  35319. },
  35320. "warehouseid": {
  35321. "description": "仓库ID",
  35322. "type": "integer"
  35323. },
  35324. "warehousename": {
  35325. "description": "仓库名称",
  35326. "type": "string"
  35327. },
  35328. "wrfactortypeid": {
  35329. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35330. "type": "string"
  35331. },
  35332. "wrfactortypename": {
  35333. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35334. "type": "string"
  35335. },
  35336. "wrstandardcode": {
  35337. "description": "现货商品代码",
  35338. "type": "string"
  35339. },
  35340. "wrstandardid": {
  35341. "description": "现货商品ID",
  35342. "type": "integer"
  35343. },
  35344. "wrstandardname": {
  35345. "description": "商品名称",
  35346. "type": "string"
  35347. },
  35348. "wrtypename": {
  35349. "description": "商品",
  35350. "type": "string"
  35351. }
  35352. }
  35353. },
  35354. "models.WrPerformanceStepType": {
  35355. "type": "object",
  35356. "properties": {
  35357. "canauto": {
  35358. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  35359. "type": "integer"
  35360. },
  35361. "steptypeid": {
  35362. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  35363. "type": "integer"
  35364. },
  35365. "steptypename": {
  35366. "description": "步骤类型名称",
  35367. "type": "string"
  35368. }
  35369. }
  35370. },
  35371. "models.WrPerformanceTemplateEx": {
  35372. "type": "object",
  35373. "properties": {
  35374. "autoid": {
  35375. "description": "AutoID 模板id",
  35376. "type": "integer"
  35377. },
  35378. "createtime": {
  35379. "description": "创建时间",
  35380. "type": "string"
  35381. },
  35382. "creatorid": {
  35383. "description": "创建人",
  35384. "type": "integer"
  35385. },
  35386. "lstStep": {
  35387. "description": "步骤信息列表",
  35388. "type": "array",
  35389. "items": {
  35390. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  35391. }
  35392. },
  35393. "paymenttype": {
  35394. "description": "支付方式 - 1:冻结 2:扣款",
  35395. "type": "integer"
  35396. },
  35397. "takemode": {
  35398. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  35399. "type": "integer"
  35400. },
  35401. "templatename": {
  35402. "description": "模板名称",
  35403. "type": "string"
  35404. },
  35405. "templatetype": {
  35406. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  35407. "type": "integer"
  35408. },
  35409. "userid": {
  35410. "description": "所属用户",
  35411. "type": "integer"
  35412. }
  35413. }
  35414. },
  35415. "models.WrPosition": {
  35416. "type": "object",
  35417. "properties": {
  35418. "accountid": {
  35419. "description": "帐户ID",
  35420. "type": "integer"
  35421. },
  35422. "buyexcuteqty": {
  35423. "description": "采购履约中数量",
  35424. "type": "number"
  35425. },
  35426. "creditcurqty": {
  35427. "description": "授信当前数量(预售仓单:预售当前量)",
  35428. "type": "number"
  35429. },
  35430. "creditenableqty": {
  35431. "description": "授信可用数量(预售仓单: 可用数量)",
  35432. "type": "number"
  35433. },
  35434. "creditfreezeqty": {
  35435. "description": "授信冻结数量(预售仓单: 当前数量)",
  35436. "type": "number"
  35437. },
  35438. "credittotalqty": {
  35439. "description": "授信总数量(预售仓单:预售总量)",
  35440. "type": "number"
  35441. },
  35442. "credittradeqty": {
  35443. "description": "授信成交数量(预售仓单:成交总量)",
  35444. "type": "number"
  35445. },
  35446. "deliverygoodscode": {
  35447. "description": "品种代码",
  35448. "type": "string"
  35449. },
  35450. "deliverygoodsid": {
  35451. "description": "品种ID",
  35452. "type": "integer"
  35453. },
  35454. "deliverygoodsname": {
  35455. "description": "品种名称",
  35456. "type": "string"
  35457. },
  35458. "enalbeqty": {
  35459. "description": "可用数量",
  35460. "type": "number"
  35461. },
  35462. "enumdicname": {
  35463. "description": "单位名称",
  35464. "type": "string"
  35465. },
  35466. "freezeqty": {
  35467. "description": "总冻结数量",
  35468. "type": "number"
  35469. },
  35470. "haswr": {
  35471. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35472. "type": "integer"
  35473. },
  35474. "minivalue": {
  35475. "description": "现货商品最小变动值",
  35476. "type": "integer"
  35477. },
  35478. "modifytime": {
  35479. "description": "修改时间(过户时间)",
  35480. "type": "string"
  35481. },
  35482. "optioncompare": {
  35483. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35484. "type": "string"
  35485. },
  35486. "pledgeqty": {
  35487. "description": "质押数量",
  35488. "type": "number"
  35489. },
  35490. "querytype": {
  35491. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  35492. "type": "integer"
  35493. },
  35494. "sellexcuteqty": {
  35495. "description": "销售履约中数量",
  35496. "type": "number"
  35497. },
  35498. "totalqty": {
  35499. "description": "总数量(库存数量)",
  35500. "type": "number"
  35501. },
  35502. "warehouseid": {
  35503. "description": "仓库ID",
  35504. "type": "integer"
  35505. },
  35506. "warehousename": {
  35507. "description": "仓库名称",
  35508. "type": "string"
  35509. },
  35510. "wrfactortypeid": {
  35511. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35512. "type": "string"
  35513. },
  35514. "wrfactortypename": {
  35515. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35516. "type": "string"
  35517. },
  35518. "wrpositionid": {
  35519. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  35520. "type": "string"
  35521. },
  35522. "wrpositionno": {
  35523. "description": "仓单编号",
  35524. "type": "string"
  35525. },
  35526. "wrstandardcode": {
  35527. "description": "现货商品代码",
  35528. "type": "string"
  35529. },
  35530. "wrstandardid": {
  35531. "description": "现货商品ID",
  35532. "type": "integer"
  35533. },
  35534. "wrstandardname": {
  35535. "description": "商品名称",
  35536. "type": "string"
  35537. },
  35538. "wrtypename": {
  35539. "description": "商品",
  35540. "type": "string"
  35541. },
  35542. "wruserid": {
  35543. "description": "持有人ID",
  35544. "type": "integer"
  35545. }
  35546. }
  35547. },
  35548. "models.WrQuoteOrderMyq": {
  35549. "type": "object",
  35550. "properties": {
  35551. "buyorsell": {
  35552. "description": "买卖 - 0:买 1:卖",
  35553. "type": "integer"
  35554. },
  35555. "canbargain": {
  35556. "description": "是否可议价 - 0:不可 1:可",
  35557. "type": "integer"
  35558. },
  35559. "canpart": {
  35560. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  35561. "type": "integer"
  35562. },
  35563. "delistminqty": {
  35564. "description": "起摘数量",
  35565. "type": "number"
  35566. },
  35567. "deliverygoodscode": {
  35568. "description": "品种代码",
  35569. "type": "string"
  35570. },
  35571. "deliverygoodsid": {
  35572. "description": "品种ID",
  35573. "type": "integer"
  35574. },
  35575. "deliverygoodsname": {
  35576. "description": "品种名称",
  35577. "type": "string"
  35578. },
  35579. "deliverymonth": {
  35580. "description": "交收月",
  35581. "type": "string"
  35582. },
  35583. "enumdicname": {
  35584. "description": "单位名称",
  35585. "type": "string"
  35586. },
  35587. "fixedprice": {
  35588. "description": "买(卖)价",
  35589. "type": "number"
  35590. },
  35591. "goodscode": {
  35592. "description": "商品合约代码",
  35593. "type": "string"
  35594. },
  35595. "marginflag": {
  35596. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  35597. "type": "integer"
  35598. },
  35599. "marginvalue": {
  35600. "description": "保证金设置值",
  35601. "type": "number"
  35602. },
  35603. "minivalue": {
  35604. "description": "现货商品最小变动值",
  35605. "type": "integer"
  35606. },
  35607. "orderqty": {
  35608. "description": "买(卖)量(=委托量-成交量)",
  35609. "type": "number"
  35610. },
  35611. "ordertime": {
  35612. "description": "委托时间",
  35613. "type": "string"
  35614. },
  35615. "performancetemplateid": {
  35616. "description": "履约模板id",
  35617. "type": "integer"
  35618. },
  35619. "pricemove": {
  35620. "description": "买(卖)升贴水- 基差",
  35621. "type": "number"
  35622. },
  35623. "templatename": {
  35624. "description": "履约模板名称",
  35625. "type": "string"
  35626. },
  35627. "userid": {
  35628. "description": "购买方(销售方)用户ID",
  35629. "type": "integer"
  35630. },
  35631. "username": {
  35632. "description": "购买方(销售方)",
  35633. "type": "string"
  35634. },
  35635. "validtime": {
  35636. "description": "有效期限",
  35637. "type": "string"
  35638. },
  35639. "validtype": {
  35640. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  35641. "type": "integer"
  35642. },
  35643. "warehousename": {
  35644. "description": "仓库名称",
  35645. "type": "string"
  35646. },
  35647. "wrfactortypeid": {
  35648. "description": "仓单要素id",
  35649. "type": "string"
  35650. },
  35651. "wrstandardcode": {
  35652. "description": "现货商品代码",
  35653. "type": "string"
  35654. },
  35655. "wrstandardid": {
  35656. "description": "现货商品ID",
  35657. "type": "integer"
  35658. },
  35659. "wrstandardname": {
  35660. "description": "商品名称",
  35661. "type": "string"
  35662. },
  35663. "wrtradeorderid": {
  35664. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35665. "type": "string"
  35666. },
  35667. "wrtypename": {
  35668. "description": "商品",
  35669. "type": "string"
  35670. }
  35671. }
  35672. },
  35673. "models.WrScfContract": {
  35674. "type": "object",
  35675. "properties": {
  35676. "borroweruserid": {
  35677. "description": "借款用户ID",
  35678. "type": "integer"
  35679. },
  35680. "buybackwrpositionqty": {
  35681. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  35682. "type": "number"
  35683. },
  35684. "closeinterest": {
  35685. "description": "已结利息 -\u003e 已结费用",
  35686. "type": "number"
  35687. },
  35688. "currisklevel": {
  35689. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  35690. "type": "integer"
  35691. },
  35692. "deadline": {
  35693. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  35694. "type": "string"
  35695. },
  35696. "deliverygoodscode": {
  35697. "description": "品种代码",
  35698. "type": "string"
  35699. },
  35700. "deliverygoodsid": {
  35701. "description": "品种ID",
  35702. "type": "integer"
  35703. },
  35704. "deliverygoodsname": {
  35705. "description": "品种名称",
  35706. "type": "string"
  35707. },
  35708. "enumdicname": {
  35709. "description": "单位名称",
  35710. "type": "string"
  35711. },
  35712. "financingdays": {
  35713. "description": "天数(天)",
  35714. "type": "integer"
  35715. },
  35716. "initmargin": {
  35717. "description": "保证金 - [仓单回购]",
  35718. "type": "number"
  35719. },
  35720. "interestamount": {
  35721. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  35722. "type": "number"
  35723. },
  35724. "interestdebt": {
  35725. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  35726. "type": "number"
  35727. },
  35728. "interestminlen": {
  35729. "description": "最小起息天数",
  35730. "type": "integer"
  35731. },
  35732. "interestrate": {
  35733. "description": "利率",
  35734. "type": "number"
  35735. },
  35736. "interestratemode": {
  35737. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  35738. "type": "integer"
  35739. },
  35740. "interestsettlemode": {
  35741. "description": "结息方式 - 1:按日结息 3:按月结息",
  35742. "type": "integer"
  35743. },
  35744. "interestsettlevalue": {
  35745. "description": "结息方式值",
  35746. "type": "integer"
  35747. },
  35748. "isautoloan": {
  35749. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  35750. "type": "integer"
  35751. },
  35752. "lastcloseinterestday": {
  35753. "description": "最近结息日(yyyyMMdd)",
  35754. "type": "string"
  35755. },
  35756. "lenderamount": {
  35757. "description": "贷款金额 -\u003e 借款金额",
  35758. "type": "number"
  35759. },
  35760. "lenderuserid": {
  35761. "description": "贷款方用户ID -\u003e 融出方用户ID",
  35762. "type": "integer"
  35763. },
  35764. "lenderusername": {
  35765. "description": "融出方",
  35766. "type": "string"
  35767. },
  35768. "marginratio": {
  35769. "description": "保证金比率质押率 - [仓单质押]",
  35770. "type": "number"
  35771. },
  35772. "marketid": {
  35773. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  35774. "type": "integer"
  35775. },
  35776. "minivalue": {
  35777. "description": "现货商品最小变动值",
  35778. "type": "integer"
  35779. },
  35780. "optioncompare": {
  35781. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35782. "type": "string"
  35783. },
  35784. "pricemove": {
  35785. "description": "估值升贴水值",
  35786. "type": "number"
  35787. },
  35788. "productdetailid": {
  35789. "description": "产品组合ID",
  35790. "type": "integer"
  35791. },
  35792. "productid": {
  35793. "description": "金融产品ID",
  35794. "type": "integer"
  35795. },
  35796. "productname": {
  35797. "description": "产品名称",
  35798. "type": "string"
  35799. },
  35800. "remainamount": {
  35801. "description": "合同剩余金额 -\u003e 剩余金额",
  35802. "type": "number"
  35803. },
  35804. "remainwrpositionqty": {
  35805. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  35806. "type": "number"
  35807. },
  35808. "remark": {
  35809. "description": "备注",
  35810. "type": "string"
  35811. },
  35812. "scfcontractid": {
  35813. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  35814. "type": "string"
  35815. },
  35816. "scfcontractstatus": {
  35817. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  35818. "type": "integer"
  35819. },
  35820. "scfcontracttype": {
  35821. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  35822. "type": "integer"
  35823. },
  35824. "startinterestday": {
  35825. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  35826. "type": "string"
  35827. },
  35828. "totalinterest": {
  35829. "description": "已计利息 -\u003e 已计费用",
  35830. "type": "number"
  35831. },
  35832. "unpaidinterest": {
  35833. "description": "未结费用",
  35834. "type": "number"
  35835. },
  35836. "updatetime": {
  35837. "description": "更新时间",
  35838. "type": "string"
  35839. },
  35840. "warehouseid": {
  35841. "description": "仓库ID",
  35842. "type": "integer"
  35843. },
  35844. "warehousename": {
  35845. "description": "仓库名称",
  35846. "type": "string"
  35847. },
  35848. "wrfactortypeid": {
  35849. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35850. "type": "string"
  35851. },
  35852. "wrfactortypename": {
  35853. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35854. "type": "string"
  35855. },
  35856. "wrqty": {
  35857. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  35858. "type": "number"
  35859. },
  35860. "wrstandardcode": {
  35861. "description": "现货商品代码",
  35862. "type": "string"
  35863. },
  35864. "wrstandardid": {
  35865. "description": "现货商品ID",
  35866. "type": "integer"
  35867. },
  35868. "wrstandardname": {
  35869. "description": "商品名称",
  35870. "type": "string"
  35871. },
  35872. "wrtypename": {
  35873. "description": "商品",
  35874. "type": "string"
  35875. }
  35876. }
  35877. },
  35878. "models.WrScfContractInterest": {
  35879. "type": "object",
  35880. "properties": {
  35881. "closeinterest": {
  35882. "description": "已结利息",
  35883. "type": "number"
  35884. },
  35885. "closeintereststatus": {
  35886. "description": "结息状态 - 1:未结 2:已结",
  35887. "type": "integer"
  35888. },
  35889. "closetime": {
  35890. "description": "结息时间",
  35891. "type": "string"
  35892. },
  35893. "closetradedate": {
  35894. "description": "结息交易日",
  35895. "type": "string"
  35896. },
  35897. "creatorid": {
  35898. "description": "操作人ID",
  35899. "type": "integer"
  35900. },
  35901. "dayrate": {
  35902. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  35903. "type": "number"
  35904. },
  35905. "interest": {
  35906. "description": "利息",
  35907. "type": "number"
  35908. },
  35909. "interestamount": {
  35910. "description": "计息金额",
  35911. "type": "number"
  35912. },
  35913. "interestday": {
  35914. "description": "计息日(yyyyMMdd)",
  35915. "type": "string"
  35916. },
  35917. "scfcontractid": {
  35918. "description": "SCF合同ID",
  35919. "type": "string"
  35920. },
  35921. "scfcontractinterestid": {
  35922. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  35923. "type": "integer"
  35924. },
  35925. "updatetime": {
  35926. "description": "更新时间",
  35927. "type": "string"
  35928. }
  35929. }
  35930. },
  35931. "models.WrSpecialMatchOrder": {
  35932. "type": "object",
  35933. "properties": {
  35934. "amount": {
  35935. "description": "金额 = 数量 * 价格",
  35936. "type": "number"
  35937. },
  35938. "buyorsell": {
  35939. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  35940. "type": "integer"
  35941. },
  35942. "cancelqty": {
  35943. "description": "撤销数量",
  35944. "type": "number"
  35945. },
  35946. "deliverygoodscode": {
  35947. "description": "品种代码",
  35948. "type": "string"
  35949. },
  35950. "deliverygoodsid": {
  35951. "description": "品种ID",
  35952. "type": "integer"
  35953. },
  35954. "deliverygoodsname": {
  35955. "description": "品种名称",
  35956. "type": "string"
  35957. },
  35958. "enumdicname": {
  35959. "description": "单位名称",
  35960. "type": "string"
  35961. },
  35962. "fixedprice": {
  35963. "description": "固定价格(价格)",
  35964. "type": "number"
  35965. },
  35966. "haswr": {
  35967. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35968. "type": "integer"
  35969. },
  35970. "marketid": {
  35971. "description": "市场ID",
  35972. "type": "integer"
  35973. },
  35974. "matchuserid": {
  35975. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  35976. "type": "integer"
  35977. },
  35978. "matchusername": {
  35979. "description": "指定方",
  35980. "type": "string"
  35981. },
  35982. "minivalue": {
  35983. "description": "现货商品最小变动值",
  35984. "type": "integer"
  35985. },
  35986. "optioncompare": {
  35987. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35988. "type": "string"
  35989. },
  35990. "orderqty": {
  35991. "description": "委托数量",
  35992. "type": "number"
  35993. },
  35994. "ordertime": {
  35995. "description": "委托时间",
  35996. "type": "string"
  35997. },
  35998. "pricemove": {
  35999. "description": "升贴水(浮动价时填写) - [挂牌]",
  36000. "type": "number"
  36001. },
  36002. "tradedate": {
  36003. "description": "交易日(yyyyMMdd)",
  36004. "type": "string"
  36005. },
  36006. "tradeprice": {
  36007. "description": "成交价格",
  36008. "type": "number"
  36009. },
  36010. "tradeqty": {
  36011. "description": "成交数量",
  36012. "type": "number"
  36013. },
  36014. "userid": {
  36015. "description": "用户ID",
  36016. "type": "integer"
  36017. },
  36018. "username": {
  36019. "description": "发起方",
  36020. "type": "string"
  36021. },
  36022. "warehouseid": {
  36023. "description": "仓库ID",
  36024. "type": "integer"
  36025. },
  36026. "warehousename": {
  36027. "description": "仓库名称",
  36028. "type": "string"
  36029. },
  36030. "wrfactortypeid": {
  36031. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36032. "type": "string"
  36033. },
  36034. "wrfactortypename": {
  36035. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36036. "type": "string"
  36037. },
  36038. "wrpricetype": {
  36039. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  36040. "type": "integer"
  36041. },
  36042. "wrstandardcode": {
  36043. "description": "现货商品代码",
  36044. "type": "string"
  36045. },
  36046. "wrstandardid": {
  36047. "description": "现货商品ID",
  36048. "type": "integer"
  36049. },
  36050. "wrstandardname": {
  36051. "description": "商品名称",
  36052. "type": "string"
  36053. },
  36054. "wrtradeorderid": {
  36055. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36056. "type": "string"
  36057. },
  36058. "wrtradeorderstatus": {
  36059. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  36060. "type": "integer"
  36061. },
  36062. "wrtradetype": {
  36063. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36064. "type": "integer"
  36065. },
  36066. "wrtypename": {
  36067. "description": "商品",
  36068. "type": "string"
  36069. }
  36070. }
  36071. },
  36072. "models.WrStandardFactoryItem": {
  36073. "type": "object",
  36074. "properties": {
  36075. "dgfactoryitemid": {
  36076. "description": "选择项id",
  36077. "type": "integer"
  36078. },
  36079. "dgfactoryitemvalue": {
  36080. "description": "要素项值",
  36081. "type": "string"
  36082. },
  36083. "warehouseid": {
  36084. "description": "仓库id",
  36085. "type": "integer"
  36086. }
  36087. }
  36088. },
  36089. "models.WrStandardFactoryItemEx": {
  36090. "type": "object",
  36091. "properties": {
  36092. "dgfactoryitemtypeid": {
  36093. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  36094. "type": "integer"
  36095. },
  36096. "itemlst": {
  36097. "description": "要素项列表",
  36098. "type": "array",
  36099. "items": {
  36100. "$ref": "#/definitions/models.WrStandardFactoryItem"
  36101. }
  36102. },
  36103. "itemtypename": {
  36104. "description": "要素项类型名称",
  36105. "type": "string"
  36106. },
  36107. "wrstandardid": {
  36108. "description": "品类",
  36109. "type": "integer"
  36110. }
  36111. }
  36112. },
  36113. "models.WrTradeDetail": {
  36114. "type": "object",
  36115. "properties": {
  36116. "accountid": {
  36117. "description": "资金账号",
  36118. "type": "integer"
  36119. },
  36120. "buyorsell": {
  36121. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36122. "type": "integer"
  36123. },
  36124. "chargevalue": {
  36125. "description": "手续费",
  36126. "type": "number"
  36127. },
  36128. "deliverygoodscode": {
  36129. "description": "品种代码",
  36130. "type": "string"
  36131. },
  36132. "deliverygoodsid": {
  36133. "description": "品种ID",
  36134. "type": "integer"
  36135. },
  36136. "deliverygoodsname": {
  36137. "description": "品种名称",
  36138. "type": "string"
  36139. },
  36140. "deliverymonth": {
  36141. "description": "交收月",
  36142. "type": "string"
  36143. },
  36144. "enumdicname": {
  36145. "description": "单位名称",
  36146. "type": "string"
  36147. },
  36148. "haswr": {
  36149. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36150. "type": "integer"
  36151. },
  36152. "marketid": {
  36153. "description": "市场ID",
  36154. "type": "integer"
  36155. },
  36156. "matchaccountid": {
  36157. "description": "对手账号",
  36158. "type": "integer"
  36159. },
  36160. "matchusername": {
  36161. "description": "对手方",
  36162. "type": "string"
  36163. },
  36164. "minivalue": {
  36165. "description": "现货商品最小变动值",
  36166. "type": "integer"
  36167. },
  36168. "optioncompare": {
  36169. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36170. "type": "string"
  36171. },
  36172. "tradedate": {
  36173. "description": "交易日(yyyyMMdd)",
  36174. "type": "string"
  36175. },
  36176. "tradeprice": {
  36177. "description": "成交价格",
  36178. "type": "number"
  36179. },
  36180. "tradeqty": {
  36181. "description": "成交数量",
  36182. "type": "number"
  36183. },
  36184. "tradetime": {
  36185. "description": "成交时间",
  36186. "type": "string"
  36187. },
  36188. "userid": {
  36189. "description": "用户ID",
  36190. "type": "integer"
  36191. },
  36192. "warehouseid": {
  36193. "description": "仓库ID",
  36194. "type": "integer"
  36195. },
  36196. "warehousename": {
  36197. "description": "仓库名称",
  36198. "type": "string"
  36199. },
  36200. "wrfactortypeid": {
  36201. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36202. "type": "string"
  36203. },
  36204. "wrfactortypename": {
  36205. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36206. "type": "string"
  36207. },
  36208. "wrstandardcode": {
  36209. "description": "现货商品代码",
  36210. "type": "string"
  36211. },
  36212. "wrstandardid": {
  36213. "description": "现货商品ID",
  36214. "type": "integer"
  36215. },
  36216. "wrstandardname": {
  36217. "description": "商品名称",
  36218. "type": "string"
  36219. },
  36220. "wrtradedetailid": {
  36221. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  36222. "type": "string"
  36223. },
  36224. "wrtradetype": {
  36225. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36226. "type": "integer"
  36227. },
  36228. "wrtypename": {
  36229. "description": "商品",
  36230. "type": "string"
  36231. }
  36232. }
  36233. },
  36234. "models.WrTradeOrderDetail": {
  36235. "type": "object",
  36236. "properties": {
  36237. "buyorsell": {
  36238. "description": "买卖方向 0-买 1-卖",
  36239. "type": "integer"
  36240. },
  36241. "goodsid": {
  36242. "description": "商品id",
  36243. "type": "integer"
  36244. },
  36245. "orderid": {
  36246. "description": "委托单号",
  36247. "type": "string"
  36248. },
  36249. "orderprice": {
  36250. "description": "委托价格",
  36251. "type": "number"
  36252. },
  36253. "orderqty": {
  36254. "description": "委托数量",
  36255. "type": "integer"
  36256. },
  36257. "userid": {
  36258. "description": "用户id",
  36259. "type": "integer"
  36260. },
  36261. "username": {
  36262. "description": "用户名称(已脱敏)",
  36263. "type": "string"
  36264. }
  36265. }
  36266. },
  36267. "models.WrTypeItem": {
  36268. "type": "object",
  36269. "properties": {
  36270. "name": {
  36271. "description": "名称",
  36272. "type": "string"
  36273. },
  36274. "value": {
  36275. "description": "值",
  36276. "type": "string"
  36277. }
  36278. }
  36279. },
  36280. "models.WrUserFriend": {
  36281. "type": "object",
  36282. "properties": {
  36283. "friendname": {
  36284. "description": "朋友名称(已脱敏)",
  36285. "type": "string"
  36286. },
  36287. "frienduserid": {
  36288. "description": "朋友id",
  36289. "type": "integer"
  36290. },
  36291. "isfriend": {
  36292. "description": "是否好友 0-不是 1-是",
  36293. "type": "integer"
  36294. },
  36295. "userid": {
  36296. "description": "用户id",
  36297. "type": "integer"
  36298. }
  36299. }
  36300. },
  36301. "models.WrUserReceiptInfo": {
  36302. "type": "object",
  36303. "properties": {
  36304. "address": {
  36305. "description": "地址[发票类型:企业]",
  36306. "type": "string"
  36307. },
  36308. "autoid": {
  36309. "description": "AutoID",
  36310. "type": "integer"
  36311. },
  36312. "contactinfo": {
  36313. "description": "联系方式",
  36314. "type": "string"
  36315. },
  36316. "idnum": {
  36317. "description": "身份证号码[发票类型:个人]",
  36318. "type": "string"
  36319. },
  36320. "isdefault": {
  36321. "description": "是否默认地址 - 0:否 1:是",
  36322. "type": "integer"
  36323. },
  36324. "receiptaccount": {
  36325. "description": "发票帐号[发票类型:企业]",
  36326. "type": "string"
  36327. },
  36328. "receiptbank": {
  36329. "description": "发票开户行[发票类型:企业]",
  36330. "type": "string"
  36331. },
  36332. "receipttype": {
  36333. "description": "发票类型 - 1:个人 2:企业",
  36334. "type": "integer"
  36335. },
  36336. "taxpayerid": {
  36337. "description": "纳税人识别号",
  36338. "type": "string"
  36339. },
  36340. "userid": {
  36341. "description": "用户ID",
  36342. "type": "integer"
  36343. },
  36344. "username": {
  36345. "description": "户名(个人姓名或企业名称)",
  36346. "type": "string"
  36347. }
  36348. }
  36349. },
  36350. "models.XHBRAND": {
  36351. "type": "object",
  36352. "properties": {
  36353. "brandid": {
  36354. "description": "品牌id",
  36355. "type": "integer"
  36356. },
  36357. "brandname": {
  36358. "description": "品牌名称",
  36359. "type": "string"
  36360. },
  36361. "isvalid": {
  36362. "description": "是否有效 0-无效 1-有效",
  36363. "type": "integer"
  36364. }
  36365. }
  36366. },
  36367. "models.XHDeliveryGoods": {
  36368. "type": "object",
  36369. "properties": {
  36370. "areauserid": {
  36371. "description": "所属机构",
  36372. "type": "integer"
  36373. },
  36374. "bdlst": {
  36375. "description": "品牌列表",
  36376. "type": "array",
  36377. "items": {
  36378. "$ref": "#/definitions/models.XHBRAND"
  36379. }
  36380. },
  36381. "deliverygoodscode": {
  36382. "description": "现货品种代码",
  36383. "type": "string"
  36384. },
  36385. "deliverygoodsid": {
  36386. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  36387. "type": "integer"
  36388. },
  36389. "deliverygoodsname": {
  36390. "description": "现货品种名称",
  36391. "type": "string"
  36392. },
  36393. "dgstatus": {
  36394. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  36395. "type": "integer"
  36396. },
  36397. "isvalid": {
  36398. "description": "是否有效 - 0:无效 1:有效",
  36399. "type": "integer"
  36400. },
  36401. "remark": {
  36402. "description": "备注",
  36403. "type": "string"
  36404. },
  36405. "unitid": {
  36406. "description": "单位id(目前看,数据库中是空值)",
  36407. "type": "integer"
  36408. },
  36409. "wdlst": {
  36410. "description": "品类(现货商品)列表",
  36411. "type": "array",
  36412. "items": {
  36413. "$ref": "#/definitions/models.XHWrstandard"
  36414. }
  36415. }
  36416. }
  36417. },
  36418. "models.XHMiddleGoods": {
  36419. "type": "object",
  36420. "properties": {
  36421. "convertratio": {
  36422. "description": "拆算系数",
  36423. "type": "number"
  36424. },
  36425. "costratio": {
  36426. "description": "成本权重",
  36427. "type": "number"
  36428. },
  36429. "deliverygoodsid": {
  36430. "description": "现货商品id",
  36431. "type": "integer"
  36432. },
  36433. "enumdicname": {
  36434. "description": "单位名称",
  36435. "type": "string"
  36436. },
  36437. "gplst": {
  36438. "description": "期货品种列表",
  36439. "type": "array",
  36440. "items": {
  36441. "$ref": "#/definitions/models.TBGoodsGroup"
  36442. }
  36443. },
  36444. "middlegoodscode": {
  36445. "description": "套保品种代码",
  36446. "type": "string"
  36447. },
  36448. "middlegoodsid": {
  36449. "description": "套保品种id",
  36450. "type": "integer"
  36451. },
  36452. "middlegoodsname": {
  36453. "description": "套保品种名称",
  36454. "type": "string"
  36455. },
  36456. "unitid": {
  36457. "description": "单位id",
  36458. "type": "integer"
  36459. }
  36460. }
  36461. },
  36462. "models.XHWrstandard": {
  36463. "type": "object",
  36464. "properties": {
  36465. "deliverygoodsid": {
  36466. "description": "品种ID",
  36467. "type": "integer"
  36468. },
  36469. "enumdicname": {
  36470. "description": "单位名称",
  36471. "type": "string"
  36472. },
  36473. "mglst": {
  36474. "description": "套保品列表",
  36475. "type": "array",
  36476. "items": {
  36477. "$ref": "#/definitions/models.XHMiddleGoods"
  36478. }
  36479. },
  36480. "unitid": {
  36481. "description": "单位id",
  36482. "type": "integer"
  36483. },
  36484. "vatrate": {
  36485. "description": "增值税率",
  36486. "type": "number"
  36487. },
  36488. "wrstandardcode": {
  36489. "description": "现货商品代码",
  36490. "type": "string"
  36491. },
  36492. "wrstandardid": {
  36493. "description": "现货商品ID(SEQ_WRSTANDARD)",
  36494. "type": "integer"
  36495. },
  36496. "wrstandardname": {
  36497. "description": "现货商品名称",
  36498. "type": "string"
  36499. }
  36500. }
  36501. },
  36502. "order.QueryHisTradeDetailRsp": {
  36503. "type": "object",
  36504. "required": [
  36505. "accountid",
  36506. "buyorsell",
  36507. "goodsid",
  36508. "histradedate",
  36509. "marketid",
  36510. "memberuserid",
  36511. "orderid",
  36512. "tradeamount",
  36513. "tradedate",
  36514. "tradeid",
  36515. "tradeprice",
  36516. "tradeqty",
  36517. "tradetime"
  36518. ],
  36519. "properties": {
  36520. "accountid": {
  36521. "description": "账户ID[报价币种]",
  36522. "type": "integer"
  36523. },
  36524. "advanceratio": {
  36525. "description": "首付比率",
  36526. "type": "number"
  36527. },
  36528. "buildtype": {
  36529. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  36530. "type": "integer"
  36531. },
  36532. "buyorsell": {
  36533. "description": "方向 - 0:买 1:卖",
  36534. "type": "integer"
  36535. },
  36536. "charge": {
  36537. "description": "手续费",
  36538. "type": "number"
  36539. },
  36540. "closecharge": {
  36541. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36542. "type": "number"
  36543. },
  36544. "closeexchagechargevalue": {
  36545. "description": "平仓交易所手续费设置值",
  36546. "type": "number"
  36547. },
  36548. "closefeealgorithm": {
  36549. "description": "平仓手续费收取方式 1:比率 2:固定",
  36550. "type": "integer"
  36551. },
  36552. "closememberchargevalue": {
  36553. "description": "平仓会员手续费设置值",
  36554. "type": "number"
  36555. },
  36556. "closepl": {
  36557. "description": "平仓盈亏",
  36558. "type": "number"
  36559. },
  36560. "closepl2": {
  36561. "description": "平仓盈亏[逐笔]",
  36562. "type": "number"
  36563. },
  36564. "closeqty": {
  36565. "description": "平仓数量(先建后平操作 需要记录)",
  36566. "type": "number"
  36567. },
  36568. "creditamount": {
  36569. "description": "授信金额",
  36570. "type": "number"
  36571. },
  36572. "decimalplace": {
  36573. "description": "商品报价小数位",
  36574. "type": "integer"
  36575. },
  36576. "enumdicname": {
  36577. "description": "单位名称",
  36578. "type": "string"
  36579. },
  36580. "gcaccountid": {
  36581. "description": "账户ID[合约币种]",
  36582. "type": "integer"
  36583. },
  36584. "goodscode": {
  36585. "description": "商品代码",
  36586. "type": "string"
  36587. },
  36588. "goodsid": {
  36589. "description": "商品ID",
  36590. "type": "integer"
  36591. },
  36592. "goodsname": {
  36593. "description": "商品名称",
  36594. "type": "string"
  36595. },
  36596. "goodunitid": {
  36597. "description": "商品单位id",
  36598. "type": "integer"
  36599. },
  36600. "histradedate": {
  36601. "description": "历史交易日",
  36602. "type": "string"
  36603. },
  36604. "intclosepl": {
  36605. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  36606. "type": "integer"
  36607. },
  36608. "isconfirmexercise": {
  36609. "description": "是否确认行权- 0:否 1:是",
  36610. "type": "integer"
  36611. },
  36612. "ismain": {
  36613. "description": "是否主单 - 0:不是 1:是",
  36614. "type": "integer"
  36615. },
  36616. "ispreexercise": {
  36617. "description": "是否预申报- 0:否 1:是",
  36618. "type": "integer"
  36619. },
  36620. "isreckoned": {
  36621. "description": "是否结算 - 0:未结算 1:已结算",
  36622. "type": "integer"
  36623. },
  36624. "isvaliddata": {
  36625. "description": "是否有效 - 0:无效 1:有效",
  36626. "type": "integer"
  36627. },
  36628. "listingselecttype": {
  36629. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  36630. "type": "integer"
  36631. },
  36632. "marketid": {
  36633. "description": "市场ID",
  36634. "type": "integer"
  36635. },
  36636. "marketname": {
  36637. "description": "市场名称",
  36638. "type": "string"
  36639. },
  36640. "matchaccountid": {
  36641. "description": "对手账号id",
  36642. "type": "integer"
  36643. },
  36644. "memberuserid": {
  36645. "description": "会员id 个人投资者 需要填写",
  36646. "type": "integer"
  36647. },
  36648. "opencharge": {
  36649. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36650. "type": "number"
  36651. },
  36652. "openexchagechargevalue": {
  36653. "description": "建仓交易所手续费设置值",
  36654. "type": "number"
  36655. },
  36656. "openfeealgorithm": {
  36657. "description": "建仓手续费收取方式 1:比率 2:固定",
  36658. "type": "integer"
  36659. },
  36660. "openmemberchargevalue": {
  36661. "description": "建仓会员手续费设置值",
  36662. "type": "number"
  36663. },
  36664. "openqty": {
  36665. "description": "开仓数量(先建后平操作 需要记录)",
  36666. "type": "number"
  36667. },
  36668. "optiontype": {
  36669. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  36670. "type": "integer"
  36671. },
  36672. "orderid": {
  36673. "description": "委托单号",
  36674. "type": "string"
  36675. },
  36676. "payamount": {
  36677. "description": "支付金额(付款金额)",
  36678. "type": "number"
  36679. },
  36680. "performanceplanid": {
  36681. "description": "履约计划ID[期权]",
  36682. "type": "integer"
  36683. },
  36684. "performancestatus": {
  36685. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  36686. "type": "integer"
  36687. },
  36688. "preexerciseprice": {
  36689. "description": "预申报价格",
  36690. "type": "number"
  36691. },
  36692. "premium": {
  36693. "description": "权利金 - [持仓单的权利金]",
  36694. "type": "number"
  36695. },
  36696. "qtydecimalplace": {
  36697. "description": "商品报价小数位",
  36698. "type": "integer"
  36699. },
  36700. "recvamount": {
  36701. "description": "到账金额 = 成交金额 - 手续费",
  36702. "type": "number"
  36703. },
  36704. "relatedouttradeid": {
  36705. "description": "关联外部成交单ID",
  36706. "type": "integer"
  36707. },
  36708. "status": {
  36709. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  36710. "type": "integer"
  36711. },
  36712. "totalamount": {
  36713. "description": "订单总额 = 成交金额 + 手续费",
  36714. "type": "number"
  36715. },
  36716. "tradeamount": {
  36717. "description": "成交金额[账户币种,用于所有权]",
  36718. "type": "number"
  36719. },
  36720. "tradedate": {
  36721. "description": "交易日(yyyyMMdd)",
  36722. "type": "string"
  36723. },
  36724. "tradeid": {
  36725. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36726. "type": "string"
  36727. },
  36728. "trademode": {
  36729. "description": "交易模式",
  36730. "type": "integer"
  36731. },
  36732. "tradeprice": {
  36733. "description": "成交价格",
  36734. "type": "number"
  36735. },
  36736. "tradeproperty": {
  36737. "description": "交易属性",
  36738. "type": "integer"
  36739. },
  36740. "tradeqty": {
  36741. "description": "成交数量",
  36742. "type": "number"
  36743. },
  36744. "tradetime": {
  36745. "description": "成交时间",
  36746. "type": "string"
  36747. },
  36748. "tradetype": {
  36749. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  36750. "type": "integer"
  36751. }
  36752. }
  36753. },
  36754. "order.QueryHisTradeOrderDetailRsp": {
  36755. "type": "object",
  36756. "required": [
  36757. "accountid",
  36758. "buildtype",
  36759. "buyorsell",
  36760. "goodsid",
  36761. "histradedate",
  36762. "marketid",
  36763. "memberuserid",
  36764. "operatetype",
  36765. "orderid",
  36766. "orderqty",
  36767. "ordertime",
  36768. "pricemode",
  36769. "tradedate",
  36770. "validtype"
  36771. ],
  36772. "properties": {
  36773. "accountid": {
  36774. "description": "账户ID[报价币种]",
  36775. "type": "integer"
  36776. },
  36777. "buildtype": {
  36778. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  36779. "type": "integer"
  36780. },
  36781. "buyorsell": {
  36782. "description": "买卖 - 0:买 1:卖",
  36783. "type": "integer"
  36784. },
  36785. "cancelorderid": {
  36786. "description": "撤单单号(撤单时填写)",
  36787. "type": "string"
  36788. },
  36789. "cancelqty": {
  36790. "description": "撤单数量",
  36791. "type": "number"
  36792. },
  36793. "clientordertime": {
  36794. "description": "客户端委托时间",
  36795. "type": "string"
  36796. },
  36797. "clientticket": {
  36798. "description": "客户端流水号",
  36799. "type": "string"
  36800. },
  36801. "clienttype": {
  36802. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  36803. "type": "integer"
  36804. },
  36805. "closeexchagechargevalue": {
  36806. "description": "平仓交易所手续费设置值",
  36807. "type": "number"
  36808. },
  36809. "closefeealgorithm": {
  36810. "description": "平仓手续费收取方式 1:比率 2:固定",
  36811. "type": "integer"
  36812. },
  36813. "closefreezecharge": {
  36814. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  36815. "type": "number"
  36816. },
  36817. "closememberchargevalue": {
  36818. "description": "平仓会员手续费设置值",
  36819. "type": "number"
  36820. },
  36821. "closeqty": {
  36822. "description": "平仓数量(先建后平操作 需要记录)",
  36823. "type": "number"
  36824. },
  36825. "closetradeqty": {
  36826. "description": "平仓成交数量(先建后平操作,需要记录)",
  36827. "type": "number"
  36828. },
  36829. "closeunfreezecharge": {
  36830. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  36831. "type": "number"
  36832. },
  36833. "decimalplace": {
  36834. "description": "商品报价小数位",
  36835. "type": "integer"
  36836. },
  36837. "delistingtype": {
  36838. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  36839. "type": "integer"
  36840. },
  36841. "enumdicname": {
  36842. "description": "单位名称",
  36843. "type": "string"
  36844. },
  36845. "freezecharge": {
  36846. "description": "冻结手续费",
  36847. "type": "number"
  36848. },
  36849. "freezemargin": {
  36850. "description": "冻结保证金(冻结交易金额)",
  36851. "type": "number"
  36852. },
  36853. "gcaccountid": {
  36854. "description": "账户ID[合约币种]",
  36855. "type": "integer"
  36856. },
  36857. "goodscode": {
  36858. "description": "商品代码",
  36859. "type": "string"
  36860. },
  36861. "goodsid": {
  36862. "description": "商品ID",
  36863. "type": "integer"
  36864. },
  36865. "goodsname": {
  36866. "description": "商品名称",
  36867. "type": "string"
  36868. },
  36869. "goodunitid": {
  36870. "description": "商品单位id",
  36871. "type": "integer"
  36872. },
  36873. "histradedate": {
  36874. "description": "历史交易日",
  36875. "type": "string"
  36876. },
  36877. "isconfirmexercise": {
  36878. "description": "是否确认行权- 0:否 1:是",
  36879. "type": "integer"
  36880. },
  36881. "ispreexercise": {
  36882. "description": "是否预申报- 0:否 1:是",
  36883. "type": "integer"
  36884. },
  36885. "isvaliddata": {
  36886. "description": "是否有效 - 0:无效 1:有效",
  36887. "type": "integer"
  36888. },
  36889. "listingselecttype": {
  36890. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  36891. "type": "integer"
  36892. },
  36893. "marginalgorithm": {
  36894. "description": "保证金收取方式 1:比率 2:固定",
  36895. "type": "integer"
  36896. },
  36897. "marginvalue": {
  36898. "description": "即市保证金设置值",
  36899. "type": "number"
  36900. },
  36901. "marketid": {
  36902. "description": "市场ID",
  36903. "type": "integer"
  36904. },
  36905. "marketmaxsub": {
  36906. "description": "市价最大偏移范围",
  36907. "type": "number"
  36908. },
  36909. "marketname": {
  36910. "description": "市场名称",
  36911. "type": "string"
  36912. },
  36913. "memberuserid": {
  36914. "description": "所属会员UserID",
  36915. "type": "integer"
  36916. },
  36917. "openexchagechargevalue": {
  36918. "description": "建仓交易所手续费设置值",
  36919. "type": "number"
  36920. },
  36921. "openfeealgorithm": {
  36922. "description": "建仓手续费收取方式 1:比率 2:固定",
  36923. "type": "integer"
  36924. },
  36925. "openfreezecharge": {
  36926. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  36927. "type": "number"
  36928. },
  36929. "openmemberchargevalue": {
  36930. "description": "建仓会员手续费设置值",
  36931. "type": "number"
  36932. },
  36933. "openqty": {
  36934. "description": "开仓数量(先建后平操作,需要记录)",
  36935. "type": "number"
  36936. },
  36937. "opentradeqty": {
  36938. "description": "开仓成交数量(先建后平操作,需要记录)",
  36939. "type": "number"
  36940. },
  36941. "openunfreezecharge": {
  36942. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  36943. "type": "number"
  36944. },
  36945. "operatetype": {
  36946. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  36947. "type": "integer"
  36948. },
  36949. "operatorid": {
  36950. "description": "登录账号(LoginID)",
  36951. "type": "integer"
  36952. },
  36953. "optiontype": {
  36954. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  36955. "type": "integer"
  36956. },
  36957. "orderid": {
  36958. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36959. "type": "string"
  36960. },
  36961. "orderprice": {
  36962. "description": "委托价格",
  36963. "type": "number"
  36964. },
  36965. "orderqty": {
  36966. "description": "委托数量",
  36967. "type": "number"
  36968. },
  36969. "ordersrc": {
  36970. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  36971. "type": "integer"
  36972. },
  36973. "orderstatus": {
  36974. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  36975. "type": "integer"
  36976. },
  36977. "ordertime": {
  36978. "description": "委托时间",
  36979. "type": "string"
  36980. },
  36981. "preexerciseprice": {
  36982. "description": "预申报价格",
  36983. "type": "number"
  36984. },
  36985. "premium": {
  36986. "description": "权利金",
  36987. "type": "number"
  36988. },
  36989. "preorderid": {
  36990. "description": "关联预埋单号(止盈止损单时填写)",
  36991. "type": "string"
  36992. },
  36993. "pricemode": {
  36994. "description": "取价方式 - 1:市价 2: 限价",
  36995. "type": "integer"
  36996. },
  36997. "qtydecimalplace": {
  36998. "description": "成交量小数位",
  36999. "type": "integer"
  37000. },
  37001. "quoteid": {
  37002. "description": "报价单ID",
  37003. "type": "integer"
  37004. },
  37005. "relatedid": {
  37006. "description": "关联单号(交割单)",
  37007. "type": "string"
  37008. },
  37009. "retcode": {
  37010. "description": "错误代码",
  37011. "type": "integer"
  37012. },
  37013. "sessionid": {
  37014. "description": "会话ID",
  37015. "type": "integer"
  37016. },
  37017. "tradedate": {
  37018. "description": "交易日(yyyyMMdd)",
  37019. "type": "string"
  37020. },
  37021. "trademode": {
  37022. "description": "交易模式",
  37023. "type": "integer"
  37024. },
  37025. "tradeproperty": {
  37026. "description": "交易属性",
  37027. "type": "integer"
  37028. },
  37029. "tradeqty": {
  37030. "description": "成交数量",
  37031. "type": "number"
  37032. },
  37033. "unfreezecharge": {
  37034. "description": "解冻手续费",
  37035. "type": "number"
  37036. },
  37037. "unfreezemargin": {
  37038. "description": "解冻保证金",
  37039. "type": "number"
  37040. },
  37041. "updatetime": {
  37042. "description": "更新时间",
  37043. "type": "string"
  37044. },
  37045. "uuid": {
  37046. "description": "发起端唯一id",
  37047. "type": "string"
  37048. },
  37049. "validtime": {
  37050. "description": "有效期限",
  37051. "type": "string"
  37052. },
  37053. "validtype": {
  37054. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  37055. "type": "integer"
  37056. },
  37057. "volumetype": {
  37058. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  37059. "type": "integer"
  37060. }
  37061. }
  37062. },
  37063. "order.QueryTradeDetailRsp": {
  37064. "type": "object",
  37065. "required": [
  37066. "accountid",
  37067. "buyorsell",
  37068. "goodsid",
  37069. "marketid",
  37070. "memberuserid",
  37071. "orderid",
  37072. "tradeamount",
  37073. "tradedate",
  37074. "tradeid",
  37075. "tradeprice",
  37076. "tradeqty",
  37077. "tradetime"
  37078. ],
  37079. "properties": {
  37080. "accountid": {
  37081. "description": "账户ID[报价币种]",
  37082. "type": "integer"
  37083. },
  37084. "advanceratio": {
  37085. "description": "首付比率",
  37086. "type": "number"
  37087. },
  37088. "buildtype": {
  37089. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  37090. "type": "integer"
  37091. },
  37092. "buyorsell": {
  37093. "description": "方向 - 0:买 1:卖",
  37094. "type": "integer"
  37095. },
  37096. "charge": {
  37097. "description": "手续费",
  37098. "type": "number"
  37099. },
  37100. "closecharge": {
  37101. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37102. "type": "number"
  37103. },
  37104. "closeexchagechargevalue": {
  37105. "description": "平仓交易所手续费设置值",
  37106. "type": "number"
  37107. },
  37108. "closefeealgorithm": {
  37109. "description": "平仓手续费收取方式 1:比率 2:固定",
  37110. "type": "integer"
  37111. },
  37112. "closememberchargevalue": {
  37113. "description": "平仓会员手续费设置值",
  37114. "type": "number"
  37115. },
  37116. "closepl": {
  37117. "description": "平仓盈亏",
  37118. "type": "number"
  37119. },
  37120. "closepl2": {
  37121. "description": "平仓盈亏[逐笔]",
  37122. "type": "number"
  37123. },
  37124. "closeqty": {
  37125. "description": "平仓数量(先建后平操作 需要记录)",
  37126. "type": "number"
  37127. },
  37128. "creditamount": {
  37129. "description": "授信金额",
  37130. "type": "number"
  37131. },
  37132. "decimalplace": {
  37133. "description": "商品报价小数位",
  37134. "type": "integer"
  37135. },
  37136. "enumdicname": {
  37137. "description": "单位名称",
  37138. "type": "string"
  37139. },
  37140. "gcaccountid": {
  37141. "description": "账户ID[合约币种]",
  37142. "type": "integer"
  37143. },
  37144. "goodscode": {
  37145. "description": "商品代码",
  37146. "type": "string"
  37147. },
  37148. "goodsid": {
  37149. "description": "商品ID",
  37150. "type": "integer"
  37151. },
  37152. "goodsname": {
  37153. "description": "商品名称",
  37154. "type": "string"
  37155. },
  37156. "goodunitid": {
  37157. "description": "商品单位id",
  37158. "type": "integer"
  37159. },
  37160. "intclosepl": {
  37161. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  37162. "type": "integer"
  37163. },
  37164. "isconfirmexercise": {
  37165. "description": "是否确认行权- 0:否 1:是",
  37166. "type": "integer"
  37167. },
  37168. "ismain": {
  37169. "description": "是否主单 - 0:不是 1:是",
  37170. "type": "integer"
  37171. },
  37172. "ispreexercise": {
  37173. "description": "是否预申报- 0:否 1:是",
  37174. "type": "integer"
  37175. },
  37176. "isreckoned": {
  37177. "description": "是否结算 - 0:未结算 1:已结算",
  37178. "type": "integer"
  37179. },
  37180. "listingselecttype": {
  37181. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37182. "type": "integer"
  37183. },
  37184. "marketid": {
  37185. "description": "市场ID",
  37186. "type": "integer"
  37187. },
  37188. "marketname": {
  37189. "description": "市场名称",
  37190. "type": "string"
  37191. },
  37192. "matchaccountid": {
  37193. "description": "对手账号id",
  37194. "type": "integer"
  37195. },
  37196. "memberuserid": {
  37197. "description": "会员id 个人投资者 需要填写",
  37198. "type": "integer"
  37199. },
  37200. "opencharge": {
  37201. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37202. "type": "number"
  37203. },
  37204. "openexchagechargevalue": {
  37205. "description": "建仓交易所手续费设置值",
  37206. "type": "number"
  37207. },
  37208. "openfeealgorithm": {
  37209. "description": "建仓手续费收取方式 1:比率 2:固定",
  37210. "type": "integer"
  37211. },
  37212. "openmemberchargevalue": {
  37213. "description": "建仓会员手续费设置值",
  37214. "type": "number"
  37215. },
  37216. "openqty": {
  37217. "description": "开仓数量(先建后平操作 需要记录)",
  37218. "type": "number"
  37219. },
  37220. "optiontype": {
  37221. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37222. "type": "integer"
  37223. },
  37224. "orderid": {
  37225. "description": "委托单号",
  37226. "type": "string"
  37227. },
  37228. "payamount": {
  37229. "description": "支付金额(付款金额)",
  37230. "type": "number"
  37231. },
  37232. "performanceplanid": {
  37233. "description": "履约计划ID[期权]",
  37234. "type": "integer"
  37235. },
  37236. "performancestatus": {
  37237. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  37238. "type": "integer"
  37239. },
  37240. "preexerciseprice": {
  37241. "description": "预申报价格",
  37242. "type": "number"
  37243. },
  37244. "premium": {
  37245. "description": "权利金 - [持仓单的权利金]",
  37246. "type": "number"
  37247. },
  37248. "qtydecimalplace": {
  37249. "description": "商品报价小数位",
  37250. "type": "integer"
  37251. },
  37252. "recvamount": {
  37253. "description": "到账金额 = 成交金额 - 手续费",
  37254. "type": "number"
  37255. },
  37256. "relatedouttradeid": {
  37257. "description": "关联外部成交单ID",
  37258. "type": "integer"
  37259. },
  37260. "status": {
  37261. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  37262. "type": "integer"
  37263. },
  37264. "totalamount": {
  37265. "description": "订单总额 = 成交金额 + 手续费",
  37266. "type": "number"
  37267. },
  37268. "tradeamount": {
  37269. "description": "成交金额[账户币种,用于所有权]",
  37270. "type": "number"
  37271. },
  37272. "tradedate": {
  37273. "description": "交易日(yyyyMMdd)",
  37274. "type": "string"
  37275. },
  37276. "tradeid": {
  37277. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37278. "type": "string"
  37279. },
  37280. "trademode": {
  37281. "description": "交易模式",
  37282. "type": "integer"
  37283. },
  37284. "tradeprice": {
  37285. "description": "成交价格",
  37286. "type": "number"
  37287. },
  37288. "tradeproperty": {
  37289. "description": "交易属性",
  37290. "type": "integer"
  37291. },
  37292. "tradeqty": {
  37293. "description": "成交数量",
  37294. "type": "number"
  37295. },
  37296. "tradetime": {
  37297. "description": "成交时间",
  37298. "type": "string"
  37299. },
  37300. "tradetype": {
  37301. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  37302. "type": "integer"
  37303. }
  37304. }
  37305. },
  37306. "order.QueryTradeOrderDetailRsp": {
  37307. "type": "object",
  37308. "required": [
  37309. "accountid",
  37310. "buildtype",
  37311. "buyorsell",
  37312. "goodsid",
  37313. "marketid",
  37314. "operatetype",
  37315. "orderqty",
  37316. "ordertime",
  37317. "pricemode",
  37318. "tradedate",
  37319. "validtype"
  37320. ],
  37321. "properties": {
  37322. "accountid": {
  37323. "description": "账户ID[报价币种]",
  37324. "type": "integer"
  37325. },
  37326. "buildtype": {
  37327. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  37328. "type": "integer"
  37329. },
  37330. "buyorsell": {
  37331. "description": "买卖 - 0:买 1:卖",
  37332. "type": "integer"
  37333. },
  37334. "cancelorderid": {
  37335. "description": "撤单单号(撤单时填写)",
  37336. "type": "string"
  37337. },
  37338. "cancelqty": {
  37339. "description": "撤单数量",
  37340. "type": "number"
  37341. },
  37342. "clienttype": {
  37343. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  37344. "type": "integer"
  37345. },
  37346. "closefreezecharge": {
  37347. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  37348. "type": "number"
  37349. },
  37350. "closeqty": {
  37351. "description": "平仓数量(先建后平操作 需要记录)",
  37352. "type": "number"
  37353. },
  37354. "closetradeqty": {
  37355. "description": "平仓成交数量(先建后平操作,需要记录)",
  37356. "type": "number"
  37357. },
  37358. "closeunfreezecharge": {
  37359. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  37360. "type": "number"
  37361. },
  37362. "decimalplace": {
  37363. "description": "商品报价小数位",
  37364. "type": "integer"
  37365. },
  37366. "delistingtype": {
  37367. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  37368. "type": "integer"
  37369. },
  37370. "enableqty": {
  37371. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  37372. "type": "number"
  37373. },
  37374. "enumdicname": {
  37375. "description": "单位名称",
  37376. "type": "string"
  37377. },
  37378. "freezecharge": {
  37379. "description": "冻结手续费",
  37380. "type": "number"
  37381. },
  37382. "freezemargin": {
  37383. "description": "冻结保证金(冻结交易金额)",
  37384. "type": "number"
  37385. },
  37386. "goodscode": {
  37387. "description": "商品代码",
  37388. "type": "string"
  37389. },
  37390. "goodsid": {
  37391. "description": "商品ID",
  37392. "type": "integer"
  37393. },
  37394. "goodsname": {
  37395. "description": "商品名称",
  37396. "type": "string"
  37397. },
  37398. "goodunitid": {
  37399. "description": "商品单位id",
  37400. "type": "integer"
  37401. },
  37402. "listingselecttype": {
  37403. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37404. "type": "integer"
  37405. },
  37406. "marketid": {
  37407. "description": "市场ID",
  37408. "type": "integer"
  37409. },
  37410. "marketname": {
  37411. "description": "市场名称",
  37412. "type": "string"
  37413. },
  37414. "openfreezecharge": {
  37415. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  37416. "type": "number"
  37417. },
  37418. "openqty": {
  37419. "description": "开仓数量(先建后平操作,需要记录)",
  37420. "type": "number"
  37421. },
  37422. "opentradeqty": {
  37423. "description": "开仓成交数量(先建后平操作,需要记录)",
  37424. "type": "number"
  37425. },
  37426. "openunfreezecharge": {
  37427. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  37428. "type": "number"
  37429. },
  37430. "operatetype": {
  37431. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  37432. "type": "integer"
  37433. },
  37434. "operatorid": {
  37435. "description": "登录账号(LoginID)",
  37436. "type": "integer"
  37437. },
  37438. "orderid": {
  37439. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37440. "type": "string"
  37441. },
  37442. "orderprice": {
  37443. "description": "委托价格",
  37444. "type": "number"
  37445. },
  37446. "orderqty": {
  37447. "description": "委托数量",
  37448. "type": "number"
  37449. },
  37450. "ordersrc": {
  37451. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  37452. "type": "integer"
  37453. },
  37454. "orderstatus": {
  37455. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  37456. "type": "integer"
  37457. },
  37458. "ordertime": {
  37459. "description": "委托时间",
  37460. "type": "string"
  37461. },
  37462. "preorderid": {
  37463. "description": "关联预埋单号(止盈止损单时填写)",
  37464. "type": "string"
  37465. },
  37466. "pricemode": {
  37467. "description": "取价方式 - 1:市价 2: 限价",
  37468. "type": "integer"
  37469. },
  37470. "qtydecimalplace": {
  37471. "description": "商品报价小数位",
  37472. "type": "integer"
  37473. },
  37474. "relatedid": {
  37475. "description": "关联单号(交割单)",
  37476. "type": "string"
  37477. },
  37478. "tradedate": {
  37479. "description": "交易日(yyyyMMdd)",
  37480. "type": "string"
  37481. },
  37482. "trademode": {
  37483. "description": "交易模式",
  37484. "type": "integer"
  37485. },
  37486. "tradeqty": {
  37487. "description": "成交数量",
  37488. "type": "number"
  37489. },
  37490. "unfreezecharge": {
  37491. "description": "解冻手续费",
  37492. "type": "number"
  37493. },
  37494. "unfreezemargin": {
  37495. "description": "解冻保证金",
  37496. "type": "number"
  37497. },
  37498. "validtime": {
  37499. "description": "有效期限",
  37500. "type": "string"
  37501. },
  37502. "validtype": {
  37503. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  37504. "type": "integer"
  37505. },
  37506. "volumetype": {
  37507. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  37508. "type": "integer"
  37509. }
  37510. }
  37511. },
  37512. "order.QueryTradePositionRsp": {
  37513. "type": "object",
  37514. "required": [
  37515. "goodsid"
  37516. ],
  37517. "properties": {
  37518. "accountid": {
  37519. "description": "资金账户",
  37520. "type": "integer"
  37521. },
  37522. "agreeunit": {
  37523. "description": "合约单位",
  37524. "type": "number"
  37525. },
  37526. "averageprice": {
  37527. "description": "持仓均价",
  37528. "type": "number"
  37529. },
  37530. "buyorsell": {
  37531. "description": "方向 - 0:买 1:卖",
  37532. "type": "integer"
  37533. },
  37534. "closetotalqty": {
  37535. "description": "平仓总数量",
  37536. "type": "number"
  37537. },
  37538. "curholderamount": {
  37539. "description": "当前持仓总金额[商品币种]",
  37540. "type": "number"
  37541. },
  37542. "curpositionqty": {
  37543. "description": "当前持仓总数量",
  37544. "type": "number"
  37545. },
  37546. "currencyid": {
  37547. "description": "报价货币ID",
  37548. "type": "integer"
  37549. },
  37550. "curtdposition": {
  37551. "description": "期末今日头寸",
  37552. "type": "number"
  37553. },
  37554. "decimalplace": {
  37555. "description": "报价小数位",
  37556. "type": "integer"
  37557. },
  37558. "enableqty": {
  37559. "description": "可用量",
  37560. "type": "number"
  37561. },
  37562. "fretdposition": {
  37563. "description": "冻结今日头寸",
  37564. "type": "number"
  37565. },
  37566. "frozenqty": {
  37567. "description": "持仓冻结数量",
  37568. "type": "number"
  37569. },
  37570. "goodscode": {
  37571. "description": "商品代码",
  37572. "type": "string"
  37573. },
  37574. "goodsid": {
  37575. "description": "商品Id",
  37576. "type": "integer"
  37577. },
  37578. "goodsname": {
  37579. "description": "商品名称",
  37580. "type": "string"
  37581. },
  37582. "goodunit": {
  37583. "description": "报价单位",
  37584. "type": "string"
  37585. },
  37586. "goodunitid": {
  37587. "description": "报价单位ID",
  37588. "type": "integer"
  37589. },
  37590. "holderamount": {
  37591. "description": "期初持仓总金额[商品币种]",
  37592. "type": "number"
  37593. },
  37594. "lastprice": {
  37595. "description": "最新价",
  37596. "type": "number"
  37597. },
  37598. "marketamount": {
  37599. "description": "市值",
  37600. "type": "number"
  37601. },
  37602. "marketid": {
  37603. "description": "所属市场ID",
  37604. "type": "integer"
  37605. },
  37606. "openreqqty": {
  37607. "description": "开仓申请数量(用于比较最大持仓数量)",
  37608. "type": "number"
  37609. },
  37610. "opentotalqty": {
  37611. "description": "开仓总数量",
  37612. "type": "number"
  37613. },
  37614. "otherfrozenqty": {
  37615. "description": "持仓其他冻结数量(交割冻结)",
  37616. "type": "number"
  37617. },
  37618. "positionpl": {
  37619. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  37620. "type": "number"
  37621. },
  37622. "positionplrate": {
  37623. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  37624. "type": "number"
  37625. },
  37626. "positionqty": {
  37627. "description": "期初持仓数量",
  37628. "type": "number"
  37629. },
  37630. "qtydecimalplace": {
  37631. "description": "成交量小数位",
  37632. "type": "integer"
  37633. },
  37634. "refgoodscode": {
  37635. "description": "参考商品代码",
  37636. "type": "string"
  37637. },
  37638. "refgoodsid": {
  37639. "description": "参考商品ID",
  37640. "type": "integer"
  37641. },
  37642. "tnqty": {
  37643. "description": "T+N冻结总量",
  37644. "type": "number"
  37645. },
  37646. "tnusedqty": {
  37647. "description": "T+N使用量(可以使用T+N的冻结数量)",
  37648. "type": "number"
  37649. },
  37650. "trademode": {
  37651. "description": "交易模式",
  37652. "type": "integer"
  37653. },
  37654. "tradeproperty": {
  37655. "description": "交易属性",
  37656. "type": "integer"
  37657. },
  37658. "usedmargin": {
  37659. "description": "占用保证金[商品币种]",
  37660. "type": "number"
  37661. }
  37662. }
  37663. },
  37664. "pb.GoodsMarginCfgStruct": {
  37665. "type": "object",
  37666. "properties": {
  37667. "CustomerTypeID": {
  37668. "description": "投资者客户类型",
  37669. "type": "integer"
  37670. },
  37671. "GoodsID": {
  37672. "description": "商品ID",
  37673. "type": "integer"
  37674. },
  37675. "IsDefault": {
  37676. "description": "是否默认标志位",
  37677. "type": "integer"
  37678. },
  37679. "LockMarginValue": {
  37680. "description": "锁仓保证金",
  37681. "type": "number"
  37682. },
  37683. "MarginAlgorithm": {
  37684. "description": "保证金计算方式",
  37685. "type": "integer"
  37686. },
  37687. "MarketMarginValue": {
  37688. "description": "即市保证金值",
  37689. "type": "number"
  37690. },
  37691. "RealMarginAlgorithm": {
  37692. "description": "实付保证金计算方式",
  37693. "type": "integer"
  37694. },
  37695. "RealMarginValue": {
  37696. "description": "实付比例",
  37697. "type": "number"
  37698. },
  37699. "ReckonMarginValue": {
  37700. "description": "结算保证金值",
  37701. "type": "number"
  37702. }
  37703. }
  37704. },
  37705. "quote.HistoryData": {
  37706. "type": "object",
  37707. "properties": {
  37708. "c": {
  37709. "description": "收盘价",
  37710. "type": "number"
  37711. },
  37712. "f": {
  37713. "description": "是否补充数据",
  37714. "type": "boolean"
  37715. },
  37716. "h": {
  37717. "description": "最高价",
  37718. "type": "number"
  37719. },
  37720. "hv": {
  37721. "description": "持仓量",
  37722. "type": "integer"
  37723. },
  37724. "l": {
  37725. "description": "最低价",
  37726. "type": "number"
  37727. },
  37728. "o": {
  37729. "description": "开盘价",
  37730. "type": "number"
  37731. },
  37732. "s": {
  37733. "description": "结算价,日线周期(包括)以上才有",
  37734. "type": "number"
  37735. },
  37736. "ts": {
  37737. "description": "时间",
  37738. "type": "string"
  37739. },
  37740. "tt": {
  37741. "description": "总金额",
  37742. "type": "number"
  37743. },
  37744. "tv": {
  37745. "description": "总量(成交量)",
  37746. "type": "integer"
  37747. }
  37748. }
  37749. },
  37750. "quote.HistoryTikData": {
  37751. "type": "object",
  37752. "properties": {
  37753. "AV": {
  37754. "description": "卖量",
  37755. "type": "integer"
  37756. },
  37757. "Ask": {
  37758. "description": "卖价",
  37759. "type": "number"
  37760. },
  37761. "BV": {
  37762. "description": "买量",
  37763. "type": "integer"
  37764. },
  37765. "Bid": {
  37766. "description": "买价",
  37767. "type": "number"
  37768. },
  37769. "HI": {
  37770. "description": "单笔持仓",
  37771. "type": "integer"
  37772. },
  37773. "HV": {
  37774. "description": "持仓量",
  37775. "type": "integer"
  37776. },
  37777. "PE": {
  37778. "description": "现价",
  37779. "type": "number"
  37780. },
  37781. "TDR": {
  37782. "description": "交易方向,0:买 1:卖",
  37783. "type": "integer"
  37784. },
  37785. "TK": {
  37786. "description": "交易类型",
  37787. "type": "integer"
  37788. },
  37789. "TS": {
  37790. "description": "行情时间文本",
  37791. "type": "string"
  37792. },
  37793. "TT": {
  37794. "description": "现金额",
  37795. "type": "number"
  37796. },
  37797. "Vol": {
  37798. "description": "现量",
  37799. "type": "integer"
  37800. }
  37801. }
  37802. },
  37803. "quote.QueryQuoteDayRsp": {
  37804. "type": "object",
  37805. "properties": {
  37806. "ask": {
  37807. "description": "卖1",
  37808. "type": "number"
  37809. },
  37810. "ask10": {
  37811. "description": "卖10",
  37812. "type": "number"
  37813. },
  37814. "ask2": {
  37815. "description": "卖2",
  37816. "type": "number"
  37817. },
  37818. "ask3": {
  37819. "description": "卖3",
  37820. "type": "number"
  37821. },
  37822. "ask4": {
  37823. "description": "卖4",
  37824. "type": "number"
  37825. },
  37826. "ask5": {
  37827. "description": "卖5",
  37828. "type": "number"
  37829. },
  37830. "ask6": {
  37831. "description": "卖6",
  37832. "type": "number"
  37833. },
  37834. "ask7": {
  37835. "description": "卖7",
  37836. "type": "number"
  37837. },
  37838. "ask8": {
  37839. "description": "卖8",
  37840. "type": "number"
  37841. },
  37842. "ask9": {
  37843. "description": "卖9",
  37844. "type": "number"
  37845. },
  37846. "askorderid": {
  37847. "description": "卖单号1",
  37848. "type": "integer"
  37849. },
  37850. "askorderid2": {
  37851. "description": "卖单号2",
  37852. "type": "integer"
  37853. },
  37854. "askorderid3": {
  37855. "description": "卖单号3",
  37856. "type": "integer"
  37857. },
  37858. "askorderid4": {
  37859. "description": "卖单号4",
  37860. "type": "integer"
  37861. },
  37862. "askorderid5": {
  37863. "description": "卖单号5",
  37864. "type": "integer"
  37865. },
  37866. "askordervolume": {
  37867. "description": "卖单量1",
  37868. "type": "integer"
  37869. },
  37870. "askordervolume10": {
  37871. "description": "卖单量10",
  37872. "type": "integer"
  37873. },
  37874. "askordervolume2": {
  37875. "description": "卖单量2",
  37876. "type": "integer"
  37877. },
  37878. "askordervolume3": {
  37879. "description": "卖单量3",
  37880. "type": "integer"
  37881. },
  37882. "askordervolume4": {
  37883. "description": "卖单量4",
  37884. "type": "integer"
  37885. },
  37886. "askordervolume5": {
  37887. "description": "卖单量5",
  37888. "type": "integer"
  37889. },
  37890. "askordervolume6": {
  37891. "description": "卖单量6",
  37892. "type": "integer"
  37893. },
  37894. "askordervolume7": {
  37895. "description": "卖单量7",
  37896. "type": "integer"
  37897. },
  37898. "askordervolume8": {
  37899. "description": "卖单量8",
  37900. "type": "integer"
  37901. },
  37902. "askordervolume9": {
  37903. "description": "卖单量9",
  37904. "type": "integer"
  37905. },
  37906. "askqueueinfo": {
  37907. "description": "大利市卖港股用",
  37908. "type": "string"
  37909. },
  37910. "askvolume": {
  37911. "description": "卖量1",
  37912. "type": "integer"
  37913. },
  37914. "askvolume10": {
  37915. "description": "卖量10",
  37916. "type": "integer"
  37917. },
  37918. "askvolume2": {
  37919. "description": "卖量2",
  37920. "type": "integer"
  37921. },
  37922. "askvolume3": {
  37923. "description": "卖量3",
  37924. "type": "integer"
  37925. },
  37926. "askvolume4": {
  37927. "description": "卖量4",
  37928. "type": "integer"
  37929. },
  37930. "askvolume5": {
  37931. "description": "卖量5",
  37932. "type": "integer"
  37933. },
  37934. "askvolume6": {
  37935. "description": "卖量6",
  37936. "type": "integer"
  37937. },
  37938. "askvolume7": {
  37939. "description": "卖量7",
  37940. "type": "integer"
  37941. },
  37942. "askvolume8": {
  37943. "description": "卖量8",
  37944. "type": "integer"
  37945. },
  37946. "askvolume9": {
  37947. "description": "卖量9",
  37948. "type": "integer"
  37949. },
  37950. "averageprice": {
  37951. "description": "均价",
  37952. "type": "number"
  37953. },
  37954. "bid": {
  37955. "description": "买1",
  37956. "type": "number"
  37957. },
  37958. "bid10": {
  37959. "description": "买10",
  37960. "type": "number"
  37961. },
  37962. "bid2": {
  37963. "description": "买2",
  37964. "type": "number"
  37965. },
  37966. "bid3": {
  37967. "description": "买3",
  37968. "type": "number"
  37969. },
  37970. "bid4": {
  37971. "description": "买4",
  37972. "type": "number"
  37973. },
  37974. "bid5": {
  37975. "description": "买5",
  37976. "type": "number"
  37977. },
  37978. "bid6": {
  37979. "description": "买6",
  37980. "type": "number"
  37981. },
  37982. "bid7": {
  37983. "description": "买7",
  37984. "type": "number"
  37985. },
  37986. "bid8": {
  37987. "description": "买8",
  37988. "type": "number"
  37989. },
  37990. "bid9": {
  37991. "description": "买9",
  37992. "type": "number"
  37993. },
  37994. "bidorderid": {
  37995. "description": "买单号1",
  37996. "type": "integer"
  37997. },
  37998. "bidorderid2": {
  37999. "description": "买单号2",
  38000. "type": "integer"
  38001. },
  38002. "bidorderid3": {
  38003. "description": "买单号3",
  38004. "type": "integer"
  38005. },
  38006. "bidorderid4": {
  38007. "description": "买单号4",
  38008. "type": "integer"
  38009. },
  38010. "bidorderid5": {
  38011. "description": "买单号5",
  38012. "type": "integer"
  38013. },
  38014. "bidordervolume": {
  38015. "description": "买单量1",
  38016. "type": "integer"
  38017. },
  38018. "bidordervolume10": {
  38019. "description": "买单量10",
  38020. "type": "integer"
  38021. },
  38022. "bidordervolume2": {
  38023. "description": "买单量2",
  38024. "type": "integer"
  38025. },
  38026. "bidordervolume3": {
  38027. "description": "买单量3",
  38028. "type": "integer"
  38029. },
  38030. "bidordervolume4": {
  38031. "description": "买单量4",
  38032. "type": "integer"
  38033. },
  38034. "bidordervolume5": {
  38035. "description": "买单量5",
  38036. "type": "integer"
  38037. },
  38038. "bidordervolume6": {
  38039. "description": "买单量6",
  38040. "type": "integer"
  38041. },
  38042. "bidordervolume7": {
  38043. "description": "买单量7",
  38044. "type": "integer"
  38045. },
  38046. "bidordervolume8": {
  38047. "description": "买单量8",
  38048. "type": "integer"
  38049. },
  38050. "bidordervolume9": {
  38051. "description": "买单量9",
  38052. "type": "integer"
  38053. },
  38054. "bidqueueinfo": {
  38055. "description": "大利市买港股用",
  38056. "type": "string"
  38057. },
  38058. "bidvolume": {
  38059. "description": "买量1",
  38060. "type": "integer"
  38061. },
  38062. "bidvolume10": {
  38063. "description": "买量10",
  38064. "type": "integer"
  38065. },
  38066. "bidvolume2": {
  38067. "description": "买量2",
  38068. "type": "integer"
  38069. },
  38070. "bidvolume3": {
  38071. "description": "买量3",
  38072. "type": "integer"
  38073. },
  38074. "bidvolume4": {
  38075. "description": "买量4",
  38076. "type": "integer"
  38077. },
  38078. "bidvolume5": {
  38079. "description": "买量5",
  38080. "type": "integer"
  38081. },
  38082. "bidvolume6": {
  38083. "description": "买量6",
  38084. "type": "integer"
  38085. },
  38086. "bidvolume7": {
  38087. "description": "买量7",
  38088. "type": "integer"
  38089. },
  38090. "bidvolume8": {
  38091. "description": "买量8",
  38092. "type": "integer"
  38093. },
  38094. "bidvolume9": {
  38095. "description": "买量9",
  38096. "type": "integer"
  38097. },
  38098. "calloptionpremiums": {
  38099. "description": "认购期权1",
  38100. "type": "integer"
  38101. },
  38102. "calloptionpremiums2": {
  38103. "description": "认购期权2",
  38104. "type": "integer"
  38105. },
  38106. "calloptionpremiums3": {
  38107. "description": "认购期权3",
  38108. "type": "integer"
  38109. },
  38110. "calloptionpremiums4": {
  38111. "description": "认购期权4",
  38112. "type": "integer"
  38113. },
  38114. "calloptionpremiums5": {
  38115. "description": "认购期权5",
  38116. "type": "integer"
  38117. },
  38118. "cleartime": {
  38119. "description": "清盘时间",
  38120. "type": "integer"
  38121. },
  38122. "exchangecode": {
  38123. "description": "交易所代码",
  38124. "type": "integer"
  38125. },
  38126. "exchangedate": {
  38127. "description": "交易日",
  38128. "type": "integer"
  38129. },
  38130. "goodscode": {
  38131. "description": "商品代码",
  38132. "type": "string"
  38133. },
  38134. "grepmarketprice": {
  38135. "description": "暗盘价 港股专用",
  38136. "type": "number"
  38137. },
  38138. "highest": {
  38139. "description": "最高价",
  38140. "type": "number"
  38141. },
  38142. "holdincrement": {
  38143. "description": "单笔持仓",
  38144. "type": "integer"
  38145. },
  38146. "holdvolume": {
  38147. "description": "持仓",
  38148. "type": "integer"
  38149. },
  38150. "iep": {
  38151. "description": "平衡价 港股专用",
  38152. "type": "number"
  38153. },
  38154. "iev": {
  38155. "description": "平衡量 港股专用",
  38156. "type": "number"
  38157. },
  38158. "inventory": {
  38159. "description": "库存",
  38160. "type": "integer"
  38161. },
  38162. "iscleared": {
  38163. "description": "是否清盘标志",
  38164. "type": "integer"
  38165. },
  38166. "issettled": {
  38167. "description": "是否结算标志",
  38168. "type": "integer"
  38169. },
  38170. "last": {
  38171. "description": "最新价",
  38172. "type": "number"
  38173. },
  38174. "lastlot": {
  38175. "description": "最新成交手数",
  38176. "type": "integer"
  38177. },
  38178. "lasttime": {
  38179. "description": "行情时间(只有现价变化行情时间才变化)",
  38180. "type": "string"
  38181. },
  38182. "lastturnover": {
  38183. "description": "最新成交金额",
  38184. "type": "number"
  38185. },
  38186. "lastvolume": {
  38187. "description": "最新成交量",
  38188. "type": "integer"
  38189. },
  38190. "limitdown": {
  38191. "description": "跌停价",
  38192. "type": "number"
  38193. },
  38194. "limitup": {
  38195. "description": "涨停价",
  38196. "type": "number"
  38197. },
  38198. "lowest": {
  38199. "description": "最低价",
  38200. "type": "number"
  38201. },
  38202. "nontotalholdervolume": {
  38203. "description": "非交易持仓量",
  38204. "type": "integer"
  38205. },
  38206. "nontotallot": {
  38207. "description": "非交易总手数",
  38208. "type": "integer"
  38209. },
  38210. "nontotalturnover": {
  38211. "description": "非交易总金额",
  38212. "type": "integer"
  38213. },
  38214. "nontotalvolume": {
  38215. "description": "非交易总量",
  38216. "type": "integer"
  38217. },
  38218. "opened": {
  38219. "description": "开盘价",
  38220. "type": "number"
  38221. },
  38222. "opentime": {
  38223. "description": "开盘时间",
  38224. "type": "string"
  38225. },
  38226. "orderid": {
  38227. "description": "序号",
  38228. "type": "integer"
  38229. },
  38230. "preclose": {
  38231. "description": "昨收",
  38232. "type": "number"
  38233. },
  38234. "preholdvolume": {
  38235. "description": "昨持仓",
  38236. "type": "integer"
  38237. },
  38238. "presettle": {
  38239. "description": "昨结价",
  38240. "type": "number"
  38241. },
  38242. "publictradetype": {
  38243. "description": "公共交易标志类型 港股专用",
  38244. "type": "string"
  38245. },
  38246. "putoptionpremiums": {
  38247. "description": "认沽期权1",
  38248. "type": "integer"
  38249. },
  38250. "putoptionpremiums2": {
  38251. "description": "认沽期权2",
  38252. "type": "integer"
  38253. },
  38254. "putoptionpremiums3": {
  38255. "description": "认沽期权3",
  38256. "type": "integer"
  38257. },
  38258. "putoptionpremiums4": {
  38259. "description": "认沽期权4",
  38260. "type": "integer"
  38261. },
  38262. "putoptionpremiums5": {
  38263. "description": "认沽期权5",
  38264. "type": "integer"
  38265. },
  38266. "settle": {
  38267. "description": "结算价",
  38268. "type": "number"
  38269. },
  38270. "strikeprice": {
  38271. "description": "发行价",
  38272. "type": "number"
  38273. },
  38274. "totalaskvolume": {
  38275. "description": "内盘",
  38276. "type": "integer"
  38277. },
  38278. "totalbidvolume": {
  38279. "description": "外盘",
  38280. "type": "integer"
  38281. },
  38282. "totallot": {
  38283. "description": "总手数",
  38284. "type": "integer"
  38285. },
  38286. "totalturnover": {
  38287. "description": "总金额",
  38288. "type": "number"
  38289. },
  38290. "totalvolume": {
  38291. "description": "总量",
  38292. "type": "integer"
  38293. },
  38294. "utclasttime": {
  38295. "description": "utc的行情时间",
  38296. "type": "string"
  38297. }
  38298. }
  38299. },
  38300. "quote.QueryTSDataRsp": {
  38301. "type": "object",
  38302. "properties": {
  38303. "Count": {
  38304. "description": "交易日应有数据个数",
  38305. "type": "integer"
  38306. },
  38307. "decimalPlace": {
  38308. "description": "小数位",
  38309. "type": "integer"
  38310. },
  38311. "endTime": {
  38312. "description": "结束时间",
  38313. "type": "string"
  38314. },
  38315. "goodsCode": {
  38316. "description": "商品代码",
  38317. "type": "string"
  38318. },
  38319. "historyDatas": {
  38320. "description": "历史数据",
  38321. "type": "array",
  38322. "items": {
  38323. "$ref": "#/definitions/quote.HistoryData"
  38324. }
  38325. },
  38326. "outGoodsCode": {
  38327. "description": "外部商品代码",
  38328. "type": "string"
  38329. },
  38330. "preSettle": {
  38331. "description": "昨结价",
  38332. "type": "number"
  38333. },
  38334. "runSteps": {
  38335. "description": "交易日开休市计划",
  38336. "type": "array",
  38337. "items": {
  38338. "$ref": "#/definitions/quote.TSDataRunStep"
  38339. }
  38340. },
  38341. "startTime": {
  38342. "description": "开始时间",
  38343. "type": "string"
  38344. },
  38345. "tradeDate": {
  38346. "description": "交易日",
  38347. "type": "string"
  38348. }
  38349. }
  38350. },
  38351. "quote.TSDataRunStep": {
  38352. "type": "object",
  38353. "properties": {
  38354. "end": {
  38355. "description": "真实结束时间",
  38356. "type": "string"
  38357. },
  38358. "endflag": {
  38359. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  38360. "type": "integer"
  38361. },
  38362. "endtime": {
  38363. "description": "结束时间(HH:mm)",
  38364. "type": "string"
  38365. },
  38366. "endweekday": {
  38367. "description": "结束周几",
  38368. "type": "integer"
  38369. },
  38370. "groupid": {
  38371. "description": "分组ID",
  38372. "type": "integer"
  38373. },
  38374. "runstep": {
  38375. "description": "运行阶段 - 2:连续交易",
  38376. "type": "integer"
  38377. },
  38378. "sectionid": {
  38379. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  38380. "type": "integer"
  38381. },
  38382. "start": {
  38383. "description": "真实开始时间",
  38384. "type": "string"
  38385. },
  38386. "startflag": {
  38387. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  38388. "type": "integer"
  38389. },
  38390. "starttime": {
  38391. "description": "起始时间(HH:mm)",
  38392. "type": "string"
  38393. },
  38394. "startweekday": {
  38395. "description": "起始周几",
  38396. "type": "integer"
  38397. },
  38398. "tradeweekday": {
  38399. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  38400. "type": "integer"
  38401. }
  38402. }
  38403. },
  38404. "szdz.QueryConvertLogRsp": {
  38405. "type": "object",
  38406. "required": [
  38407. "logid"
  38408. ],
  38409. "properties": {
  38410. "accountid": {
  38411. "description": "资金账户ID",
  38412. "type": "integer"
  38413. },
  38414. "clientticket": {
  38415. "description": "客户端流水号",
  38416. "type": "string"
  38417. },
  38418. "converttype": {
  38419. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  38420. "type": "integer"
  38421. },
  38422. "createtime": {
  38423. "description": "记账时间",
  38424. "type": "string"
  38425. },
  38426. "daymaxvalue": {
  38427. "description": "配置当日最大转入限制",
  38428. "type": "number"
  38429. },
  38430. "daymaxvalue2": {
  38431. "description": "配置当日最大转入限制(转入)",
  38432. "type": "number"
  38433. },
  38434. "goodscode": {
  38435. "description": "商品代码",
  38436. "type": "string"
  38437. },
  38438. "goodsname": {
  38439. "description": "商品名称",
  38440. "type": "string"
  38441. },
  38442. "handlestatus": {
  38443. "description": "处理状态",
  38444. "type": "integer"
  38445. },
  38446. "innergoodsid": {
  38447. "description": "内部商品ID",
  38448. "type": "integer"
  38449. },
  38450. "inratio": {
  38451. "description": "配置转入比值",
  38452. "type": "integer"
  38453. },
  38454. "invalue": {
  38455. "description": "目标值",
  38456. "type": "number"
  38457. },
  38458. "logid": {
  38459. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38460. "type": "integer"
  38461. },
  38462. "mobile": {
  38463. "description": "手机号码(加密存储)",
  38464. "type": "string"
  38465. },
  38466. "outergoodscode": {
  38467. "description": "外部商品代码[JD\\PD]",
  38468. "type": "string"
  38469. },
  38470. "outratio": {
  38471. "description": "配置转出比值",
  38472. "type": "integer"
  38473. },
  38474. "outvalue": {
  38475. "description": "源值",
  38476. "type": "number"
  38477. },
  38478. "pddecimalplace": {
  38479. "description": "PD小数位",
  38480. "type": "integer"
  38481. },
  38482. "qty": {
  38483. "description": "数量",
  38484. "type": "string"
  38485. },
  38486. "remark": {
  38487. "description": "备注",
  38488. "type": "string"
  38489. },
  38490. "sessionid": {
  38491. "description": "会话ID",
  38492. "type": "integer"
  38493. },
  38494. "timemaxvalue": {
  38495. "description": "配置单次最大转入限制",
  38496. "type": "number"
  38497. },
  38498. "timemaxvalue2": {
  38499. "description": "配置单次最大转入限制(转入)",
  38500. "type": "number"
  38501. },
  38502. "timeminvalue": {
  38503. "description": "配置单次最小数量限制",
  38504. "type": "number"
  38505. },
  38506. "timeminvalue2": {
  38507. "description": "配置单次最小数量限制(转入)",
  38508. "type": "number"
  38509. },
  38510. "tradedate": {
  38511. "description": "交易日(yyyyMMdd)",
  38512. "type": "string"
  38513. },
  38514. "userid": {
  38515. "description": "用户ID",
  38516. "type": "integer"
  38517. }
  38518. }
  38519. },
  38520. "szdz.QueryGoodsPickupRsp": {
  38521. "type": "object",
  38522. "required": [
  38523. "takeorderid"
  38524. ],
  38525. "properties": {
  38526. "accountid": {
  38527. "description": "账户ID",
  38528. "type": "integer"
  38529. },
  38530. "address": {
  38531. "description": "提货人详细地址",
  38532. "type": "string"
  38533. },
  38534. "auditer": {
  38535. "description": "审核人",
  38536. "type": "integer"
  38537. },
  38538. "audittime": {
  38539. "description": "审核时间",
  38540. "type": "string"
  38541. },
  38542. "cardnum": {
  38543. "description": "提货人证件号码",
  38544. "type": "string"
  38545. },
  38546. "cardtypeid": {
  38547. "description": "提货人证件类型",
  38548. "type": "integer"
  38549. },
  38550. "checkremark": {
  38551. "description": "审核备注",
  38552. "type": "string"
  38553. },
  38554. "goodscode": {
  38555. "description": "商品代码",
  38556. "type": "string"
  38557. },
  38558. "goodsid": {
  38559. "description": "商品ID",
  38560. "type": "integer"
  38561. },
  38562. "goodsname": {
  38563. "description": "商品名称",
  38564. "type": "string"
  38565. },
  38566. "handlestatus": {
  38567. "description": "处理状态",
  38568. "type": "integer"
  38569. },
  38570. "marketid": {
  38571. "description": "市场ID",
  38572. "type": "integer"
  38573. },
  38574. "phonenum": {
  38575. "description": "提货人联系方式",
  38576. "type": "string"
  38577. },
  38578. "qty": {
  38579. "description": "提货数量",
  38580. "type": "number"
  38581. },
  38582. "recivername": {
  38583. "description": "提货人姓名",
  38584. "type": "string"
  38585. },
  38586. "reqtime": {
  38587. "description": "更新时间",
  38588. "type": "string"
  38589. },
  38590. "takemode": {
  38591. "description": "提货方式 - 2:自提 3:配送",
  38592. "type": "integer"
  38593. },
  38594. "takeorderid": {
  38595. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  38596. "type": "string"
  38597. },
  38598. "takeorderstatus": {
  38599. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  38600. "type": "integer"
  38601. },
  38602. "takeremark": {
  38603. "description": "提货备注",
  38604. "type": "string"
  38605. },
  38606. "tradedate": {
  38607. "description": "交易日(yyyyMMdd)",
  38608. "type": "string"
  38609. },
  38610. "userid": {
  38611. "description": "用户ID",
  38612. "type": "integer"
  38613. }
  38614. }
  38615. },
  38616. "szdz.QueryRecieptOrderRsp": {
  38617. "type": "object",
  38618. "required": [
  38619. "ordertime"
  38620. ],
  38621. "properties": {
  38622. "accountName": {
  38623. "description": "所属账号名称(已脱敏)",
  38624. "type": "string"
  38625. },
  38626. "accountid": {
  38627. "description": "资金账号",
  38628. "type": "integer"
  38629. },
  38630. "buyorsell": {
  38631. "description": "方向 - 0:买 1:卖",
  38632. "type": "integer"
  38633. },
  38634. "enableqty": {
  38635. "description": "可摘数量",
  38636. "type": "integer"
  38637. },
  38638. "goodscode": {
  38639. "description": "商品代码",
  38640. "type": "string"
  38641. },
  38642. "goodsid": {
  38643. "description": "商品ID",
  38644. "type": "integer"
  38645. },
  38646. "goodsname": {
  38647. "description": "商品名称",
  38648. "type": "string"
  38649. },
  38650. "orderid": {
  38651. "description": "委托单号",
  38652. "type": "string"
  38653. },
  38654. "orderprice": {
  38655. "description": "委托价格",
  38656. "type": "number"
  38657. },
  38658. "ordertime": {
  38659. "description": "委托时间",
  38660. "type": "string"
  38661. },
  38662. "tradedate": {
  38663. "description": "交易日(yyyyMMdd)",
  38664. "type": "string"
  38665. }
  38666. }
  38667. },
  38668. "szdz.QuerySZDZTradePositionRsp": {
  38669. "type": "object",
  38670. "properties": {
  38671. "accountid": {
  38672. "description": "账号Id",
  38673. "type": "integer"
  38674. },
  38675. "agreeunit": {
  38676. "description": "合约单位",
  38677. "type": "number"
  38678. },
  38679. "averageprice": {
  38680. "description": "持仓均价",
  38681. "type": "number"
  38682. },
  38683. "buyorsell": {
  38684. "description": "方向 - 0:买 1:卖",
  38685. "type": "integer"
  38686. },
  38687. "closetotalqty": {
  38688. "description": "平仓总数量",
  38689. "type": "integer"
  38690. },
  38691. "curholderamount": {
  38692. "description": "当前持仓总金额",
  38693. "type": "number"
  38694. },
  38695. "curpositionqty": {
  38696. "description": "当前持仓总数量",
  38697. "type": "integer"
  38698. },
  38699. "currencyid": {
  38700. "description": "报价货币ID",
  38701. "type": "integer"
  38702. },
  38703. "curtdposition": {
  38704. "description": "期末今日头寸",
  38705. "type": "integer"
  38706. },
  38707. "decimalplace": {
  38708. "description": "报价小数位",
  38709. "type": "integer"
  38710. },
  38711. "enableqty": {
  38712. "description": "可用量",
  38713. "type": "integer"
  38714. },
  38715. "fretdposition": {
  38716. "description": "冻结今日头寸",
  38717. "type": "integer"
  38718. },
  38719. "frozenqty": {
  38720. "description": "持仓冻结数量",
  38721. "type": "integer"
  38722. },
  38723. "goodscode": {
  38724. "description": "商品代码(内部)",
  38725. "type": "string"
  38726. },
  38727. "goodsid": {
  38728. "description": "商品Id",
  38729. "type": "integer"
  38730. },
  38731. "goodsname": {
  38732. "description": "商品名称",
  38733. "type": "string"
  38734. },
  38735. "goodunit": {
  38736. "description": "报价单位",
  38737. "type": "string"
  38738. },
  38739. "goodunitid": {
  38740. "description": "报价单位ID",
  38741. "type": "integer"
  38742. },
  38743. "holderamount": {
  38744. "description": "期初持仓总金额",
  38745. "type": "number"
  38746. },
  38747. "marketid": {
  38748. "description": "市场ID",
  38749. "type": "integer"
  38750. },
  38751. "openreqqty": {
  38752. "description": "开仓申请数量",
  38753. "type": "integer"
  38754. },
  38755. "opentotalqty": {
  38756. "description": "开仓总数量",
  38757. "type": "integer"
  38758. },
  38759. "otherfrozenqty": {
  38760. "description": "持仓其他冻结数量(交割冻结)",
  38761. "type": "integer"
  38762. },
  38763. "positionqty": {
  38764. "description": "期初持仓数量",
  38765. "type": "integer"
  38766. },
  38767. "szdz3freezqty": {
  38768. "description": "尚志大宗转换冻结总数量",
  38769. "type": "integer"
  38770. },
  38771. "tnqty": {
  38772. "description": "T+N冻结总量",
  38773. "type": "integer"
  38774. },
  38775. "tnusedqty": {
  38776. "description": "T+N使用量",
  38777. "type": "integer"
  38778. },
  38779. "trademode": {
  38780. "description": "交易模式",
  38781. "type": "integer"
  38782. },
  38783. "usedmargin": {
  38784. "description": "占用保证金",
  38785. "type": "number"
  38786. }
  38787. }
  38788. },
  38789. "taaccount.QueryAmountLogRsp": {
  38790. "type": "object",
  38791. "required": [
  38792. "accountid",
  38793. "amount",
  38794. "amountadjusttype",
  38795. "autoid",
  38796. "balance",
  38797. "createtime",
  38798. "currentbalance",
  38799. "operatetype"
  38800. ],
  38801. "properties": {
  38802. "OPERATETYPENAME": {
  38803. "description": "资金操作类型名称",
  38804. "type": "string"
  38805. },
  38806. "accountid": {
  38807. "description": "资金账户ID",
  38808. "type": "integer"
  38809. },
  38810. "agoodscode": {
  38811. "description": "竞拍商品代码",
  38812. "type": "string"
  38813. },
  38814. "agoodsname": {
  38815. "description": "竞拍商品名称",
  38816. "type": "string"
  38817. },
  38818. "amount": {
  38819. "description": "资金金额",
  38820. "type": "number"
  38821. },
  38822. "amountadjusttype": {
  38823. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  38824. "type": "integer"
  38825. },
  38826. "autoid": {
  38827. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  38828. "type": "integer"
  38829. },
  38830. "balance": {
  38831. "description": "期初余额",
  38832. "type": "number"
  38833. },
  38834. "businesscode": {
  38835. "description": "业务编号",
  38836. "type": "integer"
  38837. },
  38838. "createtime": {
  38839. "description": "发生时间",
  38840. "type": "string"
  38841. },
  38842. "currencyid": {
  38843. "description": "币种ID",
  38844. "type": "integer"
  38845. },
  38846. "currentbalance": {
  38847. "description": "期末余额(变动后金额)",
  38848. "type": "number"
  38849. },
  38850. "dgoodscode": {
  38851. "description": "交割商品代码",
  38852. "type": "string"
  38853. },
  38854. "dgoodsname": {
  38855. "description": "交割商品名称",
  38856. "type": "string"
  38857. },
  38858. "goodscode": {
  38859. "description": "商品代码",
  38860. "type": "string"
  38861. },
  38862. "goodsid": {
  38863. "description": "商品ID",
  38864. "type": "integer"
  38865. },
  38866. "goodsname": {
  38867. "description": "商品名称",
  38868. "type": "string"
  38869. },
  38870. "marketid": {
  38871. "description": "市场ID",
  38872. "type": "integer"
  38873. },
  38874. "marketname": {
  38875. "description": "市场名称",
  38876. "type": "string"
  38877. },
  38878. "moneyticket": {
  38879. "description": "资金流水号:银行端流水号",
  38880. "type": "integer"
  38881. },
  38882. "operatetype": {
  38883. "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:营销收款",
  38884. "type": "integer"
  38885. },
  38886. "relationorderid": {
  38887. "description": "关联单号",
  38888. "type": "string"
  38889. },
  38890. "remark": {
  38891. "description": "备注",
  38892. "type": "string"
  38893. },
  38894. "trademode": {
  38895. "description": "交易模式",
  38896. "type": "integer"
  38897. }
  38898. }
  38899. },
  38900. "taaccount.QueryHisAmountLogRsp": {
  38901. "type": "object",
  38902. "required": [
  38903. "accountid",
  38904. "amount",
  38905. "amountadjusttype",
  38906. "autoid",
  38907. "balance",
  38908. "createtime",
  38909. "currentbalance",
  38910. "histradedate",
  38911. "operatetype"
  38912. ],
  38913. "properties": {
  38914. "OPERATETYPENAME": {
  38915. "description": "资金操作类型名称",
  38916. "type": "string"
  38917. },
  38918. "accountid": {
  38919. "description": "资金账户ID",
  38920. "type": "integer"
  38921. },
  38922. "agoodscode": {
  38923. "description": "竞拍商品代码",
  38924. "type": "string"
  38925. },
  38926. "agoodsname": {
  38927. "description": "竞拍商品名称",
  38928. "type": "string"
  38929. },
  38930. "amount": {
  38931. "description": "资金金额",
  38932. "type": "number"
  38933. },
  38934. "amountadjusttype": {
  38935. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  38936. "type": "integer"
  38937. },
  38938. "autoid": {
  38939. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  38940. "type": "integer"
  38941. },
  38942. "balance": {
  38943. "description": "期初余额",
  38944. "type": "number"
  38945. },
  38946. "businesscode": {
  38947. "description": "业务编号",
  38948. "type": "integer"
  38949. },
  38950. "createtime": {
  38951. "description": "发生时间",
  38952. "type": "string"
  38953. },
  38954. "currencyid": {
  38955. "description": "币种ID",
  38956. "type": "integer"
  38957. },
  38958. "currentbalance": {
  38959. "description": "期末余额(变动后金额)",
  38960. "type": "number"
  38961. },
  38962. "dgoodscode": {
  38963. "description": "交割商品代码",
  38964. "type": "string"
  38965. },
  38966. "dgoodsname": {
  38967. "description": "交割商品名称",
  38968. "type": "string"
  38969. },
  38970. "goodscode": {
  38971. "description": "商品代码",
  38972. "type": "string"
  38973. },
  38974. "goodsid": {
  38975. "description": "商品ID",
  38976. "type": "integer"
  38977. },
  38978. "goodsname": {
  38979. "description": "商品名称",
  38980. "type": "string"
  38981. },
  38982. "histradedate": {
  38983. "description": "历史交易日",
  38984. "type": "string"
  38985. },
  38986. "isvaliddata": {
  38987. "description": "是否有效 - 0:无效 1:有效",
  38988. "type": "integer"
  38989. },
  38990. "marketid": {
  38991. "description": "市场ID",
  38992. "type": "integer"
  38993. },
  38994. "marketname": {
  38995. "description": "市场名称",
  38996. "type": "string"
  38997. },
  38998. "moneyticket": {
  38999. "description": "资金流水号:银行端流水号",
  39000. "type": "integer"
  39001. },
  39002. "operatetype": {
  39003. "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:营销收款",
  39004. "type": "integer"
  39005. },
  39006. "relationorderid": {
  39007. "description": "关联单号",
  39008. "type": "string"
  39009. },
  39010. "remark": {
  39011. "description": "备注",
  39012. "type": "string"
  39013. },
  39014. "trademode": {
  39015. "description": "交易模式",
  39016. "type": "integer"
  39017. }
  39018. }
  39019. },
  39020. "trade.QueryRecieptOrderRsp": {
  39021. "type": "object",
  39022. "required": [
  39023. "ordertime"
  39024. ],
  39025. "properties": {
  39026. "accountName": {
  39027. "description": "所属账号名称(已脱敏)",
  39028. "type": "string"
  39029. },
  39030. "accountid": {
  39031. "description": "资金账号",
  39032. "type": "integer"
  39033. },
  39034. "buyorsell": {
  39035. "description": "方向 - 0:买 1:卖",
  39036. "type": "integer"
  39037. },
  39038. "enableqty": {
  39039. "description": "可摘数量",
  39040. "type": "integer"
  39041. },
  39042. "goodscode": {
  39043. "description": "商品代码",
  39044. "type": "string"
  39045. },
  39046. "goodsid": {
  39047. "description": "商品ID",
  39048. "type": "integer"
  39049. },
  39050. "goodsname": {
  39051. "description": "商品名称",
  39052. "type": "string"
  39053. },
  39054. "orderid": {
  39055. "description": "委托单号",
  39056. "type": "string"
  39057. },
  39058. "orderprice": {
  39059. "description": "委托价格",
  39060. "type": "number"
  39061. },
  39062. "ordertime": {
  39063. "description": "委托时间",
  39064. "type": "string"
  39065. },
  39066. "tradedate": {
  39067. "description": "交易日(yyyyMMdd)",
  39068. "type": "string"
  39069. }
  39070. }
  39071. },
  39072. "user.LoginQueryRsp": {
  39073. "type": "object",
  39074. "properties": {
  39075. "areaRoles": {
  39076. "description": "所属角色信息",
  39077. "type": "array",
  39078. "items": {
  39079. "$ref": "#/definitions/models.Arearole"
  39080. }
  39081. },
  39082. "externalExchanges": {
  39083. "description": "外部交易所",
  39084. "type": "array",
  39085. "items": {
  39086. "$ref": "#/definitions/models.Externalexchange"
  39087. }
  39088. },
  39089. "goodsgroups": {
  39090. "description": "商品组",
  39091. "type": "array",
  39092. "items": {
  39093. "$ref": "#/definitions/models.Goodsgroup"
  39094. }
  39095. },
  39096. "loginAccount": {
  39097. "description": "登录账号",
  39098. "$ref": "#/definitions/models.Loginaccount"
  39099. },
  39100. "markets": {
  39101. "description": "市场",
  39102. "type": "array",
  39103. "items": {
  39104. "$ref": "#/definitions/models.Market"
  39105. }
  39106. },
  39107. "systemParams": {
  39108. "description": "系统参数",
  39109. "type": "array",
  39110. "items": {
  39111. "$ref": "#/definitions/models.Systemparam"
  39112. }
  39113. },
  39114. "userAccount": {
  39115. "description": "用户账号",
  39116. "$ref": "#/definitions/models.Useraccount"
  39117. },
  39118. "userInfo": {
  39119. "description": "用户信息",
  39120. "$ref": "#/definitions/models.Userinfo"
  39121. },
  39122. "username": {
  39123. "description": "用户姓名",
  39124. "type": "string"
  39125. }
  39126. }
  39127. }
  39128. },
  39129. "securityDefinitions": {
  39130. "ApiKeyAuth": {
  39131. "type": "apiKey",
  39132. "name": "Authorization",
  39133. "in": "header"
  39134. }
  39135. }
  39136. }`
  39137. type swaggerInfo struct {
  39138. Version string
  39139. Host string
  39140. BasePath string
  39141. Schemes []string
  39142. Title string
  39143. Description string
  39144. }
  39145. // SwaggerInfo holds exported Swagger Info so clients can modify it
  39146. var SwaggerInfo = swaggerInfo{
  39147. Version: "1.0",
  39148. Host: "",
  39149. BasePath: "/api",
  39150. Schemes: []string{},
  39151. Title: "MTP2.0 查询服务 API",
  39152. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  39153. }
  39154. type s struct{}
  39155. func (s *s) ReadDoc() string {
  39156. sInfo := SwaggerInfo
  39157. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  39158. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  39159. "marshal": func(v interface{}) string {
  39160. a, _ := json.Marshal(v)
  39161. return string(a)
  39162. },
  39163. }).Parse(doc)
  39164. if err != nil {
  39165. return doc
  39166. }
  39167. var tpl bytes.Buffer
  39168. if err := t.Execute(&tpl, sInfo); err != nil {
  39169. return doc
  39170. }
  39171. return tpl.String()
  39172. }
  39173. func init() {
  39174. swag.Register(swag.Name, &s{})
  39175. }