docs.go 1.5 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798407994080040801408024080340804408054080640807408084080940810408114081240813408144081540816408174081840819408204082140822408234082440825408264082740828408294083040831408324083340834408354083640837408384083940840408414084240843408444084540846408474084840849408504085140852408534085440855408564085740858408594086040861408624086340864408654086640867408684086940870408714087240873408744087540876408774087840879408804088140882408834088440885408864088740888408894089040891408924089340894408954089640897408984089940900409014090240903409044090540906409074090840909409104091140912409134091440915409164091740918409194092040921409224092340924409254092640927409284092940930409314093240933409344093540936409374093840939409404094140942409434094440945409464094740948409494095040951409524095340954409554095640957409584095940960409614096240963409644096540966409674096840969409704097140972409734097440975409764097740978409794098040981409824098340984409854098640987409884098940990409914099240993409944099540996409974099840999410004100141002410034100441005410064100741008410094101041011410124101341014410154101641017410184101941020410214102241023410244102541026410274102841029410304103141032410334103441035410364103741038
  1. // Package docs 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. "text/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{escape .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:我的 3:首页(PC) 4:首页推广(移动-新会)",
  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": "integer",
  914. "description": "用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)",
  915. "name": "userid",
  916. "in": "query"
  917. },
  918. {
  919. "type": "string",
  920. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  921. "name": "lastUpdateTime",
  922. "in": "query"
  923. }
  924. ],
  925. "responses": {
  926. "200": {
  927. "description": "OK",
  928. "schema": {
  929. "$ref": "#/definitions/models.ErmcpGoods"
  930. }
  931. },
  932. "500": {
  933. "description": "Internal Server Error",
  934. "schema": {
  935. "$ref": "#/definitions/app.Response"
  936. }
  937. }
  938. }
  939. }
  940. },
  941. "/Ermcp/GetErmcpGoodsSortByPosition": {
  942. "get": {
  943. "security": [
  944. {
  945. "ApiKeyAuth": []
  946. }
  947. ],
  948. "produces": [
  949. "application/json"
  950. ],
  951. "tags": [
  952. "企业风险管理(app)"
  953. ],
  954. "summary": "查询企业风管期货主力、次主力商品信息",
  955. "parameters": [
  956. {
  957. "type": "string",
  958. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  959. "name": "sortIndex",
  960. "in": "query"
  961. }
  962. ],
  963. "responses": {
  964. "200": {
  965. "description": "OK",
  966. "schema": {
  967. "$ref": "#/definitions/models.Goodssortbypreposition"
  968. }
  969. },
  970. "500": {
  971. "description": "Internal Server Error",
  972. "schema": {
  973. "$ref": "#/definitions/app.Response"
  974. }
  975. }
  976. }
  977. }
  978. },
  979. "/Ermcp/GetErmcpOutAccountStatus": {
  980. "get": {
  981. "security": [
  982. {
  983. "ApiKeyAuth": []
  984. }
  985. ],
  986. "produces": [
  987. "application/json"
  988. ],
  989. "tags": [
  990. "企业风险管理(app)"
  991. ],
  992. "summary": "获取目标登录账号当前对冲账号在线状态",
  993. "parameters": [
  994. {
  995. "type": "integer",
  996. "description": "登录账号",
  997. "name": "loginID",
  998. "in": "query",
  999. "required": true
  1000. }
  1001. ],
  1002. "responses": {
  1003. "200": {
  1004. "description": "OK",
  1005. "schema": {
  1006. "$ref": "#/definitions/models.Hedgemarketopenlog"
  1007. }
  1008. },
  1009. "500": {
  1010. "description": "Internal Server Error",
  1011. "schema": {
  1012. "$ref": "#/definitions/app.Response"
  1013. }
  1014. }
  1015. }
  1016. }
  1017. },
  1018. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1019. "get": {
  1020. "security": [
  1021. {
  1022. "ApiKeyAuth": []
  1023. }
  1024. ],
  1025. "produces": [
  1026. "application/json"
  1027. ],
  1028. "tags": [
  1029. "企业风险管理(app)"
  1030. ],
  1031. "summary": "获取企业风管终端权限",
  1032. "parameters": [
  1033. {
  1034. "type": "integer",
  1035. "description": "登录账号",
  1036. "name": "loginID",
  1037. "in": "query",
  1038. "required": true
  1039. }
  1040. ],
  1041. "responses": {
  1042. "200": {
  1043. "description": "OK",
  1044. "schema": {
  1045. "$ref": "#/definitions/models.Funcmenulist"
  1046. }
  1047. },
  1048. "500": {
  1049. "description": "Internal Server Error",
  1050. "schema": {
  1051. "$ref": "#/definitions/app.Response"
  1052. }
  1053. }
  1054. }
  1055. }
  1056. },
  1057. "/Ermcp/QueryAccMgrBizGroupSet": {
  1058. "get": {
  1059. "security": [
  1060. {
  1061. "ApiKeyAuth": []
  1062. }
  1063. ],
  1064. "produces": [
  1065. "application/json"
  1066. ],
  1067. "tags": [
  1068. "企业风险管理(app)"
  1069. ],
  1070. "summary": "查询业务类型分组(账户管理/账户设置)",
  1071. "parameters": [
  1072. {
  1073. "type": "integer",
  1074. "description": "用户ID",
  1075. "name": "userid",
  1076. "in": "query",
  1077. "required": true
  1078. },
  1079. {
  1080. "type": "integer",
  1081. "description": "现货商品id",
  1082. "name": "deliverygoodsid",
  1083. "in": "query"
  1084. }
  1085. ],
  1086. "responses": {
  1087. "200": {
  1088. "description": "OK",
  1089. "schema": {
  1090. "type": "array",
  1091. "items": {
  1092. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1093. }
  1094. }
  1095. },
  1096. "500": {
  1097. "description": "Internal Server Error",
  1098. "schema": {
  1099. "$ref": "#/definitions/app.Response"
  1100. }
  1101. }
  1102. }
  1103. }
  1104. },
  1105. "/Ermcp/QueryAccMgrLoginUser": {
  1106. "get": {
  1107. "security": [
  1108. {
  1109. "ApiKeyAuth": []
  1110. }
  1111. ],
  1112. "produces": [
  1113. "application/json"
  1114. ],
  1115. "tags": [
  1116. "企业风险管理(app)"
  1117. ],
  1118. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1119. "parameters": [
  1120. {
  1121. "type": "integer",
  1122. "description": "用户ID",
  1123. "name": "userid",
  1124. "in": "query",
  1125. "required": true
  1126. },
  1127. {
  1128. "type": "integer",
  1129. "description": "用户类型 2-机构 7-企业成员",
  1130. "name": "usertype",
  1131. "in": "query"
  1132. },
  1133. {
  1134. "type": "integer",
  1135. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1136. "name": "querytype",
  1137. "in": "query",
  1138. "required": true
  1139. }
  1140. ],
  1141. "responses": {
  1142. "200": {
  1143. "description": "OK",
  1144. "schema": {
  1145. "type": "array",
  1146. "items": {
  1147. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1148. }
  1149. }
  1150. },
  1151. "500": {
  1152. "description": "Internal Server Error",
  1153. "schema": {
  1154. "$ref": "#/definitions/app.Response"
  1155. }
  1156. }
  1157. }
  1158. }
  1159. },
  1160. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1161. "get": {
  1162. "security": [
  1163. {
  1164. "ApiKeyAuth": []
  1165. }
  1166. ],
  1167. "produces": [
  1168. "application/json"
  1169. ],
  1170. "tags": [
  1171. "企业风险管理(app)"
  1172. ],
  1173. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1174. "parameters": [
  1175. {
  1176. "type": "integer",
  1177. "description": "用户ID",
  1178. "name": "userid",
  1179. "in": "query"
  1180. },
  1181. {
  1182. "type": "integer",
  1183. "description": "主账号id",
  1184. "name": "accountid",
  1185. "in": "query"
  1186. }
  1187. ],
  1188. "responses": {
  1189. "200": {
  1190. "description": "OK",
  1191. "schema": {
  1192. "type": "array",
  1193. "items": {
  1194. "$ref": "#/definitions/models.MainAccountInfo"
  1195. }
  1196. }
  1197. },
  1198. "500": {
  1199. "description": "Internal Server Error",
  1200. "schema": {
  1201. "$ref": "#/definitions/app.Response"
  1202. }
  1203. }
  1204. }
  1205. }
  1206. },
  1207. "/Ermcp/QueryAccMgrRole": {
  1208. "get": {
  1209. "security": [
  1210. {
  1211. "ApiKeyAuth": []
  1212. }
  1213. ],
  1214. "produces": [
  1215. "application/json"
  1216. ],
  1217. "tags": [
  1218. "企业风险管理(app)"
  1219. ],
  1220. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1221. "parameters": [
  1222. {
  1223. "type": "integer",
  1224. "description": "用户ID",
  1225. "name": "userid",
  1226. "in": "query",
  1227. "required": true
  1228. }
  1229. ],
  1230. "responses": {
  1231. "200": {
  1232. "description": "OK",
  1233. "schema": {
  1234. "type": "array",
  1235. "items": {
  1236. "$ref": "#/definitions/models.ErmcpRole"
  1237. }
  1238. }
  1239. },
  1240. "500": {
  1241. "description": "Internal Server Error",
  1242. "schema": {
  1243. "$ref": "#/definitions/app.Response"
  1244. }
  1245. }
  1246. }
  1247. }
  1248. },
  1249. "/Ermcp/QueryAccMgrRoleMenu": {
  1250. "get": {
  1251. "security": [
  1252. {
  1253. "ApiKeyAuth": []
  1254. }
  1255. ],
  1256. "produces": [
  1257. "application/json"
  1258. ],
  1259. "tags": [
  1260. "企业风险管理(app)"
  1261. ],
  1262. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1263. "parameters": [
  1264. {
  1265. "type": "integer",
  1266. "description": "用户ID",
  1267. "name": "userid",
  1268. "in": "query",
  1269. "required": true
  1270. },
  1271. {
  1272. "type": "string",
  1273. "description": "角色id(可多个,逗号隔开)",
  1274. "name": "roleid",
  1275. "in": "query"
  1276. },
  1277. {
  1278. "type": "integer",
  1279. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1280. "name": "menutype",
  1281. "in": "query"
  1282. }
  1283. ],
  1284. "responses": {
  1285. "200": {
  1286. "description": "OK",
  1287. "schema": {
  1288. "type": "array",
  1289. "items": {
  1290. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1291. }
  1292. }
  1293. },
  1294. "500": {
  1295. "description": "Internal Server Error",
  1296. "schema": {
  1297. "$ref": "#/definitions/app.Response"
  1298. }
  1299. }
  1300. }
  1301. }
  1302. },
  1303. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1304. "get": {
  1305. "security": [
  1306. {
  1307. "ApiKeyAuth": []
  1308. }
  1309. ],
  1310. "produces": [
  1311. "application/json"
  1312. ],
  1313. "tags": [
  1314. "企业风险管理(app)"
  1315. ],
  1316. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1317. "parameters": [
  1318. {
  1319. "type": "integer",
  1320. "description": "用户ID",
  1321. "name": "userid",
  1322. "in": "query",
  1323. "required": true
  1324. },
  1325. {
  1326. "type": "integer",
  1327. "description": "账号id",
  1328. "name": "accountid",
  1329. "in": "query"
  1330. }
  1331. ],
  1332. "responses": {
  1333. "200": {
  1334. "description": "OK",
  1335. "schema": {
  1336. "type": "array",
  1337. "items": {
  1338. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1339. }
  1340. }
  1341. },
  1342. "500": {
  1343. "description": "Internal Server Error",
  1344. "schema": {
  1345. "$ref": "#/definitions/app.Response"
  1346. }
  1347. }
  1348. }
  1349. }
  1350. },
  1351. "/Ermcp/QueryAccMgrTaaccount": {
  1352. "get": {
  1353. "security": [
  1354. {
  1355. "ApiKeyAuth": []
  1356. }
  1357. ],
  1358. "produces": [
  1359. "application/json"
  1360. ],
  1361. "tags": [
  1362. "企业风险管理(app)"
  1363. ],
  1364. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1365. "parameters": [
  1366. {
  1367. "type": "integer",
  1368. "description": "用户ID",
  1369. "name": "userid",
  1370. "in": "query",
  1371. "required": true
  1372. }
  1373. ],
  1374. "responses": {
  1375. "200": {
  1376. "description": "OK",
  1377. "schema": {
  1378. "type": "array",
  1379. "items": {
  1380. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1381. }
  1382. }
  1383. },
  1384. "500": {
  1385. "description": "Internal Server Error",
  1386. "schema": {
  1387. "$ref": "#/definitions/app.Response"
  1388. }
  1389. }
  1390. }
  1391. }
  1392. },
  1393. "/Ermcp/QueryAvaildGoodsGroup": {
  1394. "get": {
  1395. "security": [
  1396. {
  1397. "ApiKeyAuth": []
  1398. }
  1399. ],
  1400. "produces": [
  1401. "application/json"
  1402. ],
  1403. "tags": [
  1404. "企业风险管理(app)"
  1405. ],
  1406. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1407. "parameters": [
  1408. {
  1409. "type": "integer",
  1410. "description": "所属机构ID",
  1411. "name": "userid",
  1412. "in": "query",
  1413. "required": true
  1414. }
  1415. ],
  1416. "responses": {
  1417. "200": {
  1418. "description": "OK",
  1419. "schema": {
  1420. "type": "array",
  1421. "items": {
  1422. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1423. }
  1424. }
  1425. },
  1426. "500": {
  1427. "description": "Internal Server Error",
  1428. "schema": {
  1429. "$ref": "#/definitions/app.Response"
  1430. }
  1431. }
  1432. }
  1433. }
  1434. },
  1435. "/Ermcp/QueryBusinessDj": {
  1436. "get": {
  1437. "security": [
  1438. {
  1439. "ApiKeyAuth": []
  1440. }
  1441. ],
  1442. "produces": [
  1443. "application/json"
  1444. ],
  1445. "tags": [
  1446. "企业风险管理(app)"
  1447. ],
  1448. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1449. "parameters": [
  1450. {
  1451. "type": "integer",
  1452. "description": "用户ID",
  1453. "name": "UserId",
  1454. "in": "query",
  1455. "required": true
  1456. },
  1457. {
  1458. "type": "integer",
  1459. "description": "用户类型 2-机构 7-企业成员",
  1460. "name": "usertype",
  1461. "in": "query"
  1462. },
  1463. {
  1464. "type": "string",
  1465. "description": "现货合同ID, 不填则查所有",
  1466. "name": "relatedid",
  1467. "in": "query"
  1468. },
  1469. {
  1470. "type": "string",
  1471. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1472. "name": "applystatus",
  1473. "in": "query"
  1474. }
  1475. ],
  1476. "responses": {
  1477. "200": {
  1478. "description": "OK",
  1479. "schema": {
  1480. "type": "array",
  1481. "items": {
  1482. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1483. }
  1484. }
  1485. },
  1486. "500": {
  1487. "description": "Internal Server Error",
  1488. "schema": {
  1489. "$ref": "#/definitions/app.Response"
  1490. }
  1491. }
  1492. }
  1493. }
  1494. },
  1495. "/Ermcp/QueryBusinessFp": {
  1496. "get": {
  1497. "security": [
  1498. {
  1499. "ApiKeyAuth": []
  1500. }
  1501. ],
  1502. "produces": [
  1503. "application/json"
  1504. ],
  1505. "tags": [
  1506. "企业风险管理(app)"
  1507. ],
  1508. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1509. "parameters": [
  1510. {
  1511. "type": "integer",
  1512. "description": "用户ID",
  1513. "name": "UserId",
  1514. "in": "query",
  1515. "required": true
  1516. },
  1517. {
  1518. "type": "integer",
  1519. "description": "用户类型 2-机构 7-企业成员",
  1520. "name": "usertype",
  1521. "in": "query"
  1522. },
  1523. {
  1524. "type": "string",
  1525. "description": "现货合同ID, 不填则查所有",
  1526. "name": "relatedid",
  1527. "in": "query"
  1528. },
  1529. {
  1530. "type": "string",
  1531. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1532. "name": "applystatus",
  1533. "in": "query"
  1534. }
  1535. ],
  1536. "responses": {
  1537. "200": {
  1538. "description": "OK",
  1539. "schema": {
  1540. "type": "array",
  1541. "items": {
  1542. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1543. }
  1544. }
  1545. },
  1546. "500": {
  1547. "description": "Internal Server Error",
  1548. "schema": {
  1549. "$ref": "#/definitions/app.Response"
  1550. }
  1551. }
  1552. }
  1553. }
  1554. },
  1555. "/Ermcp/QueryBusinessJs": {
  1556. "get": {
  1557. "security": [
  1558. {
  1559. "ApiKeyAuth": []
  1560. }
  1561. ],
  1562. "produces": [
  1563. "application/json"
  1564. ],
  1565. "tags": [
  1566. "企业风险管理(app)"
  1567. ],
  1568. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1569. "parameters": [
  1570. {
  1571. "type": "integer",
  1572. "description": "用户ID",
  1573. "name": "UserId",
  1574. "in": "query",
  1575. "required": true
  1576. },
  1577. {
  1578. "type": "integer",
  1579. "description": "用户类型 2-机构 7-企业成员",
  1580. "name": "usertype",
  1581. "in": "query"
  1582. },
  1583. {
  1584. "type": "string",
  1585. "description": "现货合同ID, 不填则查所有",
  1586. "name": "relatedid",
  1587. "in": "query"
  1588. },
  1589. {
  1590. "type": "string",
  1591. "description": "操作申请id",
  1592. "name": "operateapplyid",
  1593. "in": "query"
  1594. },
  1595. {
  1596. "type": "string",
  1597. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1598. "name": "applystatus",
  1599. "in": "query"
  1600. }
  1601. ],
  1602. "responses": {
  1603. "200": {
  1604. "description": "OK",
  1605. "schema": {
  1606. "type": "array",
  1607. "items": {
  1608. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1609. }
  1610. }
  1611. },
  1612. "500": {
  1613. "description": "Internal Server Error",
  1614. "schema": {
  1615. "$ref": "#/definitions/app.Response"
  1616. }
  1617. }
  1618. }
  1619. }
  1620. },
  1621. "/Ermcp/QueryBusinessJsEx": {
  1622. "get": {
  1623. "security": [
  1624. {
  1625. "ApiKeyAuth": []
  1626. }
  1627. ],
  1628. "produces": [
  1629. "application/json"
  1630. ],
  1631. "tags": [
  1632. "企业风险管理(app)"
  1633. ],
  1634. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1635. "parameters": [
  1636. {
  1637. "type": "integer",
  1638. "description": "用户ID",
  1639. "name": "UserId",
  1640. "in": "query",
  1641. "required": true
  1642. },
  1643. {
  1644. "type": "integer",
  1645. "description": "用户类型 2-机构 7-企业成员",
  1646. "name": "usertype",
  1647. "in": "query"
  1648. },
  1649. {
  1650. "type": "string",
  1651. "description": "现货合同ID, 不填则查所有",
  1652. "name": "relatedid",
  1653. "in": "query"
  1654. },
  1655. {
  1656. "type": "string",
  1657. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1658. "name": "applystatus",
  1659. "in": "query"
  1660. }
  1661. ],
  1662. "responses": {
  1663. "200": {
  1664. "description": "OK",
  1665. "schema": {
  1666. "type": "array",
  1667. "items": {
  1668. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1669. }
  1670. }
  1671. },
  1672. "500": {
  1673. "description": "Internal Server Error",
  1674. "schema": {
  1675. "$ref": "#/definitions/app.Response"
  1676. }
  1677. }
  1678. }
  1679. }
  1680. },
  1681. "/Ermcp/QueryBusinessKx": {
  1682. "get": {
  1683. "security": [
  1684. {
  1685. "ApiKeyAuth": []
  1686. }
  1687. ],
  1688. "produces": [
  1689. "application/json"
  1690. ],
  1691. "tags": [
  1692. "企业风险管理(app)"
  1693. ],
  1694. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1695. "parameters": [
  1696. {
  1697. "type": "integer",
  1698. "description": "用户ID",
  1699. "name": "UserId",
  1700. "in": "query",
  1701. "required": true
  1702. },
  1703. {
  1704. "type": "integer",
  1705. "description": "用户类型 2-机构 7-企业成员",
  1706. "name": "usertype",
  1707. "in": "query"
  1708. },
  1709. {
  1710. "type": "string",
  1711. "description": "现货合同ID, 不填则查所有",
  1712. "name": "relatedid",
  1713. "in": "query"
  1714. },
  1715. {
  1716. "type": "string",
  1717. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1718. "name": "applystatus",
  1719. "in": "query"
  1720. }
  1721. ],
  1722. "responses": {
  1723. "200": {
  1724. "description": "OK",
  1725. "schema": {
  1726. "type": "array",
  1727. "items": {
  1728. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1729. }
  1730. }
  1731. },
  1732. "500": {
  1733. "description": "Internal Server Error",
  1734. "schema": {
  1735. "$ref": "#/definitions/app.Response"
  1736. }
  1737. }
  1738. }
  1739. }
  1740. },
  1741. "/Ermcp/QueryChangeLog": {
  1742. "get": {
  1743. "security": [
  1744. {
  1745. "ApiKeyAuth": []
  1746. }
  1747. ],
  1748. "produces": [
  1749. "application/json"
  1750. ],
  1751. "tags": [
  1752. "企业风险管理(app)"
  1753. ],
  1754. "summary": "查询变更记录",
  1755. "parameters": [
  1756. {
  1757. "type": "string",
  1758. "description": "合同ID",
  1759. "name": "RelatedId",
  1760. "in": "query",
  1761. "required": true
  1762. }
  1763. ],
  1764. "responses": {
  1765. "200": {
  1766. "description": "OK",
  1767. "schema": {
  1768. "type": "array",
  1769. "items": {
  1770. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1771. }
  1772. }
  1773. },
  1774. "500": {
  1775. "description": "Internal Server Error",
  1776. "schema": {
  1777. "$ref": "#/definitions/app.Response"
  1778. }
  1779. }
  1780. }
  1781. }
  1782. },
  1783. "/Ermcp/QueryErmcpHisOrderDetails": {
  1784. "get": {
  1785. "security": [
  1786. {
  1787. "ApiKeyAuth": []
  1788. }
  1789. ],
  1790. "produces": [
  1791. "application/json"
  1792. ],
  1793. "tags": [
  1794. "企业风险管理(app)"
  1795. ],
  1796. "summary": "获取企业风管期货历史委托单信息",
  1797. "parameters": [
  1798. {
  1799. "type": "integer",
  1800. "description": "资金账户ID",
  1801. "name": "accountID",
  1802. "in": "query",
  1803. "required": true
  1804. },
  1805. {
  1806. "type": "string",
  1807. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1808. "name": "startDate",
  1809. "in": "query"
  1810. },
  1811. {
  1812. "type": "string",
  1813. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1814. "name": "endDate",
  1815. "in": "query"
  1816. }
  1817. ],
  1818. "responses": {
  1819. "200": {
  1820. "description": "OK",
  1821. "schema": {
  1822. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1823. }
  1824. },
  1825. "500": {
  1826. "description": "Internal Server Error",
  1827. "schema": {
  1828. "$ref": "#/definitions/app.Response"
  1829. }
  1830. }
  1831. }
  1832. }
  1833. },
  1834. "/Ermcp/QueryErmcpHisTradeDetails": {
  1835. "get": {
  1836. "security": [
  1837. {
  1838. "ApiKeyAuth": []
  1839. }
  1840. ],
  1841. "produces": [
  1842. "application/json"
  1843. ],
  1844. "tags": [
  1845. "企业风险管理(app)"
  1846. ],
  1847. "summary": "获取企业风管期货历史成交单信息",
  1848. "parameters": [
  1849. {
  1850. "type": "integer",
  1851. "description": "资金账户ID",
  1852. "name": "accountID",
  1853. "in": "query",
  1854. "required": true
  1855. },
  1856. {
  1857. "type": "integer",
  1858. "description": "商品ID",
  1859. "name": "goodsID",
  1860. "in": "query"
  1861. },
  1862. {
  1863. "type": "integer",
  1864. "description": "买卖方向,0:买 1:卖",
  1865. "name": "buyOrSell",
  1866. "in": "query"
  1867. },
  1868. {
  1869. "type": "integer",
  1870. "description": "关联委托单号",
  1871. "name": "orderID",
  1872. "in": "query"
  1873. },
  1874. {
  1875. "type": "string",
  1876. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1877. "name": "startDate",
  1878. "in": "query"
  1879. },
  1880. {
  1881. "type": "string",
  1882. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1883. "name": "endDate",
  1884. "in": "query"
  1885. }
  1886. ],
  1887. "responses": {
  1888. "200": {
  1889. "description": "OK",
  1890. "schema": {
  1891. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1892. }
  1893. },
  1894. "500": {
  1895. "description": "Internal Server Error",
  1896. "schema": {
  1897. "$ref": "#/definitions/app.Response"
  1898. }
  1899. }
  1900. }
  1901. }
  1902. },
  1903. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1904. "get": {
  1905. "security": [
  1906. {
  1907. "ApiKeyAuth": []
  1908. }
  1909. ],
  1910. "produces": [
  1911. "application/json"
  1912. ],
  1913. "tags": [
  1914. "企业风险管理(app)"
  1915. ],
  1916. "summary": "获取企业风管期货内部持仓单信息",
  1917. "parameters": [
  1918. {
  1919. "type": "integer",
  1920. "description": "资金账户ID",
  1921. "name": "accountID",
  1922. "in": "query",
  1923. "required": true
  1924. },
  1925. {
  1926. "type": "integer",
  1927. "description": "商品ID",
  1928. "name": "goodsID",
  1929. "in": "query"
  1930. },
  1931. {
  1932. "type": "integer",
  1933. "description": "买卖方向,0:买 1:卖",
  1934. "name": "buyOrSell",
  1935. "in": "query"
  1936. }
  1937. ],
  1938. "responses": {
  1939. "200": {
  1940. "description": "OK",
  1941. "schema": {
  1942. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1943. }
  1944. },
  1945. "500": {
  1946. "description": "Internal Server Error",
  1947. "schema": {
  1948. "$ref": "#/definitions/app.Response"
  1949. }
  1950. }
  1951. }
  1952. }
  1953. },
  1954. "/Ermcp/QueryErmcpOrderDetails": {
  1955. "get": {
  1956. "security": [
  1957. {
  1958. "ApiKeyAuth": []
  1959. }
  1960. ],
  1961. "produces": [
  1962. "application/json"
  1963. ],
  1964. "tags": [
  1965. "企业风险管理(app)"
  1966. ],
  1967. "summary": "获取企业风管期货委托单信息",
  1968. "parameters": [
  1969. {
  1970. "type": "integer",
  1971. "description": "资金账户ID",
  1972. "name": "accountID",
  1973. "in": "query",
  1974. "required": true
  1975. }
  1976. ],
  1977. "responses": {
  1978. "200": {
  1979. "description": "OK",
  1980. "schema": {
  1981. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1982. }
  1983. },
  1984. "500": {
  1985. "description": "Internal Server Error",
  1986. "schema": {
  1987. "$ref": "#/definitions/app.Response"
  1988. }
  1989. }
  1990. }
  1991. }
  1992. },
  1993. "/Ermcp/QueryErmcpTradeDetails": {
  1994. "get": {
  1995. "security": [
  1996. {
  1997. "ApiKeyAuth": []
  1998. }
  1999. ],
  2000. "produces": [
  2001. "application/json"
  2002. ],
  2003. "tags": [
  2004. "企业风险管理(app)"
  2005. ],
  2006. "summary": "获取企业风管期货成交单信息",
  2007. "parameters": [
  2008. {
  2009. "type": "integer",
  2010. "description": "资金账户ID",
  2011. "name": "accountID",
  2012. "in": "query",
  2013. "required": true
  2014. },
  2015. {
  2016. "type": "integer",
  2017. "description": "商品ID",
  2018. "name": "goodsID",
  2019. "in": "query"
  2020. },
  2021. {
  2022. "type": "integer",
  2023. "description": "买卖方向,0:买 1:卖",
  2024. "name": "buyOrSell",
  2025. "in": "query"
  2026. },
  2027. {
  2028. "type": "integer",
  2029. "description": "关联委托单号",
  2030. "name": "orderID",
  2031. "in": "query"
  2032. }
  2033. ],
  2034. "responses": {
  2035. "200": {
  2036. "description": "OK",
  2037. "schema": {
  2038. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2039. }
  2040. },
  2041. "500": {
  2042. "description": "Internal Server Error",
  2043. "schema": {
  2044. "$ref": "#/definitions/app.Response"
  2045. }
  2046. }
  2047. }
  2048. }
  2049. },
  2050. "/Ermcp/QueryErmcpTradePosition": {
  2051. "get": {
  2052. "security": [
  2053. {
  2054. "ApiKeyAuth": []
  2055. }
  2056. ],
  2057. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2058. "produces": [
  2059. "application/json"
  2060. ],
  2061. "tags": [
  2062. "企业风险管理(app)"
  2063. ],
  2064. "summary": "获取企业风管期货持仓头寸信息",
  2065. "parameters": [
  2066. {
  2067. "type": "integer",
  2068. "description": "资金账户ID",
  2069. "name": "accountID",
  2070. "in": "query",
  2071. "required": true
  2072. },
  2073. {
  2074. "type": "integer",
  2075. "description": "所属市场ID",
  2076. "name": "marketID",
  2077. "in": "query"
  2078. }
  2079. ],
  2080. "responses": {
  2081. "200": {
  2082. "description": "OK",
  2083. "schema": {
  2084. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2085. }
  2086. },
  2087. "500": {
  2088. "description": "Internal Server Error",
  2089. "schema": {
  2090. "$ref": "#/definitions/app.Response"
  2091. }
  2092. }
  2093. }
  2094. }
  2095. },
  2096. "/Ermcp/QueryExposureDetail": {
  2097. "get": {
  2098. "security": [
  2099. {
  2100. "ApiKeyAuth": []
  2101. }
  2102. ],
  2103. "produces": [
  2104. "application/json"
  2105. ],
  2106. "tags": [
  2107. "企业风险管理(app)"
  2108. ],
  2109. "summary": "查询敞口现货明细",
  2110. "parameters": [
  2111. {
  2112. "type": "integer",
  2113. "description": "所属机构ID",
  2114. "name": "areaUserId",
  2115. "in": "query",
  2116. "required": true
  2117. },
  2118. {
  2119. "type": "integer",
  2120. "description": "套保商品",
  2121. "name": "middleGoodsId",
  2122. "in": "query",
  2123. "required": true
  2124. }
  2125. ],
  2126. "responses": {
  2127. "200": {
  2128. "description": "OK",
  2129. "schema": {
  2130. "type": "array",
  2131. "items": {
  2132. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2133. }
  2134. }
  2135. },
  2136. "500": {
  2137. "description": "Internal Server Error",
  2138. "schema": {
  2139. "$ref": "#/definitions/app.Response"
  2140. }
  2141. }
  2142. }
  2143. }
  2144. },
  2145. "/Ermcp/QueryExposureGoods": {
  2146. "get": {
  2147. "security": [
  2148. {
  2149. "ApiKeyAuth": []
  2150. }
  2151. ],
  2152. "produces": [
  2153. "application/json"
  2154. ],
  2155. "tags": [
  2156. "企业风险管理(app)"
  2157. ],
  2158. "summary": "查询敞口主力合约",
  2159. "parameters": [
  2160. {
  2161. "type": "integer",
  2162. "description": "套保商品id",
  2163. "name": "middlegoodsid",
  2164. "in": "query",
  2165. "required": true
  2166. }
  2167. ],
  2168. "responses": {
  2169. "200": {
  2170. "description": "OK",
  2171. "schema": {
  2172. "type": "array",
  2173. "items": {
  2174. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2175. }
  2176. }
  2177. },
  2178. "500": {
  2179. "description": "Internal Server Error",
  2180. "schema": {
  2181. "$ref": "#/definitions/app.Response"
  2182. }
  2183. }
  2184. }
  2185. }
  2186. },
  2187. "/Ermcp/QueryExposureHedgePosition": {
  2188. "get": {
  2189. "security": [
  2190. {
  2191. "ApiKeyAuth": []
  2192. }
  2193. ],
  2194. "produces": [
  2195. "application/json"
  2196. ],
  2197. "tags": [
  2198. "企业风险管理(app)"
  2199. ],
  2200. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2201. "parameters": [
  2202. {
  2203. "type": "integer",
  2204. "description": "用户id",
  2205. "name": "userid",
  2206. "in": "query",
  2207. "required": true
  2208. }
  2209. ],
  2210. "responses": {
  2211. "200": {
  2212. "description": "OK",
  2213. "schema": {
  2214. "type": "array",
  2215. "items": {
  2216. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2217. }
  2218. }
  2219. },
  2220. "500": {
  2221. "description": "Internal Server Error",
  2222. "schema": {
  2223. "$ref": "#/definitions/app.Response"
  2224. }
  2225. }
  2226. }
  2227. }
  2228. },
  2229. "/Ermcp/QueryExposureHedgePositionDetail": {
  2230. "get": {
  2231. "security": [
  2232. {
  2233. "ApiKeyAuth": []
  2234. }
  2235. ],
  2236. "produces": [
  2237. "application/json"
  2238. ],
  2239. "tags": [
  2240. "企业风险管理(app)"
  2241. ],
  2242. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2243. "parameters": [
  2244. {
  2245. "type": "integer",
  2246. "description": "所属机构ID",
  2247. "name": "userid",
  2248. "in": "query",
  2249. "required": true
  2250. },
  2251. {
  2252. "type": "integer",
  2253. "description": "商品id",
  2254. "name": "goodsId",
  2255. "in": "query",
  2256. "required": true
  2257. }
  2258. ],
  2259. "responses": {
  2260. "200": {
  2261. "description": "OK",
  2262. "schema": {
  2263. "type": "array",
  2264. "items": {
  2265. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2266. }
  2267. }
  2268. },
  2269. "500": {
  2270. "description": "Internal Server Error",
  2271. "schema": {
  2272. "$ref": "#/definitions/app.Response"
  2273. }
  2274. }
  2275. }
  2276. }
  2277. },
  2278. "/Ermcp/QueryExposureSpot": {
  2279. "get": {
  2280. "security": [
  2281. {
  2282. "ApiKeyAuth": []
  2283. }
  2284. ],
  2285. "produces": [
  2286. "application/json"
  2287. ],
  2288. "tags": [
  2289. "企业风险管理(app)"
  2290. ],
  2291. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2292. "parameters": [
  2293. {
  2294. "type": "integer",
  2295. "description": "所属机构ID",
  2296. "name": "areaUserId",
  2297. "in": "query",
  2298. "required": true
  2299. }
  2300. ],
  2301. "responses": {
  2302. "200": {
  2303. "description": "OK",
  2304. "schema": {
  2305. "type": "array",
  2306. "items": {
  2307. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2308. }
  2309. }
  2310. },
  2311. "500": {
  2312. "description": "Internal Server Error",
  2313. "schema": {
  2314. "$ref": "#/definitions/app.Response"
  2315. }
  2316. }
  2317. }
  2318. }
  2319. },
  2320. "/Ermcp/QueryExposureSpotDetail": {
  2321. "get": {
  2322. "security": [
  2323. {
  2324. "ApiKeyAuth": []
  2325. }
  2326. ],
  2327. "produces": [
  2328. "application/json"
  2329. ],
  2330. "tags": [
  2331. "企业风险管理(app)"
  2332. ],
  2333. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2334. "parameters": [
  2335. {
  2336. "type": "integer",
  2337. "description": "所属机构ID",
  2338. "name": "areaUserId",
  2339. "in": "query",
  2340. "required": true
  2341. },
  2342. {
  2343. "type": "integer",
  2344. "description": "现货品种ID",
  2345. "name": "wrstandardId",
  2346. "in": "query",
  2347. "required": true
  2348. }
  2349. ],
  2350. "responses": {
  2351. "200": {
  2352. "description": "OK",
  2353. "schema": {
  2354. "type": "array",
  2355. "items": {
  2356. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2357. }
  2358. }
  2359. },
  2360. "500": {
  2361. "description": "Internal Server Error",
  2362. "schema": {
  2363. "$ref": "#/definitions/app.Response"
  2364. }
  2365. }
  2366. }
  2367. }
  2368. },
  2369. "/Ermcp/QueryFuturesCompany": {
  2370. "get": {
  2371. "security": [
  2372. {
  2373. "ApiKeyAuth": []
  2374. }
  2375. ],
  2376. "produces": [
  2377. "application/json"
  2378. ],
  2379. "tags": [
  2380. "企业风险管理(app)"
  2381. ],
  2382. "summary": "查询期货公司",
  2383. "responses": {
  2384. "200": {
  2385. "description": "OK",
  2386. "schema": {
  2387. "type": "array",
  2388. "items": {
  2389. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2390. }
  2391. }
  2392. },
  2393. "500": {
  2394. "description": "Internal Server Error",
  2395. "schema": {
  2396. "$ref": "#/definitions/app.Response"
  2397. }
  2398. }
  2399. }
  2400. }
  2401. },
  2402. "/Ermcp/QueryGGConvertConfig": {
  2403. "get": {
  2404. "security": [
  2405. {
  2406. "ApiKeyAuth": []
  2407. }
  2408. ],
  2409. "produces": [
  2410. "application/json"
  2411. ],
  2412. "tags": [
  2413. "企业风险管理(app)"
  2414. ],
  2415. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2416. "parameters": [
  2417. {
  2418. "type": "integer",
  2419. "description": "品种id(不填则查所有)",
  2420. "name": "goodsgroupid",
  2421. "in": "query"
  2422. }
  2423. ],
  2424. "responses": {
  2425. "200": {
  2426. "description": "OK",
  2427. "schema": {
  2428. "type": "array",
  2429. "items": {
  2430. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2431. }
  2432. }
  2433. },
  2434. "500": {
  2435. "description": "Internal Server Error",
  2436. "schema": {
  2437. "$ref": "#/definitions/app.Response"
  2438. }
  2439. }
  2440. }
  2441. }
  2442. },
  2443. "/Ermcp/QueryGoodsBrand": {
  2444. "get": {
  2445. "security": [
  2446. {
  2447. "ApiKeyAuth": []
  2448. }
  2449. ],
  2450. "produces": [
  2451. "application/json"
  2452. ],
  2453. "tags": [
  2454. "企业风险管理(app)"
  2455. ],
  2456. "summary": "查询商品品牌",
  2457. "parameters": [
  2458. {
  2459. "type": "integer",
  2460. "description": "用户ID",
  2461. "name": "userid",
  2462. "in": "query",
  2463. "required": true
  2464. },
  2465. {
  2466. "type": "integer",
  2467. "description": "现货商品ID",
  2468. "name": "wrstandardid",
  2469. "in": "query"
  2470. }
  2471. ],
  2472. "responses": {
  2473. "200": {
  2474. "description": "OK",
  2475. "schema": {
  2476. "type": "array",
  2477. "items": {
  2478. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2479. }
  2480. }
  2481. },
  2482. "500": {
  2483. "description": "Internal Server Error",
  2484. "schema": {
  2485. "$ref": "#/definitions/app.Response"
  2486. }
  2487. }
  2488. }
  2489. }
  2490. },
  2491. "/Ermcp/QueryGoodsModel": {
  2492. "get": {
  2493. "security": [
  2494. {
  2495. "ApiKeyAuth": []
  2496. }
  2497. ],
  2498. "produces": [
  2499. "application/json"
  2500. ],
  2501. "tags": [
  2502. "企业风险管理(app)"
  2503. ],
  2504. "summary": "查询商品型号",
  2505. "parameters": [
  2506. {
  2507. "type": "integer",
  2508. "description": "用户ID",
  2509. "name": "userid",
  2510. "in": "query",
  2511. "required": true
  2512. }
  2513. ],
  2514. "responses": {
  2515. "200": {
  2516. "description": "OK",
  2517. "schema": {
  2518. "type": "array",
  2519. "items": {
  2520. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2521. }
  2522. }
  2523. },
  2524. "500": {
  2525. "description": "Internal Server Error",
  2526. "schema": {
  2527. "$ref": "#/definitions/app.Response"
  2528. }
  2529. }
  2530. }
  2531. }
  2532. },
  2533. "/Ermcp/QueryHisExposure": {
  2534. "get": {
  2535. "security": [
  2536. {
  2537. "ApiKeyAuth": []
  2538. }
  2539. ],
  2540. "produces": [
  2541. "application/json"
  2542. ],
  2543. "tags": [
  2544. "企业风险管理(app)"
  2545. ],
  2546. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2547. "parameters": [
  2548. {
  2549. "type": "integer",
  2550. "description": "用户id",
  2551. "name": "userid",
  2552. "in": "query",
  2553. "required": true
  2554. },
  2555. {
  2556. "type": "integer",
  2557. "description": "每个品种记录数",
  2558. "name": "lastNum",
  2559. "in": "query",
  2560. "required": true
  2561. }
  2562. ],
  2563. "responses": {
  2564. "200": {
  2565. "description": "OK",
  2566. "schema": {
  2567. "type": "array",
  2568. "items": {
  2569. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2570. }
  2571. }
  2572. },
  2573. "500": {
  2574. "description": "Internal Server Error",
  2575. "schema": {
  2576. "$ref": "#/definitions/app.Response"
  2577. }
  2578. }
  2579. }
  2580. }
  2581. },
  2582. "/Ermcp/QueryMiddleGoods": {
  2583. "get": {
  2584. "security": [
  2585. {
  2586. "ApiKeyAuth": []
  2587. }
  2588. ],
  2589. "produces": [
  2590. "application/json"
  2591. ],
  2592. "tags": [
  2593. "企业风险管理(app)"
  2594. ],
  2595. "summary": "查询套保品种(菜单:套保品种)",
  2596. "parameters": [
  2597. {
  2598. "type": "integer",
  2599. "description": "所属机构ID",
  2600. "name": "userid",
  2601. "in": "query",
  2602. "required": true
  2603. },
  2604. {
  2605. "type": "integer",
  2606. "description": "状态 0-停用 1-正常",
  2607. "name": "status",
  2608. "in": "query",
  2609. "required": true
  2610. }
  2611. ],
  2612. "responses": {
  2613. "200": {
  2614. "description": "OK",
  2615. "schema": {
  2616. "type": "array",
  2617. "items": {
  2618. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2619. }
  2620. }
  2621. },
  2622. "500": {
  2623. "description": "Internal Server Error",
  2624. "schema": {
  2625. "$ref": "#/definitions/app.Response"
  2626. }
  2627. }
  2628. }
  2629. }
  2630. },
  2631. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2632. "get": {
  2633. "security": [
  2634. {
  2635. "ApiKeyAuth": []
  2636. }
  2637. ],
  2638. "produces": [
  2639. "application/json"
  2640. ],
  2641. "tags": [
  2642. "企业风险管理(app)"
  2643. ],
  2644. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2645. "parameters": [
  2646. {
  2647. "type": "integer",
  2648. "description": "所属机构ID",
  2649. "name": "userid",
  2650. "in": "query",
  2651. "required": true
  2652. },
  2653. {
  2654. "type": "integer",
  2655. "description": "套保品种id",
  2656. "name": "middlegoodsid",
  2657. "in": "query",
  2658. "required": true
  2659. }
  2660. ],
  2661. "responses": {
  2662. "200": {
  2663. "description": "OK",
  2664. "schema": {
  2665. "type": "array",
  2666. "items": {
  2667. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2668. }
  2669. }
  2670. },
  2671. "500": {
  2672. "description": "Internal Server Error",
  2673. "schema": {
  2674. "$ref": "#/definitions/app.Response"
  2675. }
  2676. }
  2677. }
  2678. }
  2679. },
  2680. "/Ermcp/QueryMiddleGoodsDetail": {
  2681. "get": {
  2682. "security": [
  2683. {
  2684. "ApiKeyAuth": []
  2685. }
  2686. ],
  2687. "produces": [
  2688. "application/json"
  2689. ],
  2690. "tags": [
  2691. "企业风险管理(app)"
  2692. ],
  2693. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2694. "parameters": [
  2695. {
  2696. "type": "integer",
  2697. "description": "所属机构ID",
  2698. "name": "userid",
  2699. "in": "query",
  2700. "required": true
  2701. },
  2702. {
  2703. "type": "integer",
  2704. "description": "套保品种id",
  2705. "name": "middlegoodsid",
  2706. "in": "query"
  2707. }
  2708. ],
  2709. "responses": {
  2710. "200": {
  2711. "description": "OK",
  2712. "schema": {
  2713. "type": "array",
  2714. "items": {
  2715. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2716. }
  2717. }
  2718. },
  2719. "500": {
  2720. "description": "Internal Server Error",
  2721. "schema": {
  2722. "$ref": "#/definitions/app.Response"
  2723. }
  2724. }
  2725. }
  2726. }
  2727. },
  2728. "/Ermcp/QueryPendingAuditInfo": {
  2729. "get": {
  2730. "security": [
  2731. {
  2732. "ApiKeyAuth": []
  2733. }
  2734. ],
  2735. "produces": [
  2736. "application/json"
  2737. ],
  2738. "tags": [
  2739. "企业风险管理(app)"
  2740. ],
  2741. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2742. "parameters": [
  2743. {
  2744. "type": "integer",
  2745. "description": "用户ID",
  2746. "name": "UserId",
  2747. "in": "query",
  2748. "required": true
  2749. }
  2750. ],
  2751. "responses": {
  2752. "200": {
  2753. "description": "OK",
  2754. "schema": {
  2755. "type": "array",
  2756. "items": {
  2757. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2758. }
  2759. }
  2760. },
  2761. "500": {
  2762. "description": "Internal Server Error",
  2763. "schema": {
  2764. "$ref": "#/definitions/app.Response"
  2765. }
  2766. }
  2767. }
  2768. }
  2769. },
  2770. "/Ermcp/QueryRealtimeExposure": {
  2771. "get": {
  2772. "security": [
  2773. {
  2774. "ApiKeyAuth": []
  2775. }
  2776. ],
  2777. "produces": [
  2778. "application/json"
  2779. ],
  2780. "tags": [
  2781. "企业风险管理(app)"
  2782. ],
  2783. "summary": "查询实时敞口",
  2784. "parameters": [
  2785. {
  2786. "type": "integer",
  2787. "description": "所属机构ID",
  2788. "name": "userid",
  2789. "in": "query",
  2790. "required": true
  2791. }
  2792. ],
  2793. "responses": {
  2794. "200": {
  2795. "description": "OK",
  2796. "schema": {
  2797. "type": "array",
  2798. "items": {
  2799. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2800. }
  2801. }
  2802. },
  2803. "500": {
  2804. "description": "Internal Server Error",
  2805. "schema": {
  2806. "$ref": "#/definitions/app.Response"
  2807. }
  2808. }
  2809. }
  2810. }
  2811. },
  2812. "/Ermcp/QueryRealtimeExposurePosition": {
  2813. "get": {
  2814. "security": [
  2815. {
  2816. "ApiKeyAuth": []
  2817. }
  2818. ],
  2819. "produces": [
  2820. "application/json"
  2821. ],
  2822. "tags": [
  2823. "企业风险管理(app)"
  2824. ],
  2825. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2826. "parameters": [
  2827. {
  2828. "type": "integer",
  2829. "description": "用户id",
  2830. "name": "userid",
  2831. "in": "query",
  2832. "required": true
  2833. },
  2834. {
  2835. "type": "integer",
  2836. "description": "套保商品ID",
  2837. "name": "middleGoodsId",
  2838. "in": "query",
  2839. "required": true
  2840. }
  2841. ],
  2842. "responses": {
  2843. "200": {
  2844. "description": "OK",
  2845. "schema": {
  2846. "type": "array",
  2847. "items": {
  2848. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2849. }
  2850. }
  2851. },
  2852. "500": {
  2853. "description": "Internal Server Error",
  2854. "schema": {
  2855. "$ref": "#/definitions/app.Response"
  2856. }
  2857. }
  2858. }
  2859. }
  2860. },
  2861. "/Ermcp/QueryRoleMenu": {
  2862. "get": {
  2863. "security": [
  2864. {
  2865. "ApiKeyAuth": []
  2866. }
  2867. ],
  2868. "produces": [
  2869. "application/json"
  2870. ],
  2871. "tags": [
  2872. "企业风险管理(app)"
  2873. ],
  2874. "summary": "查询角色菜单和权限",
  2875. "parameters": [
  2876. {
  2877. "type": "integer",
  2878. "description": "登录ID",
  2879. "name": "loginid",
  2880. "in": "query",
  2881. "required": true
  2882. },
  2883. {
  2884. "type": "integer",
  2885. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2886. "name": "menutype",
  2887. "in": "query"
  2888. }
  2889. ],
  2890. "responses": {
  2891. "200": {
  2892. "description": "OK",
  2893. "schema": {
  2894. "type": "array",
  2895. "items": {
  2896. "$ref": "#/definitions/models.RoleMenu"
  2897. }
  2898. }
  2899. },
  2900. "500": {
  2901. "description": "Internal Server Error",
  2902. "schema": {
  2903. "$ref": "#/definitions/app.Response"
  2904. }
  2905. }
  2906. }
  2907. }
  2908. },
  2909. "/Ermcp/QueryTradeConfigTMP": {
  2910. "get": {
  2911. "security": [
  2912. {
  2913. "ApiKeyAuth": []
  2914. }
  2915. ],
  2916. "produces": [
  2917. "application/json"
  2918. ],
  2919. "tags": [
  2920. "企业风险管理(app)"
  2921. ],
  2922. "summary": "查询交易模板配置",
  2923. "parameters": [
  2924. {
  2925. "type": "integer",
  2926. "description": "所属机构id",
  2927. "name": "areauserid",
  2928. "in": "query"
  2929. }
  2930. ],
  2931. "responses": {
  2932. "200": {
  2933. "description": "OK",
  2934. "schema": {
  2935. "type": "array",
  2936. "items": {
  2937. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2938. }
  2939. }
  2940. },
  2941. "500": {
  2942. "description": "Internal Server Error",
  2943. "schema": {
  2944. "$ref": "#/definitions/app.Response"
  2945. }
  2946. }
  2947. }
  2948. }
  2949. },
  2950. "/Ermcp/QueryUserInfo": {
  2951. "get": {
  2952. "security": [
  2953. {
  2954. "ApiKeyAuth": []
  2955. }
  2956. ],
  2957. "produces": [
  2958. "application/json"
  2959. ],
  2960. "tags": [
  2961. "企业风险管理(app)"
  2962. ],
  2963. "summary": "查询客户资料",
  2964. "parameters": [
  2965. {
  2966. "type": "integer",
  2967. "description": "所属机构用户ID",
  2968. "name": "MemberUserID",
  2969. "in": "query",
  2970. "required": true
  2971. },
  2972. {
  2973. "type": "integer",
  2974. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2975. "name": "queryType",
  2976. "in": "query",
  2977. "required": true
  2978. }
  2979. ],
  2980. "responses": {
  2981. "200": {
  2982. "description": "OK",
  2983. "schema": {
  2984. "type": "array",
  2985. "items": {
  2986. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2987. }
  2988. }
  2989. },
  2990. "500": {
  2991. "description": "Internal Server Error",
  2992. "schema": {
  2993. "$ref": "#/definitions/app.Response"
  2994. }
  2995. }
  2996. }
  2997. }
  2998. },
  2999. "/Ermcp/QueryWarehouseInfo": {
  3000. "get": {
  3001. "security": [
  3002. {
  3003. "ApiKeyAuth": []
  3004. }
  3005. ],
  3006. "produces": [
  3007. "application/json"
  3008. ],
  3009. "tags": [
  3010. "企业风险管理(app)"
  3011. ],
  3012. "summary": "查询仓库信息",
  3013. "parameters": [
  3014. {
  3015. "type": "integer",
  3016. "description": "用户ID",
  3017. "name": "userid",
  3018. "in": "query",
  3019. "required": true
  3020. },
  3021. {
  3022. "type": "string",
  3023. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3024. "name": "status",
  3025. "in": "query"
  3026. }
  3027. ],
  3028. "responses": {
  3029. "200": {
  3030. "description": "OK",
  3031. "schema": {
  3032. "type": "array",
  3033. "items": {
  3034. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3035. }
  3036. }
  3037. },
  3038. "500": {
  3039. "description": "Internal Server Error",
  3040. "schema": {
  3041. "$ref": "#/definitions/app.Response"
  3042. }
  3043. }
  3044. }
  3045. }
  3046. },
  3047. "/Ermcp3/QryAreaExpourseContractDetail": {
  3048. "get": {
  3049. "security": [
  3050. {
  3051. "ApiKeyAuth": []
  3052. }
  3053. ],
  3054. "produces": [
  3055. "application/json"
  3056. ],
  3057. "tags": [
  3058. "企业风险管理v3(app)"
  3059. ],
  3060. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3061. "parameters": [
  3062. {
  3063. "type": "integer",
  3064. "description": "用户ID",
  3065. "name": "userid",
  3066. "in": "query",
  3067. "required": true
  3068. },
  3069. {
  3070. "type": "integer",
  3071. "description": "套保商品id",
  3072. "name": "middlegoodsid",
  3073. "in": "query",
  3074. "required": true
  3075. },
  3076. {
  3077. "type": "integer",
  3078. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3079. "name": "cycletype",
  3080. "in": "query",
  3081. "required": true
  3082. },
  3083. {
  3084. "type": "string",
  3085. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3086. "name": "cycletime",
  3087. "in": "query",
  3088. "required": true
  3089. }
  3090. ],
  3091. "responses": {
  3092. "200": {
  3093. "description": "OK",
  3094. "schema": {
  3095. "type": "array",
  3096. "items": {
  3097. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3098. }
  3099. }
  3100. },
  3101. "500": {
  3102. "description": "Internal Server Error",
  3103. "schema": {
  3104. "$ref": "#/definitions/app.Response"
  3105. }
  3106. }
  3107. }
  3108. }
  3109. },
  3110. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3111. "get": {
  3112. "security": [
  3113. {
  3114. "ApiKeyAuth": []
  3115. }
  3116. ],
  3117. "produces": [
  3118. "application/json"
  3119. ],
  3120. "tags": [
  3121. "企业风险管理v3(app)"
  3122. ],
  3123. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3124. "parameters": [
  3125. {
  3126. "type": "integer",
  3127. "description": "用户ID",
  3128. "name": "userid",
  3129. "in": "query",
  3130. "required": true
  3131. },
  3132. {
  3133. "type": "integer",
  3134. "description": "套保商品id",
  3135. "name": "middlegoodsid",
  3136. "in": "query",
  3137. "required": true
  3138. },
  3139. {
  3140. "type": "integer",
  3141. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3142. "name": "cycletype",
  3143. "in": "query",
  3144. "required": true
  3145. },
  3146. {
  3147. "type": "string",
  3148. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3149. "name": "cycletime",
  3150. "in": "query",
  3151. "required": true
  3152. }
  3153. ],
  3154. "responses": {
  3155. "200": {
  3156. "description": "OK",
  3157. "schema": {
  3158. "type": "array",
  3159. "items": {
  3160. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3161. }
  3162. }
  3163. },
  3164. "500": {
  3165. "description": "Internal Server Error",
  3166. "schema": {
  3167. "$ref": "#/definitions/app.Response"
  3168. }
  3169. }
  3170. }
  3171. }
  3172. },
  3173. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3174. "get": {
  3175. "security": [
  3176. {
  3177. "ApiKeyAuth": []
  3178. }
  3179. ],
  3180. "produces": [
  3181. "application/json"
  3182. ],
  3183. "tags": [
  3184. "企业风险管理v3(app)"
  3185. ],
  3186. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3187. "parameters": [
  3188. {
  3189. "type": "integer",
  3190. "description": "用户ID",
  3191. "name": "userid",
  3192. "in": "query",
  3193. "required": true
  3194. },
  3195. {
  3196. "type": "integer",
  3197. "description": "套保商品id",
  3198. "name": "middlegoodsid",
  3199. "in": "query",
  3200. "required": true
  3201. },
  3202. {
  3203. "type": "integer",
  3204. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3205. "name": "cycletype",
  3206. "in": "query",
  3207. "required": true
  3208. },
  3209. {
  3210. "type": "string",
  3211. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3212. "name": "cycletime",
  3213. "in": "query",
  3214. "required": true
  3215. }
  3216. ],
  3217. "responses": {
  3218. "200": {
  3219. "description": "OK",
  3220. "schema": {
  3221. "type": "array",
  3222. "items": {
  3223. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3224. }
  3225. }
  3226. },
  3227. "500": {
  3228. "description": "Internal Server Error",
  3229. "schema": {
  3230. "$ref": "#/definitions/app.Response"
  3231. }
  3232. }
  3233. }
  3234. }
  3235. },
  3236. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3237. "get": {
  3238. "security": [
  3239. {
  3240. "ApiKeyAuth": []
  3241. }
  3242. ],
  3243. "produces": [
  3244. "application/json"
  3245. ],
  3246. "tags": [
  3247. "企业风险管理v3(app)"
  3248. ],
  3249. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3250. "parameters": [
  3251. {
  3252. "type": "integer",
  3253. "description": "用户ID",
  3254. "name": "userid",
  3255. "in": "query",
  3256. "required": true
  3257. },
  3258. {
  3259. "type": "integer",
  3260. "description": "套保商品id",
  3261. "name": "middlegoodsid",
  3262. "in": "query",
  3263. "required": true
  3264. },
  3265. {
  3266. "type": "integer",
  3267. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3268. "name": "cycletype",
  3269. "in": "query",
  3270. "required": true
  3271. },
  3272. {
  3273. "type": "string",
  3274. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3275. "name": "cycletime",
  3276. "in": "query",
  3277. "required": true
  3278. }
  3279. ],
  3280. "responses": {
  3281. "200": {
  3282. "description": "OK",
  3283. "schema": {
  3284. "type": "array",
  3285. "items": {
  3286. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3287. }
  3288. }
  3289. },
  3290. "500": {
  3291. "description": "Internal Server Error",
  3292. "schema": {
  3293. "$ref": "#/definitions/app.Response"
  3294. }
  3295. }
  3296. }
  3297. }
  3298. },
  3299. "/Ermcp3/QryAreaExpourseReport": {
  3300. "get": {
  3301. "security": [
  3302. {
  3303. "ApiKeyAuth": []
  3304. }
  3305. ],
  3306. "produces": [
  3307. "application/json"
  3308. ],
  3309. "tags": [
  3310. "企业风险管理v3(app)"
  3311. ],
  3312. "summary": "查询敞口报表",
  3313. "parameters": [
  3314. {
  3315. "type": "integer",
  3316. "description": "用户ID",
  3317. "name": "userid",
  3318. "in": "query",
  3319. "required": true
  3320. },
  3321. {
  3322. "type": "integer",
  3323. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3324. "name": "querytype",
  3325. "in": "query",
  3326. "required": true
  3327. },
  3328. {
  3329. "type": "integer",
  3330. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3331. "name": "cycletype",
  3332. "in": "query",
  3333. "required": true
  3334. },
  3335. {
  3336. "type": "string",
  3337. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3338. "name": "cycletime",
  3339. "in": "query",
  3340. "required": true
  3341. }
  3342. ],
  3343. "responses": {
  3344. "200": {
  3345. "description": "OK",
  3346. "schema": {
  3347. "type": "array",
  3348. "items": {
  3349. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3350. }
  3351. }
  3352. },
  3353. "500": {
  3354. "description": "Internal Server Error",
  3355. "schema": {
  3356. "$ref": "#/definitions/app.Response"
  3357. }
  3358. }
  3359. }
  3360. }
  3361. },
  3362. "/Ermcp3/QryAreaSpotplReport": {
  3363. "get": {
  3364. "security": [
  3365. {
  3366. "ApiKeyAuth": []
  3367. }
  3368. ],
  3369. "description": "目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1",
  3370. "produces": [
  3371. "application/json"
  3372. ],
  3373. "tags": [
  3374. "企业风险管理v3(app)"
  3375. ],
  3376. "summary": "查询现货报表",
  3377. "parameters": [
  3378. {
  3379. "type": "integer",
  3380. "description": "用户ID",
  3381. "name": "userid",
  3382. "in": "query",
  3383. "required": true
  3384. },
  3385. {
  3386. "type": "integer",
  3387. "description": "查询类型 1-报表 2-报表明细",
  3388. "name": "querytype",
  3389. "in": "query",
  3390. "required": true
  3391. },
  3392. {
  3393. "type": "integer",
  3394. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3395. "name": "cycletype",
  3396. "in": "query",
  3397. "required": true
  3398. },
  3399. {
  3400. "type": "string",
  3401. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3402. "name": "cycletime",
  3403. "in": "query",
  3404. "required": true
  3405. },
  3406. {
  3407. "type": "integer",
  3408. "description": "现货品种id(明细必填)",
  3409. "name": "deliverygoodsid",
  3410. "in": "query"
  3411. },
  3412. {
  3413. "type": "integer",
  3414. "description": "币种id(明细必填)",
  3415. "name": "currencyid",
  3416. "in": "query"
  3417. },
  3418. {
  3419. "type": "integer",
  3420. "description": "日/周/月报表汇总维度 1:品种+品类",
  3421. "name": "sumflag",
  3422. "in": "query"
  3423. }
  3424. ],
  3425. "responses": {
  3426. "200": {
  3427. "description": "OK",
  3428. "schema": {
  3429. "type": "array",
  3430. "items": {
  3431. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3432. }
  3433. }
  3434. },
  3435. "500": {
  3436. "description": "Internal Server Error",
  3437. "schema": {
  3438. "$ref": "#/definitions/app.Response"
  3439. }
  3440. }
  3441. }
  3442. }
  3443. },
  3444. "/Ermcp3/QryAreaStockReport": {
  3445. "get": {
  3446. "security": [
  3447. {
  3448. "ApiKeyAuth": []
  3449. }
  3450. ],
  3451. "produces": [
  3452. "application/json"
  3453. ],
  3454. "tags": [
  3455. "企业风险管理v3(app)"
  3456. ],
  3457. "summary": "查询库存报表",
  3458. "parameters": [
  3459. {
  3460. "type": "integer",
  3461. "description": "用户ID",
  3462. "name": "userid",
  3463. "in": "query",
  3464. "required": true
  3465. },
  3466. {
  3467. "type": "integer",
  3468. "description": "查询类型 1-报表 2-报表明细",
  3469. "name": "querytype",
  3470. "in": "query",
  3471. "required": true
  3472. },
  3473. {
  3474. "type": "integer",
  3475. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3476. "name": "cycletype",
  3477. "in": "query",
  3478. "required": true
  3479. },
  3480. {
  3481. "type": "string",
  3482. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3483. "name": "cycletime",
  3484. "in": "query",
  3485. "required": true
  3486. },
  3487. {
  3488. "type": "string",
  3489. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3490. "name": "sumfields",
  3491. "in": "query"
  3492. },
  3493. {
  3494. "type": "integer",
  3495. "description": "品种ID",
  3496. "name": "deliverygoodsid",
  3497. "in": "query"
  3498. },
  3499. {
  3500. "type": "integer",
  3501. "description": "品类ID",
  3502. "name": "wrstandardid",
  3503. "in": "query"
  3504. },
  3505. {
  3506. "type": "integer",
  3507. "description": "品牌ID",
  3508. "name": "spotgoodsbrandid",
  3509. "in": "query"
  3510. },
  3511. {
  3512. "type": "integer",
  3513. "description": "仓库ID",
  3514. "name": "warehouseinfoid",
  3515. "in": "query"
  3516. }
  3517. ],
  3518. "responses": {
  3519. "200": {
  3520. "description": "OK",
  3521. "schema": {
  3522. "type": "array",
  3523. "items": {
  3524. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3525. }
  3526. }
  3527. },
  3528. "500": {
  3529. "description": "Internal Server Error",
  3530. "schema": {
  3531. "$ref": "#/definitions/app.Response"
  3532. }
  3533. }
  3534. }
  3535. }
  3536. },
  3537. "/Ermcp3/QryAreaSumPL": {
  3538. "get": {
  3539. "security": [
  3540. {
  3541. "ApiKeyAuth": []
  3542. }
  3543. ],
  3544. "produces": [
  3545. "application/json"
  3546. ],
  3547. "tags": [
  3548. "企业风险管理v3(app)"
  3549. ],
  3550. "summary": "查询汇总损益表",
  3551. "parameters": [
  3552. {
  3553. "type": "integer",
  3554. "description": "用户ID",
  3555. "name": "userid",
  3556. "in": "query",
  3557. "required": true
  3558. },
  3559. {
  3560. "type": "integer",
  3561. "description": "查询类型 1-报表 2-报表明细",
  3562. "name": "querytype",
  3563. "in": "query",
  3564. "required": true
  3565. },
  3566. {
  3567. "type": "integer",
  3568. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3569. "name": "cycletype",
  3570. "in": "query",
  3571. "required": true
  3572. },
  3573. {
  3574. "type": "string",
  3575. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3576. "name": "cycletime",
  3577. "in": "query",
  3578. "required": true
  3579. },
  3580. {
  3581. "type": "integer",
  3582. "description": "币种id(明细必填)",
  3583. "name": "currencyid",
  3584. "in": "query"
  3585. }
  3586. ],
  3587. "responses": {
  3588. "200": {
  3589. "description": "OK",
  3590. "schema": {
  3591. "type": "array",
  3592. "items": {
  3593. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3594. }
  3595. }
  3596. },
  3597. "500": {
  3598. "description": "Internal Server Error",
  3599. "schema": {
  3600. "$ref": "#/definitions/app.Response"
  3601. }
  3602. }
  3603. }
  3604. }
  3605. },
  3606. "/Ermcp3/QryFinanceReport": {
  3607. "get": {
  3608. "security": [
  3609. {
  3610. "ApiKeyAuth": []
  3611. }
  3612. ],
  3613. "produces": [
  3614. "application/json"
  3615. ],
  3616. "tags": [
  3617. "企业风险管理v3(app)"
  3618. ],
  3619. "summary": "查询财务报表",
  3620. "parameters": [
  3621. {
  3622. "type": "integer",
  3623. "description": "用户ID",
  3624. "name": "userid",
  3625. "in": "query",
  3626. "required": true
  3627. },
  3628. {
  3629. "type": "integer",
  3630. "description": "查询类型 1-报表 2-报表明细",
  3631. "name": "querytype",
  3632. "in": "query",
  3633. "required": true
  3634. },
  3635. {
  3636. "type": "integer",
  3637. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3638. "name": "cycletype",
  3639. "in": "query",
  3640. "required": true
  3641. },
  3642. {
  3643. "type": "string",
  3644. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3645. "name": "cycletime",
  3646. "in": "query",
  3647. "required": true
  3648. },
  3649. {
  3650. "type": "integer",
  3651. "description": "币种id(报表明细必填)",
  3652. "name": "currencyid",
  3653. "in": "query"
  3654. },
  3655. {
  3656. "type": "string",
  3657. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3658. "name": "sumfields",
  3659. "in": "query"
  3660. }
  3661. ],
  3662. "responses": {
  3663. "200": {
  3664. "description": "OK",
  3665. "schema": {
  3666. "type": "array",
  3667. "items": {
  3668. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3669. }
  3670. }
  3671. },
  3672. "500": {
  3673. "description": "Internal Server Error",
  3674. "schema": {
  3675. "$ref": "#/definitions/app.Response"
  3676. }
  3677. }
  3678. }
  3679. }
  3680. },
  3681. "/Ermcp3/QrySCMiddleGoodsReport": {
  3682. "get": {
  3683. "security": [
  3684. {
  3685. "ApiKeyAuth": []
  3686. }
  3687. ],
  3688. "produces": [
  3689. "application/json"
  3690. ],
  3691. "tags": [
  3692. "企业风险管理v3(app)"
  3693. ],
  3694. "summary": "查询定价报表",
  3695. "parameters": [
  3696. {
  3697. "type": "integer",
  3698. "description": "用户ID",
  3699. "name": "userid",
  3700. "in": "query",
  3701. "required": true
  3702. },
  3703. {
  3704. "type": "integer",
  3705. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3706. "name": "cycletype",
  3707. "in": "query",
  3708. "required": true
  3709. },
  3710. {
  3711. "type": "string",
  3712. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3713. "name": "cycletime",
  3714. "in": "query",
  3715. "required": true
  3716. },
  3717. {
  3718. "type": "integer",
  3719. "description": "合同id",
  3720. "name": "spotcontractid",
  3721. "in": "query"
  3722. },
  3723. {
  3724. "type": "integer",
  3725. "description": "套保品种id",
  3726. "name": "middlegoodsid",
  3727. "in": "query"
  3728. },
  3729. {
  3730. "type": "integer",
  3731. "description": "现货品种id",
  3732. "name": "deliverygoodsid",
  3733. "in": "query"
  3734. },
  3735. {
  3736. "type": "integer",
  3737. "description": "现货商品id",
  3738. "name": "wrstandardid",
  3739. "in": "query"
  3740. },
  3741. {
  3742. "type": "string",
  3743. "description": "合同编号(模糊匹配)",
  3744. "name": "contractno",
  3745. "in": "query"
  3746. }
  3747. ],
  3748. "responses": {
  3749. "200": {
  3750. "description": "OK",
  3751. "schema": {
  3752. "type": "array",
  3753. "items": {
  3754. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  3755. }
  3756. }
  3757. },
  3758. "500": {
  3759. "description": "Internal Server Error",
  3760. "schema": {
  3761. "$ref": "#/definitions/app.Response"
  3762. }
  3763. }
  3764. }
  3765. }
  3766. },
  3767. "/Ermcp3/QryTaFutureDataReport": {
  3768. "get": {
  3769. "security": [
  3770. {
  3771. "ApiKeyAuth": []
  3772. }
  3773. ],
  3774. "produces": [
  3775. "application/json"
  3776. ],
  3777. "tags": [
  3778. "企业风险管理v3(app)"
  3779. ],
  3780. "summary": "查询期货报表",
  3781. "parameters": [
  3782. {
  3783. "type": "integer",
  3784. "description": "用户ID",
  3785. "name": "userid",
  3786. "in": "query",
  3787. "required": true
  3788. },
  3789. {
  3790. "type": "integer",
  3791. "description": "查询类型 1-报表 2-报表明细",
  3792. "name": "querytype",
  3793. "in": "query",
  3794. "required": true
  3795. },
  3796. {
  3797. "type": "integer",
  3798. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3799. "name": "cycletype",
  3800. "in": "query",
  3801. "required": true
  3802. },
  3803. {
  3804. "type": "string",
  3805. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3806. "name": "cycletime",
  3807. "in": "query",
  3808. "required": true
  3809. },
  3810. {
  3811. "type": "integer",
  3812. "description": "币种id(查明细必填)",
  3813. "name": "currencyid",
  3814. "in": "query"
  3815. },
  3816. {
  3817. "type": "integer",
  3818. "description": "品种id(查明细必填)",
  3819. "name": "goodsgroupid",
  3820. "in": "query"
  3821. },
  3822. {
  3823. "type": "integer",
  3824. "description": "商品id(查明细必填)",
  3825. "name": "goodsid",
  3826. "in": "query"
  3827. },
  3828. {
  3829. "type": "integer",
  3830. "description": "买卖方向(查明细必填)",
  3831. "name": "buyorsell",
  3832. "in": "query"
  3833. }
  3834. ],
  3835. "responses": {
  3836. "200": {
  3837. "description": "OK",
  3838. "schema": {
  3839. "type": "array",
  3840. "items": {
  3841. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3842. }
  3843. }
  3844. },
  3845. "500": {
  3846. "description": "Internal Server Error",
  3847. "schema": {
  3848. "$ref": "#/definitions/app.Response"
  3849. }
  3850. }
  3851. }
  3852. }
  3853. },
  3854. "/Ermcp3/QueryAreaStock": {
  3855. "get": {
  3856. "security": [
  3857. {
  3858. "ApiKeyAuth": []
  3859. }
  3860. ],
  3861. "produces": [
  3862. "application/json"
  3863. ],
  3864. "tags": [
  3865. "企业风险管理v3(app)"
  3866. ],
  3867. "summary": "查询机构库存(库存管理/当前库存)",
  3868. "parameters": [
  3869. {
  3870. "type": "integer",
  3871. "description": "用户ID",
  3872. "name": "userid",
  3873. "in": "query",
  3874. "required": true
  3875. }
  3876. ],
  3877. "responses": {
  3878. "200": {
  3879. "description": "OK",
  3880. "schema": {
  3881. "type": "array",
  3882. "items": {
  3883. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3884. }
  3885. }
  3886. },
  3887. "500": {
  3888. "description": "Internal Server Error",
  3889. "schema": {
  3890. "$ref": "#/definitions/app.Response"
  3891. }
  3892. }
  3893. }
  3894. }
  3895. },
  3896. "/Ermcp3/QueryAreaStockApply": {
  3897. "get": {
  3898. "security": [
  3899. {
  3900. "ApiKeyAuth": []
  3901. }
  3902. ],
  3903. "produces": [
  3904. "application/json"
  3905. ],
  3906. "tags": [
  3907. "企业风险管理v3(app)"
  3908. ],
  3909. "summary": "查询库存申请(出入库记录|库存审核)",
  3910. "parameters": [
  3911. {
  3912. "type": "integer",
  3913. "description": "用户ID",
  3914. "name": "userid",
  3915. "in": "query",
  3916. "required": true
  3917. },
  3918. {
  3919. "type": "integer",
  3920. "description": "用户类型 2-机构 7-企业成员",
  3921. "name": "usertype",
  3922. "in": "query"
  3923. },
  3924. {
  3925. "type": "integer",
  3926. "description": "现货商品ID",
  3927. "name": "deliverygoodsid",
  3928. "in": "query"
  3929. },
  3930. {
  3931. "type": "string",
  3932. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3933. "name": "inouttype",
  3934. "in": "query"
  3935. },
  3936. {
  3937. "type": "integer",
  3938. "description": "合同ID",
  3939. "name": "spotcontractid",
  3940. "in": "query"
  3941. },
  3942. {
  3943. "type": "integer",
  3944. "description": "品类ID",
  3945. "name": "wrstandardid",
  3946. "in": "query"
  3947. },
  3948. {
  3949. "type": "integer",
  3950. "description": "品牌ID",
  3951. "name": "spotgoodsbrandid",
  3952. "in": "query"
  3953. },
  3954. {
  3955. "type": "integer",
  3956. "description": "仓库ID",
  3957. "name": "warehouseinfoid",
  3958. "in": "query"
  3959. },
  3960. {
  3961. "type": "string",
  3962. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3963. "name": "applystatus",
  3964. "in": "query"
  3965. }
  3966. ],
  3967. "responses": {
  3968. "200": {
  3969. "description": "OK",
  3970. "schema": {
  3971. "type": "array",
  3972. "items": {
  3973. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3974. }
  3975. }
  3976. },
  3977. "500": {
  3978. "description": "Internal Server Error",
  3979. "schema": {
  3980. "$ref": "#/definitions/app.Response"
  3981. }
  3982. }
  3983. }
  3984. }
  3985. },
  3986. "/Ermcp3/QueryAreaStockApplySum": {
  3987. "get": {
  3988. "security": [
  3989. {
  3990. "ApiKeyAuth": []
  3991. }
  3992. ],
  3993. "produces": [
  3994. "application/json"
  3995. ],
  3996. "tags": [
  3997. "企业风险管理v3(app)"
  3998. ],
  3999. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  4000. "parameters": [
  4001. {
  4002. "type": "integer",
  4003. "description": "合同ID",
  4004. "name": "spotcontractid",
  4005. "in": "query",
  4006. "required": true
  4007. }
  4008. ],
  4009. "responses": {
  4010. "200": {
  4011. "description": "OK",
  4012. "schema": {
  4013. "type": "array",
  4014. "items": {
  4015. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4016. }
  4017. }
  4018. },
  4019. "500": {
  4020. "description": "Internal Server Error",
  4021. "schema": {
  4022. "$ref": "#/definitions/app.Response"
  4023. }
  4024. }
  4025. }
  4026. }
  4027. },
  4028. "/Ermcp3/QueryDGFactoryItem": {
  4029. "get": {
  4030. "security": [
  4031. {
  4032. "ApiKeyAuth": []
  4033. }
  4034. ],
  4035. "produces": [
  4036. "application/json"
  4037. ],
  4038. "tags": [
  4039. "企业风险管理v3(app)"
  4040. ],
  4041. "summary": "查询品种要素定义项",
  4042. "parameters": [
  4043. {
  4044. "type": "integer",
  4045. "description": "用户id",
  4046. "name": "userid",
  4047. "in": "query"
  4048. },
  4049. {
  4050. "type": "integer",
  4051. "description": "用户类型 2-机构 7-企业成员",
  4052. "name": "usertype",
  4053. "in": "query"
  4054. },
  4055. {
  4056. "type": "integer",
  4057. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4058. "name": "dgfactoryitemid",
  4059. "in": "query"
  4060. },
  4061. {
  4062. "type": "integer",
  4063. "description": "现货品种ID",
  4064. "name": "deliverygoodsid",
  4065. "in": "query"
  4066. },
  4067. {
  4068. "type": "integer",
  4069. "description": "要素项类型",
  4070. "name": "dgfactoryitemtypeid",
  4071. "in": "query"
  4072. },
  4073. {
  4074. "type": "integer",
  4075. "description": "顺序",
  4076. "name": "orderindex",
  4077. "in": "query"
  4078. }
  4079. ],
  4080. "responses": {
  4081. "200": {
  4082. "description": "OK",
  4083. "schema": {
  4084. "type": "array",
  4085. "items": {
  4086. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4087. }
  4088. }
  4089. },
  4090. "500": {
  4091. "description": "Internal Server Error",
  4092. "schema": {
  4093. "$ref": "#/definitions/app.Response"
  4094. }
  4095. }
  4096. }
  4097. }
  4098. },
  4099. "/Ermcp3/QueryDeliveryGoods": {
  4100. "get": {
  4101. "security": [
  4102. {
  4103. "ApiKeyAuth": []
  4104. }
  4105. ],
  4106. "produces": [
  4107. "application/json"
  4108. ],
  4109. "tags": [
  4110. "企业风险管理v3(app)"
  4111. ],
  4112. "summary": "查询现货商品",
  4113. "parameters": [
  4114. {
  4115. "type": "integer",
  4116. "description": "用户id",
  4117. "name": "userid",
  4118. "in": "query",
  4119. "required": true
  4120. },
  4121. {
  4122. "type": "integer",
  4123. "description": "用户类型 2-机构 7-企业成员",
  4124. "name": "usertype",
  4125. "in": "query"
  4126. },
  4127. {
  4128. "type": "integer",
  4129. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4130. "name": "excludecfg",
  4131. "in": "query"
  4132. }
  4133. ],
  4134. "responses": {
  4135. "200": {
  4136. "description": "OK",
  4137. "schema": {
  4138. "type": "array",
  4139. "items": {
  4140. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4141. }
  4142. }
  4143. },
  4144. "500": {
  4145. "description": "Internal Server Error",
  4146. "schema": {
  4147. "$ref": "#/definitions/app.Response"
  4148. }
  4149. }
  4150. }
  4151. }
  4152. },
  4153. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4154. "get": {
  4155. "security": [
  4156. {
  4157. "ApiKeyAuth": []
  4158. }
  4159. ],
  4160. "produces": [
  4161. "application/json"
  4162. ],
  4163. "tags": [
  4164. "企业风险管理v3(app)"
  4165. ],
  4166. "summary": "查询现货商品详情",
  4167. "parameters": [
  4168. {
  4169. "type": "integer",
  4170. "description": "用户id",
  4171. "name": "userid",
  4172. "in": "query",
  4173. "required": true
  4174. },
  4175. {
  4176. "type": "integer",
  4177. "description": "用户类型 2-机构 7-企业成员",
  4178. "name": "usertype",
  4179. "in": "query"
  4180. },
  4181. {
  4182. "type": "integer",
  4183. "description": "现货商品id",
  4184. "name": "deliverygoodsid",
  4185. "in": "query"
  4186. },
  4187. {
  4188. "type": "integer",
  4189. "description": "过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示",
  4190. "name": "filtersubempty",
  4191. "in": "query"
  4192. }
  4193. ],
  4194. "responses": {
  4195. "200": {
  4196. "description": "OK",
  4197. "schema": {
  4198. "type": "array",
  4199. "items": {
  4200. "$ref": "#/definitions/models.XHDeliveryGoods"
  4201. }
  4202. }
  4203. },
  4204. "500": {
  4205. "description": "Internal Server Error",
  4206. "schema": {
  4207. "$ref": "#/definitions/app.Response"
  4208. }
  4209. }
  4210. }
  4211. }
  4212. },
  4213. "/Ermcp3/QueryExposureDetail": {
  4214. "get": {
  4215. "security": [
  4216. {
  4217. "ApiKeyAuth": []
  4218. }
  4219. ],
  4220. "produces": [
  4221. "application/json"
  4222. ],
  4223. "tags": [
  4224. "企业风险管理v3(app)"
  4225. ],
  4226. "summary": "查询敞口现货明细",
  4227. "parameters": [
  4228. {
  4229. "type": "integer",
  4230. "description": "用户id",
  4231. "name": "userid",
  4232. "in": "query",
  4233. "required": true
  4234. },
  4235. {
  4236. "type": "integer",
  4237. "description": "用户类型 2-机构 7-企业成员",
  4238. "name": "usertype",
  4239. "in": "query"
  4240. },
  4241. {
  4242. "type": "integer",
  4243. "description": "套保商品",
  4244. "name": "middlegoodsid",
  4245. "in": "query",
  4246. "required": true
  4247. }
  4248. ],
  4249. "responses": {
  4250. "200": {
  4251. "description": "OK",
  4252. "schema": {
  4253. "type": "array",
  4254. "items": {
  4255. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4256. }
  4257. }
  4258. },
  4259. "500": {
  4260. "description": "Internal Server Error",
  4261. "schema": {
  4262. "$ref": "#/definitions/app.Response"
  4263. }
  4264. }
  4265. }
  4266. }
  4267. },
  4268. "/Ermcp3/QueryExposureSpot": {
  4269. "get": {
  4270. "security": [
  4271. {
  4272. "ApiKeyAuth": []
  4273. }
  4274. ],
  4275. "produces": [
  4276. "application/json"
  4277. ],
  4278. "tags": [
  4279. "企业风险管理v3(app)"
  4280. ],
  4281. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4282. "parameters": [
  4283. {
  4284. "type": "integer",
  4285. "description": "用户id",
  4286. "name": "userid",
  4287. "in": "query",
  4288. "required": true
  4289. },
  4290. {
  4291. "type": "integer",
  4292. "description": "用户类型 2-机构 7-企业成员",
  4293. "name": "usertype",
  4294. "in": "query"
  4295. }
  4296. ],
  4297. "responses": {
  4298. "200": {
  4299. "description": "OK",
  4300. "schema": {
  4301. "type": "array",
  4302. "items": {
  4303. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4304. }
  4305. }
  4306. },
  4307. "500": {
  4308. "description": "Internal Server Error",
  4309. "schema": {
  4310. "$ref": "#/definitions/app.Response"
  4311. }
  4312. }
  4313. }
  4314. }
  4315. },
  4316. "/Ermcp3/QueryExposureSpotDetail": {
  4317. "get": {
  4318. "security": [
  4319. {
  4320. "ApiKeyAuth": []
  4321. }
  4322. ],
  4323. "produces": [
  4324. "application/json"
  4325. ],
  4326. "tags": [
  4327. "企业风险管理v3(app)"
  4328. ],
  4329. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4330. "parameters": [
  4331. {
  4332. "type": "integer",
  4333. "description": "用户id",
  4334. "name": "userid",
  4335. "in": "query",
  4336. "required": true
  4337. },
  4338. {
  4339. "type": "integer",
  4340. "description": "用户类型 2-机构 7-企业成员",
  4341. "name": "usertype",
  4342. "in": "query"
  4343. },
  4344. {
  4345. "type": "integer",
  4346. "description": "现货商品ID",
  4347. "name": "wrstandardid",
  4348. "in": "query",
  4349. "required": true
  4350. }
  4351. ],
  4352. "responses": {
  4353. "200": {
  4354. "description": "OK",
  4355. "schema": {
  4356. "type": "array",
  4357. "items": {
  4358. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4359. }
  4360. }
  4361. },
  4362. "500": {
  4363. "description": "Internal Server Error",
  4364. "schema": {
  4365. "$ref": "#/definitions/app.Response"
  4366. }
  4367. }
  4368. }
  4369. }
  4370. },
  4371. "/Ermcp3/QueryGoodsGroup": {
  4372. "get": {
  4373. "security": [
  4374. {
  4375. "ApiKeyAuth": []
  4376. }
  4377. ],
  4378. "produces": [
  4379. "application/json"
  4380. ],
  4381. "tags": [
  4382. "企业风险管理v3(app)"
  4383. ],
  4384. "summary": "查询期货商品组",
  4385. "parameters": [
  4386. {
  4387. "type": "integer",
  4388. "description": "用户id",
  4389. "name": "userid",
  4390. "in": "query",
  4391. "required": true
  4392. },
  4393. {
  4394. "type": "integer",
  4395. "description": "用户类型 2-机构 7-企业成员",
  4396. "name": "usertype",
  4397. "in": "query"
  4398. },
  4399. {
  4400. "type": "integer",
  4401. "description": "排除套保品中已关联的商品组 1-排除",
  4402. "name": "excludecfg",
  4403. "in": "query"
  4404. }
  4405. ],
  4406. "responses": {
  4407. "200": {
  4408. "description": "OK",
  4409. "schema": {
  4410. "type": "array",
  4411. "items": {
  4412. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4413. }
  4414. }
  4415. },
  4416. "500": {
  4417. "description": "Internal Server Error",
  4418. "schema": {
  4419. "$ref": "#/definitions/app.Response"
  4420. }
  4421. }
  4422. }
  4423. }
  4424. },
  4425. "/Ermcp3/QueryGoodsWrstandard": {
  4426. "get": {
  4427. "security": [
  4428. {
  4429. "ApiKeyAuth": []
  4430. }
  4431. ],
  4432. "produces": [
  4433. "application/json"
  4434. ],
  4435. "tags": [
  4436. "企业风险管理v3(app)"
  4437. ],
  4438. "summary": "查询商品品类",
  4439. "parameters": [
  4440. {
  4441. "type": "integer",
  4442. "description": "用户id",
  4443. "name": "userid",
  4444. "in": "query",
  4445. "required": true
  4446. },
  4447. {
  4448. "type": "integer",
  4449. "description": "用户类型 2-机构 7-企业成员",
  4450. "name": "usertype",
  4451. "in": "query"
  4452. },
  4453. {
  4454. "type": "integer",
  4455. "description": "现货商品id",
  4456. "name": "deliverygoodsid",
  4457. "in": "query"
  4458. }
  4459. ],
  4460. "responses": {
  4461. "200": {
  4462. "description": "OK",
  4463. "schema": {
  4464. "type": "array",
  4465. "items": {
  4466. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4467. }
  4468. }
  4469. },
  4470. "500": {
  4471. "description": "Internal Server Error",
  4472. "schema": {
  4473. "$ref": "#/definitions/app.Response"
  4474. }
  4475. }
  4476. }
  4477. }
  4478. },
  4479. "/Ermcp3/QueryGoodsbrand": {
  4480. "get": {
  4481. "security": [
  4482. {
  4483. "ApiKeyAuth": []
  4484. }
  4485. ],
  4486. "produces": [
  4487. "application/json"
  4488. ],
  4489. "tags": [
  4490. "企业风险管理v3(app)"
  4491. ],
  4492. "summary": "查询商品品牌",
  4493. "parameters": [
  4494. {
  4495. "type": "integer",
  4496. "description": "用户id",
  4497. "name": "userid",
  4498. "in": "query",
  4499. "required": true
  4500. },
  4501. {
  4502. "type": "integer",
  4503. "description": "用户类型 2-机构 7-企业成员",
  4504. "name": "usertype",
  4505. "in": "query"
  4506. }
  4507. ],
  4508. "responses": {
  4509. "200": {
  4510. "description": "OK",
  4511. "schema": {
  4512. "type": "array",
  4513. "items": {
  4514. "$ref": "#/definitions/models.Ermcp3Brand"
  4515. }
  4516. }
  4517. },
  4518. "500": {
  4519. "description": "Internal Server Error",
  4520. "schema": {
  4521. "$ref": "#/definitions/app.Response"
  4522. }
  4523. }
  4524. }
  4525. }
  4526. },
  4527. "/Ermcp3/QueryHedgePlan": {
  4528. "get": {
  4529. "security": [
  4530. {
  4531. "ApiKeyAuth": []
  4532. }
  4533. ],
  4534. "produces": [
  4535. "application/json"
  4536. ],
  4537. "tags": [
  4538. "企业风险管理v3(app)"
  4539. ],
  4540. "summary": "查询套保计划",
  4541. "parameters": [
  4542. {
  4543. "type": "integer",
  4544. "description": "用户ID",
  4545. "name": "userid",
  4546. "in": "query",
  4547. "required": true
  4548. },
  4549. {
  4550. "type": "integer",
  4551. "description": "用户类型 2-机构 7-企业成员",
  4552. "name": "usertype",
  4553. "in": "query"
  4554. },
  4555. {
  4556. "type": "string",
  4557. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4558. "name": "hedgeplanstatus",
  4559. "in": "query",
  4560. "required": true
  4561. }
  4562. ],
  4563. "responses": {
  4564. "200": {
  4565. "description": "OK",
  4566. "schema": {
  4567. "type": "array",
  4568. "items": {
  4569. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4570. }
  4571. }
  4572. },
  4573. "500": {
  4574. "description": "Internal Server Error",
  4575. "schema": {
  4576. "$ref": "#/definitions/app.Response"
  4577. }
  4578. }
  4579. }
  4580. }
  4581. },
  4582. "/Ermcp3/QueryInnerTradeLink": {
  4583. "get": {
  4584. "security": [
  4585. {
  4586. "ApiKeyAuth": []
  4587. }
  4588. ],
  4589. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4590. "produces": [
  4591. "application/json"
  4592. ],
  4593. "tags": [
  4594. "企业风险管理v3(app)"
  4595. ],
  4596. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  4597. "parameters": [
  4598. {
  4599. "type": "integer",
  4600. "description": "外部成交单号",
  4601. "name": "outtradeid",
  4602. "in": "query",
  4603. "required": true
  4604. }
  4605. ],
  4606. "responses": {
  4607. "200": {
  4608. "description": "OK",
  4609. "schema": {
  4610. "type": "array",
  4611. "items": {
  4612. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  4613. }
  4614. }
  4615. },
  4616. "500": {
  4617. "description": "Internal Server Error",
  4618. "schema": {
  4619. "$ref": "#/definitions/app.Response"
  4620. }
  4621. }
  4622. }
  4623. }
  4624. },
  4625. "/Ermcp3/QueryMiddleGoodsDetail": {
  4626. "get": {
  4627. "security": [
  4628. {
  4629. "ApiKeyAuth": []
  4630. }
  4631. ],
  4632. "produces": [
  4633. "application/json"
  4634. ],
  4635. "tags": [
  4636. "企业风险管理v3(app)"
  4637. ],
  4638. "summary": "查询套保品种详情(套保品种/商品详情)",
  4639. "parameters": [
  4640. {
  4641. "type": "integer",
  4642. "description": "用户id",
  4643. "name": "userid",
  4644. "in": "query",
  4645. "required": true
  4646. },
  4647. {
  4648. "type": "integer",
  4649. "description": "用户类型 2-机构 7-企业成员",
  4650. "name": "usertype",
  4651. "in": "query"
  4652. },
  4653. {
  4654. "type": "integer",
  4655. "description": "套保品种id",
  4656. "name": "middlegoodsid",
  4657. "in": "query"
  4658. }
  4659. ],
  4660. "responses": {
  4661. "200": {
  4662. "description": "OK",
  4663. "schema": {
  4664. "type": "array",
  4665. "items": {
  4666. "$ref": "#/definitions/models.TBMiddleGoods"
  4667. }
  4668. }
  4669. },
  4670. "500": {
  4671. "description": "Internal Server Error",
  4672. "schema": {
  4673. "$ref": "#/definitions/app.Response"
  4674. }
  4675. }
  4676. }
  4677. }
  4678. },
  4679. "/Ermcp3/QueryOutTradeLink": {
  4680. "get": {
  4681. "security": [
  4682. {
  4683. "ApiKeyAuth": []
  4684. }
  4685. ],
  4686. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  4687. "produces": [
  4688. "application/json"
  4689. ],
  4690. "tags": [
  4691. "企业风险管理v3(app)"
  4692. ],
  4693. "summary": "查询外部成交单关联",
  4694. "parameters": [
  4695. {
  4696. "type": "integer",
  4697. "description": "用户ID(填登录用户的userid)",
  4698. "name": "userid",
  4699. "in": "query",
  4700. "required": true
  4701. },
  4702. {
  4703. "type": "string",
  4704. "description": "外部订单号(模糊匹配)",
  4705. "name": "outtradeid",
  4706. "in": "query"
  4707. },
  4708. {
  4709. "type": "string",
  4710. "description": "合约名称/代码(模糊匹配)",
  4711. "name": "goodsname",
  4712. "in": "query"
  4713. },
  4714. {
  4715. "type": "integer",
  4716. "description": "关联状态 0-未关联 1-已关联",
  4717. "name": "hasinnerorder",
  4718. "in": "query"
  4719. }
  4720. ],
  4721. "responses": {
  4722. "200": {
  4723. "description": "OK",
  4724. "schema": {
  4725. "type": "array",
  4726. "items": {
  4727. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  4728. }
  4729. }
  4730. },
  4731. "500": {
  4732. "description": "Internal Server Error",
  4733. "schema": {
  4734. "$ref": "#/definitions/app.Response"
  4735. }
  4736. }
  4737. }
  4738. }
  4739. },
  4740. "/Ermcp3/QueryPaAreaAuditCfg": {
  4741. "get": {
  4742. "security": [
  4743. {
  4744. "ApiKeyAuth": []
  4745. }
  4746. ],
  4747. "produces": [
  4748. "application/json"
  4749. ],
  4750. "tags": [
  4751. "企业风险管理v3(app)"
  4752. ],
  4753. "summary": "查询审核设置",
  4754. "parameters": [
  4755. {
  4756. "type": "integer",
  4757. "description": "用户id",
  4758. "name": "userid",
  4759. "in": "query",
  4760. "required": true
  4761. }
  4762. ],
  4763. "responses": {
  4764. "200": {
  4765. "description": "OK",
  4766. "schema": {
  4767. "type": "array",
  4768. "items": {
  4769. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4770. }
  4771. }
  4772. },
  4773. "500": {
  4774. "description": "Internal Server Error",
  4775. "schema": {
  4776. "$ref": "#/definitions/app.Response"
  4777. }
  4778. }
  4779. }
  4780. }
  4781. },
  4782. "/Ermcp3/QueryPaAreaSubject": {
  4783. "get": {
  4784. "security": [
  4785. {
  4786. "ApiKeyAuth": []
  4787. }
  4788. ],
  4789. "produces": [
  4790. "application/json"
  4791. ],
  4792. "tags": [
  4793. "企业风险管理v3(app)"
  4794. ],
  4795. "summary": "查询交易主体",
  4796. "parameters": [
  4797. {
  4798. "type": "integer",
  4799. "description": "用户id",
  4800. "name": "userid",
  4801. "in": "query",
  4802. "required": true
  4803. },
  4804. {
  4805. "type": "integer",
  4806. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4807. "name": "subjectid",
  4808. "in": "query"
  4809. },
  4810. {
  4811. "type": "integer",
  4812. "description": "主体类型 - 1:交易主体 2:业务部门",
  4813. "name": "subjecttype",
  4814. "in": "query"
  4815. },
  4816. {
  4817. "type": "integer",
  4818. "description": "主体状态 - 1:正常 2: 停用",
  4819. "name": "subjectstatus",
  4820. "in": "query"
  4821. }
  4822. ],
  4823. "responses": {
  4824. "200": {
  4825. "description": "OK",
  4826. "schema": {
  4827. "type": "array",
  4828. "items": {
  4829. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4830. }
  4831. }
  4832. },
  4833. "500": {
  4834. "description": "Internal Server Error",
  4835. "schema": {
  4836. "$ref": "#/definitions/app.Response"
  4837. }
  4838. }
  4839. }
  4840. }
  4841. },
  4842. "/Ermcp3/QueryPaTradeLink": {
  4843. "get": {
  4844. "security": [
  4845. {
  4846. "ApiKeyAuth": []
  4847. }
  4848. ],
  4849. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  4850. "produces": [
  4851. "application/json"
  4852. ],
  4853. "tags": [
  4854. "企业风险管理v3(app)"
  4855. ],
  4856. "summary": "查询期现单据关联",
  4857. "parameters": [
  4858. {
  4859. "type": "integer",
  4860. "description": "用户ID",
  4861. "name": "userid",
  4862. "in": "query",
  4863. "required": true
  4864. }
  4865. ],
  4866. "responses": {
  4867. "200": {
  4868. "description": "OK",
  4869. "schema": {
  4870. "type": "array",
  4871. "items": {
  4872. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  4873. }
  4874. }
  4875. },
  4876. "500": {
  4877. "description": "Internal Server Error",
  4878. "schema": {
  4879. "$ref": "#/definitions/app.Response"
  4880. }
  4881. }
  4882. }
  4883. }
  4884. },
  4885. "/Ermcp3/QueryPaTradeLinkDetail": {
  4886. "get": {
  4887. "security": [
  4888. {
  4889. "ApiKeyAuth": []
  4890. }
  4891. ],
  4892. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  4893. "produces": [
  4894. "application/json"
  4895. ],
  4896. "tags": [
  4897. "企业风险管理v3(app)"
  4898. ],
  4899. "summary": "查询期现关联记录",
  4900. "parameters": [
  4901. {
  4902. "type": "integer",
  4903. "description": "用户ID(填登录用户的userid)",
  4904. "name": "userid",
  4905. "in": "query",
  4906. "required": true
  4907. },
  4908. {
  4909. "type": "integer",
  4910. "description": "关联状态 1:成功 2:失败 3:解绑",
  4911. "name": "linkstatus",
  4912. "in": "query"
  4913. },
  4914. {
  4915. "type": "string",
  4916. "description": "期货订单号(模糊匹配)",
  4917. "name": "tradeid",
  4918. "in": "query"
  4919. },
  4920. {
  4921. "type": "string",
  4922. "description": "现货编号(模糊匹配)",
  4923. "name": "contractno",
  4924. "in": "query"
  4925. },
  4926. {
  4927. "type": "string",
  4928. "description": "期货账户(模糊匹配)",
  4929. "name": "taname",
  4930. "in": "query"
  4931. }
  4932. ],
  4933. "responses": {
  4934. "200": {
  4935. "description": "OK",
  4936. "schema": {
  4937. "type": "array",
  4938. "items": {
  4939. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  4940. }
  4941. }
  4942. },
  4943. "500": {
  4944. "description": "Internal Server Error",
  4945. "schema": {
  4946. "$ref": "#/definitions/app.Response"
  4947. }
  4948. }
  4949. }
  4950. }
  4951. },
  4952. "/Ermcp3/QueryParamChangeApp": {
  4953. "get": {
  4954. "security": [
  4955. {
  4956. "ApiKeyAuth": []
  4957. }
  4958. ],
  4959. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  4960. "produces": [
  4961. "application/json"
  4962. ],
  4963. "tags": [
  4964. "企业风险管理v3(app)"
  4965. ],
  4966. "summary": "查询现货商品参数变更申请(流水)",
  4967. "parameters": [
  4968. {
  4969. "type": "integer",
  4970. "description": "用户ID",
  4971. "name": "userid",
  4972. "in": "query",
  4973. "required": true
  4974. },
  4975. {
  4976. "type": "integer",
  4977. "description": "现货品种id",
  4978. "name": "deliverygoodsid",
  4979. "in": "query"
  4980. },
  4981. {
  4982. "type": "integer",
  4983. "description": "现货商品id",
  4984. "name": "wrstandardid",
  4985. "in": "query"
  4986. },
  4987. {
  4988. "type": "integer",
  4989. "description": "套保商品id",
  4990. "name": "middlegoodsid",
  4991. "in": "query"
  4992. },
  4993. {
  4994. "type": "integer",
  4995. "description": "操作类型 1:新增 2:修改",
  4996. "name": "operatetype",
  4997. "in": "query"
  4998. },
  4999. {
  5000. "type": "integer",
  5001. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  5002. "name": "paramchangetype",
  5003. "in": "query"
  5004. },
  5005. {
  5006. "type": "string",
  5007. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5008. "name": "ftstatus",
  5009. "in": "query"
  5010. }
  5011. ],
  5012. "responses": {
  5013. "200": {
  5014. "description": "OK",
  5015. "schema": {
  5016. "type": "array",
  5017. "items": {
  5018. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5019. }
  5020. }
  5021. },
  5022. "500": {
  5023. "description": "Internal Server Error",
  5024. "schema": {
  5025. "$ref": "#/definitions/app.Response"
  5026. }
  5027. }
  5028. }
  5029. }
  5030. },
  5031. "/Ermcp3/QueryRootUserAccount": {
  5032. "get": {
  5033. "security": [
  5034. {
  5035. "ApiKeyAuth": []
  5036. }
  5037. ],
  5038. "produces": [
  5039. "application/json"
  5040. ],
  5041. "tags": [
  5042. "企业风险管理v3(app)"
  5043. ],
  5044. "summary": "查询顶级用户信息",
  5045. "parameters": [
  5046. {
  5047. "type": "integer",
  5048. "description": "用户ID",
  5049. "name": "userid",
  5050. "in": "query",
  5051. "required": true
  5052. }
  5053. ],
  5054. "responses": {
  5055. "200": {
  5056. "description": "OK",
  5057. "schema": {
  5058. "type": "array",
  5059. "items": {
  5060. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5061. }
  5062. }
  5063. },
  5064. "500": {
  5065. "description": "Internal Server Error",
  5066. "schema": {
  5067. "$ref": "#/definitions/app.Response"
  5068. }
  5069. }
  5070. }
  5071. }
  5072. },
  5073. "/Ermcp3/QuerySCMiddleGoods": {
  5074. "get": {
  5075. "security": [
  5076. {
  5077. "ApiKeyAuth": []
  5078. }
  5079. ],
  5080. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5081. "produces": [
  5082. "application/json"
  5083. ],
  5084. "tags": [
  5085. "企业风险管理v3(app)"
  5086. ],
  5087. "summary": "查询现货订单",
  5088. "parameters": [
  5089. {
  5090. "type": "integer",
  5091. "description": "用户ID(填登录用户的userid)",
  5092. "name": "userid",
  5093. "in": "query",
  5094. "required": true
  5095. },
  5096. {
  5097. "type": "integer",
  5098. "description": "买卖方向 0-买 1-卖",
  5099. "name": "buyorsell",
  5100. "in": "query",
  5101. "required": true
  5102. },
  5103. {
  5104. "type": "integer",
  5105. "description": "商品组id",
  5106. "name": "goodsgroupid",
  5107. "in": "query",
  5108. "required": true
  5109. },
  5110. {
  5111. "type": "integer",
  5112. "description": "业务类型 1:套保 2:套利",
  5113. "name": "biztype",
  5114. "in": "query"
  5115. },
  5116. {
  5117. "type": "string",
  5118. "description": "现货编号(模糊匹配)",
  5119. "name": "contractno",
  5120. "in": "query"
  5121. },
  5122. {
  5123. "type": "string",
  5124. "description": "对手方(模糊匹配)",
  5125. "name": "customername",
  5126. "in": "query"
  5127. },
  5128. {
  5129. "type": "string",
  5130. "description": "现货商品名称(模糊匹配)",
  5131. "name": "wrstandardname",
  5132. "in": "query"
  5133. }
  5134. ],
  5135. "responses": {
  5136. "200": {
  5137. "description": "OK",
  5138. "schema": {
  5139. "type": "array",
  5140. "items": {
  5141. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5142. }
  5143. }
  5144. },
  5145. "500": {
  5146. "description": "Internal Server Error",
  5147. "schema": {
  5148. "$ref": "#/definitions/app.Response"
  5149. }
  5150. }
  5151. }
  5152. }
  5153. },
  5154. "/Ermcp3/QuerySpotContract": {
  5155. "get": {
  5156. "security": [
  5157. {
  5158. "ApiKeyAuth": []
  5159. }
  5160. ],
  5161. "produces": [
  5162. "application/json"
  5163. ],
  5164. "tags": [
  5165. "企业风险管理v3(app)"
  5166. ],
  5167. "summary": "查询现货合同",
  5168. "parameters": [
  5169. {
  5170. "type": "integer",
  5171. "description": "用户id(当指定contractid, userid可不填)",
  5172. "name": "userid",
  5173. "in": "query",
  5174. "required": true
  5175. },
  5176. {
  5177. "type": "integer",
  5178. "description": "用户类型 2-机构 7-企业成员",
  5179. "name": "usertype",
  5180. "in": "query"
  5181. },
  5182. {
  5183. "type": "integer",
  5184. "description": "合同类型 1-采购, -1-销售",
  5185. "name": "contracttype",
  5186. "in": "query"
  5187. },
  5188. {
  5189. "type": "string",
  5190. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5191. "name": "querytype",
  5192. "in": "query"
  5193. },
  5194. {
  5195. "type": "string",
  5196. "description": "合同ID(SpotContractId)",
  5197. "name": "contractid",
  5198. "in": "query"
  5199. },
  5200. {
  5201. "type": "string",
  5202. "description": "合同编号(模糊匹配)",
  5203. "name": "contractno",
  5204. "in": "query"
  5205. },
  5206. {
  5207. "type": "string",
  5208. "description": "商品名称(模糊匹配)",
  5209. "name": "wrstandardname",
  5210. "in": "query"
  5211. },
  5212. {
  5213. "type": "string",
  5214. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5215. "name": "status",
  5216. "in": "query"
  5217. },
  5218. {
  5219. "type": "integer",
  5220. "description": "是否只查今日的合同 1-查今日合同",
  5221. "name": "istoday",
  5222. "in": "query"
  5223. }
  5224. ],
  5225. "responses": {
  5226. "200": {
  5227. "description": "OK",
  5228. "schema": {
  5229. "type": "array",
  5230. "items": {
  5231. "$ref": "#/definitions/models.Ermcp3Contract"
  5232. }
  5233. }
  5234. },
  5235. "500": {
  5236. "description": "Internal Server Error",
  5237. "schema": {
  5238. "$ref": "#/definitions/app.Response"
  5239. }
  5240. }
  5241. }
  5242. }
  5243. },
  5244. "/Ermcp3/QuerySpotContractBS": {
  5245. "get": {
  5246. "security": [
  5247. {
  5248. "ApiKeyAuth": []
  5249. }
  5250. ],
  5251. "produces": [
  5252. "application/json"
  5253. ],
  5254. "tags": [
  5255. "企业风险管理v3(app)"
  5256. ],
  5257. "summary": "查询合同(采购/销售)",
  5258. "parameters": [
  5259. {
  5260. "type": "integer",
  5261. "description": "用户id",
  5262. "name": "userid",
  5263. "in": "query",
  5264. "required": true
  5265. },
  5266. {
  5267. "type": "integer",
  5268. "description": "用户类型 2-机构 7-企业成员",
  5269. "name": "usertype",
  5270. "in": "query"
  5271. },
  5272. {
  5273. "type": "integer",
  5274. "description": "合同类型 1-采购, -1-销售",
  5275. "name": "contracttype",
  5276. "in": "query",
  5277. "required": true
  5278. },
  5279. {
  5280. "type": "integer",
  5281. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5282. "name": "querytype",
  5283. "in": "query"
  5284. },
  5285. {
  5286. "type": "string",
  5287. "description": "合同ID(SpotContractId)",
  5288. "name": "contractid",
  5289. "in": "query"
  5290. },
  5291. {
  5292. "type": "string",
  5293. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5294. "name": "status",
  5295. "in": "query"
  5296. },
  5297. {
  5298. "type": "integer",
  5299. "description": "是否只查今日的合同 1-查今日合同",
  5300. "name": "istoday",
  5301. "in": "query"
  5302. }
  5303. ],
  5304. "responses": {
  5305. "200": {
  5306. "description": "OK",
  5307. "schema": {
  5308. "type": "array",
  5309. "items": {
  5310. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5311. }
  5312. }
  5313. },
  5314. "500": {
  5315. "description": "Internal Server Error",
  5316. "schema": {
  5317. "$ref": "#/definitions/app.Response"
  5318. }
  5319. }
  5320. }
  5321. }
  5322. },
  5323. "/Ermcp3/QuerySpotGoodsPrice": {
  5324. "get": {
  5325. "security": [
  5326. {
  5327. "ApiKeyAuth": []
  5328. }
  5329. ],
  5330. "produces": [
  5331. "application/json"
  5332. ],
  5333. "tags": [
  5334. "企业风险管理v3(app)"
  5335. ],
  5336. "summary": "查询现货市价(现货市价)",
  5337. "parameters": [
  5338. {
  5339. "type": "integer",
  5340. "description": "用户ID",
  5341. "name": "userid",
  5342. "in": "query",
  5343. "required": true
  5344. }
  5345. ],
  5346. "responses": {
  5347. "200": {
  5348. "description": "OK",
  5349. "schema": {
  5350. "type": "array",
  5351. "items": {
  5352. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5353. }
  5354. }
  5355. },
  5356. "500": {
  5357. "description": "Internal Server Error",
  5358. "schema": {
  5359. "$ref": "#/definitions/app.Response"
  5360. }
  5361. }
  5362. }
  5363. }
  5364. },
  5365. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5366. "get": {
  5367. "security": [
  5368. {
  5369. "ApiKeyAuth": []
  5370. }
  5371. ],
  5372. "produces": [
  5373. "application/json"
  5374. ],
  5375. "tags": [
  5376. "企业风险管理v3(app)"
  5377. ],
  5378. "summary": "查询现货市价详情(现货市价/详情)",
  5379. "parameters": [
  5380. {
  5381. "type": "integer",
  5382. "description": "用户ID",
  5383. "name": "userid",
  5384. "in": "query",
  5385. "required": true
  5386. },
  5387. {
  5388. "type": "integer",
  5389. "description": "现货商品ID",
  5390. "name": "deliverygoodsid",
  5391. "in": "query",
  5392. "required": true
  5393. },
  5394. {
  5395. "type": "integer",
  5396. "description": "品牌ID",
  5397. "name": "brandid",
  5398. "in": "query"
  5399. },
  5400. {
  5401. "type": "integer",
  5402. "description": "品类ID",
  5403. "name": "wrstandardid",
  5404. "in": "query"
  5405. }
  5406. ],
  5407. "responses": {
  5408. "200": {
  5409. "description": "OK",
  5410. "schema": {
  5411. "type": "array",
  5412. "items": {
  5413. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5414. }
  5415. }
  5416. },
  5417. "500": {
  5418. "description": "Internal Server Error",
  5419. "schema": {
  5420. "$ref": "#/definitions/app.Response"
  5421. }
  5422. }
  5423. }
  5424. }
  5425. },
  5426. "/Ermcp3/QuerySubTaaccount": {
  5427. "get": {
  5428. "security": [
  5429. {
  5430. "ApiKeyAuth": []
  5431. }
  5432. ],
  5433. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5434. "produces": [
  5435. "application/json"
  5436. ],
  5437. "tags": [
  5438. "企业风险管理v3(app)"
  5439. ],
  5440. "summary": "查询期货子账户",
  5441. "parameters": [
  5442. {
  5443. "type": "integer",
  5444. "description": "母账号id",
  5445. "name": "parentaccountid",
  5446. "in": "query"
  5447. },
  5448. {
  5449. "type": "string",
  5450. "description": "母账号代码",
  5451. "name": "parentaccountcode",
  5452. "in": "query"
  5453. }
  5454. ],
  5455. "responses": {
  5456. "200": {
  5457. "description": "OK",
  5458. "schema": {
  5459. "type": "array",
  5460. "items": {
  5461. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5462. }
  5463. }
  5464. },
  5465. "500": {
  5466. "description": "Internal Server Error",
  5467. "schema": {
  5468. "$ref": "#/definitions/app.Response"
  5469. }
  5470. }
  5471. }
  5472. }
  5473. },
  5474. "/Erms2/QueryArbitrageStrategy": {
  5475. "get": {
  5476. "security": [
  5477. {
  5478. "ApiKeyAuth": []
  5479. }
  5480. ],
  5481. "produces": [
  5482. "application/json"
  5483. ],
  5484. "tags": [
  5485. "风险管理"
  5486. ],
  5487. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5488. "parameters": [
  5489. {
  5490. "type": "integer",
  5491. "description": "账户ID",
  5492. "name": "userid",
  5493. "in": "query",
  5494. "required": true
  5495. },
  5496. {
  5497. "type": "string",
  5498. "description": "商品组ID(品种ID)",
  5499. "name": "goodsgroupid",
  5500. "in": "query"
  5501. }
  5502. ],
  5503. "responses": {
  5504. "200": {
  5505. "description": "OK",
  5506. "schema": {
  5507. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5508. }
  5509. },
  5510. "500": {
  5511. "description": "Internal Server Error",
  5512. "schema": {
  5513. "$ref": "#/definitions/app.Response"
  5514. }
  5515. }
  5516. }
  5517. }
  5518. },
  5519. "/Erms2/QueryInnerTradeDetail": {
  5520. "get": {
  5521. "security": [
  5522. {
  5523. "ApiKeyAuth": []
  5524. }
  5525. ],
  5526. "produces": [
  5527. "application/json"
  5528. ],
  5529. "tags": [
  5530. "风险管理"
  5531. ],
  5532. "summary": "查询内部成交单信息",
  5533. "parameters": [
  5534. {
  5535. "type": "integer",
  5536. "description": "资金账户",
  5537. "name": "accountid",
  5538. "in": "query",
  5539. "required": true
  5540. }
  5541. ],
  5542. "responses": {
  5543. "200": {
  5544. "description": "OK",
  5545. "schema": {
  5546. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5547. }
  5548. },
  5549. "500": {
  5550. "description": "Internal Server Error",
  5551. "schema": {
  5552. "$ref": "#/definitions/app.Response"
  5553. }
  5554. }
  5555. }
  5556. }
  5557. },
  5558. "/Erms2/QuerySpotContract": {
  5559. "get": {
  5560. "security": [
  5561. {
  5562. "ApiKeyAuth": []
  5563. }
  5564. ],
  5565. "produces": [
  5566. "application/json"
  5567. ],
  5568. "tags": [
  5569. "风险管理"
  5570. ],
  5571. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5572. "parameters": [
  5573. {
  5574. "type": "integer",
  5575. "description": "策略申请ID",
  5576. "name": "asapplyid",
  5577. "in": "query",
  5578. "required": true
  5579. },
  5580. {
  5581. "type": "integer",
  5582. "description": "现货合同ID",
  5583. "name": "spotcontractid",
  5584. "in": "query"
  5585. }
  5586. ],
  5587. "responses": {
  5588. "200": {
  5589. "description": "OK",
  5590. "schema": {
  5591. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5592. }
  5593. },
  5594. "500": {
  5595. "description": "Internal Server Error",
  5596. "schema": {
  5597. "$ref": "#/definitions/app.Response"
  5598. }
  5599. }
  5600. }
  5601. }
  5602. },
  5603. "/Erms3/AddErms2ASApply": {
  5604. "post": {
  5605. "security": [
  5606. {
  5607. "ApiKeyAuth": []
  5608. }
  5609. ],
  5610. "produces": [
  5611. "application/json"
  5612. ],
  5613. "tags": [
  5614. "风险管理v3"
  5615. ],
  5616. "summary": "新增期现套利业务申请",
  5617. "parameters": [
  5618. {
  5619. "description": "申请参数",
  5620. "name": "jsonBody",
  5621. "in": "body",
  5622. "required": true,
  5623. "schema": {
  5624. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5625. }
  5626. }
  5627. ],
  5628. "responses": {
  5629. "200": {
  5630. "description": "OK",
  5631. "schema": {
  5632. "$ref": "#/definitions/app.Response"
  5633. }
  5634. },
  5635. "500": {
  5636. "description": "Internal Server Error",
  5637. "schema": {
  5638. "$ref": "#/definitions/app.Response"
  5639. }
  5640. }
  5641. }
  5642. }
  5643. },
  5644. "/Erms3/AddErms2SpotTradeApply": {
  5645. "post": {
  5646. "security": [
  5647. {
  5648. "ApiKeyAuth": []
  5649. }
  5650. ],
  5651. "produces": [
  5652. "application/json"
  5653. ],
  5654. "tags": [
  5655. "风险管理v3"
  5656. ],
  5657. "summary": "新增现货贸易业务申请",
  5658. "parameters": [
  5659. {
  5660. "description": "申请参数",
  5661. "name": "jsonBody",
  5662. "in": "body",
  5663. "required": true,
  5664. "schema": {
  5665. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5666. }
  5667. }
  5668. ],
  5669. "responses": {
  5670. "200": {
  5671. "description": "OK",
  5672. "schema": {
  5673. "$ref": "#/definitions/app.Response"
  5674. }
  5675. },
  5676. "500": {
  5677. "description": "Internal Server Error",
  5678. "schema": {
  5679. "$ref": "#/definitions/app.Response"
  5680. }
  5681. }
  5682. }
  5683. }
  5684. },
  5685. "/Erms3/AddSpotContractApply": {
  5686. "post": {
  5687. "security": [
  5688. {
  5689. "ApiKeyAuth": []
  5690. }
  5691. ],
  5692. "produces": [
  5693. "application/json"
  5694. ],
  5695. "tags": [
  5696. "风险管理v3"
  5697. ],
  5698. "summary": "新增现货合同申请",
  5699. "parameters": [
  5700. {
  5701. "description": "申请参数",
  5702. "name": "jsonBody",
  5703. "in": "body",
  5704. "required": true,
  5705. "schema": {
  5706. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5707. }
  5708. }
  5709. ],
  5710. "responses": {
  5711. "200": {
  5712. "description": "OK",
  5713. "schema": {
  5714. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5715. }
  5716. },
  5717. "500": {
  5718. "description": "Internal Server Error",
  5719. "schema": {
  5720. "$ref": "#/definitions/app.Response"
  5721. }
  5722. }
  5723. }
  5724. }
  5725. },
  5726. "/Erms3/AddUserInfoApply": {
  5727. "post": {
  5728. "security": [
  5729. {
  5730. "ApiKeyAuth": []
  5731. }
  5732. ],
  5733. "produces": [
  5734. "application/json"
  5735. ],
  5736. "tags": [
  5737. "风险管理v3"
  5738. ],
  5739. "summary": "新增客户申请",
  5740. "parameters": [
  5741. {
  5742. "description": "用户信息",
  5743. "name": "jsonBody",
  5744. "in": "body",
  5745. "required": true,
  5746. "schema": {
  5747. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5748. }
  5749. }
  5750. ],
  5751. "responses": {
  5752. "200": {
  5753. "description": "OK",
  5754. "schema": {
  5755. "$ref": "#/definitions/app.Response"
  5756. }
  5757. },
  5758. "500": {
  5759. "description": "Internal Server Error",
  5760. "schema": {
  5761. "$ref": "#/definitions/app.Response"
  5762. }
  5763. }
  5764. }
  5765. }
  5766. },
  5767. "/Erms3/DeleteUserInfoApply": {
  5768. "get": {
  5769. "security": [
  5770. {
  5771. "ApiKeyAuth": []
  5772. }
  5773. ],
  5774. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5775. "produces": [
  5776. "application/json"
  5777. ],
  5778. "tags": [
  5779. "风险管理v3"
  5780. ],
  5781. "summary": "删除客户申请",
  5782. "parameters": [
  5783. {
  5784. "type": "integer",
  5785. "description": "用户ID",
  5786. "name": "userID",
  5787. "in": "query",
  5788. "required": true
  5789. }
  5790. ],
  5791. "responses": {
  5792. "200": {
  5793. "description": "OK",
  5794. "schema": {
  5795. "$ref": "#/definitions/app.Response"
  5796. }
  5797. },
  5798. "500": {
  5799. "description": "Internal Server Error",
  5800. "schema": {
  5801. "$ref": "#/definitions/app.Response"
  5802. }
  5803. }
  5804. }
  5805. }
  5806. },
  5807. "/Erms3/ModifyUserInfoApply": {
  5808. "post": {
  5809. "security": [
  5810. {
  5811. "ApiKeyAuth": []
  5812. }
  5813. ],
  5814. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5815. "produces": [
  5816. "application/json"
  5817. ],
  5818. "tags": [
  5819. "风险管理v3"
  5820. ],
  5821. "summary": "修改客户申请",
  5822. "parameters": [
  5823. {
  5824. "description": "用户信息",
  5825. "name": "jsonBody",
  5826. "in": "body",
  5827. "required": true,
  5828. "schema": {
  5829. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5830. }
  5831. }
  5832. ],
  5833. "responses": {
  5834. "200": {
  5835. "description": "OK",
  5836. "schema": {
  5837. "$ref": "#/definitions/app.Response"
  5838. }
  5839. },
  5840. "500": {
  5841. "description": "Internal Server Error",
  5842. "schema": {
  5843. "$ref": "#/definitions/app.Response"
  5844. }
  5845. }
  5846. }
  5847. }
  5848. },
  5849. "/Erms3/QueryBusinessInfo": {
  5850. "get": {
  5851. "security": [
  5852. {
  5853. "ApiKeyAuth": []
  5854. }
  5855. ],
  5856. "produces": [
  5857. "application/json"
  5858. ],
  5859. "tags": [
  5860. "风险管理v3"
  5861. ],
  5862. "summary": "查询业务表单数据",
  5863. "parameters": [
  5864. {
  5865. "type": "string",
  5866. "description": "资金账号ID列表,用逗号分隔",
  5867. "name": "accountids",
  5868. "in": "query",
  5869. "required": true
  5870. },
  5871. {
  5872. "type": "integer",
  5873. "description": "状态,0为未结束 1为已结束",
  5874. "name": "status",
  5875. "in": "query",
  5876. "required": true
  5877. }
  5878. ],
  5879. "responses": {
  5880. "200": {
  5881. "description": "OK",
  5882. "schema": {
  5883. "type": "array",
  5884. "items": {
  5885. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5886. }
  5887. }
  5888. },
  5889. "500": {
  5890. "description": "Internal Server Error",
  5891. "schema": {
  5892. "$ref": "#/definitions/app.Response"
  5893. }
  5894. }
  5895. }
  5896. }
  5897. },
  5898. "/Erms3/QueryPendingAuditContract": {
  5899. "get": {
  5900. "security": [
  5901. {
  5902. "ApiKeyAuth": []
  5903. }
  5904. ],
  5905. "produces": [
  5906. "application/json"
  5907. ],
  5908. "tags": [
  5909. "风险管理v3"
  5910. ],
  5911. "summary": "查询待审核合同",
  5912. "parameters": [
  5913. {
  5914. "type": "string",
  5915. "description": "资金账号ID列表,逗号隔开",
  5916. "name": "accountids",
  5917. "in": "query",
  5918. "required": true
  5919. },
  5920. {
  5921. "type": "integer",
  5922. "description": "合同类型 1-采购 -1-销售",
  5923. "name": "contracttype",
  5924. "in": "query",
  5925. "required": true
  5926. },
  5927. {
  5928. "type": "integer",
  5929. "description": "合同模式 1-普通 2-回购",
  5930. "name": "contractmode",
  5931. "in": "query",
  5932. "required": true
  5933. }
  5934. ],
  5935. "responses": {
  5936. "200": {
  5937. "description": "OK",
  5938. "schema": {
  5939. "type": "array",
  5940. "items": {
  5941. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5942. }
  5943. }
  5944. },
  5945. "500": {
  5946. "description": "Internal Server Error",
  5947. "schema": {
  5948. "$ref": "#/definitions/app.Response"
  5949. }
  5950. }
  5951. }
  5952. }
  5953. },
  5954. "/Erms3/QueryPendingBusiness": {
  5955. "get": {
  5956. "security": [
  5957. {
  5958. "ApiKeyAuth": []
  5959. }
  5960. ],
  5961. "produces": [
  5962. "application/json"
  5963. ],
  5964. "tags": [
  5965. "风险管理v3"
  5966. ],
  5967. "summary": "查询待审核基差贸易业务",
  5968. "parameters": [
  5969. {
  5970. "type": "string",
  5971. "description": "资金账号ID列表,逗号隔开",
  5972. "name": "accountids",
  5973. "in": "query",
  5974. "required": true
  5975. }
  5976. ],
  5977. "responses": {
  5978. "200": {
  5979. "description": "OK",
  5980. "schema": {
  5981. "type": "array",
  5982. "items": {
  5983. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5984. }
  5985. }
  5986. },
  5987. "500": {
  5988. "description": "Internal Server Error",
  5989. "schema": {
  5990. "$ref": "#/definitions/app.Response"
  5991. }
  5992. }
  5993. }
  5994. }
  5995. },
  5996. "/Erms3/QuerySpotContractAppleForm": {
  5997. "get": {
  5998. "security": [
  5999. {
  6000. "ApiKeyAuth": []
  6001. }
  6002. ],
  6003. "produces": [
  6004. "application/json"
  6005. ],
  6006. "tags": [
  6007. "风险管理v3"
  6008. ],
  6009. "summary": "查询合同申请表单数据",
  6010. "parameters": [
  6011. {
  6012. "type": "integer",
  6013. "description": "登录账号",
  6014. "name": "loginID",
  6015. "in": "query",
  6016. "required": true
  6017. }
  6018. ],
  6019. "responses": {
  6020. "200": {
  6021. "description": "OK",
  6022. "schema": {
  6023. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  6024. }
  6025. },
  6026. "500": {
  6027. "description": "Internal Server Error",
  6028. "schema": {
  6029. "$ref": "#/definitions/app.Response"
  6030. }
  6031. }
  6032. }
  6033. }
  6034. },
  6035. "/Erms3/QuerySpotContractDetail": {
  6036. "get": {
  6037. "security": [
  6038. {
  6039. "ApiKeyAuth": []
  6040. }
  6041. ],
  6042. "produces": [
  6043. "application/json"
  6044. ],
  6045. "tags": [
  6046. "风险管理v3"
  6047. ],
  6048. "summary": "查询合同详细信息",
  6049. "parameters": [
  6050. {
  6051. "type": "string",
  6052. "description": "资金账号ID列表,用逗号分隔",
  6053. "name": "accountids",
  6054. "in": "query",
  6055. "required": true
  6056. },
  6057. {
  6058. "type": "integer",
  6059. "description": "合同类型,1为采购合同 -1为销售合同",
  6060. "name": "contracttype",
  6061. "in": "query",
  6062. "required": true
  6063. },
  6064. {
  6065. "type": "integer",
  6066. "description": "合同模式,1为普通合同 2为回购销售合同",
  6067. "name": "contractmode",
  6068. "in": "query",
  6069. "required": true
  6070. },
  6071. {
  6072. "type": "integer",
  6073. "description": "状态,0为履约中 1为已完成",
  6074. "name": "status",
  6075. "in": "query",
  6076. "required": true
  6077. }
  6078. ],
  6079. "responses": {
  6080. "200": {
  6081. "description": "OK",
  6082. "schema": {
  6083. "type": "array",
  6084. "items": {
  6085. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  6086. }
  6087. }
  6088. },
  6089. "500": {
  6090. "description": "Internal Server Error",
  6091. "schema": {
  6092. "$ref": "#/definitions/app.Response"
  6093. }
  6094. }
  6095. }
  6096. }
  6097. },
  6098. "/Erms3/QueryUserInfoApplies": {
  6099. "get": {
  6100. "security": [
  6101. {
  6102. "ApiKeyAuth": []
  6103. }
  6104. ],
  6105. "produces": [
  6106. "application/json"
  6107. ],
  6108. "tags": [
  6109. "风险管理v3"
  6110. ],
  6111. "summary": "客户申请信息查询",
  6112. "parameters": [
  6113. {
  6114. "type": "integer",
  6115. "description": "页码",
  6116. "name": "page",
  6117. "in": "query"
  6118. },
  6119. {
  6120. "type": "integer",
  6121. "description": "每页条数",
  6122. "name": "pagesize",
  6123. "in": "query"
  6124. },
  6125. {
  6126. "type": "string",
  6127. "description": "客户名称,支持模糊查询",
  6128. "name": "userName",
  6129. "in": "query"
  6130. }
  6131. ],
  6132. "responses": {
  6133. "200": {
  6134. "description": "OK",
  6135. "schema": {
  6136. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6137. }
  6138. },
  6139. "500": {
  6140. "description": "Internal Server Error",
  6141. "schema": {
  6142. "$ref": "#/definitions/app.Response"
  6143. }
  6144. }
  6145. }
  6146. }
  6147. },
  6148. "/Erms3/QueryUserInfos": {
  6149. "get": {
  6150. "security": [
  6151. {
  6152. "ApiKeyAuth": []
  6153. }
  6154. ],
  6155. "produces": [
  6156. "application/json"
  6157. ],
  6158. "tags": [
  6159. "风险管理v3"
  6160. ],
  6161. "summary": "客户信息查询",
  6162. "parameters": [
  6163. {
  6164. "type": "integer",
  6165. "description": "页码",
  6166. "name": "page",
  6167. "in": "query"
  6168. },
  6169. {
  6170. "type": "integer",
  6171. "description": "每页条数",
  6172. "name": "pagesize",
  6173. "in": "query"
  6174. },
  6175. {
  6176. "type": "string",
  6177. "description": "客户名称,支持模糊查询",
  6178. "name": "userName",
  6179. "in": "query"
  6180. }
  6181. ],
  6182. "responses": {
  6183. "200": {
  6184. "description": "OK",
  6185. "schema": {
  6186. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6187. }
  6188. },
  6189. "500": {
  6190. "description": "Internal Server Error",
  6191. "schema": {
  6192. "$ref": "#/definitions/app.Response"
  6193. }
  6194. }
  6195. }
  6196. }
  6197. },
  6198. "/HSBY/GetHsbyMyCount": {
  6199. "get": {
  6200. "security": [
  6201. {
  6202. "ApiKeyAuth": []
  6203. }
  6204. ],
  6205. "description": "说明: 不包括已完成的数量。",
  6206. "produces": [
  6207. "application/json"
  6208. ],
  6209. "tags": [
  6210. "定制【海商报业】"
  6211. ],
  6212. "summary": "获取我的订单与包裹数量",
  6213. "parameters": [
  6214. {
  6215. "type": "string",
  6216. "description": "资金账户列表,格式:1,2,3",
  6217. "name": "accountIDs",
  6218. "in": "query",
  6219. "required": true
  6220. }
  6221. ],
  6222. "responses": {
  6223. "200": {
  6224. "description": "OK",
  6225. "schema": {
  6226. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6227. }
  6228. },
  6229. "500": {
  6230. "description": "Internal Server Error",
  6231. "schema": {
  6232. "$ref": "#/definitions/app.Response"
  6233. }
  6234. }
  6235. }
  6236. }
  6237. },
  6238. "/HSBY/QueryClientFixedADConfigs": {
  6239. "get": {
  6240. "security": [
  6241. {
  6242. "ApiKeyAuth": []
  6243. }
  6244. ],
  6245. "produces": [
  6246. "application/json"
  6247. ],
  6248. "tags": [
  6249. "定制【海商报业】"
  6250. ],
  6251. "summary": "获取终端固定广告配置",
  6252. "responses": {
  6253. "200": {
  6254. "description": "OK",
  6255. "schema": {
  6256. "$ref": "#/definitions/models.Clientfixedadconfig"
  6257. }
  6258. },
  6259. "500": {
  6260. "description": "Internal Server Error",
  6261. "schema": {
  6262. "$ref": "#/definitions/app.Response"
  6263. }
  6264. }
  6265. }
  6266. }
  6267. },
  6268. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6269. "get": {
  6270. "security": [
  6271. {
  6272. "ApiKeyAuth": []
  6273. }
  6274. ],
  6275. "produces": [
  6276. "application/json"
  6277. ],
  6278. "tags": [
  6279. "定制【海商报业】"
  6280. ],
  6281. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6282. "parameters": [
  6283. {
  6284. "type": "integer",
  6285. "description": "页码",
  6286. "name": "page",
  6287. "in": "query"
  6288. },
  6289. {
  6290. "type": "integer",
  6291. "description": "每页条数",
  6292. "name": "pagesize",
  6293. "in": "query"
  6294. },
  6295. {
  6296. "type": "string",
  6297. "description": "资金账户列表,格式:1,2,3",
  6298. "name": "accountIDs",
  6299. "in": "query",
  6300. "required": true
  6301. }
  6302. ],
  6303. "responses": {
  6304. "200": {
  6305. "description": "OK",
  6306. "schema": {
  6307. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6308. }
  6309. },
  6310. "500": {
  6311. "description": "Internal Server Error",
  6312. "schema": {
  6313. "$ref": "#/definitions/app.Response"
  6314. }
  6315. }
  6316. }
  6317. }
  6318. },
  6319. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6320. "get": {
  6321. "security": [
  6322. {
  6323. "ApiKeyAuth": []
  6324. }
  6325. ],
  6326. "description": "说明:查询结果已按委托价格和委托时间排序",
  6327. "produces": [
  6328. "application/json"
  6329. ],
  6330. "tags": [
  6331. "定制【海商报业】"
  6332. ],
  6333. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6334. "parameters": [
  6335. {
  6336. "type": "integer",
  6337. "description": "商品ID",
  6338. "name": "goodsID",
  6339. "in": "query",
  6340. "required": true
  6341. },
  6342. {
  6343. "type": "string",
  6344. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6345. "name": "accountIDs",
  6346. "in": "query"
  6347. },
  6348. {
  6349. "type": "integer",
  6350. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6351. "name": "buyOrSell",
  6352. "in": "query"
  6353. },
  6354. {
  6355. "type": "number",
  6356. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6357. "name": "price",
  6358. "in": "query"
  6359. },
  6360. {
  6361. "type": "integer",
  6362. "description": "档位,不传则默认为3档",
  6363. "name": "speed",
  6364. "in": "query"
  6365. }
  6366. ],
  6367. "responses": {
  6368. "200": {
  6369. "description": "OK",
  6370. "schema": {
  6371. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6372. }
  6373. },
  6374. "500": {
  6375. "description": "Internal Server Error",
  6376. "schema": {
  6377. "$ref": "#/definitions/app.Response"
  6378. }
  6379. }
  6380. }
  6381. }
  6382. },
  6383. "/HSBY/QueryHsbyListingGoodsDetail": {
  6384. "get": {
  6385. "security": [
  6386. {
  6387. "ApiKeyAuth": []
  6388. }
  6389. ],
  6390. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6391. "produces": [
  6392. "application/json"
  6393. ],
  6394. "tags": [
  6395. "定制【海商报业】"
  6396. ],
  6397. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6398. "parameters": [
  6399. {
  6400. "type": "integer",
  6401. "description": "商品ID",
  6402. "name": "goodsID",
  6403. "in": "query",
  6404. "required": true
  6405. },
  6406. {
  6407. "type": "integer",
  6408. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6409. "name": "accountID",
  6410. "in": "query"
  6411. }
  6412. ],
  6413. "responses": {
  6414. "200": {
  6415. "description": "OK",
  6416. "schema": {
  6417. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6418. }
  6419. },
  6420. "500": {
  6421. "description": "Internal Server Error",
  6422. "schema": {
  6423. "$ref": "#/definitions/app.Response"
  6424. }
  6425. }
  6426. }
  6427. }
  6428. },
  6429. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6430. "get": {
  6431. "security": [
  6432. {
  6433. "ApiKeyAuth": []
  6434. }
  6435. ],
  6436. "produces": [
  6437. "application/json"
  6438. ],
  6439. "tags": [
  6440. "定制【海商报业】"
  6441. ],
  6442. "summary": "查询三级市场(商城)商品信息详情",
  6443. "parameters": [
  6444. {
  6445. "type": "integer",
  6446. "description": "委托单号",
  6447. "name": "orderID",
  6448. "in": "query",
  6449. "required": true
  6450. },
  6451. {
  6452. "type": "integer",
  6453. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6454. "name": "accountID",
  6455. "in": "query"
  6456. }
  6457. ],
  6458. "responses": {
  6459. "200": {
  6460. "description": "OK",
  6461. "schema": {
  6462. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6463. }
  6464. },
  6465. "500": {
  6466. "description": "Internal Server Error",
  6467. "schema": {
  6468. "$ref": "#/definitions/app.Response"
  6469. }
  6470. }
  6471. }
  6472. }
  6473. },
  6474. "/HSBY/QueryHsbyMarketGoodses": {
  6475. "get": {
  6476. "security": [
  6477. {
  6478. "ApiKeyAuth": []
  6479. }
  6480. ],
  6481. "produces": [
  6482. "application/json"
  6483. ],
  6484. "tags": [
  6485. "定制【海商报业】"
  6486. ],
  6487. "summary": "查询特卖商品列表(三级商城)",
  6488. "parameters": [
  6489. {
  6490. "type": "integer",
  6491. "description": "页码",
  6492. "name": "page",
  6493. "in": "query"
  6494. },
  6495. {
  6496. "type": "integer",
  6497. "description": "每页条数",
  6498. "name": "pagesize",
  6499. "in": "query"
  6500. },
  6501. {
  6502. "type": "string",
  6503. "description": "市场ID列表,格式:1,2,3",
  6504. "name": "marketIDs",
  6505. "in": "query",
  6506. "required": true
  6507. },
  6508. {
  6509. "type": "integer",
  6510. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6511. "name": "accountID",
  6512. "in": "query",
  6513. "required": true
  6514. },
  6515. {
  6516. "type": "integer",
  6517. "description": "类别ID",
  6518. "name": "categoryID",
  6519. "in": "query"
  6520. },
  6521. {
  6522. "type": "string",
  6523. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6524. "name": "goodsIDs",
  6525. "in": "query"
  6526. },
  6527. {
  6528. "type": "integer",
  6529. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6530. "name": "couponTypeID",
  6531. "in": "query"
  6532. }
  6533. ],
  6534. "responses": {
  6535. "200": {
  6536. "description": "OK",
  6537. "schema": {
  6538. "$ref": "#/definitions/models.HsbyMarketGoods"
  6539. }
  6540. },
  6541. "500": {
  6542. "description": "Internal Server Error",
  6543. "schema": {
  6544. "$ref": "#/definitions/app.Response"
  6545. }
  6546. }
  6547. }
  6548. }
  6549. },
  6550. "/HSBY/QueryHsbyMarkets": {
  6551. "get": {
  6552. "security": [
  6553. {
  6554. "ApiKeyAuth": []
  6555. }
  6556. ],
  6557. "produces": [
  6558. "application/json"
  6559. ],
  6560. "tags": [
  6561. "定制【海商报业】"
  6562. ],
  6563. "summary": "查询海商报业相关市场信息",
  6564. "responses": {
  6565. "200": {
  6566. "description": "OK",
  6567. "schema": {
  6568. "$ref": "#/definitions/models.HsbyMarketInfo"
  6569. }
  6570. },
  6571. "500": {
  6572. "description": "Internal Server Error",
  6573. "schema": {
  6574. "$ref": "#/definitions/app.Response"
  6575. }
  6576. }
  6577. }
  6578. }
  6579. },
  6580. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6581. "get": {
  6582. "security": [
  6583. {
  6584. "ApiKeyAuth": []
  6585. }
  6586. ],
  6587. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6588. "produces": [
  6589. "application/json"
  6590. ],
  6591. "tags": [
  6592. "定制【海商报业】"
  6593. ],
  6594. "summary": "查询“我的订单”信息",
  6595. "parameters": [
  6596. {
  6597. "type": "string",
  6598. "description": "资金账户列表,格式:1,2,3",
  6599. "name": "accountIDs",
  6600. "in": "query",
  6601. "required": true
  6602. }
  6603. ],
  6604. "responses": {
  6605. "200": {
  6606. "description": "OK",
  6607. "schema": {
  6608. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6609. }
  6610. },
  6611. "500": {
  6612. "description": "Internal Server Error",
  6613. "schema": {
  6614. "$ref": "#/definitions/app.Response"
  6615. }
  6616. }
  6617. }
  6618. }
  6619. },
  6620. "/HSBY/QueryHsbyMyGoods": {
  6621. "get": {
  6622. "security": [
  6623. {
  6624. "ApiKeyAuth": []
  6625. }
  6626. ],
  6627. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6628. "produces": [
  6629. "application/json"
  6630. ],
  6631. "tags": [
  6632. "定制【海商报业】"
  6633. ],
  6634. "summary": "查询“我的商品”信息",
  6635. "parameters": [
  6636. {
  6637. "type": "string",
  6638. "description": "资金账户列表,格式:1,2,3",
  6639. "name": "accountIDs",
  6640. "in": "query",
  6641. "required": true
  6642. }
  6643. ],
  6644. "responses": {
  6645. "200": {
  6646. "description": "OK",
  6647. "schema": {
  6648. "$ref": "#/definitions/models.HsbyMyGoods"
  6649. }
  6650. },
  6651. "500": {
  6652. "description": "Internal Server Error",
  6653. "schema": {
  6654. "$ref": "#/definitions/app.Response"
  6655. }
  6656. }
  6657. }
  6658. }
  6659. },
  6660. "/HSBY/QueryHsbyMyPackages": {
  6661. "get": {
  6662. "security": [
  6663. {
  6664. "ApiKeyAuth": []
  6665. }
  6666. ],
  6667. "produces": [
  6668. "application/json"
  6669. ],
  6670. "tags": [
  6671. "定制【海商报业】"
  6672. ],
  6673. "summary": "查询我的包裹信息",
  6674. "parameters": [
  6675. {
  6676. "type": "string",
  6677. "description": "资金账户列表,格式:1,2,3",
  6678. "name": "accountIDs",
  6679. "in": "query",
  6680. "required": true
  6681. },
  6682. {
  6683. "type": "integer",
  6684. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6685. "name": "takeOrderStatus",
  6686. "in": "query"
  6687. }
  6688. ],
  6689. "responses": {
  6690. "200": {
  6691. "description": "OK",
  6692. "schema": {
  6693. "$ref": "#/definitions/models.HsbyMyPackage"
  6694. }
  6695. },
  6696. "500": {
  6697. "description": "Internal Server Error",
  6698. "schema": {
  6699. "$ref": "#/definitions/app.Response"
  6700. }
  6701. }
  6702. }
  6703. }
  6704. },
  6705. "/HSBY/QueryHsbyPreGoodsDetail": {
  6706. "get": {
  6707. "security": [
  6708. {
  6709. "ApiKeyAuth": []
  6710. }
  6711. ],
  6712. "produces": [
  6713. "application/json"
  6714. ],
  6715. "tags": [
  6716. "定制【海商报业】"
  6717. ],
  6718. "summary": "查询一级市场(预售)商品信息详情",
  6719. "parameters": [
  6720. {
  6721. "type": "integer",
  6722. "description": "商品ID",
  6723. "name": "goodsID",
  6724. "in": "query",
  6725. "required": true
  6726. },
  6727. {
  6728. "type": "integer",
  6729. "description": "资金账户,主要用于获取预售商品购买上限",
  6730. "name": "accountID",
  6731. "in": "query"
  6732. }
  6733. ],
  6734. "responses": {
  6735. "200": {
  6736. "description": "OK",
  6737. "schema": {
  6738. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6739. }
  6740. },
  6741. "500": {
  6742. "description": "Internal Server Error",
  6743. "schema": {
  6744. "$ref": "#/definitions/app.Response"
  6745. }
  6746. }
  6747. }
  6748. }
  6749. },
  6750. "/HSBY/QueryHsbyPreGoodses": {
  6751. "get": {
  6752. "security": [
  6753. {
  6754. "ApiKeyAuth": []
  6755. }
  6756. ],
  6757. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6758. "produces": [
  6759. "application/json"
  6760. ],
  6761. "tags": [
  6762. "定制【海商报业】"
  6763. ],
  6764. "summary": "查询新品上市商品列表(一级市场预售)",
  6765. "parameters": [
  6766. {
  6767. "type": "integer",
  6768. "description": "页码",
  6769. "name": "page",
  6770. "in": "query"
  6771. },
  6772. {
  6773. "type": "integer",
  6774. "description": "每页条数",
  6775. "name": "pagesize",
  6776. "in": "query"
  6777. },
  6778. {
  6779. "type": "string",
  6780. "description": "市场ID列表,格式:1,2,3",
  6781. "name": "marketIDs",
  6782. "in": "query",
  6783. "required": true
  6784. },
  6785. {
  6786. "type": "integer",
  6787. "description": "目的地(省)ID",
  6788. "name": "descProvinceID",
  6789. "in": "query"
  6790. },
  6791. {
  6792. "type": "integer",
  6793. "description": "目的地(市)ID",
  6794. "name": "descCityID",
  6795. "in": "query"
  6796. }
  6797. ],
  6798. "responses": {
  6799. "200": {
  6800. "description": "OK",
  6801. "schema": {
  6802. "$ref": "#/definitions/models.HsbyPreGoods"
  6803. }
  6804. },
  6805. "500": {
  6806. "description": "Internal Server Error",
  6807. "schema": {
  6808. "$ref": "#/definitions/app.Response"
  6809. }
  6810. }
  6811. }
  6812. }
  6813. },
  6814. "/HSBY/QueryHsbySellMyDetails": {
  6815. "get": {
  6816. "security": [
  6817. {
  6818. "ApiKeyAuth": []
  6819. }
  6820. ],
  6821. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6822. "produces": [
  6823. "application/json"
  6824. ],
  6825. "tags": [
  6826. "定制【海商报业】"
  6827. ],
  6828. "summary": "查询\"我的闲置\"单据信息",
  6829. "parameters": [
  6830. {
  6831. "type": "integer",
  6832. "description": "页码",
  6833. "name": "page",
  6834. "in": "query"
  6835. },
  6836. {
  6837. "type": "integer",
  6838. "description": "每页条数",
  6839. "name": "pagesize",
  6840. "in": "query"
  6841. },
  6842. {
  6843. "type": "string",
  6844. "description": "资金账户列表,格式:1,2,3",
  6845. "name": "accountIDs",
  6846. "in": "query",
  6847. "required": true
  6848. },
  6849. {
  6850. "type": "integer",
  6851. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6852. "name": "orderType",
  6853. "in": "query"
  6854. }
  6855. ],
  6856. "responses": {
  6857. "200": {
  6858. "description": "OK",
  6859. "schema": {
  6860. "$ref": "#/definitions/models.HsbySellMyDetail"
  6861. }
  6862. },
  6863. "500": {
  6864. "description": "Internal Server Error",
  6865. "schema": {
  6866. "$ref": "#/definitions/app.Response"
  6867. }
  6868. }
  6869. }
  6870. }
  6871. },
  6872. "/HSBY/QueryHsbyTopGoodses": {
  6873. "get": {
  6874. "security": [
  6875. {
  6876. "ApiKeyAuth": []
  6877. }
  6878. ],
  6879. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6880. "produces": [
  6881. "application/json"
  6882. ],
  6883. "tags": [
  6884. "定制【海商报业】"
  6885. ],
  6886. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6887. "parameters": [
  6888. {
  6889. "type": "integer",
  6890. "description": "页码",
  6891. "name": "page",
  6892. "in": "query"
  6893. },
  6894. {
  6895. "type": "integer",
  6896. "description": "每页条数",
  6897. "name": "pagesize",
  6898. "in": "query"
  6899. },
  6900. {
  6901. "type": "string",
  6902. "description": "市场ID列表,格式:1,2,3",
  6903. "name": "marketIDs",
  6904. "in": "query",
  6905. "required": true
  6906. },
  6907. {
  6908. "type": "integer",
  6909. "description": "目的地(省)ID",
  6910. "name": "descProvinceID",
  6911. "in": "query"
  6912. },
  6913. {
  6914. "type": "integer",
  6915. "description": "目的地(市)ID",
  6916. "name": "descCityID",
  6917. "in": "query"
  6918. }
  6919. ],
  6920. "responses": {
  6921. "200": {
  6922. "description": "OK",
  6923. "schema": {
  6924. "$ref": "#/definitions/models.HsbyTopGoods"
  6925. }
  6926. },
  6927. "500": {
  6928. "description": "Internal Server Error",
  6929. "schema": {
  6930. "$ref": "#/definitions/app.Response"
  6931. }
  6932. }
  6933. }
  6934. }
  6935. },
  6936. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6937. "get": {
  6938. "security": [
  6939. {
  6940. "ApiKeyAuth": []
  6941. }
  6942. ],
  6943. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6944. "produces": [
  6945. "application/json"
  6946. ],
  6947. "tags": [
  6948. "定制【海商报业】"
  6949. ],
  6950. "summary": "查询游客三级市场(商城)商品信息详情",
  6951. "parameters": [
  6952. {
  6953. "type": "integer",
  6954. "description": "商品ID",
  6955. "name": "goodsID",
  6956. "in": "query",
  6957. "required": true
  6958. }
  6959. ],
  6960. "responses": {
  6961. "200": {
  6962. "description": "OK",
  6963. "schema": {
  6964. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6965. }
  6966. },
  6967. "500": {
  6968. "description": "Internal Server Error",
  6969. "schema": {
  6970. "$ref": "#/definitions/app.Response"
  6971. }
  6972. }
  6973. }
  6974. }
  6975. },
  6976. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6977. "get": {
  6978. "security": [
  6979. {
  6980. "ApiKeyAuth": []
  6981. }
  6982. ],
  6983. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6984. "produces": [
  6985. "application/json"
  6986. ],
  6987. "tags": [
  6988. "定制【海商报业】"
  6989. ],
  6990. "summary": "查询游客特卖商品列表(三级商城)",
  6991. "parameters": [
  6992. {
  6993. "type": "integer",
  6994. "description": "页码",
  6995. "name": "page",
  6996. "in": "query"
  6997. },
  6998. {
  6999. "type": "integer",
  7000. "description": "每页条数",
  7001. "name": "pagesize",
  7002. "in": "query"
  7003. },
  7004. {
  7005. "type": "string",
  7006. "description": "市场ID列表,格式:1,2,3",
  7007. "name": "marketIDs",
  7008. "in": "query",
  7009. "required": true
  7010. },
  7011. {
  7012. "type": "integer",
  7013. "description": "类别ID",
  7014. "name": "categoryID",
  7015. "in": "query"
  7016. },
  7017. {
  7018. "type": "string",
  7019. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  7020. "name": "goodsIDs",
  7021. "in": "query"
  7022. }
  7023. ],
  7024. "responses": {
  7025. "200": {
  7026. "description": "OK",
  7027. "schema": {
  7028. "$ref": "#/definitions/models.HsbyMarketGoods"
  7029. }
  7030. },
  7031. "500": {
  7032. "description": "Internal Server Error",
  7033. "schema": {
  7034. "$ref": "#/definitions/app.Response"
  7035. }
  7036. }
  7037. }
  7038. }
  7039. },
  7040. "/HSBY/QueryMyCollectionOrders": {
  7041. "get": {
  7042. "security": [
  7043. {
  7044. "ApiKeyAuth": []
  7045. }
  7046. ],
  7047. "produces": [
  7048. "application/json"
  7049. ],
  7050. "tags": [
  7051. "定制【海商报业】"
  7052. ],
  7053. "summary": "我的闲置中收款信息查询",
  7054. "parameters": [
  7055. {
  7056. "type": "integer",
  7057. "description": "页码",
  7058. "name": "page",
  7059. "in": "query"
  7060. },
  7061. {
  7062. "type": "integer",
  7063. "description": "每页条数",
  7064. "name": "pagesize",
  7065. "in": "query"
  7066. },
  7067. {
  7068. "type": "string",
  7069. "description": "资金账户,格式:1,2,3",
  7070. "name": "accountIDs",
  7071. "in": "query",
  7072. "required": true
  7073. }
  7074. ],
  7075. "responses": {
  7076. "200": {
  7077. "description": "OK",
  7078. "schema": {
  7079. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  7080. }
  7081. },
  7082. "500": {
  7083. "description": "Internal Server Error",
  7084. "schema": {
  7085. "$ref": "#/definitions/app.Response"
  7086. }
  7087. }
  7088. }
  7089. }
  7090. },
  7091. "/HSBY/QueryMyCouponHolds": {
  7092. "get": {
  7093. "security": [
  7094. {
  7095. "ApiKeyAuth": []
  7096. }
  7097. ],
  7098. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  7099. "produces": [
  7100. "application/json"
  7101. ],
  7102. "tags": [
  7103. "定制【海商报业】"
  7104. ],
  7105. "summary": "我的优惠卷持仓查询",
  7106. "parameters": [
  7107. {
  7108. "type": "string",
  7109. "description": "资金账户列表,格式:1,2,3",
  7110. "name": "accountIDs",
  7111. "in": "query",
  7112. "required": true
  7113. },
  7114. {
  7115. "type": "string",
  7116. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  7117. "name": "holdStatus",
  7118. "in": "query"
  7119. }
  7120. ],
  7121. "responses": {
  7122. "200": {
  7123. "description": "OK",
  7124. "schema": {
  7125. "$ref": "#/definitions/models.MyCouponHold"
  7126. }
  7127. },
  7128. "500": {
  7129. "description": "Internal Server Error",
  7130. "schema": {
  7131. "$ref": "#/definitions/app.Response"
  7132. }
  7133. }
  7134. }
  7135. }
  7136. },
  7137. "/HSBY/QueryMyCoupons": {
  7138. "get": {
  7139. "security": [
  7140. {
  7141. "ApiKeyAuth": []
  7142. }
  7143. ],
  7144. "produces": [
  7145. "application/json"
  7146. ],
  7147. "tags": [
  7148. "定制【海商报业】"
  7149. ],
  7150. "summary": "我的优惠卷查询",
  7151. "parameters": [
  7152. {
  7153. "type": "string",
  7154. "description": "资金账户列表,格式:1,2,3",
  7155. "name": "accountIDs",
  7156. "in": "query",
  7157. "required": true
  7158. },
  7159. {
  7160. "type": "integer",
  7161. "description": "商品ID, 一般与sellUserID配套传入",
  7162. "name": "goodsID",
  7163. "in": "query"
  7164. },
  7165. {
  7166. "type": "integer",
  7167. "description": "卖方UserID",
  7168. "name": "sellUserID",
  7169. "in": "query"
  7170. }
  7171. ],
  7172. "responses": {
  7173. "200": {
  7174. "description": "OK",
  7175. "schema": {
  7176. "$ref": "#/definitions/models.MyCoupon"
  7177. }
  7178. },
  7179. "500": {
  7180. "description": "Internal Server Error",
  7181. "schema": {
  7182. "$ref": "#/definitions/app.Response"
  7183. }
  7184. }
  7185. }
  7186. }
  7187. },
  7188. "/HSBY/QueryMyPayOrders": {
  7189. "get": {
  7190. "security": [
  7191. {
  7192. "ApiKeyAuth": []
  7193. }
  7194. ],
  7195. "produces": [
  7196. "application/json"
  7197. ],
  7198. "tags": [
  7199. "定制【海商报业】"
  7200. ],
  7201. "summary": "获取我的订单中待付款信息",
  7202. "parameters": [
  7203. {
  7204. "type": "integer",
  7205. "description": "页码",
  7206. "name": "page",
  7207. "in": "query"
  7208. },
  7209. {
  7210. "type": "integer",
  7211. "description": "每页条数",
  7212. "name": "pagesize",
  7213. "in": "query"
  7214. },
  7215. {
  7216. "type": "string",
  7217. "description": "资金账户列表,格式:1,2,3",
  7218. "name": "accountIDs",
  7219. "in": "query",
  7220. "required": true
  7221. },
  7222. {
  7223. "type": "integer",
  7224. "description": "买方委托单号",
  7225. "name": "buyOrderID",
  7226. "in": "query"
  7227. },
  7228. {
  7229. "type": "integer",
  7230. "description": "卖方委托单号",
  7231. "name": "sellOrderID",
  7232. "in": "query"
  7233. }
  7234. ],
  7235. "responses": {
  7236. "200": {
  7237. "description": "OK",
  7238. "schema": {
  7239. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7240. }
  7241. },
  7242. "500": {
  7243. "description": "Internal Server Error",
  7244. "schema": {
  7245. "$ref": "#/definitions/app.Response"
  7246. }
  7247. }
  7248. }
  7249. }
  7250. },
  7251. "/HSBY/QueryMyUsedCoupon": {
  7252. "get": {
  7253. "security": [
  7254. {
  7255. "ApiKeyAuth": []
  7256. }
  7257. ],
  7258. "produces": [
  7259. "application/json"
  7260. ],
  7261. "tags": [
  7262. "定制【海商报业】"
  7263. ],
  7264. "summary": "已使用优惠卷查询",
  7265. "parameters": [
  7266. {
  7267. "type": "string",
  7268. "description": "资金账户列表,格式:1,2,3",
  7269. "name": "accountIDs",
  7270. "in": "query",
  7271. "required": true
  7272. }
  7273. ],
  7274. "responses": {
  7275. "200": {
  7276. "description": "OK",
  7277. "schema": {
  7278. "$ref": "#/definitions/models.MyUsedCoupon"
  7279. }
  7280. },
  7281. "500": {
  7282. "description": "Internal Server Error",
  7283. "schema": {
  7284. "$ref": "#/definitions/app.Response"
  7285. }
  7286. }
  7287. }
  7288. }
  7289. },
  7290. "/HSBY/QueryProvincesAndCities": {
  7291. "get": {
  7292. "security": [
  7293. {
  7294. "ApiKeyAuth": []
  7295. }
  7296. ],
  7297. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7298. "produces": [
  7299. "application/json"
  7300. ],
  7301. "tags": [
  7302. "定制【海商报业】"
  7303. ],
  7304. "summary": "查询省市信息(不包括区)",
  7305. "parameters": [
  7306. {
  7307. "type": "integer",
  7308. "description": "省ID",
  7309. "name": "provinceID",
  7310. "in": "query"
  7311. }
  7312. ],
  7313. "responses": {
  7314. "200": {
  7315. "description": "OK",
  7316. "schema": {
  7317. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7318. }
  7319. },
  7320. "500": {
  7321. "description": "Internal Server Error",
  7322. "schema": {
  7323. "$ref": "#/definitions/app.Response"
  7324. }
  7325. }
  7326. }
  7327. }
  7328. },
  7329. "/HSBY/SetHsbyMyPackagesStatus": {
  7330. "post": {
  7331. "security": [
  7332. {
  7333. "ApiKeyAuth": []
  7334. }
  7335. ],
  7336. "produces": [
  7337. "application/json"
  7338. ],
  7339. "tags": [
  7340. "定制【海商报业】"
  7341. ],
  7342. "summary": "设置我的包裹已收货状态",
  7343. "parameters": [
  7344. {
  7345. "type": "string",
  7346. "description": "提货单号",
  7347. "name": "takeOrderID",
  7348. "in": "query",
  7349. "required": true
  7350. },
  7351. {
  7352. "type": "integer",
  7353. "description": "资金账号",
  7354. "name": "accountID",
  7355. "in": "query",
  7356. "required": true
  7357. }
  7358. ],
  7359. "responses": {
  7360. "200": {
  7361. "description": "OK",
  7362. "schema": {
  7363. "$ref": "#/definitions/app.Response"
  7364. }
  7365. },
  7366. "500": {
  7367. "description": "Internal Server Error",
  7368. "schema": {
  7369. "$ref": "#/definitions/app.Response"
  7370. }
  7371. }
  7372. }
  7373. }
  7374. },
  7375. "/Market/GetAllExExchanges": {
  7376. "get": {
  7377. "security": [
  7378. {
  7379. "ApiKeyAuth": []
  7380. }
  7381. ],
  7382. "produces": [
  7383. "application/json"
  7384. ],
  7385. "tags": [
  7386. "通用市场"
  7387. ],
  7388. "summary": "获取所有外部交易所信息",
  7389. "responses": {
  7390. "200": {
  7391. "description": "OK",
  7392. "schema": {
  7393. "$ref": "#/definitions/models.Goods"
  7394. }
  7395. },
  7396. "500": {
  7397. "description": "Internal Server Error",
  7398. "schema": {
  7399. "$ref": "#/definitions/app.Response"
  7400. }
  7401. }
  7402. }
  7403. }
  7404. },
  7405. "/Market/QueryGoodsesByLoginID": {
  7406. "get": {
  7407. "security": [
  7408. {
  7409. "ApiKeyAuth": []
  7410. }
  7411. ],
  7412. "produces": [
  7413. "application/json"
  7414. ],
  7415. "tags": [
  7416. "通用市场"
  7417. ],
  7418. "summary": "获取登录账号有权限的商品信息",
  7419. "parameters": [
  7420. {
  7421. "type": "integer",
  7422. "description": "登录账号",
  7423. "name": "loginID",
  7424. "in": "query",
  7425. "required": true
  7426. },
  7427. {
  7428. "type": "string",
  7429. "description": "市场ID列表,格式:1,2,3",
  7430. "name": "marketIDs",
  7431. "in": "query"
  7432. }
  7433. ],
  7434. "responses": {
  7435. "200": {
  7436. "description": "OK",
  7437. "schema": {
  7438. "$ref": "#/definitions/models.Goods"
  7439. }
  7440. },
  7441. "500": {
  7442. "description": "Internal Server Error",
  7443. "schema": {
  7444. "$ref": "#/definitions/app.Response"
  7445. }
  7446. }
  7447. }
  7448. }
  7449. },
  7450. "/Market/QueryMarketRun": {
  7451. "get": {
  7452. "security": [
  7453. {
  7454. "ApiKeyAuth": []
  7455. }
  7456. ],
  7457. "produces": [
  7458. "application/json"
  7459. ],
  7460. "tags": [
  7461. "通用市场"
  7462. ],
  7463. "summary": "查询市场运行信息",
  7464. "parameters": [
  7465. {
  7466. "type": "integer",
  7467. "description": "市场ID,不传返回所有",
  7468. "name": "marketID",
  7469. "in": "query"
  7470. }
  7471. ],
  7472. "responses": {
  7473. "200": {
  7474. "description": "OK",
  7475. "schema": {
  7476. "$ref": "#/definitions/models.Marketrun"
  7477. }
  7478. },
  7479. "500": {
  7480. "description": "Internal Server Error",
  7481. "schema": {
  7482. "$ref": "#/definitions/app.Response"
  7483. }
  7484. }
  7485. }
  7486. }
  7487. },
  7488. "/Market/QueryMarketsByLoginID": {
  7489. "get": {
  7490. "security": [
  7491. {
  7492. "ApiKeyAuth": []
  7493. }
  7494. ],
  7495. "produces": [
  7496. "application/json"
  7497. ],
  7498. "tags": [
  7499. "通用市场"
  7500. ],
  7501. "summary": "获取登录账号有权限的市场信息",
  7502. "parameters": [
  7503. {
  7504. "type": "integer",
  7505. "description": "登录账号",
  7506. "name": "loginID",
  7507. "in": "query",
  7508. "required": true
  7509. }
  7510. ],
  7511. "responses": {
  7512. "200": {
  7513. "description": "OK",
  7514. "schema": {
  7515. "$ref": "#/definitions/models.Market"
  7516. }
  7517. },
  7518. "500": {
  7519. "description": "Internal Server Error",
  7520. "schema": {
  7521. "$ref": "#/definitions/app.Response"
  7522. }
  7523. }
  7524. }
  7525. }
  7526. },
  7527. "/Order/QueryHisTradeDetail": {
  7528. "get": {
  7529. "security": [
  7530. {
  7531. "ApiKeyAuth": []
  7532. }
  7533. ],
  7534. "produces": [
  7535. "application/json"
  7536. ],
  7537. "tags": [
  7538. "通用单据"
  7539. ],
  7540. "summary": "历史成交单查询(合约市场)",
  7541. "parameters": [
  7542. {
  7543. "type": "string",
  7544. "description": "资金账户 - 格式:1,2,3",
  7545. "name": "accountID",
  7546. "in": "query",
  7547. "required": true
  7548. },
  7549. {
  7550. "type": "integer",
  7551. "description": "成交单号",
  7552. "name": "tradeID",
  7553. "in": "query"
  7554. },
  7555. {
  7556. "type": "integer",
  7557. "description": "委托单号",
  7558. "name": "orderID",
  7559. "in": "query"
  7560. },
  7561. {
  7562. "type": "integer",
  7563. "description": "商品ID",
  7564. "name": "goodsID",
  7565. "in": "query"
  7566. },
  7567. {
  7568. "type": "string",
  7569. "description": "交易模式 - 格式:1,2,3",
  7570. "name": "tradeMode",
  7571. "in": "query"
  7572. },
  7573. {
  7574. "type": "integer",
  7575. "description": "委托单据类型",
  7576. "name": "buildType",
  7577. "in": "query"
  7578. },
  7579. {
  7580. "type": "string",
  7581. "description": "成交类别 - 格式:1,2,3",
  7582. "name": "tradeType",
  7583. "in": "query"
  7584. },
  7585. {
  7586. "type": "string",
  7587. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7588. "name": "startDate",
  7589. "in": "query"
  7590. },
  7591. {
  7592. "type": "string",
  7593. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7594. "name": "endDate",
  7595. "in": "query"
  7596. }
  7597. ],
  7598. "responses": {
  7599. "200": {
  7600. "description": "OK",
  7601. "schema": {
  7602. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7603. }
  7604. },
  7605. "500": {
  7606. "description": "Internal Server Error",
  7607. "schema": {
  7608. "$ref": "#/definitions/app.Response"
  7609. }
  7610. }
  7611. }
  7612. }
  7613. },
  7614. "/Order/QueryHisTradeOrderDetail": {
  7615. "get": {
  7616. "security": [
  7617. {
  7618. "ApiKeyAuth": []
  7619. }
  7620. ],
  7621. "produces": [
  7622. "application/json"
  7623. ],
  7624. "tags": [
  7625. "通用单据"
  7626. ],
  7627. "summary": "历史委托单查询请求(合约市场)",
  7628. "parameters": [
  7629. {
  7630. "type": "string",
  7631. "description": "资金账户 - 格式:1,2,3",
  7632. "name": "accountID",
  7633. "in": "query",
  7634. "required": true
  7635. },
  7636. {
  7637. "type": "string",
  7638. "description": "交易模式 - 格式:1,2,3",
  7639. "name": "tradeMode",
  7640. "in": "query"
  7641. },
  7642. {
  7643. "type": "string",
  7644. "description": "委托状态 - 格式:1,2,3",
  7645. "name": "orderStatus",
  7646. "in": "query"
  7647. },
  7648. {
  7649. "type": "integer",
  7650. "description": "委托单号",
  7651. "name": "orderID",
  7652. "in": "query"
  7653. },
  7654. {
  7655. "type": "string",
  7656. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7657. "name": "startDate",
  7658. "in": "query"
  7659. },
  7660. {
  7661. "type": "string",
  7662. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7663. "name": "endDate",
  7664. "in": "query"
  7665. }
  7666. ],
  7667. "responses": {
  7668. "200": {
  7669. "description": "OK",
  7670. "schema": {
  7671. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7672. }
  7673. },
  7674. "500": {
  7675. "description": "Internal Server Error",
  7676. "schema": {
  7677. "$ref": "#/definitions/app.Response"
  7678. }
  7679. }
  7680. }
  7681. }
  7682. },
  7683. "/Order/QueryTradeDetail": {
  7684. "get": {
  7685. "security": [
  7686. {
  7687. "ApiKeyAuth": []
  7688. }
  7689. ],
  7690. "produces": [
  7691. "application/json"
  7692. ],
  7693. "tags": [
  7694. "通用单据"
  7695. ],
  7696. "summary": "成交单查询(合约市场)",
  7697. "parameters": [
  7698. {
  7699. "type": "string",
  7700. "description": "资金账户 - 格式:1,2,3",
  7701. "name": "accountID",
  7702. "in": "query",
  7703. "required": true
  7704. },
  7705. {
  7706. "type": "integer",
  7707. "description": "成交单号",
  7708. "name": "tradeID",
  7709. "in": "query"
  7710. },
  7711. {
  7712. "type": "integer",
  7713. "description": "委托单号",
  7714. "name": "orderID",
  7715. "in": "query"
  7716. },
  7717. {
  7718. "type": "string",
  7719. "description": "交易模式 - 格式:1,2,3",
  7720. "name": "tradeMode",
  7721. "in": "query"
  7722. },
  7723. {
  7724. "type": "integer",
  7725. "description": "委托单据类型",
  7726. "name": "buildType",
  7727. "in": "query"
  7728. },
  7729. {
  7730. "type": "string",
  7731. "description": "成交类别 - 格式:1,2,3",
  7732. "name": "tradeType",
  7733. "in": "query"
  7734. },
  7735. {
  7736. "type": "integer",
  7737. "description": "商品ID",
  7738. "name": "goodsID",
  7739. "in": "query"
  7740. }
  7741. ],
  7742. "responses": {
  7743. "200": {
  7744. "description": "OK",
  7745. "schema": {
  7746. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7747. }
  7748. },
  7749. "500": {
  7750. "description": "Internal Server Error",
  7751. "schema": {
  7752. "$ref": "#/definitions/app.Response"
  7753. }
  7754. }
  7755. }
  7756. }
  7757. },
  7758. "/Order/QueryTradeHolderDetail": {
  7759. "get": {
  7760. "security": [
  7761. {
  7762. "ApiKeyAuth": []
  7763. }
  7764. ],
  7765. "produces": [
  7766. "application/json"
  7767. ],
  7768. "tags": [
  7769. "通用单据"
  7770. ],
  7771. "summary": "查询持仓明细",
  7772. "parameters": [
  7773. {
  7774. "type": "integer",
  7775. "description": "用户id",
  7776. "name": "userid",
  7777. "in": "query"
  7778. },
  7779. {
  7780. "type": "string",
  7781. "description": "资金账号, 格式 1,2,3",
  7782. "name": "accids",
  7783. "in": "query"
  7784. },
  7785. {
  7786. "type": "string",
  7787. "description": "交易模式, 格式 1,2,3",
  7788. "name": "trademodes",
  7789. "in": "query"
  7790. },
  7791. {
  7792. "type": "string",
  7793. "description": "市场id, 格式 1,2,3",
  7794. "name": "marketids",
  7795. "in": "query"
  7796. },
  7797. {
  7798. "type": "integer",
  7799. "description": "商品id",
  7800. "name": "goodsid",
  7801. "in": "query"
  7802. },
  7803. {
  7804. "type": "integer",
  7805. "description": "买卖方向 0-买 1-卖",
  7806. "name": "buyorsell",
  7807. "in": "query"
  7808. }
  7809. ],
  7810. "responses": {
  7811. "200": {
  7812. "description": "OK",
  7813. "schema": {
  7814. "type": "array",
  7815. "items": {
  7816. "$ref": "#/definitions/models.TradeHolderDetail"
  7817. }
  7818. }
  7819. },
  7820. "500": {
  7821. "description": "Internal Server Error",
  7822. "schema": {
  7823. "$ref": "#/definitions/app.Response"
  7824. }
  7825. }
  7826. }
  7827. }
  7828. },
  7829. "/Order/QueryTradeOrderDetail": {
  7830. "get": {
  7831. "security": [
  7832. {
  7833. "ApiKeyAuth": []
  7834. }
  7835. ],
  7836. "produces": [
  7837. "application/json"
  7838. ],
  7839. "tags": [
  7840. "通用单据"
  7841. ],
  7842. "summary": "委托单查询请求(合约市场)",
  7843. "parameters": [
  7844. {
  7845. "type": "string",
  7846. "description": "资金账户 - 格式:1,2,3",
  7847. "name": "accountID",
  7848. "in": "query",
  7849. "required": true
  7850. },
  7851. {
  7852. "type": "string",
  7853. "description": "交易模式 - 格式:1,2,3",
  7854. "name": "tradeMode",
  7855. "in": "query"
  7856. },
  7857. {
  7858. "type": "string",
  7859. "description": "委托状态 - 格式:1,2,3",
  7860. "name": "orderStatus",
  7861. "in": "query"
  7862. },
  7863. {
  7864. "type": "integer",
  7865. "description": "委托单号",
  7866. "name": "orderID",
  7867. "in": "query"
  7868. }
  7869. ],
  7870. "responses": {
  7871. "200": {
  7872. "description": "OK",
  7873. "schema": {
  7874. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7875. }
  7876. },
  7877. "500": {
  7878. "description": "Internal Server Error",
  7879. "schema": {
  7880. "$ref": "#/definitions/app.Response"
  7881. }
  7882. }
  7883. }
  7884. }
  7885. },
  7886. "/Order/QueryTradePosition": {
  7887. "get": {
  7888. "security": [
  7889. {
  7890. "ApiKeyAuth": []
  7891. }
  7892. ],
  7893. "produces": [
  7894. "application/json"
  7895. ],
  7896. "tags": [
  7897. "通用单据"
  7898. ],
  7899. "summary": "持仓汇总查询(合约市场)",
  7900. "parameters": [
  7901. {
  7902. "type": "string",
  7903. "description": "资金账户 - 格式:1,2,3",
  7904. "name": "accountID",
  7905. "in": "query",
  7906. "required": true
  7907. },
  7908. {
  7909. "type": "string",
  7910. "description": "交易模式 - 格式:1,2,3",
  7911. "name": "tradeMode",
  7912. "in": "query"
  7913. }
  7914. ],
  7915. "responses": {
  7916. "200": {
  7917. "description": "OK",
  7918. "schema": {
  7919. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7920. }
  7921. },
  7922. "500": {
  7923. "description": "Internal Server Error",
  7924. "schema": {
  7925. "$ref": "#/definitions/app.Response"
  7926. }
  7927. }
  7928. }
  7929. }
  7930. },
  7931. "/Qhj/QueryAccountInOutApply": {
  7932. "get": {
  7933. "security": [
  7934. {
  7935. "ApiKeyAuth": []
  7936. }
  7937. ],
  7938. "produces": [
  7939. "application/json"
  7940. ],
  7941. "tags": [
  7942. "大连千海金"
  7943. ],
  7944. "summary": "查询充值提现",
  7945. "parameters": [
  7946. {
  7947. "type": "integer",
  7948. "description": "用户ID",
  7949. "name": "userid",
  7950. "in": "query",
  7951. "required": true
  7952. },
  7953. {
  7954. "type": "string",
  7955. "description": "申请起始日期(格式yyyymmdd)",
  7956. "name": "begindate",
  7957. "in": "query"
  7958. },
  7959. {
  7960. "type": "string",
  7961. "description": "申请截止日期(格式yyyymmdd)",
  7962. "name": "enddate",
  7963. "in": "query"
  7964. },
  7965. {
  7966. "type": "string",
  7967. "description": "模糊搜索名称",
  7968. "name": "likename",
  7969. "in": "query"
  7970. }
  7971. ],
  7972. "responses": {
  7973. "200": {
  7974. "description": "OK",
  7975. "schema": {
  7976. "type": "array",
  7977. "items": {
  7978. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7979. }
  7980. }
  7981. },
  7982. "500": {
  7983. "description": "Internal Server Error",
  7984. "schema": {
  7985. "$ref": "#/definitions/app.Response"
  7986. }
  7987. }
  7988. }
  7989. }
  7990. },
  7991. "/Qhj/QueryAreaFinanceConfig": {
  7992. "get": {
  7993. "security": [
  7994. {
  7995. "ApiKeyAuth": []
  7996. }
  7997. ],
  7998. "produces": [
  7999. "application/json"
  8000. ],
  8001. "tags": [
  8002. "大连千海金"
  8003. ],
  8004. "summary": "查询企业配置表",
  8005. "parameters": [
  8006. {
  8007. "type": "integer",
  8008. "description": "机构用户ID 其他做市关系,都设置为 1",
  8009. "name": "userid",
  8010. "in": "query"
  8011. }
  8012. ],
  8013. "responses": {
  8014. "200": {
  8015. "description": "OK",
  8016. "schema": {
  8017. "type": "array",
  8018. "items": {
  8019. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  8020. }
  8021. }
  8022. },
  8023. "500": {
  8024. "description": "Internal Server Error",
  8025. "schema": {
  8026. "$ref": "#/definitions/app.Response"
  8027. }
  8028. }
  8029. }
  8030. }
  8031. },
  8032. "/Qhj/QueryBankAccountSign": {
  8033. "get": {
  8034. "security": [
  8035. {
  8036. "ApiKeyAuth": []
  8037. }
  8038. ],
  8039. "produces": [
  8040. "application/json"
  8041. ],
  8042. "tags": [
  8043. "大连千海金"
  8044. ],
  8045. "summary": "查询签约银行信息(提现账户管理)",
  8046. "parameters": [
  8047. {
  8048. "type": "integer",
  8049. "description": "用户ID",
  8050. "name": "userid",
  8051. "in": "query",
  8052. "required": true
  8053. }
  8054. ],
  8055. "responses": {
  8056. "200": {
  8057. "description": "OK",
  8058. "schema": {
  8059. "type": "array",
  8060. "items": {
  8061. "$ref": "#/definitions/models.QhjBankAccountSign"
  8062. }
  8063. }
  8064. },
  8065. "500": {
  8066. "description": "Internal Server Error",
  8067. "schema": {
  8068. "$ref": "#/definitions/app.Response"
  8069. }
  8070. }
  8071. }
  8072. }
  8073. },
  8074. "/Qhj/QueryBankInfo": {
  8075. "get": {
  8076. "security": [
  8077. {
  8078. "ApiKeyAuth": []
  8079. }
  8080. ],
  8081. "produces": [
  8082. "application/json"
  8083. ],
  8084. "tags": [
  8085. "大连千海金"
  8086. ],
  8087. "summary": "查询开户行",
  8088. "responses": {
  8089. "200": {
  8090. "description": "OK",
  8091. "schema": {
  8092. "type": "array",
  8093. "items": {
  8094. "$ref": "#/definitions/models.QhjBankInfo"
  8095. }
  8096. }
  8097. },
  8098. "500": {
  8099. "description": "Internal Server Error",
  8100. "schema": {
  8101. "$ref": "#/definitions/app.Response"
  8102. }
  8103. }
  8104. }
  8105. }
  8106. },
  8107. "/Qhj/QueryBrokerApply": {
  8108. "get": {
  8109. "security": [
  8110. {
  8111. "ApiKeyAuth": []
  8112. }
  8113. ],
  8114. "produces": [
  8115. "application/json"
  8116. ],
  8117. "tags": [
  8118. "大连千海金"
  8119. ],
  8120. "summary": "查询经纪人申请",
  8121. "parameters": [
  8122. {
  8123. "type": "integer",
  8124. "description": "所属机构ID",
  8125. "name": "userid",
  8126. "in": "query"
  8127. },
  8128. {
  8129. "type": "string",
  8130. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8131. "name": "filterstatus",
  8132. "in": "query"
  8133. }
  8134. ],
  8135. "responses": {
  8136. "200": {
  8137. "description": "OK",
  8138. "schema": {
  8139. "type": "array",
  8140. "items": {
  8141. "$ref": "#/definitions/models.QhjBrokerApply"
  8142. }
  8143. }
  8144. },
  8145. "500": {
  8146. "description": "Internal Server Error",
  8147. "schema": {
  8148. "$ref": "#/definitions/app.Response"
  8149. }
  8150. }
  8151. }
  8152. }
  8153. },
  8154. "/Qhj/QueryBrokerApplyEx": {
  8155. "get": {
  8156. "security": [
  8157. {
  8158. "ApiKeyAuth": []
  8159. }
  8160. ],
  8161. "produces": [
  8162. "application/json"
  8163. ],
  8164. "tags": [
  8165. "大连千海金"
  8166. ],
  8167. "summary": "查询经纪人信息和申请记录",
  8168. "parameters": [
  8169. {
  8170. "type": "integer",
  8171. "description": "所属机构ID",
  8172. "name": "userid",
  8173. "in": "query"
  8174. }
  8175. ],
  8176. "responses": {
  8177. "200": {
  8178. "description": "OK",
  8179. "schema": {
  8180. "type": "array",
  8181. "items": {
  8182. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  8183. }
  8184. }
  8185. },
  8186. "500": {
  8187. "description": "Internal Server Error",
  8188. "schema": {
  8189. "$ref": "#/definitions/app.Response"
  8190. }
  8191. }
  8192. }
  8193. }
  8194. },
  8195. "/Qhj/QueryBrokerRewardLog": {
  8196. "get": {
  8197. "security": [
  8198. {
  8199. "ApiKeyAuth": []
  8200. }
  8201. ],
  8202. "produces": [
  8203. "application/json"
  8204. ],
  8205. "tags": [
  8206. "大连千海金"
  8207. ],
  8208. "summary": "查询奖励流水(我的奖励)",
  8209. "parameters": [
  8210. {
  8211. "type": "integer",
  8212. "description": "用户ID",
  8213. "name": "userid",
  8214. "in": "query",
  8215. "required": true
  8216. },
  8217. {
  8218. "type": "string",
  8219. "description": "开始交易日(yyyymmdd)",
  8220. "name": "begindate",
  8221. "in": "query"
  8222. },
  8223. {
  8224. "type": "string",
  8225. "description": "结束交易日(yyyymmdd)",
  8226. "name": "enddate",
  8227. "in": "query"
  8228. }
  8229. ],
  8230. "responses": {
  8231. "200": {
  8232. "description": "OK",
  8233. "schema": {
  8234. "type": "array",
  8235. "items": {
  8236. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  8237. }
  8238. }
  8239. },
  8240. "500": {
  8241. "description": "Internal Server Error",
  8242. "schema": {
  8243. "$ref": "#/definitions/app.Response"
  8244. }
  8245. }
  8246. }
  8247. }
  8248. },
  8249. "/Qhj/QueryContract": {
  8250. "get": {
  8251. "security": [
  8252. {
  8253. "ApiKeyAuth": []
  8254. }
  8255. ],
  8256. "produces": [
  8257. "application/json"
  8258. ],
  8259. "tags": [
  8260. "大连千海金"
  8261. ],
  8262. "summary": "查询融资明细(合同)",
  8263. "parameters": [
  8264. {
  8265. "type": "integer",
  8266. "description": "用户ID",
  8267. "name": "userid",
  8268. "in": "query"
  8269. },
  8270. {
  8271. "type": "integer",
  8272. "description": "scf合同id",
  8273. "name": "scfcontractid",
  8274. "in": "query"
  8275. }
  8276. ],
  8277. "responses": {
  8278. "200": {
  8279. "description": "OK",
  8280. "schema": {
  8281. "type": "array",
  8282. "items": {
  8283. "$ref": "#/definitions/models.QhjContract"
  8284. }
  8285. }
  8286. },
  8287. "500": {
  8288. "description": "Internal Server Error",
  8289. "schema": {
  8290. "$ref": "#/definitions/app.Response"
  8291. }
  8292. }
  8293. }
  8294. }
  8295. },
  8296. "/Qhj/QueryContractLog": {
  8297. "get": {
  8298. "security": [
  8299. {
  8300. "ApiKeyAuth": []
  8301. }
  8302. ],
  8303. "produces": [
  8304. "application/json"
  8305. ],
  8306. "tags": [
  8307. "大连千海金"
  8308. ],
  8309. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  8310. "parameters": [
  8311. {
  8312. "type": "integer",
  8313. "description": "scf合同id",
  8314. "name": "scfcontractid",
  8315. "in": "query",
  8316. "required": true
  8317. },
  8318. {
  8319. "type": "string",
  8320. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  8321. "name": "amounttype",
  8322. "in": "query"
  8323. }
  8324. ],
  8325. "responses": {
  8326. "200": {
  8327. "description": "OK",
  8328. "schema": {
  8329. "type": "array",
  8330. "items": {
  8331. "$ref": "#/definitions/models.QhjContractLog"
  8332. }
  8333. }
  8334. },
  8335. "500": {
  8336. "description": "Internal Server Error",
  8337. "schema": {
  8338. "$ref": "#/definitions/app.Response"
  8339. }
  8340. }
  8341. }
  8342. }
  8343. },
  8344. "/Qhj/QueryCusBankSignBank": {
  8345. "get": {
  8346. "security": [
  8347. {
  8348. "ApiKeyAuth": []
  8349. }
  8350. ],
  8351. "produces": [
  8352. "application/json"
  8353. ],
  8354. "tags": [
  8355. "大连千海金"
  8356. ],
  8357. "summary": "查询托管银行",
  8358. "responses": {
  8359. "200": {
  8360. "description": "OK",
  8361. "schema": {
  8362. "type": "array",
  8363. "items": {
  8364. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  8365. }
  8366. }
  8367. },
  8368. "500": {
  8369. "description": "Internal Server Error",
  8370. "schema": {
  8371. "$ref": "#/definitions/app.Response"
  8372. }
  8373. }
  8374. }
  8375. }
  8376. },
  8377. "/Qhj/QueryCustomerInfo": {
  8378. "get": {
  8379. "security": [
  8380. {
  8381. "ApiKeyAuth": []
  8382. }
  8383. ],
  8384. "produces": [
  8385. "application/json"
  8386. ],
  8387. "tags": [
  8388. "大连千海金"
  8389. ],
  8390. "summary": "查询客户资料",
  8391. "parameters": [
  8392. {
  8393. "type": "integer",
  8394. "description": "用户ID",
  8395. "name": "userid",
  8396. "in": "query",
  8397. "required": true
  8398. },
  8399. {
  8400. "type": "integer",
  8401. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8402. "name": "querytype",
  8403. "in": "query",
  8404. "required": true
  8405. },
  8406. {
  8407. "type": "integer",
  8408. "description": "客户类型 1-个人 2-企业",
  8409. "name": "userinfotype",
  8410. "in": "query"
  8411. },
  8412. {
  8413. "type": "string",
  8414. "description": "客户名称(模糊匹配)",
  8415. "name": "customername",
  8416. "in": "query"
  8417. },
  8418. {
  8419. "type": "string",
  8420. "description": "昵称(模糊匹配)",
  8421. "name": "nickname",
  8422. "in": "query"
  8423. },
  8424. {
  8425. "type": "integer",
  8426. "description": "是否包含子级 1-包含",
  8427. "name": "includesub",
  8428. "in": "query"
  8429. }
  8430. ],
  8431. "responses": {
  8432. "200": {
  8433. "description": "OK",
  8434. "schema": {
  8435. "type": "array",
  8436. "items": {
  8437. "$ref": "#/definitions/models.QhjCustomer"
  8438. }
  8439. }
  8440. },
  8441. "500": {
  8442. "description": "Internal Server Error",
  8443. "schema": {
  8444. "$ref": "#/definitions/app.Response"
  8445. }
  8446. }
  8447. }
  8448. }
  8449. },
  8450. "/Qhj/QueryGoodsEx": {
  8451. "get": {
  8452. "security": [
  8453. {
  8454. "ApiKeyAuth": []
  8455. }
  8456. ],
  8457. "produces": [
  8458. "application/json"
  8459. ],
  8460. "tags": [
  8461. "大连千海金"
  8462. ],
  8463. "summary": "交易商品扩展表",
  8464. "parameters": [
  8465. {
  8466. "type": "integer",
  8467. "description": "商品id",
  8468. "name": "goodsid",
  8469. "in": "query"
  8470. }
  8471. ],
  8472. "responses": {
  8473. "200": {
  8474. "description": "OK",
  8475. "schema": {
  8476. "type": "array",
  8477. "items": {
  8478. "$ref": "#/definitions/models.Qhjgoodsex"
  8479. }
  8480. }
  8481. },
  8482. "500": {
  8483. "description": "Internal Server Error",
  8484. "schema": {
  8485. "$ref": "#/definitions/app.Response"
  8486. }
  8487. }
  8488. }
  8489. }
  8490. },
  8491. "/Qhj/QueryMyTeam": {
  8492. "get": {
  8493. "security": [
  8494. {
  8495. "ApiKeyAuth": []
  8496. }
  8497. ],
  8498. "produces": [
  8499. "application/json"
  8500. ],
  8501. "tags": [
  8502. "大连千海金"
  8503. ],
  8504. "summary": "查询我的团队",
  8505. "parameters": [
  8506. {
  8507. "type": "integer",
  8508. "description": "用户ID",
  8509. "name": "userid",
  8510. "in": "query",
  8511. "required": true
  8512. }
  8513. ],
  8514. "responses": {
  8515. "200": {
  8516. "description": "OK",
  8517. "schema": {
  8518. "type": "array",
  8519. "items": {
  8520. "$ref": "#/definitions/models.QhjMyTeamEx"
  8521. }
  8522. }
  8523. },
  8524. "500": {
  8525. "description": "Internal Server Error",
  8526. "schema": {
  8527. "$ref": "#/definitions/app.Response"
  8528. }
  8529. }
  8530. }
  8531. }
  8532. },
  8533. "/Qhj/QueryMyTeamOrder": {
  8534. "get": {
  8535. "security": [
  8536. {
  8537. "ApiKeyAuth": []
  8538. }
  8539. ],
  8540. "produces": [
  8541. "application/json"
  8542. ],
  8543. "tags": [
  8544. "大连千海金"
  8545. ],
  8546. "summary": "查询团队订单(我的团队/团队订单)",
  8547. "parameters": [
  8548. {
  8549. "type": "integer",
  8550. "description": "页码",
  8551. "name": "page",
  8552. "in": "query"
  8553. },
  8554. {
  8555. "type": "integer",
  8556. "description": "每页条数",
  8557. "name": "pagesize",
  8558. "in": "query"
  8559. },
  8560. {
  8561. "type": "integer",
  8562. "description": "用户ID",
  8563. "name": "userid",
  8564. "in": "query",
  8565. "required": true
  8566. },
  8567. {
  8568. "type": "integer",
  8569. "description": "交易模式",
  8570. "name": "trademode",
  8571. "in": "query"
  8572. },
  8573. {
  8574. "type": "string",
  8575. "description": "名称(模糊搜索账户)",
  8576. "name": "filtername",
  8577. "in": "query"
  8578. }
  8579. ],
  8580. "responses": {
  8581. "200": {
  8582. "description": "OK",
  8583. "schema": {
  8584. "type": "array",
  8585. "items": {
  8586. "$ref": "#/definitions/models.QhjTeamOrder"
  8587. }
  8588. }
  8589. },
  8590. "500": {
  8591. "description": "Internal Server Error",
  8592. "schema": {
  8593. "$ref": "#/definitions/app.Response"
  8594. }
  8595. }
  8596. }
  8597. }
  8598. },
  8599. "/Qhj/QueryParentAreaList": {
  8600. "get": {
  8601. "security": [
  8602. {
  8603. "ApiKeyAuth": []
  8604. }
  8605. ],
  8606. "produces": [
  8607. "application/json"
  8608. ],
  8609. "tags": [
  8610. "大连千海金"
  8611. ],
  8612. "summary": "查询所属机构列表",
  8613. "parameters": [
  8614. {
  8615. "type": "integer",
  8616. "description": "用户ID",
  8617. "name": "userid",
  8618. "in": "query",
  8619. "required": true
  8620. }
  8621. ],
  8622. "responses": {
  8623. "200": {
  8624. "description": "OK",
  8625. "schema": {
  8626. "type": "array",
  8627. "items": {
  8628. "$ref": "#/definitions/models.QhjParentAreaList"
  8629. }
  8630. }
  8631. },
  8632. "500": {
  8633. "description": "Internal Server Error",
  8634. "schema": {
  8635. "$ref": "#/definitions/app.Response"
  8636. }
  8637. }
  8638. }
  8639. }
  8640. },
  8641. "/Qhj/QueryPayOrder": {
  8642. "get": {
  8643. "security": [
  8644. {
  8645. "ApiKeyAuth": []
  8646. }
  8647. ],
  8648. "produces": [
  8649. "application/json"
  8650. ],
  8651. "tags": [
  8652. "大连千海金"
  8653. ],
  8654. "summary": "查询待付款单据",
  8655. "parameters": [
  8656. {
  8657. "type": "integer",
  8658. "description": "资金账号id",
  8659. "name": "accountid",
  8660. "in": "query",
  8661. "required": true
  8662. },
  8663. {
  8664. "type": "integer",
  8665. "description": "成交单号",
  8666. "name": "tradeid",
  8667. "in": "query"
  8668. },
  8669. {
  8670. "type": "string",
  8671. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8672. "name": "payflag",
  8673. "in": "query"
  8674. }
  8675. ],
  8676. "responses": {
  8677. "200": {
  8678. "description": "OK",
  8679. "schema": {
  8680. "type": "array",
  8681. "items": {
  8682. "$ref": "#/definitions/models.QhjPayOrder"
  8683. }
  8684. }
  8685. },
  8686. "500": {
  8687. "description": "Internal Server Error",
  8688. "schema": {
  8689. "$ref": "#/definitions/app.Response"
  8690. }
  8691. }
  8692. }
  8693. }
  8694. },
  8695. "/Qhj/QueryPickArea": {
  8696. "get": {
  8697. "security": [
  8698. {
  8699. "ApiKeyAuth": []
  8700. }
  8701. ],
  8702. "produces": [
  8703. "application/json"
  8704. ],
  8705. "tags": [
  8706. "大连千海金"
  8707. ],
  8708. "summary": "查询提货门店",
  8709. "parameters": [
  8710. {
  8711. "type": "integer",
  8712. "description": "用户ID",
  8713. "name": "userid",
  8714. "in": "query"
  8715. }
  8716. ],
  8717. "responses": {
  8718. "200": {
  8719. "description": "OK",
  8720. "schema": {
  8721. "type": "array",
  8722. "items": {
  8723. "$ref": "#/definitions/models.QhjPickArea"
  8724. }
  8725. }
  8726. },
  8727. "500": {
  8728. "description": "Internal Server Error",
  8729. "schema": {
  8730. "$ref": "#/definitions/app.Response"
  8731. }
  8732. }
  8733. }
  8734. }
  8735. },
  8736. "/Qhj/QueryPickGoods": {
  8737. "get": {
  8738. "security": [
  8739. {
  8740. "ApiKeyAuth": []
  8741. }
  8742. ],
  8743. "produces": [
  8744. "application/json"
  8745. ],
  8746. "tags": [
  8747. "大连千海金"
  8748. ],
  8749. "summary": "查询提货商品",
  8750. "parameters": [
  8751. {
  8752. "type": "integer",
  8753. "description": "交易商品id",
  8754. "name": "goodsid",
  8755. "in": "query",
  8756. "required": true
  8757. },
  8758. {
  8759. "type": "string",
  8760. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8761. "name": "status",
  8762. "in": "query"
  8763. }
  8764. ],
  8765. "responses": {
  8766. "200": {
  8767. "description": "OK",
  8768. "schema": {
  8769. "type": "array",
  8770. "items": {
  8771. "$ref": "#/definitions/models.QhjPickGoods"
  8772. }
  8773. }
  8774. },
  8775. "500": {
  8776. "description": "Internal Server Error",
  8777. "schema": {
  8778. "$ref": "#/definitions/app.Response"
  8779. }
  8780. }
  8781. }
  8782. }
  8783. },
  8784. "/Qhj/QueryRSTriggerLog": {
  8785. "get": {
  8786. "security": [
  8787. {
  8788. "ApiKeyAuth": []
  8789. }
  8790. ],
  8791. "produces": [
  8792. "application/json"
  8793. ],
  8794. "tags": [
  8795. "大连千海金"
  8796. ],
  8797. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8798. "parameters": [
  8799. {
  8800. "type": "integer",
  8801. "description": "用户ID",
  8802. "name": "userid",
  8803. "in": "query"
  8804. },
  8805. {
  8806. "type": "integer",
  8807. "description": "定投策略id",
  8808. "name": "regularlystrategyid",
  8809. "in": "query"
  8810. },
  8811. {
  8812. "type": "integer",
  8813. "description": "商品id",
  8814. "name": "goodsid",
  8815. "in": "query"
  8816. },
  8817. {
  8818. "type": "string",
  8819. "description": "开始交易日(yyyymmdd)",
  8820. "name": "begindate",
  8821. "in": "query"
  8822. },
  8823. {
  8824. "type": "string",
  8825. "description": "结束交易日(yyyymmdd)",
  8826. "name": "enddate",
  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.QhjRSTriggerLog"
  8843. }
  8844. }
  8845. },
  8846. "500": {
  8847. "description": "Internal Server Error",
  8848. "schema": {
  8849. "$ref": "#/definitions/app.Response"
  8850. }
  8851. }
  8852. }
  8853. }
  8854. },
  8855. "/Qhj/QueryRStrategy": {
  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": "userid",
  8874. "in": "query"
  8875. },
  8876. {
  8877. "type": "integer",
  8878. "description": "商品id",
  8879. "name": "goodsid",
  8880. "in": "query"
  8881. },
  8882. {
  8883. "type": "string",
  8884. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8885. "name": "status",
  8886. "in": "query"
  8887. },
  8888. {
  8889. "type": "string",
  8890. "description": "名称(模糊搜索账户)",
  8891. "name": "filtername",
  8892. "in": "query"
  8893. }
  8894. ],
  8895. "responses": {
  8896. "200": {
  8897. "description": "OK",
  8898. "schema": {
  8899. "type": "array",
  8900. "items": {
  8901. "$ref": "#/definitions/models.QhjRStrategy"
  8902. }
  8903. }
  8904. },
  8905. "500": {
  8906. "description": "Internal Server Error",
  8907. "schema": {
  8908. "$ref": "#/definitions/app.Response"
  8909. }
  8910. }
  8911. }
  8912. }
  8913. },
  8914. "/Qhj/QueryReckonPriceLog": {
  8915. "get": {
  8916. "security": [
  8917. {
  8918. "ApiKeyAuth": []
  8919. }
  8920. ],
  8921. "produces": [
  8922. "application/json"
  8923. ],
  8924. "tags": [
  8925. "大连千海金"
  8926. ],
  8927. "summary": "查询定投价(结算价)",
  8928. "parameters": [
  8929. {
  8930. "type": "integer",
  8931. "description": "商品ID",
  8932. "name": "goodsid",
  8933. "in": "query"
  8934. },
  8935. {
  8936. "type": "string",
  8937. "description": "交易日 格式(yyyymmdd)",
  8938. "name": "tradedate",
  8939. "in": "query"
  8940. }
  8941. ],
  8942. "responses": {
  8943. "200": {
  8944. "description": "OK",
  8945. "schema": {
  8946. "type": "array",
  8947. "items": {
  8948. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8949. }
  8950. }
  8951. },
  8952. "500": {
  8953. "description": "Internal Server Error",
  8954. "schema": {
  8955. "$ref": "#/definitions/app.Response"
  8956. }
  8957. }
  8958. }
  8959. }
  8960. },
  8961. "/Qhj/QueryScoreLog": {
  8962. "get": {
  8963. "security": [
  8964. {
  8965. "ApiKeyAuth": []
  8966. }
  8967. ],
  8968. "produces": [
  8969. "application/json"
  8970. ],
  8971. "tags": [
  8972. "大连千海金"
  8973. ],
  8974. "summary": "查询积分流水(我的积分)",
  8975. "parameters": [
  8976. {
  8977. "type": "integer",
  8978. "description": "用户ID",
  8979. "name": "userid",
  8980. "in": "query",
  8981. "required": true
  8982. },
  8983. {
  8984. "type": "string",
  8985. "description": "开始交易日(yyyymmdd)",
  8986. "name": "begindate",
  8987. "in": "query"
  8988. },
  8989. {
  8990. "type": "string",
  8991. "description": "结束交易日(yyyymmdd)",
  8992. "name": "enddate",
  8993. "in": "query"
  8994. },
  8995. {
  8996. "type": "integer",
  8997. "description": "最近多少条",
  8998. "name": "lastnum",
  8999. "in": "query"
  9000. }
  9001. ],
  9002. "responses": {
  9003. "200": {
  9004. "description": "OK",
  9005. "schema": {
  9006. "type": "array",
  9007. "items": {
  9008. "$ref": "#/definitions/models.QhjScoreLog"
  9009. }
  9010. }
  9011. },
  9012. "500": {
  9013. "description": "Internal Server Error",
  9014. "schema": {
  9015. "$ref": "#/definitions/app.Response"
  9016. }
  9017. }
  9018. }
  9019. }
  9020. },
  9021. "/Qhj/QuerySiteColumnDetail": {
  9022. "get": {
  9023. "security": [
  9024. {
  9025. "ApiKeyAuth": []
  9026. }
  9027. ],
  9028. "produces": [
  9029. "application/json"
  9030. ],
  9031. "tags": [
  9032. "大连千海金"
  9033. ],
  9034. "summary": "查询资讯",
  9035. "parameters": [
  9036. {
  9037. "type": "integer",
  9038. "description": "用户ID",
  9039. "name": "userid",
  9040. "in": "query",
  9041. "required": true
  9042. }
  9043. ],
  9044. "responses": {
  9045. "200": {
  9046. "description": "OK",
  9047. "schema": {
  9048. "type": "array",
  9049. "items": {
  9050. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  9051. }
  9052. }
  9053. },
  9054. "500": {
  9055. "description": "Internal Server Error",
  9056. "schema": {
  9057. "$ref": "#/definitions/app.Response"
  9058. }
  9059. }
  9060. }
  9061. }
  9062. },
  9063. "/Qhj/QueryTradeGoodsPickup": {
  9064. "get": {
  9065. "security": [
  9066. {
  9067. "ApiKeyAuth": []
  9068. }
  9069. ],
  9070. "produces": [
  9071. "application/json"
  9072. ],
  9073. "tags": [
  9074. "大连千海金"
  9075. ],
  9076. "summary": "查询提货",
  9077. "parameters": [
  9078. {
  9079. "type": "integer",
  9080. "description": "用户ID",
  9081. "name": "userid",
  9082. "in": "query",
  9083. "required": true
  9084. },
  9085. {
  9086. "type": "integer",
  9087. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  9088. "name": "takeorderstatus",
  9089. "in": "query"
  9090. }
  9091. ],
  9092. "responses": {
  9093. "200": {
  9094. "description": "OK",
  9095. "schema": {
  9096. "type": "array",
  9097. "items": {
  9098. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  9099. }
  9100. }
  9101. },
  9102. "500": {
  9103. "description": "Internal Server Error",
  9104. "schema": {
  9105. "$ref": "#/definitions/app.Response"
  9106. }
  9107. }
  9108. }
  9109. }
  9110. },
  9111. "/Qhj/QueryUserCollectConfig": {
  9112. "get": {
  9113. "security": [
  9114. {
  9115. "ApiKeyAuth": []
  9116. }
  9117. ],
  9118. "produces": [
  9119. "application/json"
  9120. ],
  9121. "tags": [
  9122. "大连千海金"
  9123. ],
  9124. "summary": "查询提现账户设置",
  9125. "parameters": [
  9126. {
  9127. "type": "integer",
  9128. "description": "用户ID",
  9129. "name": "userid",
  9130. "in": "query",
  9131. "required": true
  9132. }
  9133. ],
  9134. "responses": {
  9135. "200": {
  9136. "description": "OK",
  9137. "schema": {
  9138. "type": "array",
  9139. "items": {
  9140. "$ref": "#/definitions/models.UserCollectConfig"
  9141. }
  9142. }
  9143. },
  9144. "500": {
  9145. "description": "Internal Server Error",
  9146. "schema": {
  9147. "$ref": "#/definitions/app.Response"
  9148. }
  9149. }
  9150. }
  9151. }
  9152. },
  9153. "/Qhj/QueryUserReceiveInfo": {
  9154. "get": {
  9155. "security": [
  9156. {
  9157. "ApiKeyAuth": []
  9158. }
  9159. ],
  9160. "produces": [
  9161. "application/json"
  9162. ],
  9163. "tags": [
  9164. "大连千海金"
  9165. ],
  9166. "summary": "查询收货地址信息",
  9167. "parameters": [
  9168. {
  9169. "type": "integer",
  9170. "description": "用户ID",
  9171. "name": "userid",
  9172. "in": "query",
  9173. "required": true
  9174. }
  9175. ],
  9176. "responses": {
  9177. "200": {
  9178. "description": "OK",
  9179. "schema": {
  9180. "type": "array",
  9181. "items": {
  9182. "$ref": "#/definitions/models.UserReceiveInfo"
  9183. }
  9184. }
  9185. },
  9186. "500": {
  9187. "description": "Internal Server Error",
  9188. "schema": {
  9189. "$ref": "#/definitions/app.Response"
  9190. }
  9191. }
  9192. }
  9193. }
  9194. },
  9195. "/QhjMgr/QueryAccountInOutApply": {
  9196. "get": {
  9197. "security": [
  9198. {
  9199. "ApiKeyAuth": []
  9200. }
  9201. ],
  9202. "produces": [
  9203. "application/json"
  9204. ],
  9205. "tags": [
  9206. "大连千海金(PCWeb)"
  9207. ],
  9208. "summary": "查询充值提现",
  9209. "parameters": [
  9210. {
  9211. "type": "integer",
  9212. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9213. "name": "querytype",
  9214. "in": "query",
  9215. "required": true
  9216. },
  9217. {
  9218. "type": "integer",
  9219. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9220. "name": "applystatus",
  9221. "in": "query"
  9222. },
  9223. {
  9224. "type": "string",
  9225. "description": "申请起始日期(格式yyyymmdd)",
  9226. "name": "begindate",
  9227. "in": "query"
  9228. },
  9229. {
  9230. "type": "string",
  9231. "description": "申请截止日期(格式yyyymmdd)",
  9232. "name": "enddate",
  9233. "in": "query"
  9234. },
  9235. {
  9236. "type": "string",
  9237. "description": "模糊搜索名称",
  9238. "name": "likename",
  9239. "in": "query"
  9240. }
  9241. ],
  9242. "responses": {
  9243. "200": {
  9244. "description": "OK",
  9245. "schema": {
  9246. "type": "array",
  9247. "items": {
  9248. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  9249. }
  9250. }
  9251. },
  9252. "500": {
  9253. "description": "Internal Server Error",
  9254. "schema": {
  9255. "$ref": "#/definitions/app.Response"
  9256. }
  9257. }
  9258. }
  9259. }
  9260. },
  9261. "/QhjMgr/QueryBrokerApply": {
  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. },
  9282. {
  9283. "type": "string",
  9284. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9285. "name": "filterstatus",
  9286. "in": "query"
  9287. },
  9288. {
  9289. "type": "string",
  9290. "description": "名称(模糊匹配)",
  9291. "name": "filtername",
  9292. "in": "query"
  9293. },
  9294. {
  9295. "type": "integer",
  9296. "description": "是否包含子级 1-包含",
  9297. "name": "includesub",
  9298. "in": "query"
  9299. }
  9300. ],
  9301. "responses": {
  9302. "200": {
  9303. "description": "OK",
  9304. "schema": {
  9305. "type": "array",
  9306. "items": {
  9307. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  9308. }
  9309. }
  9310. },
  9311. "500": {
  9312. "description": "Internal Server Error",
  9313. "schema": {
  9314. "$ref": "#/definitions/app.Response"
  9315. }
  9316. }
  9317. }
  9318. }
  9319. },
  9320. "/QhjMgr/QueryBrokerRewardReport": {
  9321. "get": {
  9322. "security": [
  9323. {
  9324. "ApiKeyAuth": []
  9325. }
  9326. ],
  9327. "produces": [
  9328. "application/json"
  9329. ],
  9330. "tags": [
  9331. "大连千海金(PCWeb)"
  9332. ],
  9333. "summary": "查询经纪人奖励报表(废弃)",
  9334. "parameters": [
  9335. {
  9336. "type": "integer",
  9337. "description": "所属机构ID",
  9338. "name": "userid",
  9339. "in": "query",
  9340. "required": true
  9341. },
  9342. {
  9343. "type": "integer",
  9344. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9345. "name": "cycletype",
  9346. "in": "query",
  9347. "required": true
  9348. },
  9349. {
  9350. "type": "string",
  9351. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  9352. "name": "cycletime",
  9353. "in": "query",
  9354. "required": true
  9355. },
  9356. {
  9357. "type": "string",
  9358. "description": "名称(模糊匹配)",
  9359. "name": "filtername",
  9360. "in": "query"
  9361. },
  9362. {
  9363. "type": "integer",
  9364. "description": "是否包含子级 1-包含",
  9365. "name": "includesub",
  9366. "in": "query"
  9367. }
  9368. ],
  9369. "responses": {
  9370. "200": {
  9371. "description": "OK",
  9372. "schema": {
  9373. "type": "array",
  9374. "items": {
  9375. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  9376. }
  9377. }
  9378. },
  9379. "500": {
  9380. "description": "Internal Server Error",
  9381. "schema": {
  9382. "$ref": "#/definitions/app.Response"
  9383. }
  9384. }
  9385. }
  9386. }
  9387. },
  9388. "/QhjMgr/QueryContract": {
  9389. "get": {
  9390. "security": [
  9391. {
  9392. "ApiKeyAuth": []
  9393. }
  9394. ],
  9395. "produces": [
  9396. "application/json"
  9397. ],
  9398. "tags": [
  9399. "大连千海金(PCWeb)"
  9400. ],
  9401. "summary": "查询融资信息(合同)",
  9402. "parameters": [
  9403. {
  9404. "type": "integer",
  9405. "description": "用户ID",
  9406. "name": "userid",
  9407. "in": "query"
  9408. },
  9409. {
  9410. "type": "integer",
  9411. "description": "商品id",
  9412. "name": "goodsid",
  9413. "in": "query"
  9414. },
  9415. {
  9416. "type": "string",
  9417. "description": "名称(模糊搜索账户)",
  9418. "name": "filtername",
  9419. "in": "query"
  9420. },
  9421. {
  9422. "type": "string",
  9423. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  9424. "name": "risklevel",
  9425. "in": "query"
  9426. },
  9427. {
  9428. "type": "string",
  9429. "description": "开始交易日(yyyymmdd)",
  9430. "name": "begindate",
  9431. "in": "query"
  9432. },
  9433. {
  9434. "type": "string",
  9435. "description": "结束交易日(yyyymmdd)",
  9436. "name": "enddate",
  9437. "in": "query"
  9438. }
  9439. ],
  9440. "responses": {
  9441. "200": {
  9442. "description": "OK",
  9443. "schema": {
  9444. "type": "array",
  9445. "items": {
  9446. "$ref": "#/definitions/models.QhjMgrContract"
  9447. }
  9448. }
  9449. },
  9450. "500": {
  9451. "description": "Internal Server Error",
  9452. "schema": {
  9453. "$ref": "#/definitions/app.Response"
  9454. }
  9455. }
  9456. }
  9457. }
  9458. },
  9459. "/QhjMgr/QueryCustomerInfo": {
  9460. "get": {
  9461. "security": [
  9462. {
  9463. "ApiKeyAuth": []
  9464. }
  9465. ],
  9466. "produces": [
  9467. "application/json"
  9468. ],
  9469. "tags": [
  9470. "大连千海金(PCWeb)"
  9471. ],
  9472. "summary": "查询客户资料",
  9473. "parameters": [
  9474. {
  9475. "type": "integer",
  9476. "description": "用户ID",
  9477. "name": "userid",
  9478. "in": "query",
  9479. "required": true
  9480. },
  9481. {
  9482. "type": "integer",
  9483. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9484. "name": "querytype",
  9485. "in": "query",
  9486. "required": true
  9487. },
  9488. {
  9489. "type": "integer",
  9490. "description": "客户类型 1-个人 2-企业",
  9491. "name": "userinfotype",
  9492. "in": "query"
  9493. },
  9494. {
  9495. "type": "string",
  9496. "description": "客户名称(模糊匹配)",
  9497. "name": "customername",
  9498. "in": "query"
  9499. },
  9500. {
  9501. "type": "string",
  9502. "description": "昵称(模糊匹配)",
  9503. "name": "nickname",
  9504. "in": "query"
  9505. },
  9506. {
  9507. "type": "string",
  9508. "description": "所属客户经理(模糊匹配)",
  9509. "name": "brokername",
  9510. "in": "query"
  9511. },
  9512. {
  9513. "type": "string",
  9514. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  9515. "name": "birthday",
  9516. "in": "query"
  9517. },
  9518. {
  9519. "type": "integer",
  9520. "description": "是否包含子级 1-包含",
  9521. "name": "includesub",
  9522. "in": "query"
  9523. }
  9524. ],
  9525. "responses": {
  9526. "200": {
  9527. "description": "OK",
  9528. "schema": {
  9529. "type": "array",
  9530. "items": {
  9531. "$ref": "#/definitions/models.QhjMgrCustomer"
  9532. }
  9533. }
  9534. },
  9535. "500": {
  9536. "description": "Internal Server Error",
  9537. "schema": {
  9538. "$ref": "#/definitions/app.Response"
  9539. }
  9540. }
  9541. }
  9542. }
  9543. },
  9544. "/QhjMgr/QueryPickGoods": {
  9545. "get": {
  9546. "security": [
  9547. {
  9548. "ApiKeyAuth": []
  9549. }
  9550. ],
  9551. "produces": [
  9552. "application/json"
  9553. ],
  9554. "tags": [
  9555. "大连千海金(PCWeb)"
  9556. ],
  9557. "summary": "查询提货商品",
  9558. "parameters": [
  9559. {
  9560. "type": "string",
  9561. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9562. "name": "status",
  9563. "in": "query"
  9564. }
  9565. ],
  9566. "responses": {
  9567. "200": {
  9568. "description": "OK",
  9569. "schema": {
  9570. "type": "array",
  9571. "items": {
  9572. "$ref": "#/definitions/models.QhjMgrPickGoods"
  9573. }
  9574. }
  9575. },
  9576. "500": {
  9577. "description": "Internal Server Error",
  9578. "schema": {
  9579. "$ref": "#/definitions/app.Response"
  9580. }
  9581. }
  9582. }
  9583. }
  9584. },
  9585. "/QhjMgr/QuerySubArea": {
  9586. "get": {
  9587. "security": [
  9588. {
  9589. "ApiKeyAuth": []
  9590. }
  9591. ],
  9592. "produces": [
  9593. "application/json"
  9594. ],
  9595. "tags": [
  9596. "大连千海金(PCWeb)"
  9597. ],
  9598. "summary": "查询子机构列表",
  9599. "parameters": [
  9600. {
  9601. "type": "integer",
  9602. "description": "用户ID",
  9603. "name": "userid",
  9604. "in": "query",
  9605. "required": true
  9606. }
  9607. ],
  9608. "responses": {
  9609. "200": {
  9610. "description": "OK",
  9611. "schema": {
  9612. "type": "array",
  9613. "items": {
  9614. "$ref": "#/definitions/models.QhjMgrSubArea"
  9615. }
  9616. }
  9617. },
  9618. "500": {
  9619. "description": "Internal Server Error",
  9620. "schema": {
  9621. "$ref": "#/definitions/app.Response"
  9622. }
  9623. }
  9624. }
  9625. }
  9626. },
  9627. "/QhjMgr/QueryTradeDetail": {
  9628. "get": {
  9629. "security": [
  9630. {
  9631. "ApiKeyAuth": []
  9632. }
  9633. ],
  9634. "produces": [
  9635. "application/json"
  9636. ],
  9637. "tags": [
  9638. "大连千海金(PCWeb)"
  9639. ],
  9640. "summary": "查询成交明细",
  9641. "parameters": [
  9642. {
  9643. "type": "integer",
  9644. "description": "用户ID",
  9645. "name": "userid",
  9646. "in": "query",
  9647. "required": true
  9648. },
  9649. {
  9650. "type": "integer",
  9651. "description": "用户类型 1-个人 2-企业",
  9652. "name": "userinfotype",
  9653. "in": "query"
  9654. },
  9655. {
  9656. "type": "integer",
  9657. "description": "交易模式",
  9658. "name": "trademode",
  9659. "in": "query"
  9660. },
  9661. {
  9662. "type": "integer",
  9663. "description": "商品id",
  9664. "name": "goodsid",
  9665. "in": "query"
  9666. },
  9667. {
  9668. "type": "string",
  9669. "description": "名称(模糊搜索账户)",
  9670. "name": "filtername",
  9671. "in": "query"
  9672. },
  9673. {
  9674. "type": "string",
  9675. "description": "开始交易日(yyyymmdd)",
  9676. "name": "begindate",
  9677. "in": "query"
  9678. },
  9679. {
  9680. "type": "string",
  9681. "description": "结束交易日(yyyymmdd)",
  9682. "name": "enddate",
  9683. "in": "query"
  9684. },
  9685. {
  9686. "type": "integer",
  9687. "description": "是否包含子级 1-包含",
  9688. "name": "includesub",
  9689. "in": "query"
  9690. }
  9691. ],
  9692. "responses": {
  9693. "200": {
  9694. "description": "OK",
  9695. "schema": {
  9696. "type": "array",
  9697. "items": {
  9698. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9699. }
  9700. }
  9701. },
  9702. "500": {
  9703. "description": "Internal Server Error",
  9704. "schema": {
  9705. "$ref": "#/definitions/app.Response"
  9706. }
  9707. }
  9708. }
  9709. }
  9710. },
  9711. "/QhjMgr/QueryTradeOrderDetail": {
  9712. "get": {
  9713. "security": [
  9714. {
  9715. "ApiKeyAuth": []
  9716. }
  9717. ],
  9718. "produces": [
  9719. "application/json"
  9720. ],
  9721. "tags": [
  9722. "大连千海金(PCWeb)"
  9723. ],
  9724. "summary": "查询委托明细",
  9725. "parameters": [
  9726. {
  9727. "type": "integer",
  9728. "description": "用户ID",
  9729. "name": "userid",
  9730. "in": "query",
  9731. "required": true
  9732. },
  9733. {
  9734. "type": "integer",
  9735. "description": "用户类型 1-个人 2-企业",
  9736. "name": "userinfotype",
  9737. "in": "query"
  9738. },
  9739. {
  9740. "type": "integer",
  9741. "description": "交易模式",
  9742. "name": "trademode",
  9743. "in": "query"
  9744. },
  9745. {
  9746. "type": "integer",
  9747. "description": "商品id",
  9748. "name": "goodsid",
  9749. "in": "query"
  9750. },
  9751. {
  9752. "type": "string",
  9753. "description": "名称(模糊搜索账户)",
  9754. "name": "filtername",
  9755. "in": "query"
  9756. },
  9757. {
  9758. "type": "string",
  9759. "description": "开始交易日(yyyymmdd)",
  9760. "name": "begindate",
  9761. "in": "query"
  9762. },
  9763. {
  9764. "type": "string",
  9765. "description": "结束交易日(yyyymmdd)",
  9766. "name": "enddate",
  9767. "in": "query"
  9768. },
  9769. {
  9770. "type": "integer",
  9771. "description": "是否包含子级 1-包含",
  9772. "name": "includesub",
  9773. "in": "query"
  9774. }
  9775. ],
  9776. "responses": {
  9777. "200": {
  9778. "description": "OK",
  9779. "schema": {
  9780. "type": "array",
  9781. "items": {
  9782. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9783. }
  9784. }
  9785. },
  9786. "500": {
  9787. "description": "Internal Server Error",
  9788. "schema": {
  9789. "$ref": "#/definitions/app.Response"
  9790. }
  9791. }
  9792. }
  9793. }
  9794. },
  9795. "/QhjMgr/QueryTradePayOrder": {
  9796. "get": {
  9797. "security": [
  9798. {
  9799. "ApiKeyAuth": []
  9800. }
  9801. ],
  9802. "produces": [
  9803. "application/json"
  9804. ],
  9805. "tags": [
  9806. "大连千海金(PCWeb)"
  9807. ],
  9808. "summary": "查询待付款单",
  9809. "parameters": [
  9810. {
  9811. "type": "integer",
  9812. "description": "用户ID",
  9813. "name": "userid",
  9814. "in": "query",
  9815. "required": true
  9816. },
  9817. {
  9818. "type": "string",
  9819. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9820. "name": "payflag",
  9821. "in": "query"
  9822. },
  9823. {
  9824. "type": "integer",
  9825. "description": "用户类型 1-个人 2-企业",
  9826. "name": "userinfotype",
  9827. "in": "query"
  9828. },
  9829. {
  9830. "type": "integer",
  9831. "description": "交易模式",
  9832. "name": "trademode",
  9833. "in": "query"
  9834. },
  9835. {
  9836. "type": "integer",
  9837. "description": "商品id",
  9838. "name": "goodsid",
  9839. "in": "query"
  9840. },
  9841. {
  9842. "type": "string",
  9843. "description": "名称(模糊搜索账户)",
  9844. "name": "filtername",
  9845. "in": "query"
  9846. },
  9847. {
  9848. "type": "string",
  9849. "description": "开始交易日(yyyymmdd)",
  9850. "name": "begindate",
  9851. "in": "query"
  9852. },
  9853. {
  9854. "type": "string",
  9855. "description": "结束交易日(yyyymmdd)",
  9856. "name": "enddate",
  9857. "in": "query"
  9858. },
  9859. {
  9860. "type": "integer",
  9861. "description": "是否包含子级 1-包含",
  9862. "name": "includesub",
  9863. "in": "query"
  9864. }
  9865. ],
  9866. "responses": {
  9867. "200": {
  9868. "description": "OK",
  9869. "schema": {
  9870. "type": "array",
  9871. "items": {
  9872. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9873. }
  9874. }
  9875. },
  9876. "500": {
  9877. "description": "Internal Server Error",
  9878. "schema": {
  9879. "$ref": "#/definitions/app.Response"
  9880. }
  9881. }
  9882. }
  9883. }
  9884. },
  9885. "/QhjMgr/QueryTradePosition": {
  9886. "get": {
  9887. "security": [
  9888. {
  9889. "ApiKeyAuth": []
  9890. }
  9891. ],
  9892. "produces": [
  9893. "application/json"
  9894. ],
  9895. "tags": [
  9896. "大连千海金(PCWeb)"
  9897. ],
  9898. "summary": "查询持仓汇总",
  9899. "parameters": [
  9900. {
  9901. "type": "integer",
  9902. "description": "用户ID",
  9903. "name": "userid",
  9904. "in": "query",
  9905. "required": true
  9906. },
  9907. {
  9908. "type": "integer",
  9909. "description": "用户类型 1-个人 2-企业",
  9910. "name": "userinfotype",
  9911. "in": "query"
  9912. },
  9913. {
  9914. "type": "integer",
  9915. "description": "交易模式",
  9916. "name": "trademode",
  9917. "in": "query"
  9918. },
  9919. {
  9920. "type": "integer",
  9921. "description": "商品id",
  9922. "name": "goodsid",
  9923. "in": "query"
  9924. },
  9925. {
  9926. "type": "string",
  9927. "description": "名称(模糊搜索账户)",
  9928. "name": "filtername",
  9929. "in": "query"
  9930. },
  9931. {
  9932. "type": "integer",
  9933. "description": "是否包含子级 1-包含",
  9934. "name": "includesub",
  9935. "in": "query"
  9936. }
  9937. ],
  9938. "responses": {
  9939. "200": {
  9940. "description": "OK",
  9941. "schema": {
  9942. "type": "array",
  9943. "items": {
  9944. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9945. }
  9946. }
  9947. },
  9948. "500": {
  9949. "description": "Internal Server Error",
  9950. "schema": {
  9951. "$ref": "#/definitions/app.Response"
  9952. }
  9953. }
  9954. }
  9955. }
  9956. },
  9957. "/QhjSys/QueryAgreementChangeLog": {
  9958. "get": {
  9959. "security": [
  9960. {
  9961. "ApiKeyAuth": []
  9962. }
  9963. ],
  9964. "produces": [
  9965. "application/json"
  9966. ],
  9967. "tags": [
  9968. "大连千海金(协议和签约信息)"
  9969. ],
  9970. "summary": "查询协议配置变更流水",
  9971. "parameters": [
  9972. {
  9973. "type": "integer",
  9974. "description": "协议ID",
  9975. "name": "agreementid",
  9976. "in": "query"
  9977. },
  9978. {
  9979. "type": "integer",
  9980. "description": "协议版本号",
  9981. "name": "agreementversion",
  9982. "in": "query"
  9983. },
  9984. {
  9985. "type": "integer",
  9986. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9987. "name": "agreementtype",
  9988. "in": "query"
  9989. },
  9990. {
  9991. "type": "string",
  9992. "description": "协议编号(模糊匹配)",
  9993. "name": "agreementno",
  9994. "in": "query"
  9995. },
  9996. {
  9997. "type": "string",
  9998. "description": "协议名称(模糊匹配)",
  9999. "name": "agreementname",
  10000. "in": "query"
  10001. }
  10002. ],
  10003. "responses": {
  10004. "200": {
  10005. "description": "OK",
  10006. "schema": {
  10007. "type": "array",
  10008. "items": {
  10009. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  10010. }
  10011. }
  10012. },
  10013. "500": {
  10014. "description": "Internal Server Error",
  10015. "schema": {
  10016. "$ref": "#/definitions/app.Response"
  10017. }
  10018. }
  10019. }
  10020. }
  10021. },
  10022. "/QhjSys/QueryAgreementConfig": {
  10023. "get": {
  10024. "security": [
  10025. {
  10026. "ApiKeyAuth": []
  10027. }
  10028. ],
  10029. "produces": [
  10030. "application/json"
  10031. ],
  10032. "tags": [
  10033. "大连千海金(协议和签约信息)"
  10034. ],
  10035. "summary": "查询协议配置",
  10036. "parameters": [
  10037. {
  10038. "type": "integer",
  10039. "description": "协议ID",
  10040. "name": "agreementid",
  10041. "in": "query"
  10042. },
  10043. {
  10044. "type": "integer",
  10045. "description": "协议版本号",
  10046. "name": "agreementversion",
  10047. "in": "query"
  10048. },
  10049. {
  10050. "type": "integer",
  10051. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10052. "name": "agreementtype",
  10053. "in": "query"
  10054. },
  10055. {
  10056. "type": "integer",
  10057. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  10058. "name": "isvalid",
  10059. "in": "query"
  10060. },
  10061. {
  10062. "type": "string",
  10063. "description": "协议编号(模糊匹配)",
  10064. "name": "agreementno",
  10065. "in": "query"
  10066. },
  10067. {
  10068. "type": "string",
  10069. "description": "协议名称(模糊匹配)",
  10070. "name": "agreementname",
  10071. "in": "query"
  10072. }
  10073. ],
  10074. "responses": {
  10075. "200": {
  10076. "description": "OK",
  10077. "schema": {
  10078. "type": "array",
  10079. "items": {
  10080. "$ref": "#/definitions/models.QhjAgreementConfig"
  10081. }
  10082. }
  10083. },
  10084. "500": {
  10085. "description": "Internal Server Error",
  10086. "schema": {
  10087. "$ref": "#/definitions/app.Response"
  10088. }
  10089. }
  10090. }
  10091. }
  10092. },
  10093. "/QhjSys/QueryCustomerSignStatus": {
  10094. "get": {
  10095. "security": [
  10096. {
  10097. "ApiKeyAuth": []
  10098. }
  10099. ],
  10100. "produces": [
  10101. "application/json"
  10102. ],
  10103. "tags": [
  10104. "大连千海金(协议和签约信息)"
  10105. ],
  10106. "summary": "查询客户协议签约状态",
  10107. "parameters": [
  10108. {
  10109. "type": "integer",
  10110. "description": "客户ID",
  10111. "name": "userid",
  10112. "in": "query"
  10113. },
  10114. {
  10115. "type": "integer",
  10116. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  10117. "name": "nodetype",
  10118. "in": "query"
  10119. },
  10120. {
  10121. "type": "integer",
  10122. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10123. "name": "goodsid",
  10124. "in": "query"
  10125. },
  10126. {
  10127. "type": "string",
  10128. "description": "创建交易日(yyyyMMdd)",
  10129. "name": "tradedate",
  10130. "in": "query"
  10131. },
  10132. {
  10133. "type": "string",
  10134. "description": "用户名称(模糊匹配)",
  10135. "name": "username",
  10136. "in": "query"
  10137. }
  10138. ],
  10139. "responses": {
  10140. "200": {
  10141. "description": "OK",
  10142. "schema": {
  10143. "type": "array",
  10144. "items": {
  10145. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  10146. }
  10147. }
  10148. },
  10149. "500": {
  10150. "description": "Internal Server Error",
  10151. "schema": {
  10152. "$ref": "#/definitions/app.Response"
  10153. }
  10154. }
  10155. }
  10156. }
  10157. },
  10158. "/QhjSys/QueryNodeAgreementConfig": {
  10159. "get": {
  10160. "security": [
  10161. {
  10162. "ApiKeyAuth": []
  10163. }
  10164. ],
  10165. "produces": [
  10166. "application/json"
  10167. ],
  10168. "tags": [
  10169. "大连千海金(协议和签约信息)"
  10170. ],
  10171. "summary": "查询协议节点配置",
  10172. "parameters": [
  10173. {
  10174. "type": "integer",
  10175. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10176. "name": "configid",
  10177. "in": "query"
  10178. },
  10179. {
  10180. "type": "integer",
  10181. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10182. "name": "nodetype",
  10183. "in": "query"
  10184. },
  10185. {
  10186. "type": "integer",
  10187. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10188. "name": "goodsid",
  10189. "in": "query"
  10190. },
  10191. {
  10192. "type": "integer",
  10193. "description": "协议ID",
  10194. "name": "agreementid",
  10195. "in": "query"
  10196. },
  10197. {
  10198. "type": "integer",
  10199. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10200. "name": "agreementtype",
  10201. "in": "query"
  10202. },
  10203. {
  10204. "type": "integer",
  10205. "description": "协议版本号",
  10206. "name": "agreementversion",
  10207. "in": "query"
  10208. },
  10209. {
  10210. "type": "string",
  10211. "description": "协议编号(模糊匹配)",
  10212. "name": "agreementno",
  10213. "in": "query"
  10214. },
  10215. {
  10216. "type": "string",
  10217. "description": "协议名称(模糊匹配)",
  10218. "name": "agreementname",
  10219. "in": "query"
  10220. }
  10221. ],
  10222. "responses": {
  10223. "200": {
  10224. "description": "OK",
  10225. "schema": {
  10226. "type": "array",
  10227. "items": {
  10228. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  10229. }
  10230. }
  10231. },
  10232. "500": {
  10233. "description": "Internal Server Error",
  10234. "schema": {
  10235. "$ref": "#/definitions/app.Response"
  10236. }
  10237. }
  10238. }
  10239. }
  10240. },
  10241. "/QhjSys/QueryQhjCustomerSignLog": {
  10242. "get": {
  10243. "security": [
  10244. {
  10245. "ApiKeyAuth": []
  10246. }
  10247. ],
  10248. "produces": [
  10249. "application/json"
  10250. ],
  10251. "tags": [
  10252. "大连千海金(协议和签约信息)"
  10253. ],
  10254. "summary": "查询客户协议签约流水",
  10255. "parameters": [
  10256. {
  10257. "type": "integer",
  10258. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  10259. "name": "logid",
  10260. "in": "query"
  10261. },
  10262. {
  10263. "type": "integer",
  10264. "description": "客户ID",
  10265. "name": "userid",
  10266. "in": "query"
  10267. },
  10268. {
  10269. "type": "integer",
  10270. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10271. "name": "nodetype",
  10272. "in": "query"
  10273. },
  10274. {
  10275. "type": "integer",
  10276. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10277. "name": "goodsid",
  10278. "in": "query"
  10279. },
  10280. {
  10281. "type": "integer",
  10282. "description": "协议ID",
  10283. "name": "agreementid",
  10284. "in": "query"
  10285. },
  10286. {
  10287. "type": "string",
  10288. "description": "用户名称(模糊匹配)",
  10289. "name": "username",
  10290. "in": "query"
  10291. },
  10292. {
  10293. "type": "string",
  10294. "description": "协议编号(模糊匹配)",
  10295. "name": "agreementno",
  10296. "in": "query"
  10297. },
  10298. {
  10299. "type": "string",
  10300. "description": "协议名称(模糊匹配)",
  10301. "name": "agreementname",
  10302. "in": "query"
  10303. }
  10304. ],
  10305. "responses": {
  10306. "200": {
  10307. "description": "OK",
  10308. "schema": {
  10309. "type": "array",
  10310. "items": {
  10311. "$ref": "#/definitions/models.QhjCustomerSignLog"
  10312. }
  10313. }
  10314. },
  10315. "500": {
  10316. "description": "Internal Server Error",
  10317. "schema": {
  10318. "$ref": "#/definitions/app.Response"
  10319. }
  10320. }
  10321. }
  10322. }
  10323. },
  10324. "/QhjSys/QueryUserNodeCfgAndStatus": {
  10325. "get": {
  10326. "security": [
  10327. {
  10328. "ApiKeyAuth": []
  10329. }
  10330. ],
  10331. "produces": [
  10332. "application/json"
  10333. ],
  10334. "tags": [
  10335. "大连千海金(协议和签约信息)"
  10336. ],
  10337. "summary": "查询用户协议节点配置和状态",
  10338. "parameters": [
  10339. {
  10340. "type": "integer",
  10341. "description": "客户ID",
  10342. "name": "userid",
  10343. "in": "query"
  10344. },
  10345. {
  10346. "type": "integer",
  10347. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10348. "name": "configid",
  10349. "in": "query"
  10350. },
  10351. {
  10352. "type": "string",
  10353. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10354. "name": "nodetype",
  10355. "in": "query"
  10356. },
  10357. {
  10358. "type": "integer",
  10359. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10360. "name": "goodsid",
  10361. "in": "query"
  10362. },
  10363. {
  10364. "type": "integer",
  10365. "description": "协议ID",
  10366. "name": "agreementid",
  10367. "in": "query"
  10368. },
  10369. {
  10370. "type": "integer",
  10371. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10372. "name": "agreementtype",
  10373. "in": "query"
  10374. },
  10375. {
  10376. "type": "integer",
  10377. "description": "协议版本号",
  10378. "name": "agreementversion",
  10379. "in": "query"
  10380. },
  10381. {
  10382. "type": "string",
  10383. "description": "协议编号(模糊匹配)",
  10384. "name": "agreementno",
  10385. "in": "query"
  10386. },
  10387. {
  10388. "type": "string",
  10389. "description": "协议名称(模糊匹配)",
  10390. "name": "agreementname",
  10391. "in": "query"
  10392. }
  10393. ],
  10394. "responses": {
  10395. "200": {
  10396. "description": "OK",
  10397. "schema": {
  10398. "type": "array",
  10399. "items": {
  10400. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  10401. }
  10402. }
  10403. },
  10404. "500": {
  10405. "description": "Internal Server Error",
  10406. "schema": {
  10407. "$ref": "#/definitions/app.Response"
  10408. }
  10409. }
  10410. }
  10411. }
  10412. },
  10413. "/Quote/QueryHistoryDatas": {
  10414. "get": {
  10415. "security": [
  10416. {
  10417. "ApiKeyAuth": []
  10418. }
  10419. ],
  10420. "produces": [
  10421. "application/json"
  10422. ],
  10423. "tags": [
  10424. "行情服务"
  10425. ],
  10426. "summary": "查询行情历史数据",
  10427. "parameters": [
  10428. {
  10429. "type": "integer",
  10430. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  10431. "name": "cycleType",
  10432. "in": "query",
  10433. "required": true
  10434. },
  10435. {
  10436. "type": "string",
  10437. "description": "商品代码",
  10438. "name": "goodsCode",
  10439. "in": "query",
  10440. "required": true
  10441. },
  10442. {
  10443. "type": "string",
  10444. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10445. "name": "startTime",
  10446. "in": "query"
  10447. },
  10448. {
  10449. "type": "string",
  10450. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10451. "name": "endTime",
  10452. "in": "query"
  10453. },
  10454. {
  10455. "type": "integer",
  10456. "description": "条数",
  10457. "name": "count",
  10458. "in": "query"
  10459. },
  10460. {
  10461. "type": "boolean",
  10462. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10463. "name": "isAsc",
  10464. "in": "query"
  10465. }
  10466. ],
  10467. "responses": {
  10468. "200": {
  10469. "description": "OK",
  10470. "schema": {
  10471. "$ref": "#/definitions/quote.HistoryData"
  10472. }
  10473. },
  10474. "500": {
  10475. "description": "Internal Server Error",
  10476. "schema": {
  10477. "$ref": "#/definitions/app.Response"
  10478. }
  10479. }
  10480. }
  10481. }
  10482. },
  10483. "/Quote/QueryHistoryTikDatas": {
  10484. "get": {
  10485. "security": [
  10486. {
  10487. "ApiKeyAuth": []
  10488. }
  10489. ],
  10490. "produces": [
  10491. "application/json"
  10492. ],
  10493. "tags": [
  10494. "行情服务"
  10495. ],
  10496. "summary": "查询行情Tik数据",
  10497. "parameters": [
  10498. {
  10499. "type": "string",
  10500. "description": "商品代码",
  10501. "name": "goodsCode",
  10502. "in": "query",
  10503. "required": true
  10504. },
  10505. {
  10506. "type": "string",
  10507. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10508. "name": "startTime",
  10509. "in": "query"
  10510. },
  10511. {
  10512. "type": "string",
  10513. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10514. "name": "endTime",
  10515. "in": "query"
  10516. },
  10517. {
  10518. "type": "integer",
  10519. "description": "条数",
  10520. "name": "count",
  10521. "in": "query"
  10522. },
  10523. {
  10524. "type": "boolean",
  10525. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10526. "name": "isAsc",
  10527. "in": "query"
  10528. }
  10529. ],
  10530. "responses": {
  10531. "200": {
  10532. "description": "OK",
  10533. "schema": {
  10534. "$ref": "#/definitions/quote.HistoryTikData"
  10535. }
  10536. },
  10537. "500": {
  10538. "description": "Internal Server Error",
  10539. "schema": {
  10540. "$ref": "#/definitions/app.Response"
  10541. }
  10542. }
  10543. }
  10544. }
  10545. },
  10546. "/Quote/QueryQuoteDay": {
  10547. "get": {
  10548. "security": [
  10549. {
  10550. "ApiKeyAuth": []
  10551. }
  10552. ],
  10553. "produces": [
  10554. "application/json"
  10555. ],
  10556. "tags": [
  10557. "行情服务"
  10558. ],
  10559. "summary": "获取商品盘面信息",
  10560. "parameters": [
  10561. {
  10562. "type": "string",
  10563. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  10564. "name": "goodsCodes",
  10565. "in": "query"
  10566. }
  10567. ],
  10568. "responses": {
  10569. "200": {
  10570. "description": "OK",
  10571. "schema": {
  10572. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  10573. }
  10574. },
  10575. "500": {
  10576. "description": "Internal Server Error",
  10577. "schema": {
  10578. "$ref": "#/definitions/app.Response"
  10579. }
  10580. }
  10581. }
  10582. }
  10583. },
  10584. "/Quote/QueryTSData": {
  10585. "get": {
  10586. "security": [
  10587. {
  10588. "ApiKeyAuth": []
  10589. }
  10590. ],
  10591. "produces": [
  10592. "application/json"
  10593. ],
  10594. "tags": [
  10595. "行情服务"
  10596. ],
  10597. "summary": "分时图数据查询",
  10598. "parameters": [
  10599. {
  10600. "type": "string",
  10601. "description": "商品代码",
  10602. "name": "goodsCode",
  10603. "in": "query",
  10604. "required": true
  10605. }
  10606. ],
  10607. "responses": {
  10608. "200": {
  10609. "description": "OK",
  10610. "schema": {
  10611. "$ref": "#/definitions/quote.QueryTSDataRsp"
  10612. }
  10613. },
  10614. "500": {
  10615. "description": "Internal Server Error",
  10616. "schema": {
  10617. "$ref": "#/definitions/app.Response"
  10618. }
  10619. }
  10620. }
  10621. }
  10622. },
  10623. "/SZDZ/QueryConvertConfig": {
  10624. "get": {
  10625. "security": [
  10626. {
  10627. "ApiKeyAuth": []
  10628. }
  10629. ],
  10630. "produces": [
  10631. "application/json"
  10632. ],
  10633. "tags": [
  10634. "定制【尚志大宗】"
  10635. ],
  10636. "summary": "查询交易系统转换设置",
  10637. "parameters": [
  10638. {
  10639. "type": "integer",
  10640. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10641. "name": "convertType",
  10642. "in": "query"
  10643. },
  10644. {
  10645. "type": "string",
  10646. "description": "外部商品代码[JD\\PD]",
  10647. "name": "outerGoodsCode",
  10648. "in": "query"
  10649. },
  10650. {
  10651. "type": "string",
  10652. "description": "内部商品ID列表[交易],格式:1,2,3",
  10653. "name": "innerGoodsIDs",
  10654. "in": "query"
  10655. }
  10656. ],
  10657. "responses": {
  10658. "200": {
  10659. "description": "OK",
  10660. "schema": {
  10661. "$ref": "#/definitions/models.Szdz3convertconfig"
  10662. }
  10663. },
  10664. "500": {
  10665. "description": "Internal Server Error",
  10666. "schema": {
  10667. "$ref": "#/definitions/app.Response"
  10668. }
  10669. }
  10670. }
  10671. }
  10672. },
  10673. "/SZDZ/QueryConvertLog": {
  10674. "get": {
  10675. "security": [
  10676. {
  10677. "ApiKeyAuth": []
  10678. }
  10679. ],
  10680. "produces": [
  10681. "application/json"
  10682. ],
  10683. "tags": [
  10684. "定制【尚志大宗】"
  10685. ],
  10686. "summary": "交易系统转换流水查询",
  10687. "parameters": [
  10688. {
  10689. "type": "string",
  10690. "description": "资金账户 - 格式:1,2,3",
  10691. "name": "accountID",
  10692. "in": "query",
  10693. "required": true
  10694. },
  10695. {
  10696. "type": "string",
  10697. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10698. "name": "startDate",
  10699. "in": "query"
  10700. },
  10701. {
  10702. "type": "string",
  10703. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10704. "name": "endDate",
  10705. "in": "query"
  10706. }
  10707. ],
  10708. "responses": {
  10709. "200": {
  10710. "description": "OK",
  10711. "schema": {
  10712. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10713. }
  10714. },
  10715. "500": {
  10716. "description": "Internal Server Error",
  10717. "schema": {
  10718. "$ref": "#/definitions/app.Response"
  10719. }
  10720. }
  10721. }
  10722. }
  10723. },
  10724. "/SZDZ/QueryGoodsPickup": {
  10725. "get": {
  10726. "security": [
  10727. {
  10728. "ApiKeyAuth": []
  10729. }
  10730. ],
  10731. "produces": [
  10732. "application/json"
  10733. ],
  10734. "tags": [
  10735. "定制【尚志大宗】"
  10736. ],
  10737. "summary": "商品提货单查询",
  10738. "parameters": [
  10739. {
  10740. "type": "string",
  10741. "description": "资金账户 - 格式:1,2,3",
  10742. "name": "accountID",
  10743. "in": "query",
  10744. "required": true
  10745. },
  10746. {
  10747. "type": "integer",
  10748. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10749. "name": "takeOrderStatus",
  10750. "in": "query"
  10751. }
  10752. ],
  10753. "responses": {
  10754. "200": {
  10755. "description": "OK",
  10756. "schema": {
  10757. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10758. }
  10759. },
  10760. "500": {
  10761. "description": "Internal Server Error",
  10762. "schema": {
  10763. "$ref": "#/definitions/app.Response"
  10764. }
  10765. }
  10766. }
  10767. }
  10768. },
  10769. "/SZDZ/QueryRecieptOrder": {
  10770. "get": {
  10771. "security": [
  10772. {
  10773. "ApiKeyAuth": []
  10774. }
  10775. ],
  10776. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10777. "produces": [
  10778. "application/json"
  10779. ],
  10780. "tags": [
  10781. "定制【尚志大宗】"
  10782. ],
  10783. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10784. "parameters": [
  10785. {
  10786. "type": "integer",
  10787. "description": "页码",
  10788. "name": "page",
  10789. "in": "query"
  10790. },
  10791. {
  10792. "type": "integer",
  10793. "description": "每页条数",
  10794. "name": "pagesize",
  10795. "in": "query"
  10796. },
  10797. {
  10798. "type": "integer",
  10799. "description": "商品ID",
  10800. "name": "goodsID",
  10801. "in": "query",
  10802. "required": true
  10803. },
  10804. {
  10805. "type": "string",
  10806. "description": "所属账户名称",
  10807. "name": "accountName",
  10808. "in": "query"
  10809. },
  10810. {
  10811. "type": "integer",
  10812. "description": "市场ID",
  10813. "name": "marketID",
  10814. "in": "query"
  10815. },
  10816. {
  10817. "type": "integer",
  10818. "description": "方向 - 0:买 1:卖",
  10819. "name": "buyorsell",
  10820. "in": "query",
  10821. "required": true
  10822. }
  10823. ],
  10824. "responses": {
  10825. "200": {
  10826. "description": "OK",
  10827. "schema": {
  10828. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10829. }
  10830. },
  10831. "500": {
  10832. "description": "Internal Server Error",
  10833. "schema": {
  10834. "$ref": "#/definitions/app.Response"
  10835. }
  10836. }
  10837. }
  10838. }
  10839. },
  10840. "/SZDZ/QuerySZDZTradePosition": {
  10841. "get": {
  10842. "security": [
  10843. {
  10844. "ApiKeyAuth": []
  10845. }
  10846. ],
  10847. "produces": [
  10848. "application/json"
  10849. ],
  10850. "tags": [
  10851. "定制【尚志大宗】"
  10852. ],
  10853. "summary": "持仓汇总查询(尚志大宗)",
  10854. "parameters": [
  10855. {
  10856. "type": "integer",
  10857. "description": "资金账户",
  10858. "name": "accountID",
  10859. "in": "query",
  10860. "required": true
  10861. }
  10862. ],
  10863. "responses": {
  10864. "200": {
  10865. "description": "OK",
  10866. "schema": {
  10867. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10868. }
  10869. },
  10870. "500": {
  10871. "description": "Internal Server Error",
  10872. "schema": {
  10873. "$ref": "#/definitions/app.Response"
  10874. }
  10875. }
  10876. }
  10877. }
  10878. },
  10879. "/SZDZ/SearchWhite": {
  10880. "get": {
  10881. "security": [
  10882. {
  10883. "ApiKeyAuth": []
  10884. }
  10885. ],
  10886. "produces": [
  10887. "application/json"
  10888. ],
  10889. "tags": [
  10890. "定制【尚志大宗】"
  10891. ],
  10892. "summary": "搜索白名单",
  10893. "parameters": [
  10894. {
  10895. "type": "integer",
  10896. "description": "用户ID",
  10897. "name": "userID",
  10898. "in": "query",
  10899. "required": true
  10900. }
  10901. ],
  10902. "responses": {
  10903. "200": {
  10904. "description": "OK",
  10905. "schema": {
  10906. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10907. }
  10908. },
  10909. "500": {
  10910. "description": "Internal Server Error",
  10911. "schema": {
  10912. "$ref": "#/definitions/app.Response"
  10913. }
  10914. }
  10915. }
  10916. }
  10917. },
  10918. "/Search/SearchGoodses": {
  10919. "get": {
  10920. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10921. "produces": [
  10922. "application/json"
  10923. ],
  10924. "tags": [
  10925. "检索服务"
  10926. ],
  10927. "summary": "检索商品信息",
  10928. "parameters": [
  10929. {
  10930. "type": "string",
  10931. "description": "检索内容",
  10932. "name": "content",
  10933. "in": "query",
  10934. "required": true
  10935. },
  10936. {
  10937. "type": "string",
  10938. "description": "交易模式,格式:1,2,3",
  10939. "name": "tradeModes",
  10940. "in": "query"
  10941. }
  10942. ],
  10943. "responses": {
  10944. "200": {
  10945. "description": "OK",
  10946. "schema": {
  10947. "$ref": "#/definitions/models.SearchGoods"
  10948. }
  10949. },
  10950. "500": {
  10951. "description": "Internal Server Error",
  10952. "schema": {
  10953. "$ref": "#/definitions/app.Response"
  10954. }
  10955. }
  10956. }
  10957. }
  10958. },
  10959. "/TaAccount/GetTaAccounts": {
  10960. "get": {
  10961. "security": [
  10962. {
  10963. "ApiKeyAuth": []
  10964. }
  10965. ],
  10966. "produces": [
  10967. "application/json"
  10968. ],
  10969. "tags": [
  10970. "资金账户"
  10971. ],
  10972. "summary": "获取资金账户信息",
  10973. "parameters": [
  10974. {
  10975. "type": "integer",
  10976. "description": "登录账户",
  10977. "name": "loginID",
  10978. "in": "query",
  10979. "required": true
  10980. },
  10981. {
  10982. "type": "integer",
  10983. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10984. "name": "taAccountType",
  10985. "in": "query"
  10986. }
  10987. ],
  10988. "responses": {
  10989. "200": {
  10990. "description": "OK",
  10991. "schema": {
  10992. "$ref": "#/definitions/models.Taaccount"
  10993. }
  10994. },
  10995. "500": {
  10996. "description": "Internal Server Error",
  10997. "schema": {
  10998. "$ref": "#/definitions/app.Response"
  10999. }
  11000. }
  11001. }
  11002. }
  11003. },
  11004. "/TaAccount/QueryAmountLog": {
  11005. "get": {
  11006. "security": [
  11007. {
  11008. "ApiKeyAuth": []
  11009. }
  11010. ],
  11011. "produces": [
  11012. "application/json"
  11013. ],
  11014. "tags": [
  11015. "资金账户"
  11016. ],
  11017. "summary": "资金流水查询(当前)",
  11018. "parameters": [
  11019. {
  11020. "type": "integer",
  11021. "description": "页码",
  11022. "name": "page",
  11023. "in": "query"
  11024. },
  11025. {
  11026. "type": "integer",
  11027. "description": "每页条数",
  11028. "name": "pagesize",
  11029. "in": "query"
  11030. },
  11031. {
  11032. "type": "string",
  11033. "description": "资金账户 - 格式:1,2,3",
  11034. "name": "accountID",
  11035. "in": "query",
  11036. "required": true
  11037. },
  11038. {
  11039. "type": "string",
  11040. "description": "资金操作类型 - 格式:1,2,3",
  11041. "name": "OperateType",
  11042. "in": "query"
  11043. }
  11044. ],
  11045. "responses": {
  11046. "200": {
  11047. "description": "OK",
  11048. "schema": {
  11049. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  11050. }
  11051. },
  11052. "500": {
  11053. "description": "Internal Server Error",
  11054. "schema": {
  11055. "$ref": "#/definitions/app.Response"
  11056. }
  11057. }
  11058. }
  11059. }
  11060. },
  11061. "/TaAccount/QueryHisAmountLog": {
  11062. "get": {
  11063. "security": [
  11064. {
  11065. "ApiKeyAuth": []
  11066. }
  11067. ],
  11068. "produces": [
  11069. "application/json"
  11070. ],
  11071. "tags": [
  11072. "资金账户"
  11073. ],
  11074. "summary": "资金流水查询(历史)",
  11075. "parameters": [
  11076. {
  11077. "type": "integer",
  11078. "description": "页码",
  11079. "name": "page",
  11080. "in": "query"
  11081. },
  11082. {
  11083. "type": "integer",
  11084. "description": "每页条数",
  11085. "name": "pagesize",
  11086. "in": "query"
  11087. },
  11088. {
  11089. "type": "string",
  11090. "description": "资金账户 - 格式:1,2,3",
  11091. "name": "accountID",
  11092. "in": "query",
  11093. "required": true
  11094. },
  11095. {
  11096. "type": "string",
  11097. "description": "资金操作类型 - 格式:1,2,3",
  11098. "name": "OperateType",
  11099. "in": "query"
  11100. },
  11101. {
  11102. "type": "string",
  11103. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  11104. "name": "startDate",
  11105. "in": "query"
  11106. },
  11107. {
  11108. "type": "string",
  11109. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  11110. "name": "endDate",
  11111. "in": "query"
  11112. }
  11113. ],
  11114. "responses": {
  11115. "200": {
  11116. "description": "OK",
  11117. "schema": {
  11118. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  11119. }
  11120. },
  11121. "500": {
  11122. "description": "Internal Server Error",
  11123. "schema": {
  11124. "$ref": "#/definitions/app.Response"
  11125. }
  11126. }
  11127. }
  11128. }
  11129. },
  11130. "/Tjmd/QueryQuoteGoodsList": {
  11131. "get": {
  11132. "security": [
  11133. {
  11134. "ApiKeyAuth": []
  11135. }
  11136. ],
  11137. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  11138. "produces": [
  11139. "application/json"
  11140. ],
  11141. "tags": [
  11142. "天津麦顿"
  11143. ],
  11144. "summary": "查询掉期报价列表",
  11145. "parameters": [
  11146. {
  11147. "type": "integer",
  11148. "description": "用户类型",
  11149. "name": "usertype",
  11150. "in": "query",
  11151. "required": true
  11152. },
  11153. {
  11154. "type": "string",
  11155. "description": "市场id, 格式 1,2,3",
  11156. "name": "marketids",
  11157. "in": "query"
  11158. },
  11159. {
  11160. "type": "integer",
  11161. "description": "商品组id",
  11162. "name": "goodsgroupid",
  11163. "in": "query"
  11164. },
  11165. {
  11166. "type": "integer",
  11167. "description": "商品id",
  11168. "name": "goodsid",
  11169. "in": "query"
  11170. }
  11171. ],
  11172. "responses": {
  11173. "200": {
  11174. "description": "OK",
  11175. "schema": {
  11176. "type": "array",
  11177. "items": {
  11178. "$ref": "#/definitions/models.TjmdQuoteGoods"
  11179. }
  11180. }
  11181. },
  11182. "500": {
  11183. "description": "Internal Server Error",
  11184. "schema": {
  11185. "$ref": "#/definitions/app.Response"
  11186. }
  11187. }
  11188. }
  11189. }
  11190. },
  11191. "/Tjmd/QueryTjmdMarketSection": {
  11192. "get": {
  11193. "security": [
  11194. {
  11195. "ApiKeyAuth": []
  11196. }
  11197. ],
  11198. "produces": [
  11199. "application/json"
  11200. ],
  11201. "tags": [
  11202. "天津麦顿"
  11203. ],
  11204. "summary": "查询市场板块",
  11205. "responses": {
  11206. "200": {
  11207. "description": "OK",
  11208. "schema": {
  11209. "type": "array",
  11210. "items": {
  11211. "$ref": "#/definitions/models.TjmdMarketSection"
  11212. }
  11213. }
  11214. },
  11215. "500": {
  11216. "description": "Internal Server Error",
  11217. "schema": {
  11218. "$ref": "#/definitions/app.Response"
  11219. }
  11220. }
  11221. }
  11222. }
  11223. },
  11224. "/Tjmd/QueryTjmdTodayAccountMargin": {
  11225. "get": {
  11226. "security": [
  11227. {
  11228. "ApiKeyAuth": []
  11229. }
  11230. ],
  11231. "produces": [
  11232. "application/json"
  11233. ],
  11234. "tags": [
  11235. "天津麦顿"
  11236. ],
  11237. "summary": "查询今日账户保证金配置",
  11238. "parameters": [
  11239. {
  11240. "type": "string",
  11241. "description": "市场id",
  11242. "name": "marketid",
  11243. "in": "query"
  11244. },
  11245. {
  11246. "type": "string",
  11247. "description": "商品id",
  11248. "name": "goodsid",
  11249. "in": "query"
  11250. },
  11251. {
  11252. "type": "string",
  11253. "description": "资金账号",
  11254. "name": "accountid",
  11255. "in": "query"
  11256. }
  11257. ],
  11258. "responses": {
  11259. "200": {
  11260. "description": "OK",
  11261. "schema": {
  11262. "type": "array",
  11263. "items": {
  11264. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  11265. }
  11266. }
  11267. },
  11268. "500": {
  11269. "description": "Internal Server Error",
  11270. "schema": {
  11271. "$ref": "#/definitions/app.Response"
  11272. }
  11273. }
  11274. }
  11275. }
  11276. },
  11277. "/Tjmd/QueryTjmdTradeOrderDetail": {
  11278. "get": {
  11279. "security": [
  11280. {
  11281. "ApiKeyAuth": []
  11282. }
  11283. ],
  11284. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  11285. "produces": [
  11286. "application/json"
  11287. ],
  11288. "tags": [
  11289. "天津麦顿"
  11290. ],
  11291. "summary": "查询掉期买卖大厅",
  11292. "parameters": [
  11293. {
  11294. "type": "integer",
  11295. "description": "页码",
  11296. "name": "page",
  11297. "in": "query"
  11298. },
  11299. {
  11300. "type": "integer",
  11301. "description": "每页条数",
  11302. "name": "pagesize",
  11303. "in": "query"
  11304. },
  11305. {
  11306. "type": "integer",
  11307. "description": "用户id",
  11308. "name": "userid",
  11309. "in": "query",
  11310. "required": true
  11311. },
  11312. {
  11313. "type": "integer",
  11314. "description": "用户类型",
  11315. "name": "usertype",
  11316. "in": "query",
  11317. "required": true
  11318. },
  11319. {
  11320. "type": "string",
  11321. "description": "市场id, 格式 1,2,3",
  11322. "name": "marketids",
  11323. "in": "query"
  11324. },
  11325. {
  11326. "type": "integer",
  11327. "description": "商品id",
  11328. "name": "goodsid",
  11329. "in": "query",
  11330. "required": true
  11331. },
  11332. {
  11333. "type": "integer",
  11334. "description": "买卖方向 0-买 1-卖",
  11335. "name": "buyorsell",
  11336. "in": "query",
  11337. "required": true
  11338. }
  11339. ],
  11340. "responses": {
  11341. "200": {
  11342. "description": "OK",
  11343. "schema": {
  11344. "type": "array",
  11345. "items": {
  11346. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  11347. }
  11348. }
  11349. },
  11350. "500": {
  11351. "description": "Internal Server Error",
  11352. "schema": {
  11353. "$ref": "#/definitions/app.Response"
  11354. }
  11355. }
  11356. }
  11357. }
  11358. },
  11359. "/Tjmd/QueryTjmdTransferApply": {
  11360. "get": {
  11361. "security": [
  11362. {
  11363. "ApiKeyAuth": []
  11364. }
  11365. ],
  11366. "produces": [
  11367. "application/json"
  11368. ],
  11369. "tags": [
  11370. "天津麦顿"
  11371. ],
  11372. "summary": "查询掉期协议单",
  11373. "parameters": [
  11374. {
  11375. "type": "integer",
  11376. "description": "类型 1-我的申请 2-对方申请",
  11377. "name": "applytype",
  11378. "in": "query",
  11379. "required": true
  11380. },
  11381. {
  11382. "type": "string",
  11383. "description": "市场id, 格式 1,2,3",
  11384. "name": "marketids",
  11385. "in": "query"
  11386. },
  11387. {
  11388. "type": "string",
  11389. "description": "资金账号, 格式 25000000001,25000000003",
  11390. "name": "accountids",
  11391. "in": "query"
  11392. },
  11393. {
  11394. "type": "string",
  11395. "description": "开始交易日(yyyymmdd)",
  11396. "name": "begindate",
  11397. "in": "query"
  11398. },
  11399. {
  11400. "type": "string",
  11401. "description": "结束交易日(yyyymmdd)",
  11402. "name": "enddate",
  11403. "in": "query"
  11404. }
  11405. ],
  11406. "responses": {
  11407. "200": {
  11408. "description": "OK",
  11409. "schema": {
  11410. "type": "array",
  11411. "items": {
  11412. "$ref": "#/definitions/models.TjmdTransferApply"
  11413. }
  11414. }
  11415. },
  11416. "500": {
  11417. "description": "Internal Server Error",
  11418. "schema": {
  11419. "$ref": "#/definitions/app.Response"
  11420. }
  11421. }
  11422. }
  11423. }
  11424. },
  11425. "/Trade/QueryRecieptOrder": {
  11426. "get": {
  11427. "security": [
  11428. {
  11429. "ApiKeyAuth": []
  11430. }
  11431. ],
  11432. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11433. "produces": [
  11434. "application/json"
  11435. ],
  11436. "tags": [
  11437. "通用交易"
  11438. ],
  11439. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  11440. "parameters": [
  11441. {
  11442. "type": "integer",
  11443. "description": "页码",
  11444. "name": "page",
  11445. "in": "query"
  11446. },
  11447. {
  11448. "type": "integer",
  11449. "description": "每页条数",
  11450. "name": "pagesize",
  11451. "in": "query"
  11452. },
  11453. {
  11454. "type": "integer",
  11455. "description": "商品ID",
  11456. "name": "goodsID",
  11457. "in": "query",
  11458. "required": true
  11459. },
  11460. {
  11461. "type": "string",
  11462. "description": "所属账户名称",
  11463. "name": "accountName",
  11464. "in": "query"
  11465. },
  11466. {
  11467. "type": "integer",
  11468. "description": "市场ID",
  11469. "name": "marketID",
  11470. "in": "query"
  11471. },
  11472. {
  11473. "type": "integer",
  11474. "description": "方向 - 0:买 1:卖",
  11475. "name": "buyorsell",
  11476. "in": "query",
  11477. "required": true
  11478. }
  11479. ],
  11480. "responses": {
  11481. "200": {
  11482. "description": "OK",
  11483. "schema": {
  11484. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  11485. }
  11486. },
  11487. "500": {
  11488. "description": "Internal Server Error",
  11489. "schema": {
  11490. "$ref": "#/definitions/app.Response"
  11491. }
  11492. }
  11493. }
  11494. }
  11495. },
  11496. "/User/AddMessageBoard": {
  11497. "post": {
  11498. "security": [
  11499. {
  11500. "ApiKeyAuth": []
  11501. }
  11502. ],
  11503. "produces": [
  11504. "application/json"
  11505. ],
  11506. "tags": [
  11507. "用户信息"
  11508. ],
  11509. "summary": "添加用户留言板信息",
  11510. "parameters": [
  11511. {
  11512. "type": "integer",
  11513. "description": "用户ID",
  11514. "name": "userID",
  11515. "in": "query",
  11516. "required": true
  11517. },
  11518. {
  11519. "type": "string",
  11520. "description": "留言信息",
  11521. "name": "message",
  11522. "in": "query",
  11523. "required": true
  11524. },
  11525. {
  11526. "type": "string",
  11527. "description": "联系电话",
  11528. "name": "contactNum",
  11529. "in": "query",
  11530. "required": true
  11531. }
  11532. ],
  11533. "responses": {
  11534. "200": {
  11535. "description": "OK",
  11536. "schema": {
  11537. "$ref": "#/definitions/app.Response"
  11538. }
  11539. },
  11540. "500": {
  11541. "description": "Internal Server Error",
  11542. "schema": {
  11543. "$ref": "#/definitions/app.Response"
  11544. }
  11545. }
  11546. }
  11547. }
  11548. },
  11549. "/User/AddUserFavoriteGoods": {
  11550. "post": {
  11551. "security": [
  11552. {
  11553. "ApiKeyAuth": []
  11554. }
  11555. ],
  11556. "produces": [
  11557. "application/json"
  11558. ],
  11559. "tags": [
  11560. "用户信息"
  11561. ],
  11562. "summary": "添加用户商品收藏信息",
  11563. "parameters": [
  11564. {
  11565. "type": "integer",
  11566. "description": "用户ID",
  11567. "name": "userID",
  11568. "in": "query",
  11569. "required": true
  11570. },
  11571. {
  11572. "type": "integer",
  11573. "description": "商品ID",
  11574. "name": "goodsID",
  11575. "in": "query",
  11576. "required": true
  11577. }
  11578. ],
  11579. "responses": {
  11580. "200": {
  11581. "description": "OK",
  11582. "schema": {
  11583. "$ref": "#/definitions/app.Response"
  11584. }
  11585. },
  11586. "500": {
  11587. "description": "Internal Server Error",
  11588. "schema": {
  11589. "$ref": "#/definitions/app.Response"
  11590. }
  11591. }
  11592. }
  11593. }
  11594. },
  11595. "/User/GetLoginID": {
  11596. "get": {
  11597. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  11598. "produces": [
  11599. "application/json"
  11600. ],
  11601. "tags": [
  11602. "用户信息"
  11603. ],
  11604. "summary": "获取登录ID",
  11605. "parameters": [
  11606. {
  11607. "type": "string",
  11608. "description": "登录代码",
  11609. "name": "username",
  11610. "in": "query",
  11611. "required": true
  11612. }
  11613. ],
  11614. "responses": {
  11615. "200": {
  11616. "description": "OK",
  11617. "schema": {
  11618. "$ref": "#/definitions/app.Response"
  11619. }
  11620. },
  11621. "500": {
  11622. "description": "Internal Server Error",
  11623. "schema": {
  11624. "$ref": "#/definitions/app.Response"
  11625. }
  11626. }
  11627. }
  11628. }
  11629. },
  11630. "/User/GetUserAccount": {
  11631. "get": {
  11632. "security": [
  11633. {
  11634. "ApiKeyAuth": []
  11635. }
  11636. ],
  11637. "produces": [
  11638. "application/json"
  11639. ],
  11640. "tags": [
  11641. "用户信息"
  11642. ],
  11643. "summary": "获取用户账号信息",
  11644. "parameters": [
  11645. {
  11646. "type": "integer",
  11647. "description": "用户ID",
  11648. "name": "userID",
  11649. "in": "query",
  11650. "required": true
  11651. }
  11652. ],
  11653. "responses": {
  11654. "200": {
  11655. "description": "OK",
  11656. "schema": {
  11657. "$ref": "#/definitions/models.Useraccount"
  11658. }
  11659. },
  11660. "500": {
  11661. "description": "Internal Server Error",
  11662. "schema": {
  11663. "$ref": "#/definitions/app.Response"
  11664. }
  11665. }
  11666. }
  11667. }
  11668. },
  11669. "/User/GetUserAuthStatus": {
  11670. "get": {
  11671. "security": [
  11672. {
  11673. "ApiKeyAuth": []
  11674. }
  11675. ],
  11676. "produces": [
  11677. "application/json"
  11678. ],
  11679. "tags": [
  11680. "用户信息"
  11681. ],
  11682. "summary": "获取用户实名认证状态",
  11683. "parameters": [
  11684. {
  11685. "type": "integer",
  11686. "description": "用户ID",
  11687. "name": "userID",
  11688. "in": "query",
  11689. "required": true
  11690. }
  11691. ],
  11692. "responses": {
  11693. "200": {
  11694. "description": "OK",
  11695. "schema": {
  11696. "$ref": "#/definitions/app.Response"
  11697. }
  11698. },
  11699. "500": {
  11700. "description": "Internal Server Error",
  11701. "schema": {
  11702. "$ref": "#/definitions/app.Response"
  11703. }
  11704. }
  11705. }
  11706. }
  11707. },
  11708. "/User/LoginQuery": {
  11709. "get": {
  11710. "security": [
  11711. {
  11712. "ApiKeyAuth": []
  11713. }
  11714. ],
  11715. "produces": [
  11716. "application/json"
  11717. ],
  11718. "tags": [
  11719. "用户信息"
  11720. ],
  11721. "summary": "账户登录后信息查询",
  11722. "parameters": [
  11723. {
  11724. "type": "integer",
  11725. "description": "登录账号",
  11726. "name": "loginID",
  11727. "in": "query",
  11728. "required": true
  11729. }
  11730. ],
  11731. "responses": {
  11732. "200": {
  11733. "description": "OK",
  11734. "schema": {
  11735. "$ref": "#/definitions/user.LoginQueryRsp"
  11736. }
  11737. },
  11738. "500": {
  11739. "description": "Internal Server Error",
  11740. "schema": {
  11741. "$ref": "#/definitions/app.Response"
  11742. }
  11743. }
  11744. }
  11745. }
  11746. },
  11747. "/User/QueryMessageBoard": {
  11748. "get": {
  11749. "security": [
  11750. {
  11751. "ApiKeyAuth": []
  11752. }
  11753. ],
  11754. "produces": [
  11755. "application/json"
  11756. ],
  11757. "tags": [
  11758. "用户信息"
  11759. ],
  11760. "summary": "获取用户留言板信息",
  11761. "parameters": [
  11762. {
  11763. "type": "integer",
  11764. "description": "用户ID",
  11765. "name": "userID",
  11766. "in": "query",
  11767. "required": true
  11768. }
  11769. ],
  11770. "responses": {
  11771. "200": {
  11772. "description": "OK",
  11773. "schema": {
  11774. "$ref": "#/definitions/models.Messageboard"
  11775. }
  11776. },
  11777. "500": {
  11778. "description": "Internal Server Error",
  11779. "schema": {
  11780. "$ref": "#/definitions/app.Response"
  11781. }
  11782. }
  11783. }
  11784. }
  11785. },
  11786. "/User/QueryUserFavoriteGoodses": {
  11787. "get": {
  11788. "security": [
  11789. {
  11790. "ApiKeyAuth": []
  11791. }
  11792. ],
  11793. "produces": [
  11794. "application/json"
  11795. ],
  11796. "tags": [
  11797. "用户信息"
  11798. ],
  11799. "summary": "获取用户商品收藏信息",
  11800. "parameters": [
  11801. {
  11802. "type": "integer",
  11803. "description": "用户ID",
  11804. "name": "userID",
  11805. "in": "query",
  11806. "required": true
  11807. }
  11808. ],
  11809. "responses": {
  11810. "200": {
  11811. "description": "OK",
  11812. "schema": {
  11813. "$ref": "#/definitions/models.Userfavoritegoods"
  11814. }
  11815. },
  11816. "500": {
  11817. "description": "Internal Server Error",
  11818. "schema": {
  11819. "$ref": "#/definitions/app.Response"
  11820. }
  11821. }
  11822. }
  11823. }
  11824. },
  11825. "/User/QueryUserInfo": {
  11826. "get": {
  11827. "security": [
  11828. {
  11829. "ApiKeyAuth": []
  11830. }
  11831. ],
  11832. "produces": [
  11833. "application/json"
  11834. ],
  11835. "tags": [
  11836. "用户信息"
  11837. ],
  11838. "summary": "获取用户信息",
  11839. "parameters": [
  11840. {
  11841. "type": "integer",
  11842. "description": "用户ID",
  11843. "name": "userID",
  11844. "in": "query",
  11845. "required": true
  11846. },
  11847. {
  11848. "type": "boolean",
  11849. "description": "是否解密",
  11850. "name": "isDecrypt",
  11851. "in": "query"
  11852. }
  11853. ],
  11854. "responses": {
  11855. "200": {
  11856. "description": "OK",
  11857. "schema": {
  11858. "$ref": "#/definitions/models.Userinfo"
  11859. }
  11860. },
  11861. "500": {
  11862. "description": "Internal Server Error",
  11863. "schema": {
  11864. "$ref": "#/definitions/app.Response"
  11865. }
  11866. }
  11867. }
  11868. }
  11869. },
  11870. "/User/QueryUserReferNum": {
  11871. "get": {
  11872. "produces": [
  11873. "application/json"
  11874. ],
  11875. "tags": [
  11876. "用户信息"
  11877. ],
  11878. "summary": "获取用户邀请码",
  11879. "parameters": [
  11880. {
  11881. "type": "integer",
  11882. "description": "用户ID",
  11883. "name": "userID",
  11884. "in": "query",
  11885. "required": true
  11886. }
  11887. ],
  11888. "responses": {
  11889. "200": {
  11890. "description": "OK",
  11891. "schema": {
  11892. "$ref": "#/definitions/app.Response"
  11893. }
  11894. },
  11895. "500": {
  11896. "description": "Internal Server Error",
  11897. "schema": {
  11898. "$ref": "#/definitions/app.Response"
  11899. }
  11900. }
  11901. }
  11902. }
  11903. },
  11904. "/User/RemoveUserFavoriteGoods": {
  11905. "post": {
  11906. "security": [
  11907. {
  11908. "ApiKeyAuth": []
  11909. }
  11910. ],
  11911. "produces": [
  11912. "application/json"
  11913. ],
  11914. "tags": [
  11915. "用户信息"
  11916. ],
  11917. "summary": "移除用户商品收藏信息",
  11918. "parameters": [
  11919. {
  11920. "type": "integer",
  11921. "description": "用户ID",
  11922. "name": "userID",
  11923. "in": "query",
  11924. "required": true
  11925. },
  11926. {
  11927. "type": "integer",
  11928. "description": "商品ID",
  11929. "name": "goodsID",
  11930. "in": "query",
  11931. "required": true
  11932. }
  11933. ],
  11934. "responses": {
  11935. "200": {
  11936. "description": "OK",
  11937. "schema": {
  11938. "$ref": "#/definitions/app.Response"
  11939. }
  11940. },
  11941. "500": {
  11942. "description": "Internal Server Error",
  11943. "schema": {
  11944. "$ref": "#/definitions/app.Response"
  11945. }
  11946. }
  11947. }
  11948. }
  11949. },
  11950. "/User/UpdateUserAccountStatus": {
  11951. "post": {
  11952. "security": [
  11953. {
  11954. "ApiKeyAuth": []
  11955. }
  11956. ],
  11957. "produces": [
  11958. "application/json"
  11959. ],
  11960. "tags": [
  11961. "用户信息"
  11962. ],
  11963. "summary": "更新用户状态",
  11964. "parameters": [
  11965. {
  11966. "type": "integer",
  11967. "description": "用户ID",
  11968. "name": "userID",
  11969. "in": "query",
  11970. "required": true
  11971. },
  11972. {
  11973. "type": "integer",
  11974. "description": "账户状态 - 4:正常 6:注销(停用)",
  11975. "name": "accountStatus",
  11976. "in": "query",
  11977. "required": true
  11978. }
  11979. ],
  11980. "responses": {
  11981. "200": {
  11982. "description": "OK",
  11983. "schema": {
  11984. "$ref": "#/definitions/app.Response"
  11985. }
  11986. },
  11987. "500": {
  11988. "description": "Internal Server Error",
  11989. "schema": {
  11990. "$ref": "#/definitions/app.Response"
  11991. }
  11992. }
  11993. }
  11994. }
  11995. },
  11996. "/WRTrade/GetAllDeliveryGoods": {
  11997. "get": {
  11998. "security": [
  11999. {
  12000. "ApiKeyAuth": []
  12001. }
  12002. ],
  12003. "produces": [
  12004. "application/json"
  12005. ],
  12006. "tags": [
  12007. "仓单贸易",
  12008. "仓单贸易"
  12009. ],
  12010. "summary": "获取带仓单分类的种类信息",
  12011. "responses": {
  12012. "200": {
  12013. "description": "OK",
  12014. "schema": {
  12015. "$ref": "#/definitions/app.Response"
  12016. }
  12017. },
  12018. "500": {
  12019. "description": "Internal Server Error",
  12020. "schema": {
  12021. "$ref": "#/definitions/app.Response"
  12022. }
  12023. }
  12024. }
  12025. }
  12026. },
  12027. "/WrTrade2/QueryDeliveryGoodsSection": {
  12028. "get": {
  12029. "security": [
  12030. {
  12031. "ApiKeyAuth": []
  12032. }
  12033. ],
  12034. "produces": [
  12035. "application/json"
  12036. ],
  12037. "tags": [
  12038. "仓单贸易v2"
  12039. ],
  12040. "summary": "查询板块(分类)",
  12041. "responses": {
  12042. "200": {
  12043. "description": "OK",
  12044. "schema": {
  12045. "type": "array",
  12046. "items": {
  12047. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  12048. }
  12049. }
  12050. },
  12051. "500": {
  12052. "description": "Internal Server Error",
  12053. "schema": {
  12054. "$ref": "#/definitions/app.Response"
  12055. }
  12056. }
  12057. }
  12058. }
  12059. },
  12060. "/WrTrade2/QueryFaProductDetail": {
  12061. "get": {
  12062. "security": [
  12063. {
  12064. "ApiKeyAuth": []
  12065. }
  12066. ],
  12067. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  12068. "produces": [
  12069. "application/json"
  12070. ],
  12071. "tags": [
  12072. "仓单贸易v2"
  12073. ],
  12074. "summary": "查询融资产品列表",
  12075. "parameters": [
  12076. {
  12077. "type": "integer",
  12078. "description": "仓单要素id",
  12079. "name": "wrfactortypeid",
  12080. "in": "query",
  12081. "required": true
  12082. }
  12083. ],
  12084. "responses": {
  12085. "200": {
  12086. "description": "OK",
  12087. "schema": {
  12088. "type": "array",
  12089. "items": {
  12090. "$ref": "#/definitions/models.WrFAProductDetail"
  12091. }
  12092. }
  12093. },
  12094. "500": {
  12095. "description": "Internal Server Error",
  12096. "schema": {
  12097. "$ref": "#/definitions/app.Response"
  12098. }
  12099. }
  12100. }
  12101. }
  12102. },
  12103. "/WrTrade2/QueryFilterItem": {
  12104. "get": {
  12105. "security": [
  12106. {
  12107. "ApiKeyAuth": []
  12108. }
  12109. ],
  12110. "produces": [
  12111. "application/json"
  12112. ],
  12113. "tags": [
  12114. "仓单贸易v2"
  12115. ],
  12116. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  12117. "parameters": [
  12118. {
  12119. "type": "string",
  12120. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  12121. "name": "itype",
  12122. "in": "query",
  12123. "required": true
  12124. }
  12125. ],
  12126. "responses": {
  12127. "200": {
  12128. "description": "OK",
  12129. "schema": {
  12130. "type": "array",
  12131. "items": {
  12132. "$ref": "#/definitions/models.WrFilterItem"
  12133. }
  12134. }
  12135. },
  12136. "500": {
  12137. "description": "Internal Server Error",
  12138. "schema": {
  12139. "$ref": "#/definitions/app.Response"
  12140. }
  12141. }
  12142. }
  12143. }
  12144. },
  12145. "/WrTrade2/QueryFtDeliveryGoods": {
  12146. "get": {
  12147. "security": [
  12148. {
  12149. "ApiKeyAuth": []
  12150. }
  12151. ],
  12152. "produces": [
  12153. "application/json"
  12154. ],
  12155. "tags": [
  12156. "仓单贸易v2"
  12157. ],
  12158. "summary": "查询品种品类筛选框列表",
  12159. "responses": {
  12160. "200": {
  12161. "description": "OK",
  12162. "schema": {
  12163. "type": "array",
  12164. "items": {
  12165. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  12166. }
  12167. }
  12168. },
  12169. "500": {
  12170. "description": "Internal Server Error",
  12171. "schema": {
  12172. "$ref": "#/definitions/app.Response"
  12173. }
  12174. }
  12175. }
  12176. }
  12177. },
  12178. "/WrTrade2/QueryHoldLB": {
  12179. "get": {
  12180. "security": [
  12181. {
  12182. "ApiKeyAuth": []
  12183. }
  12184. ],
  12185. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  12186. "produces": [
  12187. "application/json"
  12188. ],
  12189. "tags": [
  12190. "仓单贸易v2"
  12191. ],
  12192. "summary": "查询仓单持有记录",
  12193. "parameters": [
  12194. {
  12195. "type": "integer",
  12196. "description": "资金账号",
  12197. "name": "accountid",
  12198. "in": "query",
  12199. "required": true
  12200. },
  12201. {
  12202. "type": "integer",
  12203. "description": "仓库id",
  12204. "name": "warehouseid",
  12205. "in": "query"
  12206. },
  12207. {
  12208. "type": "integer",
  12209. "description": "品种id",
  12210. "name": "deliverygoodsid",
  12211. "in": "query"
  12212. },
  12213. {
  12214. "type": "integer",
  12215. "description": "品类id",
  12216. "name": "wrstandardid",
  12217. "in": "query"
  12218. },
  12219. {
  12220. "type": "integer",
  12221. "description": "仓单要素id",
  12222. "name": "wrfactortypeid",
  12223. "in": "query"
  12224. },
  12225. {
  12226. "type": "string",
  12227. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12228. "name": "dgitemname",
  12229. "in": "query"
  12230. }
  12231. ],
  12232. "responses": {
  12233. "200": {
  12234. "description": "OK",
  12235. "schema": {
  12236. "type": "array",
  12237. "items": {
  12238. "$ref": "#/definitions/models.WrHoldLB"
  12239. }
  12240. }
  12241. },
  12242. "500": {
  12243. "description": "Internal Server Error",
  12244. "schema": {
  12245. "$ref": "#/definitions/app.Response"
  12246. }
  12247. }
  12248. }
  12249. }
  12250. },
  12251. "/WrTrade2/QueryOrderQuote": {
  12252. "get": {
  12253. "security": [
  12254. {
  12255. "ApiKeyAuth": []
  12256. }
  12257. ],
  12258. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  12259. "produces": [
  12260. "application/json"
  12261. ],
  12262. "tags": [
  12263. "仓单贸易v2"
  12264. ],
  12265. "summary": "查询大厅行情列表",
  12266. "parameters": [
  12267. {
  12268. "type": "integer",
  12269. "description": "页码",
  12270. "name": "page",
  12271. "in": "query"
  12272. },
  12273. {
  12274. "type": "integer",
  12275. "description": "每页条数",
  12276. "name": "pagesize",
  12277. "in": "query"
  12278. },
  12279. {
  12280. "type": "integer",
  12281. "description": "仓单贸易市场id",
  12282. "name": "marketid",
  12283. "in": "query"
  12284. },
  12285. {
  12286. "type": "integer",
  12287. "description": "价格方式 - 1:固定价 2-浮动价",
  12288. "name": "wrpricetype",
  12289. "in": "query",
  12290. "required": true
  12291. },
  12292. {
  12293. "type": "integer",
  12294. "description": "0:仓单预售 1:仓单贸易",
  12295. "name": "haswr",
  12296. "in": "query"
  12297. },
  12298. {
  12299. "type": "string",
  12300. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12301. "name": "dgitemname",
  12302. "in": "query"
  12303. },
  12304. {
  12305. "type": "integer",
  12306. "description": "仓库id(筛选条件)",
  12307. "name": "warehouseid",
  12308. "in": "query"
  12309. },
  12310. {
  12311. "type": "integer",
  12312. "description": "品种id",
  12313. "name": "deliverygoodsid",
  12314. "in": "query"
  12315. },
  12316. {
  12317. "type": "integer",
  12318. "description": "品类id",
  12319. "name": "wrstandardid",
  12320. "in": "query"
  12321. },
  12322. {
  12323. "type": "integer",
  12324. "description": "品牌id(dgfactoryitemid)",
  12325. "name": "brandid",
  12326. "in": "query"
  12327. },
  12328. {
  12329. "type": "integer",
  12330. "description": "年份id(dgfactoryitemid)",
  12331. "name": "yearsid",
  12332. "in": "query"
  12333. },
  12334. {
  12335. "type": "integer",
  12336. "description": "仓单要素id",
  12337. "name": "wrfactortypeid",
  12338. "in": "query"
  12339. },
  12340. {
  12341. "type": "string",
  12342. "description": "交收月(yyyy-mm) 仓单预售填写",
  12343. "name": "deliverymonth",
  12344. "in": "query"
  12345. }
  12346. ],
  12347. "responses": {
  12348. "200": {
  12349. "description": "OK",
  12350. "schema": {
  12351. "type": "array",
  12352. "items": {
  12353. "$ref": "#/definitions/models.WrOrderQuote"
  12354. }
  12355. }
  12356. },
  12357. "500": {
  12358. "description": "Internal Server Error",
  12359. "schema": {
  12360. "$ref": "#/definitions/app.Response"
  12361. }
  12362. }
  12363. }
  12364. }
  12365. },
  12366. "/WrTrade2/QueryOrderQuoteDetail": {
  12367. "get": {
  12368. "security": [
  12369. {
  12370. "ApiKeyAuth": []
  12371. }
  12372. ],
  12373. "produces": [
  12374. "application/json"
  12375. ],
  12376. "tags": [
  12377. "仓单贸易v2"
  12378. ],
  12379. "summary": "查询买卖大厅",
  12380. "parameters": [
  12381. {
  12382. "type": "integer",
  12383. "description": "页码",
  12384. "name": "page",
  12385. "in": "query"
  12386. },
  12387. {
  12388. "type": "integer",
  12389. "description": "每页条数",
  12390. "name": "pagesize",
  12391. "in": "query"
  12392. },
  12393. {
  12394. "type": "integer",
  12395. "description": "仓单贸易市场id",
  12396. "name": "marketid",
  12397. "in": "query"
  12398. },
  12399. {
  12400. "type": "integer",
  12401. "description": "价格方式 - 1:固定价 2-浮动价",
  12402. "name": "wrpricetype",
  12403. "in": "query",
  12404. "required": true
  12405. },
  12406. {
  12407. "type": "integer",
  12408. "description": "0:仓单预售 1:仓单贸易",
  12409. "name": "haswr",
  12410. "in": "query"
  12411. },
  12412. {
  12413. "type": "integer",
  12414. "description": "仓单要素id",
  12415. "name": "wrfactortypeid",
  12416. "in": "query",
  12417. "required": true
  12418. },
  12419. {
  12420. "type": "integer",
  12421. "description": "期货商品id(浮动价方式时填)",
  12422. "name": "goodsid",
  12423. "in": "query"
  12424. },
  12425. {
  12426. "type": "integer",
  12427. "description": "买卖方向 0-买 1-卖",
  12428. "name": "buyorsell",
  12429. "in": "query",
  12430. "required": true
  12431. },
  12432. {
  12433. "type": "string",
  12434. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  12435. "name": "deliverymonth",
  12436. "in": "query"
  12437. }
  12438. ],
  12439. "responses": {
  12440. "200": {
  12441. "description": "OK",
  12442. "schema": {
  12443. "type": "array",
  12444. "items": {
  12445. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  12446. }
  12447. }
  12448. },
  12449. "500": {
  12450. "description": "Internal Server Error",
  12451. "schema": {
  12452. "$ref": "#/definitions/app.Response"
  12453. }
  12454. }
  12455. }
  12456. }
  12457. },
  12458. "/WrTrade2/QueryOrderQuoteMyq": {
  12459. "get": {
  12460. "security": [
  12461. {
  12462. "ApiKeyAuth": []
  12463. }
  12464. ],
  12465. "produces": [
  12466. "application/json"
  12467. ],
  12468. "tags": [
  12469. "仓单贸易v2"
  12470. ],
  12471. "summary": "查询贸易圈挂牌大厅",
  12472. "parameters": [
  12473. {
  12474. "type": "integer",
  12475. "description": "页码",
  12476. "name": "page",
  12477. "in": "query"
  12478. },
  12479. {
  12480. "type": "integer",
  12481. "description": "每页条数",
  12482. "name": "pagesize",
  12483. "in": "query"
  12484. },
  12485. {
  12486. "type": "integer",
  12487. "description": "用户id",
  12488. "name": "userid",
  12489. "in": "query",
  12490. "required": true
  12491. },
  12492. {
  12493. "type": "integer",
  12494. "description": "仓单贸易市场id",
  12495. "name": "marketid",
  12496. "in": "query"
  12497. },
  12498. {
  12499. "type": "integer",
  12500. "description": "0:仓单预售 1:仓单贸易",
  12501. "name": "haswr",
  12502. "in": "query"
  12503. },
  12504. {
  12505. "type": "integer",
  12506. "description": "买卖方向 0-买 1-卖",
  12507. "name": "buyorsell",
  12508. "in": "query",
  12509. "required": true
  12510. },
  12511. {
  12512. "type": "integer",
  12513. "description": "品种id",
  12514. "name": "deliverygoodsid",
  12515. "in": "query"
  12516. },
  12517. {
  12518. "type": "integer",
  12519. "description": "品类id",
  12520. "name": "wrstandardid",
  12521. "in": "query"
  12522. },
  12523. {
  12524. "type": "string",
  12525. "description": "交收月(yyyy-mm) 仓单预售填写",
  12526. "name": "deliverymonth",
  12527. "in": "query"
  12528. },
  12529. {
  12530. "type": "string",
  12531. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12532. "name": "dgitemname",
  12533. "in": "query"
  12534. }
  12535. ],
  12536. "responses": {
  12537. "200": {
  12538. "description": "OK",
  12539. "schema": {
  12540. "type": "array",
  12541. "items": {
  12542. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  12543. }
  12544. }
  12545. },
  12546. "500": {
  12547. "description": "Internal Server Error",
  12548. "schema": {
  12549. "$ref": "#/definitions/app.Response"
  12550. }
  12551. }
  12552. }
  12553. }
  12554. },
  12555. "/WrTrade2/QueryPerformancePlan": {
  12556. "get": {
  12557. "security": [
  12558. {
  12559. "ApiKeyAuth": []
  12560. }
  12561. ],
  12562. "produces": [
  12563. "application/json"
  12564. ],
  12565. "tags": [
  12566. "仓单贸易v2"
  12567. ],
  12568. "summary": "查询履约信息",
  12569. "parameters": [
  12570. {
  12571. "type": "integer",
  12572. "description": "用户id",
  12573. "name": "userid",
  12574. "in": "query",
  12575. "required": true
  12576. },
  12577. {
  12578. "type": "integer",
  12579. "description": "买卖方向 0-买 1-卖",
  12580. "name": "buyorsell",
  12581. "in": "query",
  12582. "required": true
  12583. },
  12584. {
  12585. "type": "string",
  12586. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  12587. "name": "status",
  12588. "in": "query"
  12589. },
  12590. {
  12591. "type": "string",
  12592. "description": "开始交易日(yyyymmdd)",
  12593. "name": "begindate",
  12594. "in": "query"
  12595. },
  12596. {
  12597. "type": "string",
  12598. "description": "结束交易日(yyyymmdd)",
  12599. "name": "enddate",
  12600. "in": "query"
  12601. }
  12602. ],
  12603. "responses": {
  12604. "200": {
  12605. "description": "OK",
  12606. "schema": {
  12607. "type": "array",
  12608. "items": {
  12609. "$ref": "#/definitions/models.WrPerformancePlan"
  12610. }
  12611. }
  12612. },
  12613. "500": {
  12614. "description": "Internal Server Error",
  12615. "schema": {
  12616. "$ref": "#/definitions/app.Response"
  12617. }
  12618. }
  12619. }
  12620. }
  12621. },
  12622. "/WrTrade2/QueryPermancePlanTmp": {
  12623. "get": {
  12624. "security": [
  12625. {
  12626. "ApiKeyAuth": []
  12627. }
  12628. ],
  12629. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  12630. "produces": [
  12631. "application/json"
  12632. ],
  12633. "tags": [
  12634. "仓单贸易v2"
  12635. ],
  12636. "summary": "查询履约模板",
  12637. "parameters": [
  12638. {
  12639. "type": "integer",
  12640. "description": "用户id",
  12641. "name": "userid",
  12642. "in": "query"
  12643. },
  12644. {
  12645. "type": "string",
  12646. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  12647. "name": "tmptype",
  12648. "in": "query"
  12649. },
  12650. {
  12651. "type": "integer",
  12652. "description": "是否包含公共模板(用户id为空的) 1-包含",
  12653. "name": "includepub",
  12654. "in": "query"
  12655. },
  12656. {
  12657. "type": "integer",
  12658. "description": "市场id(天津麦顿指定此参数,其它不用)",
  12659. "name": "marketid",
  12660. "in": "query"
  12661. }
  12662. ],
  12663. "responses": {
  12664. "200": {
  12665. "description": "OK",
  12666. "schema": {
  12667. "type": "array",
  12668. "items": {
  12669. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  12670. }
  12671. }
  12672. },
  12673. "500": {
  12674. "description": "Internal Server Error",
  12675. "schema": {
  12676. "$ref": "#/definitions/app.Response"
  12677. }
  12678. }
  12679. }
  12680. }
  12681. },
  12682. "/WrTrade2/QuerySiteColumnDetail": {
  12683. "get": {
  12684. "security": [
  12685. {
  12686. "ApiKeyAuth": []
  12687. }
  12688. ],
  12689. "produces": [
  12690. "application/json"
  12691. ],
  12692. "tags": [
  12693. "仓单贸易v2"
  12694. ],
  12695. "summary": "查询资讯",
  12696. "parameters": [
  12697. {
  12698. "type": "integer",
  12699. "description": "页码",
  12700. "name": "page",
  12701. "in": "query"
  12702. },
  12703. {
  12704. "type": "integer",
  12705. "description": "每页条数",
  12706. "name": "pagesize",
  12707. "in": "query"
  12708. },
  12709. {
  12710. "type": "integer",
  12711. "description": "所属栏目id",
  12712. "name": "columnid",
  12713. "in": "query"
  12714. }
  12715. ],
  12716. "responses": {
  12717. "200": {
  12718. "description": "OK",
  12719. "schema": {
  12720. "type": "array",
  12721. "items": {
  12722. "$ref": "#/definitions/models.WrSiteColumnDetail"
  12723. }
  12724. }
  12725. },
  12726. "500": {
  12727. "description": "Internal Server Error",
  12728. "schema": {
  12729. "$ref": "#/definitions/app.Response"
  12730. }
  12731. }
  12732. }
  12733. }
  12734. },
  12735. "/WrTrade2/QuerySpotGroupTradeSum": {
  12736. "get": {
  12737. "security": [
  12738. {
  12739. "ApiKeyAuth": []
  12740. }
  12741. ],
  12742. "produces": [
  12743. "application/json"
  12744. ],
  12745. "tags": [
  12746. "仓单贸易v2"
  12747. ],
  12748. "summary": "查询指数",
  12749. "responses": {
  12750. "200": {
  12751. "description": "OK",
  12752. "schema": {
  12753. "type": "array",
  12754. "items": {
  12755. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  12756. }
  12757. }
  12758. },
  12759. "500": {
  12760. "description": "Internal Server Error",
  12761. "schema": {
  12762. "$ref": "#/definitions/app.Response"
  12763. }
  12764. }
  12765. }
  12766. }
  12767. },
  12768. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  12769. "get": {
  12770. "security": [
  12771. {
  12772. "ApiKeyAuth": []
  12773. }
  12774. ],
  12775. "description": "查询的结果将会按日期 从小到大 排序",
  12776. "produces": [
  12777. "application/json"
  12778. ],
  12779. "tags": [
  12780. "仓单贸易v2"
  12781. ],
  12782. "summary": "查询指数详细(价格走势图)",
  12783. "parameters": [
  12784. {
  12785. "type": "integer",
  12786. "description": "现货商品id",
  12787. "name": "deliverygoodsid",
  12788. "in": "query",
  12789. "required": true
  12790. },
  12791. {
  12792. "type": "integer",
  12793. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  12794. "name": "lastnum",
  12795. "in": "query"
  12796. }
  12797. ],
  12798. "responses": {
  12799. "200": {
  12800. "description": "OK",
  12801. "schema": {
  12802. "type": "array",
  12803. "items": {
  12804. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  12805. }
  12806. }
  12807. },
  12808. "500": {
  12809. "description": "Internal Server Error",
  12810. "schema": {
  12811. "$ref": "#/definitions/app.Response"
  12812. }
  12813. }
  12814. }
  12815. }
  12816. },
  12817. "/WrTrade2/QueryWrAverageTradePrice": {
  12818. "get": {
  12819. "security": [
  12820. {
  12821. "ApiKeyAuth": []
  12822. }
  12823. ],
  12824. "produces": [
  12825. "application/json"
  12826. ],
  12827. "tags": [
  12828. "仓单贸易v2"
  12829. ],
  12830. "summary": "查询成交价(历史走势)",
  12831. "parameters": [
  12832. {
  12833. "type": "integer",
  12834. "description": "页码",
  12835. "name": "page",
  12836. "in": "query"
  12837. },
  12838. {
  12839. "type": "integer",
  12840. "description": "每页条数",
  12841. "name": "pagesize",
  12842. "in": "query"
  12843. },
  12844. {
  12845. "type": "integer",
  12846. "description": "0:仓单预售 1:仓单贸易",
  12847. "name": "haswr",
  12848. "in": "query",
  12849. "required": true
  12850. },
  12851. {
  12852. "type": "integer",
  12853. "description": "仓单要素id",
  12854. "name": "wrfactortypeid",
  12855. "in": "query",
  12856. "required": true
  12857. }
  12858. ],
  12859. "responses": {
  12860. "200": {
  12861. "description": "OK",
  12862. "schema": {
  12863. "type": "array",
  12864. "items": {
  12865. "$ref": "#/definitions/models.WrAverageTradePrice"
  12866. }
  12867. }
  12868. },
  12869. "500": {
  12870. "description": "Internal Server Error",
  12871. "schema": {
  12872. "$ref": "#/definitions/app.Response"
  12873. }
  12874. }
  12875. }
  12876. }
  12877. },
  12878. "/WrTrade2/QueryWrBrandAndYears": {
  12879. "get": {
  12880. "security": [
  12881. {
  12882. "ApiKeyAuth": []
  12883. }
  12884. ],
  12885. "produces": [
  12886. "application/json"
  12887. ],
  12888. "tags": [
  12889. "仓单贸易v2"
  12890. ],
  12891. "summary": "查询品牌和年份",
  12892. "responses": {
  12893. "200": {
  12894. "description": "OK",
  12895. "schema": {
  12896. "type": "array",
  12897. "items": {
  12898. "$ref": "#/definitions/models.WrBrandAndYears"
  12899. }
  12900. }
  12901. },
  12902. "500": {
  12903. "description": "Internal Server Error",
  12904. "schema": {
  12905. "$ref": "#/definitions/app.Response"
  12906. }
  12907. }
  12908. }
  12909. }
  12910. },
  12911. "/WrTrade2/QueryWrBsGoodsInfo": {
  12912. "get": {
  12913. "security": [
  12914. {
  12915. "ApiKeyAuth": []
  12916. }
  12917. ],
  12918. "description": "合约交易/买卖大厅/详情",
  12919. "produces": [
  12920. "application/json"
  12921. ],
  12922. "tags": [
  12923. "仓单贸易v2"
  12924. ],
  12925. "summary": "查询合约交易买卖大厅详情",
  12926. "parameters": [
  12927. {
  12928. "type": "integer",
  12929. "description": "商品id",
  12930. "name": "goodsid",
  12931. "in": "query",
  12932. "required": true
  12933. }
  12934. ],
  12935. "responses": {
  12936. "200": {
  12937. "description": "OK",
  12938. "schema": {
  12939. "type": "array",
  12940. "items": {
  12941. "$ref": "#/definitions/models.WrBsGoodsInfo"
  12942. }
  12943. }
  12944. },
  12945. "500": {
  12946. "description": "Internal Server Error",
  12947. "schema": {
  12948. "$ref": "#/definitions/app.Response"
  12949. }
  12950. }
  12951. }
  12952. }
  12953. },
  12954. "/WrTrade2/QueryWrBuybackDetail": {
  12955. "get": {
  12956. "security": [
  12957. {
  12958. "ApiKeyAuth": []
  12959. }
  12960. ],
  12961. "produces": [
  12962. "application/json"
  12963. ],
  12964. "tags": [
  12965. "仓单贸易v2"
  12966. ],
  12967. "summary": "查询仓单回购明细",
  12968. "parameters": [
  12969. {
  12970. "type": "integer",
  12971. "description": "融资合同id",
  12972. "name": "scfcontractid",
  12973. "in": "query"
  12974. }
  12975. ],
  12976. "responses": {
  12977. "200": {
  12978. "description": "OK",
  12979. "schema": {
  12980. "type": "array",
  12981. "items": {
  12982. "$ref": "#/definitions/models.WrBuybackDetail"
  12983. }
  12984. }
  12985. },
  12986. "500": {
  12987. "description": "Internal Server Error",
  12988. "schema": {
  12989. "$ref": "#/definitions/app.Response"
  12990. }
  12991. }
  12992. }
  12993. }
  12994. },
  12995. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  12996. "get": {
  12997. "security": [
  12998. {
  12999. "ApiKeyAuth": []
  13000. }
  13001. ],
  13002. "produces": [
  13003. "application/json"
  13004. ],
  13005. "tags": [
  13006. "仓单贸易v2"
  13007. ],
  13008. "summary": "查询固定广告配置",
  13009. "responses": {
  13010. "200": {
  13011. "description": "OK",
  13012. "schema": {
  13013. "type": "array",
  13014. "items": {
  13015. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  13016. }
  13017. }
  13018. },
  13019. "500": {
  13020. "description": "Internal Server Error",
  13021. "schema": {
  13022. "$ref": "#/definitions/app.Response"
  13023. }
  13024. }
  13025. }
  13026. }
  13027. },
  13028. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  13029. "get": {
  13030. "security": [
  13031. {
  13032. "ApiKeyAuth": []
  13033. }
  13034. ],
  13035. "produces": [
  13036. "application/json"
  13037. ],
  13038. "tags": [
  13039. "仓单贸易v2"
  13040. ],
  13041. "summary": "查询合约交收可点选仓单",
  13042. "parameters": [
  13043. {
  13044. "type": "integer",
  13045. "description": "资金账号",
  13046. "name": "accountid",
  13047. "in": "query",
  13048. "required": true
  13049. },
  13050. {
  13051. "type": "integer",
  13052. "description": "商品id",
  13053. "name": "goodsid",
  13054. "in": "query",
  13055. "required": true
  13056. }
  13057. ],
  13058. "responses": {
  13059. "200": {
  13060. "description": "OK",
  13061. "schema": {
  13062. "type": "array",
  13063. "items": {
  13064. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  13065. }
  13066. }
  13067. },
  13068. "500": {
  13069. "description": "Internal Server Error",
  13070. "schema": {
  13071. "$ref": "#/definitions/app.Response"
  13072. }
  13073. }
  13074. }
  13075. }
  13076. },
  13077. "/WrTrade2/QueryWrDeliveryDetail": {
  13078. "get": {
  13079. "security": [
  13080. {
  13081. "ApiKeyAuth": []
  13082. }
  13083. ],
  13084. "produces": [
  13085. "application/json"
  13086. ],
  13087. "tags": [
  13088. "仓单贸易v2"
  13089. ],
  13090. "summary": "查询交收",
  13091. "parameters": [
  13092. {
  13093. "type": "integer",
  13094. "description": "用户id",
  13095. "name": "userid",
  13096. "in": "query",
  13097. "required": true
  13098. },
  13099. {
  13100. "type": "integer",
  13101. "description": "资金账号id",
  13102. "name": "accountid",
  13103. "in": "query"
  13104. },
  13105. {
  13106. "type": "string",
  13107. "description": "开始交易日(yyyymmdd)",
  13108. "name": "begindate",
  13109. "in": "query"
  13110. },
  13111. {
  13112. "type": "string",
  13113. "description": "结束交易日(yyyymmdd)",
  13114. "name": "enddate",
  13115. "in": "query"
  13116. }
  13117. ],
  13118. "responses": {
  13119. "200": {
  13120. "description": "OK",
  13121. "schema": {
  13122. "type": "array",
  13123. "items": {
  13124. "$ref": "#/definitions/models.WrDeliveryDetail"
  13125. }
  13126. }
  13127. },
  13128. "500": {
  13129. "description": "Internal Server Error",
  13130. "schema": {
  13131. "$ref": "#/definitions/app.Response"
  13132. }
  13133. }
  13134. }
  13135. }
  13136. },
  13137. "/WrTrade2/QueryWrDraftUserInfo": {
  13138. "get": {
  13139. "security": [
  13140. {
  13141. "ApiKeyAuth": []
  13142. }
  13143. ],
  13144. "produces": [
  13145. "application/json"
  13146. ],
  13147. "tags": [
  13148. "仓单贸易v2"
  13149. ],
  13150. "summary": "查询实名认证信息",
  13151. "parameters": [
  13152. {
  13153. "type": "integer",
  13154. "description": "用户ID",
  13155. "name": "userid",
  13156. "in": "query",
  13157. "required": true
  13158. },
  13159. {
  13160. "type": "integer",
  13161. "description": "用户状态 1:正常 2:注销",
  13162. "name": "userstatus",
  13163. "in": "query"
  13164. }
  13165. ],
  13166. "responses": {
  13167. "200": {
  13168. "description": "OK",
  13169. "schema": {
  13170. "type": "array",
  13171. "items": {
  13172. "$ref": "#/definitions/models.WrDraftUserInfo"
  13173. }
  13174. }
  13175. },
  13176. "500": {
  13177. "description": "Internal Server Error",
  13178. "schema": {
  13179. "$ref": "#/definitions/app.Response"
  13180. }
  13181. }
  13182. }
  13183. }
  13184. },
  13185. "/WrTrade2/QueryWrFactorTypeInfo": {
  13186. "get": {
  13187. "security": [
  13188. {
  13189. "ApiKeyAuth": []
  13190. }
  13191. ],
  13192. "produces": [
  13193. "application/json"
  13194. ],
  13195. "tags": [
  13196. "仓单贸易v2"
  13197. ],
  13198. "summary": "查询仓单要素详细信息",
  13199. "parameters": [
  13200. {
  13201. "type": "integer",
  13202. "description": "仓单要素id",
  13203. "name": "wrfactortypeid",
  13204. "in": "query",
  13205. "required": true
  13206. }
  13207. ],
  13208. "responses": {
  13209. "200": {
  13210. "description": "OK",
  13211. "schema": {
  13212. "type": "array",
  13213. "items": {
  13214. "$ref": "#/definitions/models.WrFactorTypeInfo"
  13215. }
  13216. }
  13217. },
  13218. "500": {
  13219. "description": "Internal Server Error",
  13220. "schema": {
  13221. "$ref": "#/definitions/app.Response"
  13222. }
  13223. }
  13224. }
  13225. }
  13226. },
  13227. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  13228. "get": {
  13229. "security": [
  13230. {
  13231. "ApiKeyAuth": []
  13232. }
  13233. ],
  13234. "produces": [
  13235. "application/json"
  13236. ],
  13237. "tags": [
  13238. "仓单贸易v2"
  13239. ],
  13240. "summary": "查询仓单要素详细信息列表项",
  13241. "parameters": [
  13242. {
  13243. "type": "integer",
  13244. "description": "仓单要素id",
  13245. "name": "wrfactortypeid",
  13246. "in": "query",
  13247. "required": true
  13248. }
  13249. ],
  13250. "responses": {
  13251. "200": {
  13252. "description": "OK",
  13253. "schema": {
  13254. "type": "array",
  13255. "items": {
  13256. "$ref": "#/definitions/models.WrTypeItem"
  13257. }
  13258. }
  13259. },
  13260. "500": {
  13261. "description": "Internal Server Error",
  13262. "schema": {
  13263. "$ref": "#/definitions/app.Response"
  13264. }
  13265. }
  13266. }
  13267. }
  13268. },
  13269. "/WrTrade2/QueryWrFinanceBuyApply": {
  13270. "get": {
  13271. "security": [
  13272. {
  13273. "ApiKeyAuth": []
  13274. }
  13275. ],
  13276. "description": "页面 融资信息+ / 申请单",
  13277. "produces": [
  13278. "application/json"
  13279. ],
  13280. "tags": [
  13281. "仓单贸易v2"
  13282. ],
  13283. "summary": "查询融资购买申请",
  13284. "parameters": [
  13285. {
  13286. "type": "integer",
  13287. "description": "用户id",
  13288. "name": "userid",
  13289. "in": "query",
  13290. "required": true
  13291. }
  13292. ],
  13293. "responses": {
  13294. "200": {
  13295. "description": "OK",
  13296. "schema": {
  13297. "type": "array",
  13298. "items": {
  13299. "$ref": "#/definitions/models.WrFinanceBuyApply"
  13300. }
  13301. }
  13302. },
  13303. "500": {
  13304. "description": "Internal Server Error",
  13305. "schema": {
  13306. "$ref": "#/definitions/app.Response"
  13307. }
  13308. }
  13309. }
  13310. }
  13311. },
  13312. "/WrTrade2/QueryWrFriendApply": {
  13313. "get": {
  13314. "security": [
  13315. {
  13316. "ApiKeyAuth": []
  13317. }
  13318. ],
  13319. "produces": [
  13320. "application/json"
  13321. ],
  13322. "tags": [
  13323. "仓单贸易v2"
  13324. ],
  13325. "summary": "查询好友申请记录",
  13326. "parameters": [
  13327. {
  13328. "type": "integer",
  13329. "description": "用户id",
  13330. "name": "userid",
  13331. "in": "query",
  13332. "required": true
  13333. }
  13334. ],
  13335. "responses": {
  13336. "200": {
  13337. "description": "OK",
  13338. "schema": {
  13339. "type": "array",
  13340. "items": {
  13341. "$ref": "#/definitions/models.WrFriendApply"
  13342. }
  13343. }
  13344. },
  13345. "500": {
  13346. "description": "Internal Server Error",
  13347. "schema": {
  13348. "$ref": "#/definitions/app.Response"
  13349. }
  13350. }
  13351. }
  13352. }
  13353. },
  13354. "/WrTrade2/QueryWrGoodsInfo": {
  13355. "get": {
  13356. "security": [
  13357. {
  13358. "ApiKeyAuth": []
  13359. }
  13360. ],
  13361. "produces": [
  13362. "application/json"
  13363. ],
  13364. "tags": [
  13365. "仓单贸易v2"
  13366. ],
  13367. "summary": "查询仓单商品信息",
  13368. "parameters": [
  13369. {
  13370. "type": "integer",
  13371. "description": "仓单贸易市场id",
  13372. "name": "marketid",
  13373. "in": "query"
  13374. },
  13375. {
  13376. "type": "integer",
  13377. "description": "0:仓单预售 1:仓单贸易",
  13378. "name": "haswr",
  13379. "in": "query",
  13380. "required": true
  13381. },
  13382. {
  13383. "type": "integer",
  13384. "description": "仓单要素id",
  13385. "name": "wrfactortypeid",
  13386. "in": "query",
  13387. "required": true
  13388. },
  13389. {
  13390. "type": "integer",
  13391. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  13392. "name": "tmplateid",
  13393. "in": "query"
  13394. }
  13395. ],
  13396. "responses": {
  13397. "200": {
  13398. "description": "OK",
  13399. "schema": {
  13400. "type": "array",
  13401. "items": {
  13402. "$ref": "#/definitions/models.WrGoodsInfo"
  13403. }
  13404. }
  13405. },
  13406. "500": {
  13407. "description": "Internal Server Error",
  13408. "schema": {
  13409. "$ref": "#/definitions/app.Response"
  13410. }
  13411. }
  13412. }
  13413. }
  13414. },
  13415. "/WrTrade2/QueryWrMarketTradeConfig": {
  13416. "get": {
  13417. "security": [
  13418. {
  13419. "ApiKeyAuth": []
  13420. }
  13421. ],
  13422. "produces": [
  13423. "application/json"
  13424. ],
  13425. "tags": [
  13426. "仓单贸易v2"
  13427. ],
  13428. "summary": "查询市场交易参数配置",
  13429. "parameters": [
  13430. {
  13431. "type": "integer",
  13432. "description": "市场id",
  13433. "name": "marketid",
  13434. "in": "query"
  13435. }
  13436. ],
  13437. "responses": {
  13438. "200": {
  13439. "description": "OK",
  13440. "schema": {
  13441. "type": "array",
  13442. "items": {
  13443. "$ref": "#/definitions/models.WrMarketTradeConfig"
  13444. }
  13445. }
  13446. },
  13447. "500": {
  13448. "description": "Internal Server Error",
  13449. "schema": {
  13450. "$ref": "#/definitions/app.Response"
  13451. }
  13452. }
  13453. }
  13454. }
  13455. },
  13456. "/WrTrade2/QueryWrOrderDetail": {
  13457. "get": {
  13458. "security": [
  13459. {
  13460. "ApiKeyAuth": []
  13461. }
  13462. ],
  13463. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  13464. "produces": [
  13465. "application/json"
  13466. ],
  13467. "tags": [
  13468. "仓单贸易v2"
  13469. ],
  13470. "summary": "查询仓单委托单",
  13471. "parameters": [
  13472. {
  13473. "type": "integer",
  13474. "description": "页码",
  13475. "name": "page",
  13476. "in": "query"
  13477. },
  13478. {
  13479. "type": "integer",
  13480. "description": "每页条数",
  13481. "name": "pagesize",
  13482. "in": "query"
  13483. },
  13484. {
  13485. "type": "integer",
  13486. "description": "用户id",
  13487. "name": "userid",
  13488. "in": "query",
  13489. "required": true
  13490. },
  13491. {
  13492. "type": "integer",
  13493. "description": "仓单贸易市场id",
  13494. "name": "marketid",
  13495. "in": "query"
  13496. },
  13497. {
  13498. "type": "integer",
  13499. "description": "0:仓单预售 1:仓单贸易",
  13500. "name": "haswr",
  13501. "in": "query",
  13502. "required": true
  13503. },
  13504. {
  13505. "type": "integer",
  13506. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  13507. "name": "bcancel",
  13508. "in": "query"
  13509. },
  13510. {
  13511. "type": "integer",
  13512. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  13513. "name": "wrtradetype",
  13514. "in": "query"
  13515. },
  13516. {
  13517. "type": "string",
  13518. "description": "开始交易日(yyyymmdd)",
  13519. "name": "begindate",
  13520. "in": "query"
  13521. },
  13522. {
  13523. "type": "string",
  13524. "description": "结束交易日(yyyymmdd)",
  13525. "name": "enddate",
  13526. "in": "query"
  13527. }
  13528. ],
  13529. "responses": {
  13530. "200": {
  13531. "description": "OK",
  13532. "schema": {
  13533. "type": "array",
  13534. "items": {
  13535. "$ref": "#/definitions/models.WrOrderDetail"
  13536. }
  13537. }
  13538. },
  13539. "500": {
  13540. "description": "Internal Server Error",
  13541. "schema": {
  13542. "$ref": "#/definitions/app.Response"
  13543. }
  13544. }
  13545. }
  13546. }
  13547. },
  13548. "/WrTrade2/QueryWrOutInApply": {
  13549. "get": {
  13550. "security": [
  13551. {
  13552. "ApiKeyAuth": []
  13553. }
  13554. ],
  13555. "produces": [
  13556. "application/json"
  13557. ],
  13558. "tags": [
  13559. "仓单贸易v2"
  13560. ],
  13561. "summary": "查询提货申请",
  13562. "parameters": [
  13563. {
  13564. "type": "integer",
  13565. "description": "用户id",
  13566. "name": "userid",
  13567. "in": "query",
  13568. "required": true
  13569. },
  13570. {
  13571. "type": "string",
  13572. "description": "开始交易日(yyyymmdd)",
  13573. "name": "begindate",
  13574. "in": "query"
  13575. },
  13576. {
  13577. "type": "string",
  13578. "description": "结束交易日(yyyymmdd)",
  13579. "name": "enddate",
  13580. "in": "query"
  13581. }
  13582. ],
  13583. "responses": {
  13584. "200": {
  13585. "description": "OK",
  13586. "schema": {
  13587. "type": "array",
  13588. "items": {
  13589. "$ref": "#/definitions/models.WrOutInApply"
  13590. }
  13591. }
  13592. },
  13593. "500": {
  13594. "description": "Internal Server Error",
  13595. "schema": {
  13596. "$ref": "#/definitions/app.Response"
  13597. }
  13598. }
  13599. }
  13600. }
  13601. },
  13602. "/WrTrade2/QueryWrPerformancePlanStep": {
  13603. "get": {
  13604. "security": [
  13605. {
  13606. "ApiKeyAuth": []
  13607. }
  13608. ],
  13609. "produces": [
  13610. "application/json"
  13611. ],
  13612. "tags": [
  13613. "仓单贸易v2"
  13614. ],
  13615. "summary": "查询履约信息详情",
  13616. "parameters": [
  13617. {
  13618. "type": "integer",
  13619. "description": "履约计划id(performanceplanid)",
  13620. "name": "planid",
  13621. "in": "query",
  13622. "required": true
  13623. },
  13624. {
  13625. "type": "integer",
  13626. "description": "当前步骤id",
  13627. "name": "curstepid",
  13628. "in": "query"
  13629. }
  13630. ],
  13631. "responses": {
  13632. "200": {
  13633. "description": "OK",
  13634. "schema": {
  13635. "type": "array",
  13636. "items": {
  13637. "$ref": "#/definitions/models.WrPerformancePlanStep"
  13638. }
  13639. }
  13640. },
  13641. "500": {
  13642. "description": "Internal Server Error",
  13643. "schema": {
  13644. "$ref": "#/definitions/app.Response"
  13645. }
  13646. }
  13647. }
  13648. }
  13649. },
  13650. "/WrTrade2/QueryWrPerformanceStepType": {
  13651. "get": {
  13652. "security": [
  13653. {
  13654. "ApiKeyAuth": []
  13655. }
  13656. ],
  13657. "produces": [
  13658. "application/json"
  13659. ],
  13660. "tags": [
  13661. "仓单贸易v2"
  13662. ],
  13663. "summary": "查询履约步骤枚举",
  13664. "responses": {
  13665. "200": {
  13666. "description": "OK",
  13667. "schema": {
  13668. "type": "array",
  13669. "items": {
  13670. "$ref": "#/definitions/models.WrPerformanceStepType"
  13671. }
  13672. }
  13673. },
  13674. "500": {
  13675. "description": "Internal Server Error",
  13676. "schema": {
  13677. "$ref": "#/definitions/app.Response"
  13678. }
  13679. }
  13680. }
  13681. }
  13682. },
  13683. "/WrTrade2/QueryWrPosition": {
  13684. "get": {
  13685. "security": [
  13686. {
  13687. "ApiKeyAuth": []
  13688. }
  13689. ],
  13690. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  13691. "produces": [
  13692. "application/json"
  13693. ],
  13694. "tags": [
  13695. "仓单贸易v2"
  13696. ],
  13697. "summary": "查询现货(预售)仓单持仓",
  13698. "parameters": [
  13699. {
  13700. "type": "integer",
  13701. "description": "用户id",
  13702. "name": "userid",
  13703. "in": "query",
  13704. "required": true
  13705. },
  13706. {
  13707. "type": "integer",
  13708. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  13709. "name": "querytype",
  13710. "in": "query",
  13711. "required": true
  13712. },
  13713. {
  13714. "type": "integer",
  13715. "description": "0:仓单预售 1:仓单贸易",
  13716. "name": "haswr",
  13717. "in": "query",
  13718. "required": true
  13719. },
  13720. {
  13721. "type": "string",
  13722. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13723. "name": "dgitemname",
  13724. "in": "query"
  13725. },
  13726. {
  13727. "type": "integer",
  13728. "description": "仓库id(筛选条件)",
  13729. "name": "warehouseid",
  13730. "in": "query"
  13731. },
  13732. {
  13733. "type": "integer",
  13734. "description": "品种id",
  13735. "name": "deliverygoodsid",
  13736. "in": "query"
  13737. },
  13738. {
  13739. "type": "integer",
  13740. "description": "品类id",
  13741. "name": "wrstandardid",
  13742. "in": "query"
  13743. }
  13744. ],
  13745. "responses": {
  13746. "200": {
  13747. "description": "OK",
  13748. "schema": {
  13749. "type": "array",
  13750. "items": {
  13751. "$ref": "#/definitions/models.WrPosition"
  13752. }
  13753. }
  13754. },
  13755. "500": {
  13756. "description": "Internal Server Error",
  13757. "schema": {
  13758. "$ref": "#/definitions/app.Response"
  13759. }
  13760. }
  13761. }
  13762. }
  13763. },
  13764. "/WrTrade2/QueryWrPreSaleInfo": {
  13765. "get": {
  13766. "security": [
  13767. {
  13768. "ApiKeyAuth": []
  13769. }
  13770. ],
  13771. "produces": [
  13772. "application/json"
  13773. ],
  13774. "tags": [
  13775. "仓单贸易v2"
  13776. ],
  13777. "summary": "查询新品发布",
  13778. "parameters": [
  13779. {
  13780. "type": "integer",
  13781. "description": "市场id",
  13782. "name": "marketid",
  13783. "in": "query"
  13784. },
  13785. {
  13786. "type": "string",
  13787. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  13788. "name": "presalestatus",
  13789. "in": "query"
  13790. },
  13791. {
  13792. "type": "integer",
  13793. "description": "摇号标识 - 0:未摇号 1:已摇号",
  13794. "name": "lotteryflag",
  13795. "in": "query"
  13796. },
  13797. {
  13798. "type": "integer",
  13799. "description": "最近多少条记录(按创建时间倒序)",
  13800. "name": "lastnum",
  13801. "in": "query"
  13802. }
  13803. ],
  13804. "responses": {
  13805. "200": {
  13806. "description": "OK",
  13807. "schema": {
  13808. "type": "array",
  13809. "items": {
  13810. "$ref": "#/definitions/models.WrPreSaleInfo"
  13811. }
  13812. }
  13813. },
  13814. "500": {
  13815. "description": "Internal Server Error",
  13816. "schema": {
  13817. "$ref": "#/definitions/app.Response"
  13818. }
  13819. }
  13820. }
  13821. }
  13822. },
  13823. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  13824. "get": {
  13825. "security": [
  13826. {
  13827. "ApiKeyAuth": []
  13828. }
  13829. ],
  13830. "produces": [
  13831. "application/json"
  13832. ],
  13833. "tags": [
  13834. "仓单贸易v2"
  13835. ],
  13836. "summary": "查询价格走势",
  13837. "parameters": [
  13838. {
  13839. "type": "integer",
  13840. "description": "市场id",
  13841. "name": "marketid",
  13842. "in": "query",
  13843. "required": true
  13844. },
  13845. {
  13846. "type": "integer",
  13847. "description": "现货商品id",
  13848. "name": "wrstandardid",
  13849. "in": "query",
  13850. "required": true
  13851. },
  13852. {
  13853. "type": "string",
  13854. "description": "开始交易日(yyyymmdd)",
  13855. "name": "begindate",
  13856. "in": "query"
  13857. },
  13858. {
  13859. "type": "string",
  13860. "description": "结束交易日(yyyymmdd)",
  13861. "name": "enddate",
  13862. "in": "query"
  13863. },
  13864. {
  13865. "type": "integer",
  13866. "description": "最近多少条记录(按交易日倒序)",
  13867. "name": "lastnum",
  13868. "in": "query"
  13869. }
  13870. ],
  13871. "responses": {
  13872. "200": {
  13873. "description": "OK",
  13874. "schema": {
  13875. "type": "array",
  13876. "items": {
  13877. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  13878. }
  13879. }
  13880. },
  13881. "500": {
  13882. "description": "Internal Server Error",
  13883. "schema": {
  13884. "$ref": "#/definitions/app.Response"
  13885. }
  13886. }
  13887. }
  13888. }
  13889. },
  13890. "/WrTrade2/QueryWrScfContract": {
  13891. "get": {
  13892. "security": [
  13893. {
  13894. "ApiKeyAuth": []
  13895. }
  13896. ],
  13897. "produces": [
  13898. "application/json"
  13899. ],
  13900. "tags": [
  13901. "仓单贸易v2"
  13902. ],
  13903. "summary": "查询仓单贸易融资合同",
  13904. "parameters": [
  13905. {
  13906. "type": "integer",
  13907. "description": "用户id",
  13908. "name": "userid",
  13909. "in": "query",
  13910. "required": true
  13911. },
  13912. {
  13913. "type": "integer",
  13914. "description": "融资合同id",
  13915. "name": "scfcontractid",
  13916. "in": "query"
  13917. }
  13918. ],
  13919. "responses": {
  13920. "200": {
  13921. "description": "OK",
  13922. "schema": {
  13923. "type": "array",
  13924. "items": {
  13925. "$ref": "#/definitions/models.WrScfContract"
  13926. }
  13927. }
  13928. },
  13929. "500": {
  13930. "description": "Internal Server Error",
  13931. "schema": {
  13932. "$ref": "#/definitions/app.Response"
  13933. }
  13934. }
  13935. }
  13936. }
  13937. },
  13938. "/WrTrade2/QueryWrScfContractInterest": {
  13939. "get": {
  13940. "security": [
  13941. {
  13942. "ApiKeyAuth": []
  13943. }
  13944. ],
  13945. "produces": [
  13946. "application/json"
  13947. ],
  13948. "tags": [
  13949. "仓单贸易v2"
  13950. ],
  13951. "summary": "查询融资合同费用明细",
  13952. "parameters": [
  13953. {
  13954. "type": "integer",
  13955. "description": "融资合同id",
  13956. "name": "scfcontractid",
  13957. "in": "query"
  13958. }
  13959. ],
  13960. "responses": {
  13961. "200": {
  13962. "description": "OK",
  13963. "schema": {
  13964. "type": "array",
  13965. "items": {
  13966. "$ref": "#/definitions/models.WrScfContractInterest"
  13967. }
  13968. }
  13969. },
  13970. "500": {
  13971. "description": "Internal Server Error",
  13972. "schema": {
  13973. "$ref": "#/definitions/app.Response"
  13974. }
  13975. }
  13976. }
  13977. }
  13978. },
  13979. "/WrTrade2/QueryWrSearchUser": {
  13980. "get": {
  13981. "security": [
  13982. {
  13983. "ApiKeyAuth": []
  13984. }
  13985. ],
  13986. "produces": [
  13987. "application/json"
  13988. ],
  13989. "tags": [
  13990. "仓单贸易v2"
  13991. ],
  13992. "summary": "查询用户",
  13993. "parameters": [
  13994. {
  13995. "type": "string",
  13996. "description": "用户名称(模糊匹配)",
  13997. "name": "username",
  13998. "in": "query",
  13999. "required": true
  14000. }
  14001. ],
  14002. "responses": {
  14003. "200": {
  14004. "description": "OK",
  14005. "schema": {
  14006. "type": "array",
  14007. "items": {
  14008. "$ref": "#/definitions/models.WrSearchUser"
  14009. }
  14010. }
  14011. },
  14012. "500": {
  14013. "description": "Internal Server Error",
  14014. "schema": {
  14015. "$ref": "#/definitions/app.Response"
  14016. }
  14017. }
  14018. }
  14019. }
  14020. },
  14021. "/WrTrade2/QueryWrSpecialMatchOrder": {
  14022. "get": {
  14023. "security": [
  14024. {
  14025. "ApiKeyAuth": []
  14026. }
  14027. ],
  14028. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  14029. "produces": [
  14030. "application/json"
  14031. ],
  14032. "tags": [
  14033. "仓单贸易v2"
  14034. ],
  14035. "summary": "查询指定成交",
  14036. "parameters": [
  14037. {
  14038. "type": "integer",
  14039. "description": "页码",
  14040. "name": "page",
  14041. "in": "query"
  14042. },
  14043. {
  14044. "type": "integer",
  14045. "description": "每页条数",
  14046. "name": "pagesize",
  14047. "in": "query"
  14048. },
  14049. {
  14050. "type": "integer",
  14051. "description": "用户id",
  14052. "name": "userid",
  14053. "in": "query",
  14054. "required": true
  14055. },
  14056. {
  14057. "type": "integer",
  14058. "description": "仓单贸易市场id",
  14059. "name": "marketid",
  14060. "in": "query"
  14061. },
  14062. {
  14063. "type": "integer",
  14064. "description": "0:仓单预售 1:仓单贸易",
  14065. "name": "haswr",
  14066. "in": "query",
  14067. "required": true
  14068. },
  14069. {
  14070. "type": "integer",
  14071. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  14072. "name": "isspecified",
  14073. "in": "query"
  14074. }
  14075. ],
  14076. "responses": {
  14077. "200": {
  14078. "description": "OK",
  14079. "schema": {
  14080. "type": "array",
  14081. "items": {
  14082. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  14083. }
  14084. }
  14085. },
  14086. "500": {
  14087. "description": "Internal Server Error",
  14088. "schema": {
  14089. "$ref": "#/definitions/app.Response"
  14090. }
  14091. }
  14092. }
  14093. }
  14094. },
  14095. "/WrTrade2/QueryWrStandardFactoryItem": {
  14096. "get": {
  14097. "security": [
  14098. {
  14099. "ApiKeyAuth": []
  14100. }
  14101. ],
  14102. "produces": [
  14103. "application/json"
  14104. ],
  14105. "tags": [
  14106. "仓单贸易v2"
  14107. ],
  14108. "summary": "查询品类要素定义项",
  14109. "parameters": [
  14110. {
  14111. "type": "integer",
  14112. "description": "品类id",
  14113. "name": "wrstandardid",
  14114. "in": "query",
  14115. "required": true
  14116. }
  14117. ],
  14118. "responses": {
  14119. "200": {
  14120. "description": "OK",
  14121. "schema": {
  14122. "type": "array",
  14123. "items": {
  14124. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  14125. }
  14126. }
  14127. },
  14128. "500": {
  14129. "description": "Internal Server Error",
  14130. "schema": {
  14131. "$ref": "#/definitions/app.Response"
  14132. }
  14133. }
  14134. }
  14135. }
  14136. },
  14137. "/WrTrade2/QueryWrTradeBargainApply": {
  14138. "get": {
  14139. "security": [
  14140. {
  14141. "ApiKeyAuth": []
  14142. }
  14143. ],
  14144. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  14145. "produces": [
  14146. "application/json"
  14147. ],
  14148. "tags": [
  14149. "仓单贸易v2"
  14150. ],
  14151. "summary": "查询议价单",
  14152. "parameters": [
  14153. {
  14154. "type": "integer",
  14155. "description": "议价人id(摘牌方)",
  14156. "name": "userid",
  14157. "in": "query"
  14158. },
  14159. {
  14160. "type": "integer",
  14161. "description": "挂牌方id(查对方议价时,填写此项)",
  14162. "name": "matchuserid",
  14163. "in": "query"
  14164. },
  14165. {
  14166. "type": "integer",
  14167. "description": "关联委托单id",
  14168. "name": "wrtradeorderid",
  14169. "in": "query"
  14170. },
  14171. {
  14172. "type": "integer",
  14173. "description": "0:仓单预售 1:仓单贸易",
  14174. "name": "haswr",
  14175. "in": "query",
  14176. "required": true
  14177. },
  14178. {
  14179. "type": "string",
  14180. "description": "开始交易日(yyyymmdd)",
  14181. "name": "begindate",
  14182. "in": "query"
  14183. },
  14184. {
  14185. "type": "string",
  14186. "description": "结束交易日(yyyymmdd)",
  14187. "name": "enddate",
  14188. "in": "query"
  14189. }
  14190. ],
  14191. "responses": {
  14192. "200": {
  14193. "description": "OK",
  14194. "schema": {
  14195. "type": "array",
  14196. "items": {
  14197. "$ref": "#/definitions/models.WRTradeBargainApply"
  14198. }
  14199. }
  14200. },
  14201. "500": {
  14202. "description": "Internal Server Error",
  14203. "schema": {
  14204. "$ref": "#/definitions/app.Response"
  14205. }
  14206. }
  14207. }
  14208. }
  14209. },
  14210. "/WrTrade2/QueryWrTradeDetail": {
  14211. "get": {
  14212. "security": [
  14213. {
  14214. "ApiKeyAuth": []
  14215. }
  14216. ],
  14217. "produces": [
  14218. "application/json"
  14219. ],
  14220. "tags": [
  14221. "仓单贸易v2"
  14222. ],
  14223. "summary": "查询仓单成交明细",
  14224. "parameters": [
  14225. {
  14226. "type": "integer",
  14227. "description": "页码",
  14228. "name": "page",
  14229. "in": "query"
  14230. },
  14231. {
  14232. "type": "integer",
  14233. "description": "每页条数",
  14234. "name": "pagesize",
  14235. "in": "query"
  14236. },
  14237. {
  14238. "type": "integer",
  14239. "description": "用户id",
  14240. "name": "userid",
  14241. "in": "query",
  14242. "required": true
  14243. },
  14244. {
  14245. "type": "integer",
  14246. "description": "仓单贸易市场id",
  14247. "name": "marketid",
  14248. "in": "query"
  14249. },
  14250. {
  14251. "type": "integer",
  14252. "description": "0:仓单预售 1:仓单贸易",
  14253. "name": "haswr",
  14254. "in": "query",
  14255. "required": true
  14256. },
  14257. {
  14258. "type": "string",
  14259. "description": "开始交易日(yyyymmdd)",
  14260. "name": "begindate",
  14261. "in": "query"
  14262. },
  14263. {
  14264. "type": "string",
  14265. "description": "结束交易日(yyyymmdd)",
  14266. "name": "enddate",
  14267. "in": "query"
  14268. }
  14269. ],
  14270. "responses": {
  14271. "200": {
  14272. "description": "OK",
  14273. "schema": {
  14274. "type": "array",
  14275. "items": {
  14276. "$ref": "#/definitions/models.WrTradeDetail"
  14277. }
  14278. }
  14279. },
  14280. "500": {
  14281. "description": "Internal Server Error",
  14282. "schema": {
  14283. "$ref": "#/definitions/app.Response"
  14284. }
  14285. }
  14286. }
  14287. }
  14288. },
  14289. "/WrTrade2/QueryWrTradeOrderDetail": {
  14290. "get": {
  14291. "security": [
  14292. {
  14293. "ApiKeyAuth": []
  14294. }
  14295. ],
  14296. "produces": [
  14297. "application/json"
  14298. ],
  14299. "tags": [
  14300. "仓单贸易v2"
  14301. ],
  14302. "summary": "查询合约交易买卖大厅",
  14303. "parameters": [
  14304. {
  14305. "type": "integer",
  14306. "description": "页码",
  14307. "name": "page",
  14308. "in": "query"
  14309. },
  14310. {
  14311. "type": "integer",
  14312. "description": "每页条数",
  14313. "name": "pagesize",
  14314. "in": "query"
  14315. },
  14316. {
  14317. "type": "integer",
  14318. "description": "商品id",
  14319. "name": "goodsid",
  14320. "in": "query",
  14321. "required": true
  14322. },
  14323. {
  14324. "type": "integer",
  14325. "description": "买卖方向 0-买 1-卖",
  14326. "name": "buyorsell",
  14327. "in": "query",
  14328. "required": true
  14329. }
  14330. ],
  14331. "responses": {
  14332. "200": {
  14333. "description": "OK",
  14334. "schema": {
  14335. "type": "array",
  14336. "items": {
  14337. "$ref": "#/definitions/models.WrTradeOrderDetail"
  14338. }
  14339. }
  14340. },
  14341. "500": {
  14342. "description": "Internal Server Error",
  14343. "schema": {
  14344. "$ref": "#/definitions/app.Response"
  14345. }
  14346. }
  14347. }
  14348. }
  14349. },
  14350. "/WrTrade2/QueryWrUserFriend": {
  14351. "get": {
  14352. "security": [
  14353. {
  14354. "ApiKeyAuth": []
  14355. }
  14356. ],
  14357. "produces": [
  14358. "application/json"
  14359. ],
  14360. "tags": [
  14361. "仓单贸易v2"
  14362. ],
  14363. "summary": "查询我的朋友",
  14364. "parameters": [
  14365. {
  14366. "type": "integer",
  14367. "description": "用户id",
  14368. "name": "userid",
  14369. "in": "query",
  14370. "required": true
  14371. },
  14372. {
  14373. "type": "integer",
  14374. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  14375. "name": "newuserid",
  14376. "in": "query"
  14377. }
  14378. ],
  14379. "responses": {
  14380. "200": {
  14381. "description": "OK",
  14382. "schema": {
  14383. "type": "array",
  14384. "items": {
  14385. "$ref": "#/definitions/models.WrUserFriend"
  14386. }
  14387. }
  14388. },
  14389. "500": {
  14390. "description": "Internal Server Error",
  14391. "schema": {
  14392. "$ref": "#/definitions/app.Response"
  14393. }
  14394. }
  14395. }
  14396. }
  14397. },
  14398. "/WrTrade2/QueryWrUserReceiptInfo": {
  14399. "get": {
  14400. "security": [
  14401. {
  14402. "ApiKeyAuth": []
  14403. }
  14404. ],
  14405. "produces": [
  14406. "application/json"
  14407. ],
  14408. "tags": [
  14409. "仓单贸易v2"
  14410. ],
  14411. "summary": "查询发票信息",
  14412. "parameters": [
  14413. {
  14414. "type": "integer",
  14415. "description": "用户id",
  14416. "name": "userid",
  14417. "in": "query"
  14418. },
  14419. {
  14420. "type": "integer",
  14421. "description": "发票类型 - 1:个人 2:企业",
  14422. "name": "receipttype",
  14423. "in": "query"
  14424. }
  14425. ],
  14426. "responses": {
  14427. "200": {
  14428. "description": "OK",
  14429. "schema": {
  14430. "type": "array",
  14431. "items": {
  14432. "$ref": "#/definitions/models.WrUserReceiptInfo"
  14433. }
  14434. }
  14435. },
  14436. "500": {
  14437. "description": "Internal Server Error",
  14438. "schema": {
  14439. "$ref": "#/definitions/app.Response"
  14440. }
  14441. }
  14442. }
  14443. }
  14444. },
  14445. "/ZJ/GetBankTip": {
  14446. "get": {
  14447. "produces": [
  14448. "application/json"
  14449. ],
  14450. "tags": [
  14451. "中江"
  14452. ],
  14453. "summary": "获取中江网银端出入金提示信息",
  14454. "responses": {
  14455. "200": {
  14456. "description": "OK",
  14457. "schema": {
  14458. "type": "string"
  14459. }
  14460. },
  14461. "500": {
  14462. "description": "Internal Server Error",
  14463. "schema": {
  14464. "$ref": "#/definitions/app.Response"
  14465. }
  14466. }
  14467. }
  14468. }
  14469. },
  14470. "/ZJ/GetCusBankChannels": {
  14471. "get": {
  14472. "produces": [
  14473. "application/json"
  14474. ],
  14475. "tags": [
  14476. "中江"
  14477. ],
  14478. "summary": "获取中江出入金渠道显示列表",
  14479. "responses": {
  14480. "200": {
  14481. "description": "OK",
  14482. "schema": {
  14483. "type": "array",
  14484. "items": {
  14485. "type": "string"
  14486. }
  14487. }
  14488. },
  14489. "500": {
  14490. "description": "Internal Server Error",
  14491. "schema": {
  14492. "$ref": "#/definitions/app.Response"
  14493. }
  14494. }
  14495. }
  14496. }
  14497. }
  14498. },
  14499. "definitions": {
  14500. "app.Response": {
  14501. "type": "object",
  14502. "properties": {
  14503. "code": {
  14504. "type": "integer"
  14505. },
  14506. "data": {},
  14507. "msg": {
  14508. "type": "string"
  14509. },
  14510. "page": {
  14511. "description": "页码",
  14512. "type": "integer"
  14513. },
  14514. "pagesize": {
  14515. "description": "每页条数",
  14516. "type": "integer"
  14517. },
  14518. "total": {
  14519. "description": "总条数",
  14520. "type": "integer"
  14521. }
  14522. }
  14523. },
  14524. "common.ClientMenu": {
  14525. "type": "object",
  14526. "properties": {
  14527. "children": {
  14528. "description": "子菜单列表",
  14529. "type": "array",
  14530. "items": {
  14531. "$ref": "#/definitions/common.ClientMenu"
  14532. }
  14533. },
  14534. "code": {
  14535. "description": "ID",
  14536. "type": "string"
  14537. },
  14538. "isshow": {
  14539. "description": "是否显示",
  14540. "type": "boolean"
  14541. },
  14542. "remark": {
  14543. "description": "备注",
  14544. "type": "string"
  14545. },
  14546. "rulekey": {
  14547. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  14548. "type": "string"
  14549. },
  14550. "sort": {
  14551. "description": "排序",
  14552. "type": "integer"
  14553. },
  14554. "title": {
  14555. "description": "标题",
  14556. "type": "string"
  14557. },
  14558. "type": {
  14559. "description": "类型,1:菜单 2:按钮",
  14560. "type": "integer"
  14561. },
  14562. "url": {
  14563. "description": "URL",
  14564. "type": "string"
  14565. }
  14566. }
  14567. },
  14568. "common.PCWebMenu": {
  14569. "type": "object",
  14570. "properties": {
  14571. "auth": {
  14572. "description": "页面权限列表",
  14573. "type": "array",
  14574. "items": {
  14575. "$ref": "#/definitions/common.PCWebMenuAuth"
  14576. }
  14577. },
  14578. "children": {
  14579. "description": "子菜单列表",
  14580. "type": "array",
  14581. "items": {
  14582. "$ref": "#/definitions/common.PCWebMenu"
  14583. }
  14584. },
  14585. "code": {
  14586. "description": "ID,新版本中权限KEY也是这个字段",
  14587. "type": "string"
  14588. },
  14589. "component": {
  14590. "description": "路由组件",
  14591. "type": "string"
  14592. },
  14593. "isshow": {
  14594. "description": "是否显示",
  14595. "type": "boolean"
  14596. },
  14597. "path": {
  14598. "description": "路由路径",
  14599. "type": "string"
  14600. },
  14601. "remark": {
  14602. "description": "备注",
  14603. "type": "string"
  14604. },
  14605. "rulekey": {
  14606. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14607. "type": "string"
  14608. },
  14609. "sort": {
  14610. "description": "排序",
  14611. "type": "integer"
  14612. },
  14613. "title": {
  14614. "description": "标题",
  14615. "type": "string"
  14616. },
  14617. "url": {
  14618. "description": "URL",
  14619. "type": "string"
  14620. }
  14621. }
  14622. },
  14623. "common.PCWebMenuAuth": {
  14624. "type": "object",
  14625. "properties": {
  14626. "code": {
  14627. "description": "ID,新版本中权限KEY也是这个字段",
  14628. "type": "string"
  14629. },
  14630. "isshow": {
  14631. "description": "是否显示",
  14632. "type": "boolean"
  14633. },
  14634. "label": {
  14635. "description": "标题",
  14636. "type": "string"
  14637. },
  14638. "remark": {
  14639. "description": "备注",
  14640. "type": "string"
  14641. },
  14642. "rulekey": {
  14643. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14644. "type": "string"
  14645. }
  14646. }
  14647. },
  14648. "common.QueryImageConfigsRsp": {
  14649. "type": "object",
  14650. "required": [
  14651. "configid"
  14652. ],
  14653. "properties": {
  14654. "areauserid": {
  14655. "description": "所属机构ID",
  14656. "type": "integer"
  14657. },
  14658. "configid": {
  14659. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14660. "type": "integer"
  14661. },
  14662. "createdate": {
  14663. "description": "创建时间",
  14664. "type": "string"
  14665. },
  14666. "creatorid": {
  14667. "description": "创建人",
  14668. "type": "integer"
  14669. },
  14670. "imagedetailpath": {
  14671. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  14672. "type": "string"
  14673. },
  14674. "imagepath": {
  14675. "description": "图片",
  14676. "type": "string"
  14677. },
  14678. "imagetype": {
  14679. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  14680. "type": "integer"
  14681. },
  14682. "isshow": {
  14683. "description": "是否展示 - 0:不展示 1:展示",
  14684. "type": "integer"
  14685. },
  14686. "marketid": {
  14687. "description": "市场ID",
  14688. "type": "integer"
  14689. },
  14690. "modifierid": {
  14691. "description": "操作人",
  14692. "type": "integer"
  14693. },
  14694. "sort": {
  14695. "description": "排序",
  14696. "type": "integer"
  14697. },
  14698. "title": {
  14699. "description": "标题",
  14700. "type": "string"
  14701. },
  14702. "trademode": {
  14703. "description": "交易模式",
  14704. "type": "integer"
  14705. },
  14706. "updatedate": {
  14707. "description": "修改时间",
  14708. "type": "string"
  14709. },
  14710. "url": {
  14711. "description": "链接(地址或商品ID)",
  14712. "type": "string"
  14713. },
  14714. "urltype": {
  14715. "description": "链接类型 - 1:直接地址 2:商品ID",
  14716. "type": "integer"
  14717. }
  14718. }
  14719. },
  14720. "common.QueryNoticeRsp": {
  14721. "type": "object",
  14722. "required": [
  14723. "autoid"
  14724. ],
  14725. "properties": {
  14726. "auditoruserid": {
  14727. "description": "审核人",
  14728. "type": "integer"
  14729. },
  14730. "auditremark": {
  14731. "description": "审核备注",
  14732. "type": "string"
  14733. },
  14734. "audittime": {
  14735. "description": "审核日期",
  14736. "type": "string"
  14737. },
  14738. "autoid": {
  14739. "description": "自增ID",
  14740. "type": "integer"
  14741. },
  14742. "content": {
  14743. "description": "内容",
  14744. "type": "string"
  14745. },
  14746. "createtime": {
  14747. "description": "创建时间",
  14748. "type": "string"
  14749. },
  14750. "creatorid": {
  14751. "description": "建仓人",
  14752. "type": "integer"
  14753. },
  14754. "endtime": {
  14755. "description": "结束时间",
  14756. "type": "string"
  14757. },
  14758. "istop": {
  14759. "description": "是否置顶 - 0:不置顶 1:置顶",
  14760. "type": "integer"
  14761. },
  14762. "msgiconurl": {
  14763. "description": "消息图标Url",
  14764. "type": "string"
  14765. },
  14766. "msgtype": {
  14767. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  14768. "type": "integer"
  14769. },
  14770. "publisher": {
  14771. "description": "消息发布者",
  14772. "type": "string"
  14773. },
  14774. "readed": {
  14775. "description": "是否已读",
  14776. "type": "boolean"
  14777. },
  14778. "scheduletime": {
  14779. "description": "计划发送时间",
  14780. "type": "string"
  14781. },
  14782. "sendtype": {
  14783. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  14784. "type": "integer"
  14785. },
  14786. "sentstatus": {
  14787. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  14788. "type": "integer"
  14789. },
  14790. "title": {
  14791. "description": "标题",
  14792. "type": "string"
  14793. },
  14794. "userid": {
  14795. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  14796. "type": "integer"
  14797. }
  14798. }
  14799. },
  14800. "common.QueryProvincesAndCitiesRsp": {
  14801. "type": "object",
  14802. "properties": {
  14803. "cities": {
  14804. "description": "市",
  14805. "type": "array",
  14806. "items": {
  14807. "$ref": "#/definitions/models.Division"
  14808. }
  14809. },
  14810. "province": {
  14811. "description": "省",
  14812. "$ref": "#/definitions/models.Division"
  14813. }
  14814. }
  14815. },
  14816. "common.QueryTableDefineRsp": {
  14817. "type": "object",
  14818. "required": [
  14819. "tablekey"
  14820. ],
  14821. "properties": {
  14822. "columns": {
  14823. "description": "列头信息数组",
  14824. "type": "array",
  14825. "items": {
  14826. "$ref": "#/definitions/models.Tablecolumnconfig"
  14827. }
  14828. },
  14829. "remark": {
  14830. "description": "Remark",
  14831. "type": "string"
  14832. },
  14833. "tabelmenu": {
  14834. "description": "列表菜单",
  14835. "type": "string"
  14836. },
  14837. "tablekey": {
  14838. "description": "列表Key",
  14839. "type": "string"
  14840. },
  14841. "tablename": {
  14842. "description": "列表名称",
  14843. "type": "string"
  14844. },
  14845. "tabletype": {
  14846. "description": "列表类型 - 1:管理端 2:终端",
  14847. "type": "integer"
  14848. }
  14849. }
  14850. },
  14851. "common.QueryTraderMenuRsp": {
  14852. "type": "object",
  14853. "properties": {
  14854. "OperationMenu": {
  14855. "description": "功能菜单",
  14856. "type": "array",
  14857. "items": {
  14858. "$ref": "#/definitions/models.OperationPrimaryMenu"
  14859. }
  14860. },
  14861. "QuoteMenu": {
  14862. "description": "报价牌分类菜单",
  14863. "type": "array",
  14864. "items": {
  14865. "$ref": "#/definitions/models.QuotePrimaryMenu"
  14866. }
  14867. }
  14868. }
  14869. },
  14870. "cptrade.Cptradepositioncancel": {
  14871. "type": "object",
  14872. "required": [
  14873. "cancelid"
  14874. ],
  14875. "properties": {
  14876. "accountid": {
  14877. "description": "申请人账户ID",
  14878. "type": "integer"
  14879. },
  14880. "applystatus": {
  14881. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14882. "type": "integer"
  14883. },
  14884. "applytime": {
  14885. "description": "申请时间",
  14886. "type": "string"
  14887. },
  14888. "cancelid": {
  14889. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  14890. "type": "integer"
  14891. },
  14892. "cancelqty": {
  14893. "description": "注销数量",
  14894. "type": "integer"
  14895. },
  14896. "createtime": {
  14897. "description": "创建时间",
  14898. "type": "string"
  14899. },
  14900. "creatorid": {
  14901. "description": "创建人ID",
  14902. "type": "integer"
  14903. },
  14904. "creatorname": {
  14905. "description": "创建人",
  14906. "type": "string"
  14907. },
  14908. "goodscode": {
  14909. "description": "订单商品代码",
  14910. "type": "string"
  14911. },
  14912. "goodsid": {
  14913. "description": "商品ID",
  14914. "type": "integer"
  14915. },
  14916. "goodsname": {
  14917. "description": "订单商品名称",
  14918. "type": "string"
  14919. },
  14920. "goodunit": {
  14921. "description": "报价单位",
  14922. "type": "string"
  14923. },
  14924. "handlestatus": {
  14925. "description": "处理状态",
  14926. "type": "integer"
  14927. },
  14928. "marketid": {
  14929. "description": "市场ID",
  14930. "type": "integer"
  14931. },
  14932. "marketname": {
  14933. "description": "市场名称",
  14934. "type": "string"
  14935. },
  14936. "tradedate": {
  14937. "description": "交易日(yyyyMMdd)",
  14938. "type": "string"
  14939. },
  14940. "userid": {
  14941. "description": "申请人ID",
  14942. "type": "integer"
  14943. }
  14944. }
  14945. },
  14946. "cptrade.Cptradepresaleapply": {
  14947. "type": "object",
  14948. "required": [
  14949. "applyid"
  14950. ],
  14951. "properties": {
  14952. "accountid": {
  14953. "description": "申请人账户ID",
  14954. "type": "integer"
  14955. },
  14956. "applyid": {
  14957. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  14958. "type": "integer"
  14959. },
  14960. "applyremark": {
  14961. "description": "申请备注",
  14962. "type": "string"
  14963. },
  14964. "applystatus": {
  14965. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14966. "type": "integer"
  14967. },
  14968. "applytime": {
  14969. "description": "申请时间",
  14970. "type": "string"
  14971. },
  14972. "attachmenturl": {
  14973. "description": "附件地址",
  14974. "type": "string"
  14975. },
  14976. "endtime": {
  14977. "description": "预售结束时间",
  14978. "type": "string"
  14979. },
  14980. "goodscode": {
  14981. "description": "商品代码",
  14982. "type": "string"
  14983. },
  14984. "goodsid": {
  14985. "description": "商品ID",
  14986. "type": "integer"
  14987. },
  14988. "goodsname": {
  14989. "description": "商品名称",
  14990. "type": "string"
  14991. },
  14992. "goodunit": {
  14993. "description": "报价单位",
  14994. "type": "string"
  14995. },
  14996. "handlestatus": {
  14997. "description": "处理状态",
  14998. "type": "integer"
  14999. },
  15000. "marketid": {
  15001. "description": "预售市场ID",
  15002. "type": "integer"
  15003. },
  15004. "marketname": {
  15005. "description": "预售市场名称",
  15006. "type": "string"
  15007. },
  15008. "presaleqty": {
  15009. "description": "预售数量",
  15010. "type": "integer"
  15011. },
  15012. "relatedgoodscode": {
  15013. "description": "关联交易合约代码",
  15014. "type": "string"
  15015. },
  15016. "relatedgoodsid": {
  15017. "description": "关联交易合约ID",
  15018. "type": "integer"
  15019. },
  15020. "relatedgoodsname": {
  15021. "description": "关联交易合约名称",
  15022. "type": "string"
  15023. },
  15024. "starttime": {
  15025. "description": "预售开始时间",
  15026. "type": "string"
  15027. },
  15028. "tradedate": {
  15029. "description": "交易日(yyyyMMdd)",
  15030. "type": "string"
  15031. },
  15032. "trademode": {
  15033. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  15034. "type": "integer"
  15035. },
  15036. "userid": {
  15037. "description": "申请人ID",
  15038. "type": "integer"
  15039. }
  15040. }
  15041. },
  15042. "cptrade.Cptradeusergoodsdata": {
  15043. "type": "object",
  15044. "required": [
  15045. "accountid",
  15046. "goodsid"
  15047. ],
  15048. "properties": {
  15049. "EnabledQty": {
  15050. "description": "可用量",
  15051. "type": "integer"
  15052. },
  15053. "GoodsCode": {
  15054. "description": "订单商品代码",
  15055. "type": "string"
  15056. },
  15057. "GoodsName": {
  15058. "description": "订单商品名称",
  15059. "type": "string"
  15060. },
  15061. "WRStandardCode": {
  15062. "description": "仓单标准代码",
  15063. "type": "string"
  15064. },
  15065. "WRStandardName": {
  15066. "description": "仓单标准名称",
  15067. "type": "string"
  15068. },
  15069. "accountid": {
  15070. "description": "账户ID",
  15071. "type": "integer"
  15072. },
  15073. "cancelqty": {
  15074. "description": "注销量",
  15075. "type": "integer"
  15076. },
  15077. "curpresaleqty": {
  15078. "description": "当前预售量",
  15079. "type": "integer"
  15080. },
  15081. "deliveryqty": {
  15082. "description": "交割量",
  15083. "type": "integer"
  15084. },
  15085. "freezeamount": {
  15086. "description": "冻结金额",
  15087. "type": "number"
  15088. },
  15089. "goodsid": {
  15090. "description": "商品ID",
  15091. "type": "integer"
  15092. },
  15093. "goodunit": {
  15094. "description": "报价单位",
  15095. "type": "string"
  15096. },
  15097. "hasspotfreeze": {
  15098. "description": "是否有现货冻结 - 0:否 1:有",
  15099. "type": "integer"
  15100. },
  15101. "inqty": {
  15102. "description": "转入量(总数量)",
  15103. "type": "integer"
  15104. },
  15105. "marketid": {
  15106. "description": "市场ID",
  15107. "type": "integer"
  15108. },
  15109. "presaledamount": {
  15110. "description": "已预售总金额",
  15111. "type": "integer"
  15112. },
  15113. "presaledqty": {
  15114. "description": "已预售量",
  15115. "type": "integer"
  15116. },
  15117. "userid": {
  15118. "description": "用户ID",
  15119. "type": "integer"
  15120. },
  15121. "wrstandardid": {
  15122. "description": "仓单标准ID",
  15123. "type": "integer"
  15124. }
  15125. }
  15126. },
  15127. "cptrade.QueryCPTradeMyBidRsp": {
  15128. "type": "object",
  15129. "required": [
  15130. "accountid",
  15131. "goodsid",
  15132. "marketid",
  15133. "orderid",
  15134. "orderqty",
  15135. "ordertime",
  15136. "tradeprice",
  15137. "tradeqty"
  15138. ],
  15139. "properties": {
  15140. "accountid": {
  15141. "description": "账户ID[报价币种]",
  15142. "type": "integer"
  15143. },
  15144. "goodsid": {
  15145. "description": "商品ID",
  15146. "type": "integer"
  15147. },
  15148. "goodunit": {
  15149. "description": "报价单位",
  15150. "type": "string"
  15151. },
  15152. "marketid": {
  15153. "description": "市场ID",
  15154. "type": "integer"
  15155. },
  15156. "orderid": {
  15157. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15158. "type": "integer"
  15159. },
  15160. "orderprice": {
  15161. "description": "委托价格",
  15162. "type": "number"
  15163. },
  15164. "orderqty": {
  15165. "description": "委托数量",
  15166. "type": "integer"
  15167. },
  15168. "ordertime": {
  15169. "description": "委托时间",
  15170. "type": "string"
  15171. },
  15172. "ordertotalprice": {
  15173. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  15174. "type": "number"
  15175. },
  15176. "ordertotalweight": {
  15177. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  15178. "type": "integer"
  15179. },
  15180. "totaltotalprice": {
  15181. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  15182. "type": "number"
  15183. },
  15184. "tradeprice": {
  15185. "description": "成交价格",
  15186. "type": "number"
  15187. },
  15188. "tradeqty": {
  15189. "description": "成交数量",
  15190. "type": "integer"
  15191. }
  15192. }
  15193. },
  15194. "cptrade.QueryCPTradeOrderDetailRsq": {
  15195. "type": "object",
  15196. "required": [
  15197. "accountid",
  15198. "buildtype",
  15199. "buyorsell",
  15200. "goodsid",
  15201. "marketid",
  15202. "memberuserid",
  15203. "operatetype",
  15204. "orderqty",
  15205. "ordertime",
  15206. "pricemode",
  15207. "strorderid",
  15208. "tradedate",
  15209. "validtype"
  15210. ],
  15211. "properties": {
  15212. "accountid": {
  15213. "description": "账户ID[报价币种]",
  15214. "type": "integer"
  15215. },
  15216. "buildtype": {
  15217. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  15218. "type": "integer"
  15219. },
  15220. "buyorsell": {
  15221. "description": "买卖 - 0:买 1:卖",
  15222. "type": "integer"
  15223. },
  15224. "cancelorderid": {
  15225. "description": "撤单单号(撤单时填写)",
  15226. "type": "integer"
  15227. },
  15228. "cancelqty": {
  15229. "description": "撤单数量",
  15230. "type": "integer"
  15231. },
  15232. "clientordertime": {
  15233. "description": "客户端委托时间",
  15234. "type": "string"
  15235. },
  15236. "clientticket": {
  15237. "description": "客户端流水号",
  15238. "type": "string"
  15239. },
  15240. "clienttype": {
  15241. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15242. "type": "integer"
  15243. },
  15244. "closeexchagechargevalue": {
  15245. "description": "平仓交易所手续费设置值",
  15246. "type": "number"
  15247. },
  15248. "closefeealgorithm": {
  15249. "description": "平仓手续费收取方式 1:比率 2:固定",
  15250. "type": "integer"
  15251. },
  15252. "closefreezecharge": {
  15253. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  15254. "type": "number"
  15255. },
  15256. "closememberchargevalue": {
  15257. "description": "平仓会员手续费设置值",
  15258. "type": "number"
  15259. },
  15260. "closeqty": {
  15261. "description": "平仓数量(先建后平操作 需要记录)",
  15262. "type": "integer"
  15263. },
  15264. "closetradeqty": {
  15265. "description": "平仓成交数量(先建后平操作,需要记录)",
  15266. "type": "integer"
  15267. },
  15268. "closeunfreezecharge": {
  15269. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  15270. "type": "number"
  15271. },
  15272. "delistingtype": {
  15273. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  15274. "type": "integer"
  15275. },
  15276. "freezecharge": {
  15277. "description": "冻结手续费",
  15278. "type": "number"
  15279. },
  15280. "freezemargin": {
  15281. "description": "冻结保证金(冻结交易金额)",
  15282. "type": "number"
  15283. },
  15284. "gcaccountid": {
  15285. "description": "账户ID[合约币种]",
  15286. "type": "integer"
  15287. },
  15288. "goodsid": {
  15289. "description": "商品ID",
  15290. "type": "integer"
  15291. },
  15292. "isconfirmexercise": {
  15293. "description": "是否确认行权- 0:否 1:是",
  15294. "type": "integer"
  15295. },
  15296. "ispreexercise": {
  15297. "description": "是否预申报- 0:否 1:是",
  15298. "type": "integer"
  15299. },
  15300. "listingselecttype": {
  15301. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15302. "type": "integer"
  15303. },
  15304. "marginalgorithm": {
  15305. "description": "保证金收取方式 1:比率 2:固定",
  15306. "type": "integer"
  15307. },
  15308. "marginvalue": {
  15309. "description": "即市保证金设置值",
  15310. "type": "number"
  15311. },
  15312. "marketid": {
  15313. "description": "市场ID",
  15314. "type": "integer"
  15315. },
  15316. "marketmaxsub": {
  15317. "description": "市价最大偏移范围",
  15318. "type": "number"
  15319. },
  15320. "memberuserid": {
  15321. "description": "所属会员UserID",
  15322. "type": "integer"
  15323. },
  15324. "openexchagechargevalue": {
  15325. "description": "建仓交易所手续费设置值",
  15326. "type": "number"
  15327. },
  15328. "openfeealgorithm": {
  15329. "description": "建仓手续费收取方式 1:比率 2:固定",
  15330. "type": "integer"
  15331. },
  15332. "openfreezecharge": {
  15333. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  15334. "type": "number"
  15335. },
  15336. "openmemberchargevalue": {
  15337. "description": "建仓会员手续费设置值",
  15338. "type": "number"
  15339. },
  15340. "openqty": {
  15341. "description": "开仓数量(先建后平操作,需要记录)",
  15342. "type": "integer"
  15343. },
  15344. "opentradeqty": {
  15345. "description": "开仓成交数量(先建后平操作,需要记录)",
  15346. "type": "integer"
  15347. },
  15348. "openunfreezecharge": {
  15349. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  15350. "type": "number"
  15351. },
  15352. "operatetype": {
  15353. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  15354. "type": "integer"
  15355. },
  15356. "operatorid": {
  15357. "description": "登录账号(LoginID)",
  15358. "type": "integer"
  15359. },
  15360. "optiontype": {
  15361. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15362. "type": "integer"
  15363. },
  15364. "orderprice": {
  15365. "description": "委托价格",
  15366. "type": "number"
  15367. },
  15368. "orderqty": {
  15369. "description": "委托数量",
  15370. "type": "integer"
  15371. },
  15372. "ordersrc": {
  15373. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  15374. "type": "integer"
  15375. },
  15376. "orderstatus": {
  15377. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15378. "type": "integer"
  15379. },
  15380. "ordertime": {
  15381. "description": "委托时间",
  15382. "type": "string"
  15383. },
  15384. "preexerciseprice": {
  15385. "description": "预申报价格",
  15386. "type": "number"
  15387. },
  15388. "premium": {
  15389. "description": "权利金",
  15390. "type": "number"
  15391. },
  15392. "preorderid": {
  15393. "description": "关联预埋单号(止盈止损单时填写)",
  15394. "type": "integer"
  15395. },
  15396. "pricemode": {
  15397. "description": "取价方式 - 1:市价 2: 限价",
  15398. "type": "integer"
  15399. },
  15400. "quoteid": {
  15401. "description": "报价单ID",
  15402. "type": "integer"
  15403. },
  15404. "relatedid": {
  15405. "description": "关联单号(交割单)",
  15406. "type": "integer"
  15407. },
  15408. "retcode": {
  15409. "description": "错误代码",
  15410. "type": "integer"
  15411. },
  15412. "sessionid": {
  15413. "description": "会话ID",
  15414. "type": "integer"
  15415. },
  15416. "strorderid": {
  15417. "description": "委托单号",
  15418. "type": "string"
  15419. },
  15420. "tradedate": {
  15421. "description": "交易日(yyyyMMdd)",
  15422. "type": "string"
  15423. },
  15424. "tradeproperty": {
  15425. "description": "交易属性",
  15426. "type": "integer"
  15427. },
  15428. "tradeqty": {
  15429. "description": "成交数量",
  15430. "type": "integer"
  15431. },
  15432. "unfreezecharge": {
  15433. "description": "解冻手续费",
  15434. "type": "number"
  15435. },
  15436. "unfreezemargin": {
  15437. "description": "解冻保证金",
  15438. "type": "number"
  15439. },
  15440. "updatetime": {
  15441. "description": "更新时间",
  15442. "type": "string"
  15443. },
  15444. "uuid": {
  15445. "description": "发起端唯一id",
  15446. "type": "string"
  15447. },
  15448. "validtime": {
  15449. "description": "有效期限",
  15450. "type": "string"
  15451. },
  15452. "validtype": {
  15453. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  15454. "type": "integer"
  15455. },
  15456. "volumetype": {
  15457. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  15458. "type": "integer"
  15459. }
  15460. }
  15461. },
  15462. "cptrade.QueryMyCPTradeGoodsRsp": {
  15463. "type": "object",
  15464. "required": [
  15465. "goodscode",
  15466. "goodsid",
  15467. "goodsname",
  15468. "marketid",
  15469. "relatedgoodscode",
  15470. "relatedgoodsname"
  15471. ],
  15472. "properties": {
  15473. "accountid": {
  15474. "description": "卖方账户ID",
  15475. "type": "integer"
  15476. },
  15477. "agreeunit": {
  15478. "description": "合约单位",
  15479. "type": "number"
  15480. },
  15481. "applyid": {
  15482. "description": "关联申请ID",
  15483. "type": "integer"
  15484. },
  15485. "attachmenturl": {
  15486. "description": "附件地址",
  15487. "type": "string"
  15488. },
  15489. "createtime": {
  15490. "description": "创建时间",
  15491. "type": "string"
  15492. },
  15493. "currencyid": {
  15494. "description": "报价货币ID",
  15495. "type": "integer"
  15496. },
  15497. "decimalplace": {
  15498. "description": "报价小数位",
  15499. "type": "integer"
  15500. },
  15501. "endtime": {
  15502. "description": "预售结束时间",
  15503. "type": "string"
  15504. },
  15505. "floorprice": {
  15506. "description": "底价[大宗式竞拍]",
  15507. "type": "number"
  15508. },
  15509. "goodscode": {
  15510. "description": "商品代码(预售)",
  15511. "type": "string"
  15512. },
  15513. "goodsdetail": {
  15514. "description": "详情[大宗]",
  15515. "type": "string"
  15516. },
  15517. "goodsid": {
  15518. "description": "商品ID(自增ID SEQ_GOODS)",
  15519. "type": "integer"
  15520. },
  15521. "goodsname": {
  15522. "description": "商品名称(预售)",
  15523. "type": "string"
  15524. },
  15525. "goodunit": {
  15526. "description": "报价单位",
  15527. "type": "string"
  15528. },
  15529. "goodunitid": {
  15530. "description": "报价单位ID",
  15531. "type": "integer"
  15532. },
  15533. "marketid": {
  15534. "description": "所属市场ID",
  15535. "type": "integer"
  15536. },
  15537. "marketname": {
  15538. "description": "预售市场名称",
  15539. "type": "string"
  15540. },
  15541. "presaledamount": {
  15542. "description": "已预售总金额(预售结束时更新)",
  15543. "type": "number"
  15544. },
  15545. "presaledqty": {
  15546. "description": "已预售量(预售结束时更新)",
  15547. "type": "integer"
  15548. },
  15549. "presalemode": {
  15550. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15551. "type": "integer"
  15552. },
  15553. "presaleqty": {
  15554. "description": "预售数量",
  15555. "type": "integer"
  15556. },
  15557. "refprice": {
  15558. "description": "参考价格[一口价]",
  15559. "type": "number"
  15560. },
  15561. "relatedgoodscode": {
  15562. "description": "商品代码(订单)",
  15563. "type": "string"
  15564. },
  15565. "relatedgoodsid": {
  15566. "description": "关联交易合约ID",
  15567. "type": "integer"
  15568. },
  15569. "relatedgoodsname": {
  15570. "description": "商品名称(订单)",
  15571. "type": "string"
  15572. },
  15573. "relatedmarketid": {
  15574. "description": "关联交易合约市场ID",
  15575. "type": "integer"
  15576. },
  15577. "sellstatus": {
  15578. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15579. "type": "integer"
  15580. },
  15581. "startprice": {
  15582. "description": "起拍价[大宗式竞拍]",
  15583. "type": "number"
  15584. },
  15585. "starttime": {
  15586. "description": "预售开始时间",
  15587. "type": "string"
  15588. },
  15589. "tradedate": {
  15590. "description": "交易日(yyyyMMdd)",
  15591. "type": "string"
  15592. },
  15593. "tradeprice": {
  15594. "description": "成交价[大宗]",
  15595. "type": "number"
  15596. },
  15597. "userid": {
  15598. "description": "卖方用户ID",
  15599. "type": "integer"
  15600. }
  15601. }
  15602. },
  15603. "cptrade.QueryPresaleGoodsExRsp": {
  15604. "type": "object",
  15605. "required": [
  15606. "goodsid"
  15607. ],
  15608. "properties": {
  15609. "attachmenturl": {
  15610. "description": "附件地址",
  15611. "type": "string"
  15612. },
  15613. "createtime": {
  15614. "description": "创建时间",
  15615. "type": "string"
  15616. },
  15617. "endtime": {
  15618. "description": "预售结束时间",
  15619. "type": "string"
  15620. },
  15621. "floorprice": {
  15622. "description": "底价[大宗式竞拍]",
  15623. "type": "number"
  15624. },
  15625. "goodsdetail": {
  15626. "description": "详情[大宗]",
  15627. "type": "string"
  15628. },
  15629. "goodsid": {
  15630. "description": "商品ID(预售)",
  15631. "type": "integer"
  15632. },
  15633. "goodunit": {
  15634. "description": "报价单位",
  15635. "type": "string"
  15636. },
  15637. "marketid": {
  15638. "description": "预售市场ID - 根据预售模式选择市场",
  15639. "type": "integer"
  15640. },
  15641. "presaledamount": {
  15642. "description": "已预售总金额(预售结束时更新)",
  15643. "type": "number"
  15644. },
  15645. "presaledqty": {
  15646. "description": "已预售量(预售结束时更新)",
  15647. "type": "integer"
  15648. },
  15649. "presalemode": {
  15650. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15651. "type": "integer"
  15652. },
  15653. "presaleqty": {
  15654. "description": "预售数量",
  15655. "type": "integer"
  15656. },
  15657. "refprice": {
  15658. "description": "参考价格[一口价]",
  15659. "type": "number"
  15660. },
  15661. "relatedgoodsid": {
  15662. "description": "关联交易合约ID",
  15663. "type": "integer"
  15664. },
  15665. "relatedmarketid": {
  15666. "description": "关联交易合约市场ID",
  15667. "type": "integer"
  15668. },
  15669. "sellstatus": {
  15670. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15671. "type": "integer"
  15672. },
  15673. "startprice": {
  15674. "description": "起拍价[大宗式竞拍]",
  15675. "type": "number"
  15676. },
  15677. "starttime": {
  15678. "description": "预售开始时间",
  15679. "type": "string"
  15680. },
  15681. "tradedate": {
  15682. "description": "交易日(yyyyMMdd)",
  15683. "type": "string"
  15684. },
  15685. "tradeprice": {
  15686. "description": "成交价[大宗]",
  15687. "type": "number"
  15688. }
  15689. }
  15690. },
  15691. "delivery.QueryDeliveryRelationRsp": {
  15692. "type": "object",
  15693. "required": [
  15694. "begindate",
  15695. "enddate",
  15696. "goodsid",
  15697. "mindeliveryqty",
  15698. "xdeliveryratio"
  15699. ],
  15700. "properties": {
  15701. "begindate": {
  15702. "description": "起始日期(yyyyMMdd)",
  15703. "type": "string"
  15704. },
  15705. "buytemplateid": {
  15706. "description": "买履约计划模板ID",
  15707. "type": "integer"
  15708. },
  15709. "deliverygoodscode": {
  15710. "description": "品种代码",
  15711. "type": "string"
  15712. },
  15713. "deliverygoodsid": {
  15714. "description": "交割商品",
  15715. "type": "integer"
  15716. },
  15717. "deliverygoodsname": {
  15718. "description": "品种名称",
  15719. "type": "string"
  15720. },
  15721. "deliverymode": {
  15722. "description": "交割方式 - 1:点选式 2:申报式",
  15723. "type": "integer"
  15724. },
  15725. "deliverypricerule": {
  15726. "description": "交割价规则- 1:行情价 2:建仓价",
  15727. "type": "integer"
  15728. },
  15729. "deliverytype": {
  15730. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  15731. "type": "integer"
  15732. },
  15733. "enddate": {
  15734. "description": "结束日期(yyyyMMdd)",
  15735. "type": "string"
  15736. },
  15737. "enumdicname": {
  15738. "description": "品类单位名称",
  15739. "type": "string"
  15740. },
  15741. "goodscode": {
  15742. "description": "商品代码",
  15743. "type": "string"
  15744. },
  15745. "goodsid": {
  15746. "description": "交易合约ID",
  15747. "type": "integer"
  15748. },
  15749. "goodsname": {
  15750. "description": "商品名称",
  15751. "type": "string"
  15752. },
  15753. "marketid": {
  15754. "description": "市场ID",
  15755. "type": "integer"
  15756. },
  15757. "mindeliveryqty": {
  15758. "description": "最小交割系数(K)",
  15759. "type": "integer"
  15760. },
  15761. "p2deliveryprice": {
  15762. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  15763. "type": "number"
  15764. },
  15765. "p2deliveryratio": {
  15766. "description": "P2合约系数(p)",
  15767. "type": "integer"
  15768. },
  15769. "p2goodsid": {
  15770. "description": "P2合约ID",
  15771. "type": "integer"
  15772. },
  15773. "p2pricemode": {
  15774. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  15775. "type": "integer"
  15776. },
  15777. "pdeliveryprice": {
  15778. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  15779. "type": "number"
  15780. },
  15781. "pdeliveryratio": {
  15782. "description": "P合约系数(n)",
  15783. "type": "integer"
  15784. },
  15785. "pgoodscode": {
  15786. "description": "p合约代码",
  15787. "type": "string"
  15788. },
  15789. "pgoodsid": {
  15790. "description": "P合约ID",
  15791. "type": "integer"
  15792. },
  15793. "ppricemode": {
  15794. "description": "P合约价格方式 - 1:商品价 2:固定值",
  15795. "type": "integer"
  15796. },
  15797. "rratio": {
  15798. "description": "兑换系数(R)",
  15799. "type": "integer"
  15800. },
  15801. "rratio1": {
  15802. "description": "兑换系数(交易合约)(R1)",
  15803. "type": "integer"
  15804. },
  15805. "rratio2": {
  15806. "description": "兑换系数(仓单标准)(R2)",
  15807. "type": "integer"
  15808. },
  15809. "selltemplateid": {
  15810. "description": "卖履约计划模板ID",
  15811. "type": "integer"
  15812. },
  15813. "wrstandardid": {
  15814. "description": "仓单标准ID",
  15815. "type": "integer"
  15816. },
  15817. "xdeliveryratio": {
  15818. "description": "交易合约系数(m)",
  15819. "type": "integer"
  15820. }
  15821. }
  15822. },
  15823. "ermcp.ExposureDetailRsp": {
  15824. "type": "object",
  15825. "properties": {
  15826. "areauserid": {
  15827. "description": "机构ID",
  15828. "type": "integer"
  15829. },
  15830. "changeQty": {
  15831. "description": "套保变动量",
  15832. "type": "number"
  15833. },
  15834. "contracttype": {
  15835. "description": "现货合同类型 - 1:采购 -1:销售",
  15836. "type": "integer"
  15837. },
  15838. "convertfactor": {
  15839. "description": "标仓系数",
  15840. "type": "number"
  15841. },
  15842. "convertratio": {
  15843. "description": "套保系数",
  15844. "type": "number"
  15845. },
  15846. "createtime": {
  15847. "description": "时间",
  15848. "type": "string"
  15849. },
  15850. "enumdicname": {
  15851. "description": "现货商品单位名称",
  15852. "type": "string"
  15853. },
  15854. "logtype": {
  15855. "description": "类型 - 1:套保计划 2:现货合同",
  15856. "type": "integer"
  15857. },
  15858. "middlegoodsId": {
  15859. "description": "套保商品id",
  15860. "type": "integer"
  15861. },
  15862. "middlegoodscode": {
  15863. "description": "套保商品代码",
  15864. "type": "string"
  15865. },
  15866. "middlegoodsname": {
  15867. "description": "套保商品名称",
  15868. "type": "string"
  15869. },
  15870. "qty": {
  15871. "description": "数量",
  15872. "type": "number"
  15873. },
  15874. "relateNo": {
  15875. "description": "现货合同/套保计划编号",
  15876. "type": "string"
  15877. },
  15878. "wrstandardcode": {
  15879. "description": "现货商品代码",
  15880. "type": "string"
  15881. },
  15882. "wrstandardid": {
  15883. "description": "现货商品ID",
  15884. "type": "integer"
  15885. },
  15886. "wrstandardname": {
  15887. "description": "现货商品名称",
  15888. "type": "string"
  15889. }
  15890. }
  15891. },
  15892. "ermcp.ExposureHedgePosDetailRsp": {
  15893. "type": "object",
  15894. "properties": {
  15895. "buyorsell": {
  15896. "description": "买卖方向 0-买 1-卖",
  15897. "type": "integer"
  15898. },
  15899. "channelbuildtype": {
  15900. "description": "开平方向 1-建仓 2-平仓",
  15901. "type": "integer"
  15902. },
  15903. "goodscode": {
  15904. "description": "商品代码",
  15905. "type": "string"
  15906. },
  15907. "goodsname": {
  15908. "description": "商品名称",
  15909. "type": "string"
  15910. },
  15911. "hedgegoodsid": {
  15912. "description": "商品id",
  15913. "type": "integer"
  15914. },
  15915. "tradeqty": {
  15916. "description": "数量(成交数量)",
  15917. "type": "integer"
  15918. },
  15919. "tradetime": {
  15920. "description": "时间(成交时间)",
  15921. "type": "string"
  15922. }
  15923. }
  15924. },
  15925. "ermcp.ExposureHedgePositionRsp": {
  15926. "type": "object",
  15927. "properties": {
  15928. "accountid": {
  15929. "description": "资金账号[外部母账户]",
  15930. "type": "integer"
  15931. },
  15932. "curbuyposition": {
  15933. "description": "期末买头寸",
  15934. "type": "integer"
  15935. },
  15936. "cursellposition": {
  15937. "description": "期末卖头寸",
  15938. "type": "integer"
  15939. },
  15940. "curtdbuyposition": {
  15941. "description": "期末今日买头寸",
  15942. "type": "integer"
  15943. },
  15944. "curtdsellposition": {
  15945. "description": "期末今日卖头寸",
  15946. "type": "integer"
  15947. },
  15948. "curydbuyposition": {
  15949. "description": "期末上日买头寸",
  15950. "type": "integer"
  15951. },
  15952. "curydsellposition": {
  15953. "description": "期末上日卖头寸",
  15954. "type": "integer"
  15955. },
  15956. "decreaseqty": {
  15957. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15958. "type": "integer"
  15959. },
  15960. "fretdbuyposition": {
  15961. "description": "冻结今日买头寸",
  15962. "type": "integer"
  15963. },
  15964. "fretdsellposition": {
  15965. "description": "冻结今日卖头寸",
  15966. "type": "integer"
  15967. },
  15968. "freydbuyposition": {
  15969. "description": "冻结上日买头寸",
  15970. "type": "integer"
  15971. },
  15972. "freydsellposition": {
  15973. "description": "冻结上日卖头寸",
  15974. "type": "integer"
  15975. },
  15976. "goodscode": {
  15977. "description": "商品代码",
  15978. "type": "string"
  15979. },
  15980. "goodsid": {
  15981. "description": "商品id",
  15982. "type": "integer"
  15983. },
  15984. "goodsname": {
  15985. "description": "商品名称",
  15986. "type": "string"
  15987. },
  15988. "hedgeaccountcode": {
  15989. "description": "对冲账号",
  15990. "type": "string"
  15991. },
  15992. "hedgegoodsid": {
  15993. "description": "对冲合约ID",
  15994. "type": "integer"
  15995. },
  15996. "increaseqty": {
  15997. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15998. "type": "integer"
  15999. },
  16000. "marketid": {
  16001. "description": "市场ID",
  16002. "type": "integer"
  16003. },
  16004. "relateduserid": {
  16005. "description": "关联用户id",
  16006. "type": "integer"
  16007. },
  16008. "totalcurqty": {
  16009. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  16010. "type": "integer"
  16011. },
  16012. "totalydqty": {
  16013. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  16014. "type": "integer"
  16015. },
  16016. "tradedate": {
  16017. "description": "交易日(yyyyMMdd)",
  16018. "type": "string"
  16019. },
  16020. "ydbuyposition": {
  16021. "description": "期初买头寸",
  16022. "type": "integer"
  16023. },
  16024. "ydsellposition": {
  16025. "description": "期初卖头寸",
  16026. "type": "integer"
  16027. }
  16028. }
  16029. },
  16030. "ermcp.ExposureSpotDetailRsp": {
  16031. "type": "object",
  16032. "properties": {
  16033. "contracttype": {
  16034. "description": "合同类型 1-采购 -1-销售",
  16035. "type": "integer"
  16036. },
  16037. "createtime": {
  16038. "description": "创建时间",
  16039. "type": "string"
  16040. },
  16041. "enumdicname": {
  16042. "description": "现货商品单位名称",
  16043. "type": "string"
  16044. },
  16045. "logtype": {
  16046. "description": "记录类型 1-套保 2-现货合同",
  16047. "type": "integer"
  16048. },
  16049. "qty": {
  16050. "description": "数量",
  16051. "type": "number"
  16052. },
  16053. "recordname": {
  16054. "description": "类型名称",
  16055. "type": "string"
  16056. },
  16057. "relatedid": {
  16058. "description": "套保计划ID/现货合同ID",
  16059. "type": "string"
  16060. },
  16061. "relatedno": {
  16062. "description": "编号",
  16063. "type": "string"
  16064. },
  16065. "strtime": {
  16066. "description": "时间",
  16067. "type": "string"
  16068. },
  16069. "wrstandardcode": {
  16070. "description": "现货商品代码",
  16071. "type": "string"
  16072. },
  16073. "wrstandardname": {
  16074. "description": "现货商品名称",
  16075. "type": "string"
  16076. }
  16077. }
  16078. },
  16079. "ermcp.ExposureSpotRsp": {
  16080. "type": "object",
  16081. "properties": {
  16082. "areauserid": {
  16083. "description": "所属机构",
  16084. "type": "integer"
  16085. },
  16086. "decreaseqty": {
  16087. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  16088. "type": "number"
  16089. },
  16090. "increaseqty": {
  16091. "description": "增加数量=销售计划数量+采购已定价数量",
  16092. "type": "number"
  16093. },
  16094. "oritoalspotqty": {
  16095. "description": "昨日数量",
  16096. "type": "number"
  16097. },
  16098. "totalspotqty": {
  16099. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  16100. "type": "number"
  16101. },
  16102. "updatetime": {
  16103. "description": "更新时间",
  16104. "type": "string"
  16105. },
  16106. "wrstandardcode": {
  16107. "description": "现货品种代码",
  16108. "type": "string"
  16109. },
  16110. "wrstandardid": {
  16111. "description": "现货商品ID",
  16112. "type": "integer"
  16113. },
  16114. "wrstandardname": {
  16115. "description": "现货品种",
  16116. "type": "string"
  16117. }
  16118. }
  16119. },
  16120. "ermcp.HisExposureRsp": {
  16121. "type": "object",
  16122. "properties": {
  16123. "data": {
  16124. "description": "历史敞口",
  16125. "type": "array",
  16126. "items": {
  16127. "$ref": "#/definitions/models.ErmcpHisExposure"
  16128. }
  16129. },
  16130. "enumdicname": {
  16131. "description": "单位名称",
  16132. "type": "string"
  16133. },
  16134. "middlegoodscode": {
  16135. "description": "套保品种代码",
  16136. "type": "string"
  16137. },
  16138. "middlegoodsid": {
  16139. "description": "套保品种ID",
  16140. "type": "integer"
  16141. },
  16142. "middlegoodsname": {
  16143. "description": "套保品种名称",
  16144. "type": "string"
  16145. }
  16146. }
  16147. },
  16148. "ermcp.PendingAuditCntRsp": {
  16149. "type": "object",
  16150. "properties": {
  16151. "areastockqty": {
  16152. "description": "待审核数量: 库存申请",
  16153. "type": "integer"
  16154. },
  16155. "businessdjqty": {
  16156. "description": "待审核数量: 点价",
  16157. "type": "integer"
  16158. },
  16159. "businessfpqty": {
  16160. "description": "待审核数量: 发票",
  16161. "type": "integer"
  16162. },
  16163. "businessjsqty": {
  16164. "description": "待审核数量: 结算",
  16165. "type": "integer"
  16166. },
  16167. "businesskxqty": {
  16168. "description": "待审核数量: 款项",
  16169. "type": "integer"
  16170. },
  16171. "hedgeplanqty": {
  16172. "description": "待审核数量: 套保计划",
  16173. "type": "integer"
  16174. },
  16175. "spotcontractqty": {
  16176. "description": "待审核数量: 现货合同",
  16177. "type": "integer"
  16178. },
  16179. "userqty": {
  16180. "description": "待审核数量: 用户",
  16181. "type": "integer"
  16182. }
  16183. }
  16184. },
  16185. "ermcp.QryAvalidGPRsp": {
  16186. "type": "object",
  16187. "properties": {
  16188. "goodsgroupid": {
  16189. "description": "期货品种id",
  16190. "type": "integer"
  16191. },
  16192. "goodsgroupname": {
  16193. "description": "期货品种名称",
  16194. "type": "string"
  16195. },
  16196. "goodunitid": {
  16197. "description": "品种单位id",
  16198. "type": "integer"
  16199. },
  16200. "goodunitname": {
  16201. "description": "品种单位名称",
  16202. "type": "string"
  16203. },
  16204. "outergroupcode": {
  16205. "description": "期货品种代码",
  16206. "type": "string"
  16207. }
  16208. }
  16209. },
  16210. "ermcp.QryBusinessDjRsp": {
  16211. "type": "object",
  16212. "properties": {
  16213. "amount": {
  16214. "description": "点价金额=(点价价格+升贴水)*点价数量",
  16215. "type": "number"
  16216. },
  16217. "applyid": {
  16218. "description": "申请人",
  16219. "type": "string"
  16220. },
  16221. "applyname": {
  16222. "description": "申请人名称",
  16223. "type": "string"
  16224. },
  16225. "applystatus": {
  16226. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16227. "type": "integer"
  16228. },
  16229. "applytime": {
  16230. "description": "申请时间",
  16231. "type": "string"
  16232. },
  16233. "attachurl": {
  16234. "description": "附件",
  16235. "type": "string"
  16236. },
  16237. "auditid": {
  16238. "description": "审核人ID",
  16239. "type": "string"
  16240. },
  16241. "auditname": {
  16242. "description": "审核人名称",
  16243. "type": "string"
  16244. },
  16245. "auditremark": {
  16246. "description": "审核备注",
  16247. "type": "string"
  16248. },
  16249. "audittime": {
  16250. "description": "审核时间",
  16251. "type": "string"
  16252. },
  16253. "buyusername": {
  16254. "description": "采购方名称",
  16255. "type": "string"
  16256. },
  16257. "contractno": {
  16258. "description": "合同编号",
  16259. "type": "string"
  16260. },
  16261. "contractstatus": {
  16262. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16263. "type": "integer"
  16264. },
  16265. "contracttype": {
  16266. "description": "现货合同类型 - 1:采购 -1:销售",
  16267. "type": "integer"
  16268. },
  16269. "deliverygoodscode": {
  16270. "description": "现货品种代码",
  16271. "type": "string"
  16272. },
  16273. "deliverygoodsid": {
  16274. "description": "现货商品ID",
  16275. "type": "integer"
  16276. },
  16277. "deliverygoodsname": {
  16278. "description": "现货品种名称",
  16279. "type": "string"
  16280. },
  16281. "enumdicname": {
  16282. "description": "单位名称",
  16283. "type": "string"
  16284. },
  16285. "goodscode": {
  16286. "description": "点价合约",
  16287. "type": "string"
  16288. },
  16289. "goodsname": {
  16290. "description": "商品名称",
  16291. "type": "string"
  16292. },
  16293. "operateapplyid": {
  16294. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16295. "type": "string"
  16296. },
  16297. "operateapplytype": {
  16298. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16299. "type": "integer"
  16300. },
  16301. "pricedPrice": {
  16302. "description": "点价价格(非必填)",
  16303. "type": "number"
  16304. },
  16305. "pricedQty": {
  16306. "description": "点价数量(非必填)",
  16307. "type": "number"
  16308. },
  16309. "pricemove": {
  16310. "description": "升贴水",
  16311. "type": "number"
  16312. },
  16313. "pricetype": {
  16314. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16315. "type": "integer"
  16316. },
  16317. "relatedid": {
  16318. "description": "现货合同ID",
  16319. "type": "string"
  16320. },
  16321. "sellusername": {
  16322. "description": "销售方名字",
  16323. "type": "string"
  16324. },
  16325. "userid": {
  16326. "description": "用户ID",
  16327. "type": "integer"
  16328. },
  16329. "wrstandardcode": {
  16330. "description": "品类代码",
  16331. "type": "string"
  16332. },
  16333. "wrstandardid": {
  16334. "description": "品类id",
  16335. "type": "integer"
  16336. },
  16337. "wrstandardname": {
  16338. "description": "品类名称",
  16339. "type": "string"
  16340. }
  16341. }
  16342. },
  16343. "ermcp.QryBussinessFpRsp": {
  16344. "type": "object",
  16345. "properties": {
  16346. "applyid": {
  16347. "description": "申请人",
  16348. "type": "string"
  16349. },
  16350. "applyname": {
  16351. "description": "申请人名称",
  16352. "type": "string"
  16353. },
  16354. "applystatus": {
  16355. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16356. "type": "integer"
  16357. },
  16358. "applytime": {
  16359. "description": "申请时间",
  16360. "type": "string"
  16361. },
  16362. "attachurl": {
  16363. "description": "附件",
  16364. "type": "string"
  16365. },
  16366. "auditid": {
  16367. "description": "审核人ID",
  16368. "type": "string"
  16369. },
  16370. "auditname": {
  16371. "description": "审核人名称",
  16372. "type": "string"
  16373. },
  16374. "auditremark": {
  16375. "description": "审核备注",
  16376. "type": "string"
  16377. },
  16378. "audittime": {
  16379. "description": "审核时间",
  16380. "type": "string"
  16381. },
  16382. "buyusername": {
  16383. "description": "采购方名称",
  16384. "type": "string"
  16385. },
  16386. "contractno": {
  16387. "description": "合同编号",
  16388. "type": "string"
  16389. },
  16390. "contractstatus": {
  16391. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16392. "type": "integer"
  16393. },
  16394. "contracttype": {
  16395. "description": "现货合同类型 - 1:采购 -1:销售",
  16396. "type": "integer"
  16397. },
  16398. "deliverygoodscode": {
  16399. "description": "现货品种代码",
  16400. "type": "string"
  16401. },
  16402. "deliverygoodsid": {
  16403. "description": "现货商品ID",
  16404. "type": "integer"
  16405. },
  16406. "deliverygoodsname": {
  16407. "description": "现货品种名称",
  16408. "type": "string"
  16409. },
  16410. "enumdicname": {
  16411. "description": "单位名称",
  16412. "type": "string"
  16413. },
  16414. "goodscode": {
  16415. "description": "点价合约",
  16416. "type": "string"
  16417. },
  16418. "goodsname": {
  16419. "description": "商品名称",
  16420. "type": "string"
  16421. },
  16422. "invoiceamount": {
  16423. "description": "已开收票金额(销售为开票,采购为收票)",
  16424. "type": "number"
  16425. },
  16426. "operateapplyid": {
  16427. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16428. "type": "string"
  16429. },
  16430. "operateapplytype": {
  16431. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16432. "type": "integer"
  16433. },
  16434. "pricemove": {
  16435. "description": "升贴水",
  16436. "type": "number"
  16437. },
  16438. "pricetype": {
  16439. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16440. "type": "integer"
  16441. },
  16442. "relatedid": {
  16443. "description": "现货合同ID",
  16444. "type": "string"
  16445. },
  16446. "sellusername": {
  16447. "description": "销售方名字",
  16448. "type": "string"
  16449. },
  16450. "userid": {
  16451. "description": "用户ID",
  16452. "type": "integer"
  16453. },
  16454. "wrstandardcode": {
  16455. "description": "品类代码",
  16456. "type": "string"
  16457. },
  16458. "wrstandardid": {
  16459. "description": "品类id",
  16460. "type": "integer"
  16461. },
  16462. "wrstandardname": {
  16463. "description": "品类名称",
  16464. "type": "string"
  16465. }
  16466. }
  16467. },
  16468. "ermcp.QryBussinessJsExRsp": {
  16469. "type": "object",
  16470. "properties": {
  16471. "applyid": {
  16472. "description": "申请人",
  16473. "type": "string"
  16474. },
  16475. "applyname": {
  16476. "description": "申请人名称",
  16477. "type": "string"
  16478. },
  16479. "applystatus": {
  16480. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16481. "type": "integer"
  16482. },
  16483. "applytime": {
  16484. "description": "申请时间",
  16485. "type": "string"
  16486. },
  16487. "attachurl": {
  16488. "description": "附件",
  16489. "type": "string"
  16490. },
  16491. "auditid": {
  16492. "description": "审核人ID",
  16493. "type": "string"
  16494. },
  16495. "auditname": {
  16496. "description": "审核人名称",
  16497. "type": "string"
  16498. },
  16499. "auditremark": {
  16500. "description": "审核备注",
  16501. "type": "string"
  16502. },
  16503. "audittime": {
  16504. "description": "审核时间",
  16505. "type": "string"
  16506. },
  16507. "buyusername": {
  16508. "description": "采购方名称",
  16509. "type": "string"
  16510. },
  16511. "contractno": {
  16512. "description": "合同编号",
  16513. "type": "string"
  16514. },
  16515. "contractstatus": {
  16516. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16517. "type": "integer"
  16518. },
  16519. "contracttype": {
  16520. "description": "现货合同类型 - 1:采购 -1:销售",
  16521. "type": "integer"
  16522. },
  16523. "deliverygoodscode": {
  16524. "description": "现货品种代码",
  16525. "type": "string"
  16526. },
  16527. "deliverygoodsid": {
  16528. "description": "现货商品ID",
  16529. "type": "integer"
  16530. },
  16531. "deliverygoodsname": {
  16532. "description": "现货品种名称",
  16533. "type": "string"
  16534. },
  16535. "enumdicname": {
  16536. "description": "单位名称",
  16537. "type": "string"
  16538. },
  16539. "goodscode": {
  16540. "description": "点价合约",
  16541. "type": "string"
  16542. },
  16543. "goodsname": {
  16544. "description": "商品名称",
  16545. "type": "string"
  16546. },
  16547. "operateapplyid": {
  16548. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16549. "type": "string"
  16550. },
  16551. "operateapplytype": {
  16552. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16553. "type": "integer"
  16554. },
  16555. "pricemove": {
  16556. "description": "升贴水",
  16557. "type": "number"
  16558. },
  16559. "pricetype": {
  16560. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16561. "type": "integer"
  16562. },
  16563. "reckontype": {
  16564. "description": "结算类型",
  16565. "type": "string"
  16566. },
  16567. "reckonvalue": {
  16568. "description": "值",
  16569. "type": "number"
  16570. },
  16571. "relatedid": {
  16572. "description": "现货合同ID",
  16573. "type": "string"
  16574. },
  16575. "sellusername": {
  16576. "description": "销售方名字",
  16577. "type": "string"
  16578. },
  16579. "userid": {
  16580. "description": "用户ID",
  16581. "type": "integer"
  16582. },
  16583. "wrstandardcode": {
  16584. "description": "品类代码",
  16585. "type": "string"
  16586. },
  16587. "wrstandardid": {
  16588. "description": "品类id",
  16589. "type": "integer"
  16590. },
  16591. "wrstandardname": {
  16592. "description": "品类名称",
  16593. "type": "string"
  16594. }
  16595. }
  16596. },
  16597. "ermcp.QryBussinessJsRsp": {
  16598. "type": "object",
  16599. "properties": {
  16600. "addmargin": {
  16601. "description": "追加保证金(非必填)",
  16602. "type": "number"
  16603. },
  16604. "applyid": {
  16605. "description": "申请人",
  16606. "type": "string"
  16607. },
  16608. "applyname": {
  16609. "description": "申请人名称",
  16610. "type": "string"
  16611. },
  16612. "applystatus": {
  16613. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16614. "type": "integer"
  16615. },
  16616. "applytime": {
  16617. "description": "申请时间",
  16618. "type": "string"
  16619. },
  16620. "attachurl": {
  16621. "description": "附件",
  16622. "type": "string"
  16623. },
  16624. "auditid": {
  16625. "description": "审核人ID",
  16626. "type": "string"
  16627. },
  16628. "auditname": {
  16629. "description": "审核人名称",
  16630. "type": "string"
  16631. },
  16632. "auditremark": {
  16633. "description": "审核备注",
  16634. "type": "string"
  16635. },
  16636. "audittime": {
  16637. "description": "审核时间",
  16638. "type": "string"
  16639. },
  16640. "buyusername": {
  16641. "description": "采购方名称",
  16642. "type": "string"
  16643. },
  16644. "contractno": {
  16645. "description": "合同编号",
  16646. "type": "string"
  16647. },
  16648. "contractstatus": {
  16649. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16650. "type": "integer"
  16651. },
  16652. "contracttype": {
  16653. "description": "现货合同类型 - 1:采购 -1:销售",
  16654. "type": "integer"
  16655. },
  16656. "decmargin": {
  16657. "description": "减少保证金(非必填)",
  16658. "type": "number"
  16659. },
  16660. "deliverygoodscode": {
  16661. "description": "现货品种代码",
  16662. "type": "string"
  16663. },
  16664. "deliverygoodsid": {
  16665. "description": "现货商品ID",
  16666. "type": "integer"
  16667. },
  16668. "deliverygoodsname": {
  16669. "description": "现货品种名称",
  16670. "type": "string"
  16671. },
  16672. "enumdicname": {
  16673. "description": "单位名称",
  16674. "type": "string"
  16675. },
  16676. "goodscode": {
  16677. "description": "点价合约",
  16678. "type": "string"
  16679. },
  16680. "goodsname": {
  16681. "description": "商品名称",
  16682. "type": "string"
  16683. },
  16684. "operateapplyid": {
  16685. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16686. "type": "string"
  16687. },
  16688. "operateapplytype": {
  16689. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16690. "type": "integer"
  16691. },
  16692. "pricemove": {
  16693. "description": "升贴水",
  16694. "type": "number"
  16695. },
  16696. "pricetype": {
  16697. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16698. "type": "integer"
  16699. },
  16700. "reckonadjustamount": {
  16701. "description": "结算调整金额(非必填)",
  16702. "type": "number"
  16703. },
  16704. "reckonosamount": {
  16705. "description": "结算溢短金额(非必填)",
  16706. "type": "number"
  16707. },
  16708. "reckonotheramount": {
  16709. "description": "结算其他费用(非必填)",
  16710. "type": "number"
  16711. },
  16712. "reckonrealqty": {
  16713. "description": "结算实际数量(非必填)",
  16714. "type": "number"
  16715. },
  16716. "relatedid": {
  16717. "description": "现货合同ID",
  16718. "type": "string"
  16719. },
  16720. "sellusername": {
  16721. "description": "销售方名字",
  16722. "type": "string"
  16723. },
  16724. "userid": {
  16725. "description": "用户ID",
  16726. "type": "integer"
  16727. },
  16728. "wrstandardcode": {
  16729. "description": "品类代码",
  16730. "type": "string"
  16731. },
  16732. "wrstandardid": {
  16733. "description": "品类id",
  16734. "type": "integer"
  16735. },
  16736. "wrstandardname": {
  16737. "description": "品类名称",
  16738. "type": "string"
  16739. }
  16740. }
  16741. },
  16742. "ermcp.QryBussinessKxRsp": {
  16743. "type": "object",
  16744. "properties": {
  16745. "applyid": {
  16746. "description": "申请人",
  16747. "type": "string"
  16748. },
  16749. "applyname": {
  16750. "description": "申请人名称",
  16751. "type": "string"
  16752. },
  16753. "applystatus": {
  16754. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16755. "type": "integer"
  16756. },
  16757. "applytime": {
  16758. "description": "申请时间",
  16759. "type": "string"
  16760. },
  16761. "attachurl": {
  16762. "description": "附件",
  16763. "type": "string"
  16764. },
  16765. "auditid": {
  16766. "description": "审核人ID",
  16767. "type": "string"
  16768. },
  16769. "auditname": {
  16770. "description": "审核人名称",
  16771. "type": "string"
  16772. },
  16773. "auditremark": {
  16774. "description": "审核备注",
  16775. "type": "string"
  16776. },
  16777. "audittime": {
  16778. "description": "审核时间",
  16779. "type": "string"
  16780. },
  16781. "buyusername": {
  16782. "description": "采购方名称",
  16783. "type": "string"
  16784. },
  16785. "contractno": {
  16786. "description": "合同编号",
  16787. "type": "string"
  16788. },
  16789. "contractstatus": {
  16790. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16791. "type": "integer"
  16792. },
  16793. "contracttype": {
  16794. "description": "现货合同类型 - 1:采购 -1:销售",
  16795. "type": "integer"
  16796. },
  16797. "deductamount": {
  16798. "description": "退款(非必填)",
  16799. "type": "number"
  16800. },
  16801. "deliverygoodscode": {
  16802. "description": "现货品种代码",
  16803. "type": "string"
  16804. },
  16805. "deliverygoodsid": {
  16806. "description": "现货商品ID",
  16807. "type": "integer"
  16808. },
  16809. "deliverygoodsname": {
  16810. "description": "现货品种名称",
  16811. "type": "string"
  16812. },
  16813. "enumdicname": {
  16814. "description": "单位名称",
  16815. "type": "string"
  16816. },
  16817. "goodscode": {
  16818. "description": "点价合约",
  16819. "type": "string"
  16820. },
  16821. "goodsname": {
  16822. "description": "商品名称",
  16823. "type": "string"
  16824. },
  16825. "kxtype": {
  16826. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  16827. "type": "integer"
  16828. },
  16829. "operateapplyid": {
  16830. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16831. "type": "string"
  16832. },
  16833. "operateapplytype": {
  16834. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16835. "type": "integer"
  16836. },
  16837. "payamount": {
  16838. "description": "收付款(非必填)",
  16839. "type": "number"
  16840. },
  16841. "pricemove": {
  16842. "description": "升贴水",
  16843. "type": "number"
  16844. },
  16845. "pricetype": {
  16846. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16847. "type": "integer"
  16848. },
  16849. "relatedid": {
  16850. "description": "现货合同ID",
  16851. "type": "string"
  16852. },
  16853. "sellusername": {
  16854. "description": "销售方名字",
  16855. "type": "string"
  16856. },
  16857. "userid": {
  16858. "description": "用户ID",
  16859. "type": "integer"
  16860. },
  16861. "wrstandardcode": {
  16862. "description": "品类代码",
  16863. "type": "string"
  16864. },
  16865. "wrstandardid": {
  16866. "description": "品类id",
  16867. "type": "integer"
  16868. },
  16869. "wrstandardname": {
  16870. "description": "品类名称",
  16871. "type": "string"
  16872. }
  16873. }
  16874. },
  16875. "ermcp.QryGGCovertCfgRsp": {
  16876. "type": "object",
  16877. "properties": {
  16878. "convertratio": {
  16879. "description": "折算系数",
  16880. "type": "number"
  16881. },
  16882. "destgoodsgroupid": {
  16883. "description": "目标品种ID",
  16884. "type": "integer"
  16885. },
  16886. "dstcode": {
  16887. "description": "目录品种代码",
  16888. "type": "string"
  16889. },
  16890. "dstexchangecode": {
  16891. "description": "目标期货交易所",
  16892. "type": "string"
  16893. },
  16894. "dstname": {
  16895. "description": "目标品种名称",
  16896. "type": "string"
  16897. },
  16898. "dstunitid": {
  16899. "description": "目标品种单位ID",
  16900. "type": "integer"
  16901. },
  16902. "dstunitidname": {
  16903. "description": "目标品种单位名称",
  16904. "type": "string"
  16905. },
  16906. "modifytime": {
  16907. "description": "修改时间",
  16908. "type": "string"
  16909. },
  16910. "srccode": {
  16911. "description": "源品种代码",
  16912. "type": "string"
  16913. },
  16914. "srcexchangecode": {
  16915. "description": "源期货交易所",
  16916. "type": "string"
  16917. },
  16918. "srcgoodsgroupid": {
  16919. "description": "源品种ID",
  16920. "type": "integer"
  16921. },
  16922. "srcname": {
  16923. "description": "源品种名称",
  16924. "type": "string"
  16925. },
  16926. "srcunitid": {
  16927. "description": "源品种单位ID",
  16928. "type": "integer"
  16929. },
  16930. "srcunitidname": {
  16931. "description": "源品种单位名称",
  16932. "type": "string"
  16933. }
  16934. }
  16935. },
  16936. "ermcp.QryMGChangeLogRsp": {
  16937. "type": "object",
  16938. "properties": {
  16939. "aftervalue": {
  16940. "description": "变更后",
  16941. "type": "number"
  16942. },
  16943. "applyid": {
  16944. "description": "操作人",
  16945. "type": "integer"
  16946. },
  16947. "applyname": {
  16948. "description": "操作人名称",
  16949. "type": "string"
  16950. },
  16951. "applysrc": {
  16952. "description": "操作来源 - 1:管理端 2:终端",
  16953. "type": "integer"
  16954. },
  16955. "beforevalue": {
  16956. "description": "变更前",
  16957. "type": "number"
  16958. },
  16959. "changelogtype": {
  16960. "description": "变更流水类型 - 1:套保比率变更",
  16961. "type": "integer"
  16962. },
  16963. "handlestatus": {
  16964. "description": "处理状态",
  16965. "type": "integer"
  16966. },
  16967. "logdatetime": {
  16968. "description": "流水日期",
  16969. "type": "string"
  16970. },
  16971. "logid": {
  16972. "description": "流水ID",
  16973. "type": "integer"
  16974. },
  16975. "logremark": {
  16976. "description": "流水备注",
  16977. "type": "string"
  16978. },
  16979. "middlegoodsid": {
  16980. "description": "套保品种ID",
  16981. "type": "integer"
  16982. },
  16983. "tradedate": {
  16984. "description": "交易日(yyyyMMdd)",
  16985. "type": "string"
  16986. },
  16987. "updatetime": {
  16988. "description": "更新时间",
  16989. "type": "string"
  16990. }
  16991. }
  16992. },
  16993. "ermcp.QryMiddleGoodsDetailRsp": {
  16994. "type": "object",
  16995. "properties": {
  16996. "cvList": {
  16997. "description": "期货品种折算列表",
  16998. "type": "array",
  16999. "items": {
  17000. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  17001. }
  17002. },
  17003. "mg": {
  17004. "description": "套保品种基本信息",
  17005. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  17006. },
  17007. "wrcList": {
  17008. "description": "现货品种列表(现货商品折算配置)",
  17009. "type": "array",
  17010. "items": {
  17011. "$ref": "#/definitions/models.WRSConverTDetail"
  17012. }
  17013. }
  17014. }
  17015. },
  17016. "ermcp.QryMiddleGoodsRsp": {
  17017. "type": "object",
  17018. "properties": {
  17019. "areauserid": {
  17020. "description": "机构用户ID",
  17021. "type": "integer"
  17022. },
  17023. "createtime": {
  17024. "description": "修改时间",
  17025. "type": "string"
  17026. },
  17027. "enumdicname": {
  17028. "description": "单位名称",
  17029. "type": "string"
  17030. },
  17031. "evaluateratio": {
  17032. "description": "估价系数",
  17033. "type": "number"
  17034. },
  17035. "goodsgroupid": {
  17036. "description": "关联期货品种ID",
  17037. "type": "integer"
  17038. },
  17039. "goodsunitid": {
  17040. "description": "单位ID",
  17041. "type": "integer"
  17042. },
  17043. "isvalid": {
  17044. "description": "状态 0-无效(停用) 1-有效(正常)",
  17045. "type": "integer"
  17046. },
  17047. "middlegoodscode": {
  17048. "description": "套保品种代码",
  17049. "type": "string"
  17050. },
  17051. "middlegoodsid": {
  17052. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  17053. "type": "integer"
  17054. },
  17055. "middlegoodsname": {
  17056. "description": "套保品种名称",
  17057. "type": "string"
  17058. },
  17059. "modifytime": {
  17060. "description": "修改时间",
  17061. "type": "string"
  17062. },
  17063. "needarbitrageratio": {
  17064. "description": "套利比例",
  17065. "type": "number"
  17066. },
  17067. "needhedgeratio": {
  17068. "description": "套保比率",
  17069. "type": "number"
  17070. },
  17071. "qtydecimalplace": {
  17072. "description": "数量小数位",
  17073. "type": "integer"
  17074. },
  17075. "relatedgoodsid": {
  17076. "description": "关联交易商品ID",
  17077. "type": "integer"
  17078. },
  17079. "relatedgoodstype": {
  17080. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  17081. "type": "integer"
  17082. },
  17083. "remark": {
  17084. "description": "备注",
  17085. "type": "string"
  17086. }
  17087. }
  17088. },
  17089. "ermcp.QryOPLogRsp": {
  17090. "type": "object",
  17091. "properties": {
  17092. "aftervalue": {
  17093. "description": "变更后",
  17094. "type": "number"
  17095. },
  17096. "applyid": {
  17097. "description": "操作人ID",
  17098. "type": "string"
  17099. },
  17100. "applyname": {
  17101. "description": "操作人名称",
  17102. "type": "string"
  17103. },
  17104. "beforevalue": {
  17105. "description": "变更前",
  17106. "type": "number"
  17107. },
  17108. "biztype": {
  17109. "description": "业务类型 - 1:套保计划 2:现货合同",
  17110. "type": "integer"
  17111. },
  17112. "contracttype": {
  17113. "description": "现货合同类型 - 1:采购 -1:销售",
  17114. "type": "integer"
  17115. },
  17116. "logvalue": {
  17117. "description": "数值",
  17118. "type": "number"
  17119. },
  17120. "operatelogtype": {
  17121. "description": "操作流水类型",
  17122. "type": "integer"
  17123. },
  17124. "operatelogtypedesc": {
  17125. "description": "操作流水类型名称",
  17126. "type": "string"
  17127. },
  17128. "relatedid": {
  17129. "description": "现货合同ID\\套保计划",
  17130. "type": "string"
  17131. },
  17132. "updatetime": {
  17133. "description": "更新时间",
  17134. "type": "string"
  17135. }
  17136. }
  17137. },
  17138. "ermcp.QryUserInfoRsp": {
  17139. "type": "object",
  17140. "properties": {
  17141. "address": {
  17142. "description": "通讯地址",
  17143. "type": "string"
  17144. },
  17145. "attachment1": {
  17146. "description": "附件1",
  17147. "type": "string"
  17148. },
  17149. "audittime": {
  17150. "description": "审核时间",
  17151. "type": "string"
  17152. },
  17153. "cardbackphotourl": {
  17154. "description": "证件反面图片地址",
  17155. "type": "string"
  17156. },
  17157. "cardfrontphotourl": {
  17158. "description": "证件正面图片地址",
  17159. "type": "string"
  17160. },
  17161. "cardnum": {
  17162. "description": "证件号码",
  17163. "type": "string"
  17164. },
  17165. "cardtype": {
  17166. "description": "证件类型",
  17167. "type": "integer"
  17168. },
  17169. "cardtypename": {
  17170. "description": "证件类型名称",
  17171. "type": "string"
  17172. },
  17173. "cityid": {
  17174. "description": "市",
  17175. "type": "integer"
  17176. },
  17177. "contactname": {
  17178. "description": "联系人",
  17179. "type": "string"
  17180. },
  17181. "countryid": {
  17182. "description": "国家",
  17183. "type": "integer"
  17184. },
  17185. "createtime": {
  17186. "description": "创建时间",
  17187. "type": "string"
  17188. },
  17189. "customername": {
  17190. "description": "企业名称",
  17191. "type": "string"
  17192. },
  17193. "districtid": {
  17194. "description": "区域",
  17195. "type": "integer"
  17196. },
  17197. "email": {
  17198. "description": "邮件",
  17199. "type": "string"
  17200. },
  17201. "legalpersonname": {
  17202. "description": "法人姓名(企业)",
  17203. "type": "string"
  17204. },
  17205. "memberuserid": {
  17206. "description": "所属机构ID",
  17207. "type": "integer"
  17208. },
  17209. "mobile": {
  17210. "description": "手机号码",
  17211. "type": "string"
  17212. },
  17213. "modifytime": {
  17214. "description": "修改时间",
  17215. "type": "string"
  17216. },
  17217. "nickname": {
  17218. "description": "昵称",
  17219. "type": "string"
  17220. },
  17221. "provinceid": {
  17222. "description": "省",
  17223. "type": "integer"
  17224. },
  17225. "remark": {
  17226. "description": "备注",
  17227. "type": "string"
  17228. },
  17229. "status": {
  17230. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  17231. "type": "integer"
  17232. },
  17233. "statusdesc": {
  17234. "description": "账户状态中文描述",
  17235. "type": "string"
  17236. },
  17237. "taxpayernum": {
  17238. "description": "纳税人识别号",
  17239. "type": "string"
  17240. },
  17241. "telphone": {
  17242. "description": "联系电话",
  17243. "type": "string"
  17244. },
  17245. "userid": {
  17246. "description": "用户ID",
  17247. "type": "integer"
  17248. },
  17249. "userinfotype": {
  17250. "description": "客户类型",
  17251. "type": "string"
  17252. }
  17253. }
  17254. },
  17255. "ermcp.QryWarehouseRsp": {
  17256. "type": "object",
  17257. "properties": {
  17258. "address": {
  17259. "description": "详细地址",
  17260. "type": "string"
  17261. },
  17262. "areauserid": {
  17263. "description": "所属机构",
  17264. "type": "integer"
  17265. },
  17266. "autoid": {
  17267. "description": "自增ID(仓库ID)",
  17268. "type": "integer"
  17269. },
  17270. "cityid": {
  17271. "description": "市",
  17272. "type": "integer"
  17273. },
  17274. "contactname": {
  17275. "description": "联系人",
  17276. "type": "string"
  17277. },
  17278. "contactnum": {
  17279. "description": "联系电话",
  17280. "type": "string"
  17281. },
  17282. "countryid": {
  17283. "description": "国家",
  17284. "type": "integer"
  17285. },
  17286. "createtime": {
  17287. "description": "创建时间",
  17288. "type": "string"
  17289. },
  17290. "districtid": {
  17291. "description": "区",
  17292. "type": "integer"
  17293. },
  17294. "hasvideo": {
  17295. "description": "是否有视频 - 0:无 1:有",
  17296. "type": "integer"
  17297. },
  17298. "provinceid": {
  17299. "description": "省",
  17300. "type": "integer"
  17301. },
  17302. "remark": {
  17303. "description": "审核备注",
  17304. "type": "string"
  17305. },
  17306. "videourl": {
  17307. "description": "视频地址",
  17308. "type": "string"
  17309. },
  17310. "warehousecode": {
  17311. "description": "仓库代码",
  17312. "type": "string"
  17313. },
  17314. "warehousename": {
  17315. "description": "仓库名称",
  17316. "type": "string"
  17317. },
  17318. "warehousestatus": {
  17319. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  17320. "type": "integer"
  17321. },
  17322. "warehousetype": {
  17323. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17324. "type": "integer"
  17325. }
  17326. }
  17327. },
  17328. "ermcp.QueryErmcpTradePositionRsp": {
  17329. "type": "object",
  17330. "properties": {
  17331. "agreeunit": {
  17332. "description": "合约单位",
  17333. "type": "number"
  17334. },
  17335. "buyorsell": {
  17336. "description": "方向 - 0:买 1:卖",
  17337. "type": "integer"
  17338. },
  17339. "curpositionqty": {
  17340. "description": "持仓(总仓数量, 期末头寸)",
  17341. "type": "integer"
  17342. },
  17343. "curtdposition": {
  17344. "description": "今仓数量(期末今日头寸)",
  17345. "type": "integer"
  17346. },
  17347. "curtdpositionenabled": {
  17348. "description": "今仓可用",
  17349. "type": "integer"
  17350. },
  17351. "decimalplace": {
  17352. "description": "报价小数位",
  17353. "type": "integer"
  17354. },
  17355. "enableqty": {
  17356. "description": "可用(总仓可用)",
  17357. "type": "integer"
  17358. },
  17359. "exexchangename": {
  17360. "description": "外部交易所名称",
  17361. "type": "string"
  17362. },
  17363. "exexehangecode": {
  17364. "description": "外部交易所代码",
  17365. "type": "string"
  17366. },
  17367. "exexehangeid": {
  17368. "description": "外部交易所id",
  17369. "type": "integer"
  17370. },
  17371. "goodscode": {
  17372. "description": "商品代码(内部)",
  17373. "type": "string"
  17374. },
  17375. "goodsid": {
  17376. "description": "商品ID(自增ID SEQ_GOODS)",
  17377. "type": "integer"
  17378. },
  17379. "goodsname": {
  17380. "description": "商品名称",
  17381. "type": "string"
  17382. },
  17383. "last": {
  17384. "description": "现价",
  17385. "type": "number"
  17386. },
  17387. "marketid": {
  17388. "description": "所属市场ID",
  17389. "type": "integer"
  17390. },
  17391. "openaverageprice": {
  17392. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  17393. "type": "number"
  17394. },
  17395. "opencost": {
  17396. "description": "开仓成本",
  17397. "type": "number"
  17398. },
  17399. "openpl": {
  17400. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17401. "type": "number"
  17402. },
  17403. "outgoodscode": {
  17404. "description": "商品代码(外部)",
  17405. "type": "string"
  17406. },
  17407. "positionaverageprice": {
  17408. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  17409. "type": "number"
  17410. },
  17411. "positioncost": {
  17412. "description": "持仓成本",
  17413. "type": "number"
  17414. },
  17415. "positionpl": {
  17416. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17417. "type": "number"
  17418. },
  17419. "positionplrate": {
  17420. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  17421. "type": "number"
  17422. },
  17423. "usedmargin": {
  17424. "description": "占用保证金",
  17425. "type": "number"
  17426. }
  17427. }
  17428. },
  17429. "ermcp.RealtimeExposurePositionRsp": {
  17430. "type": "object",
  17431. "properties": {
  17432. "agreeunit": {
  17433. "description": "合约单位",
  17434. "type": "string"
  17435. },
  17436. "areauserid": {
  17437. "description": "所属机构id",
  17438. "type": "integer"
  17439. },
  17440. "convertratio": {
  17441. "description": "期货品种系数(折算系数)",
  17442. "type": "number"
  17443. },
  17444. "curqty": {
  17445. "description": "当前持仓",
  17446. "type": "integer"
  17447. },
  17448. "diffhedgeqty": {
  17449. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  17450. "type": "number"
  17451. },
  17452. "diffqty": {
  17453. "description": "持仓变动量=当前持仓-昨日持仓",
  17454. "type": "integer"
  17455. },
  17456. "goodscode": {
  17457. "description": "商品代码",
  17458. "type": "string"
  17459. },
  17460. "goodsid": {
  17461. "description": "商品id",
  17462. "type": "integer"
  17463. },
  17464. "goodsname": {
  17465. "description": "商品名称",
  17466. "type": "string"
  17467. },
  17468. "middlegoodsid": {
  17469. "description": "套保商品id",
  17470. "type": "integer"
  17471. },
  17472. "ydqty": {
  17473. "description": "昨日持仓",
  17474. "type": "integer"
  17475. }
  17476. }
  17477. },
  17478. "ermcp.RealtimeExposureRsp": {
  17479. "type": "object",
  17480. "properties": {
  17481. "AreaUserID": {
  17482. "description": "所属机构",
  17483. "type": "integer"
  17484. },
  17485. "BuyFutureQty": {
  17486. "description": "买入期货数量",
  17487. "type": "number"
  17488. },
  17489. "BuyPlanQty": {
  17490. "description": "采购计划数量",
  17491. "type": "number"
  17492. },
  17493. "BuyPricedQty": {
  17494. "description": "采购合同已定价数量",
  17495. "type": "number"
  17496. },
  17497. "MiddleGoodsCode": {
  17498. "description": "套保品种代码",
  17499. "type": "string"
  17500. },
  17501. "MiddleGoodsHedgeRatio": {
  17502. "description": "套保比例",
  17503. "type": "number"
  17504. },
  17505. "MiddleGoodsID": {
  17506. "description": "套保品种",
  17507. "type": "integer"
  17508. },
  17509. "MiddleGoodsName": {
  17510. "description": "套保品种名称",
  17511. "type": "string"
  17512. },
  17513. "NeedHedgeExposoure": {
  17514. "description": "应套保敞口(套保敞口)",
  17515. "type": "number"
  17516. },
  17517. "NeedHedgeRatio": {
  17518. "description": "应套保敞口比例",
  17519. "type": "number"
  17520. },
  17521. "OriBuyFutureQty": {
  17522. "description": "期初买入期货数量",
  17523. "type": "number"
  17524. },
  17525. "OriBuyPlanQty": {
  17526. "description": "期初采购计划数量",
  17527. "type": "number"
  17528. },
  17529. "OriBuyPricedQty": {
  17530. "description": "期初采购合同已定价数量",
  17531. "type": "number"
  17532. },
  17533. "OriSellFutureQty": {
  17534. "description": "期初卖出期货数量",
  17535. "type": "number"
  17536. },
  17537. "OriSellPlanQty": {
  17538. "description": "期初销售计划数量",
  17539. "type": "number"
  17540. },
  17541. "OriSellPricedQty": {
  17542. "description": "期初销售合同已定价数量",
  17543. "type": "number"
  17544. },
  17545. "OriTotalSpotQty": {
  17546. "description": "期初现货总量",
  17547. "type": "number"
  17548. },
  17549. "SellFutureQty": {
  17550. "description": "卖出期货数量",
  17551. "type": "number"
  17552. },
  17553. "SellPlanQty": {
  17554. "description": "销售计划数量",
  17555. "type": "number"
  17556. },
  17557. "SellPricedQty": {
  17558. "description": "销售合同已定价数量",
  17559. "type": "number"
  17560. },
  17561. "TotalExposure": {
  17562. "description": "总敞口 平安:净敞口",
  17563. "type": "number"
  17564. },
  17565. "TotalFutureQty": {
  17566. "description": "期货总量 平安:保值净持仓量",
  17567. "type": "number"
  17568. },
  17569. "TotalHedgeRatio": {
  17570. "description": "敞口比例",
  17571. "type": "number"
  17572. },
  17573. "TotalNeedHedgeQty": {
  17574. "description": "应套保总量(现货应套保总量)",
  17575. "type": "number"
  17576. },
  17577. "TotalSpotQty": {
  17578. "description": "现货总量 平安:采销定价净值",
  17579. "type": "number"
  17580. },
  17581. "arbitrageqty": {
  17582. "description": "套利量",
  17583. "type": "number"
  17584. },
  17585. "diffArbitrageQty": {
  17586. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17587. "type": "number"
  17588. },
  17589. "diffExposoureQty": {
  17590. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17591. "type": "number"
  17592. },
  17593. "diffFutuQty": {
  17594. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17595. "type": "number"
  17596. },
  17597. "diffHedgeQty": {
  17598. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17599. "type": "number"
  17600. },
  17601. "diffQty": {
  17602. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17603. "type": "number"
  17604. },
  17605. "diffSpotHedgeQty": {
  17606. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17607. "type": "number"
  17608. },
  17609. "diffSpotQty": {
  17610. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17611. "type": "number"
  17612. },
  17613. "enumdicname": {
  17614. "description": "单位名称",
  17615. "type": "string"
  17616. },
  17617. "hedgeqty": {
  17618. "description": "套保量",
  17619. "type": "number"
  17620. },
  17621. "needarbitrageqty": {
  17622. "description": "应套利量",
  17623. "type": "number"
  17624. },
  17625. "needarbitrageratio": {
  17626. "description": "套利比例",
  17627. "type": "number"
  17628. },
  17629. "needhedgeqty": {
  17630. "description": "应套保量",
  17631. "type": "number"
  17632. },
  17633. "oriarbitrageqty": {
  17634. "description": "期初套利量",
  17635. "type": "number"
  17636. },
  17637. "orihedgeqty": {
  17638. "description": "期初套保量",
  17639. "type": "number"
  17640. },
  17641. "orineedhedgeexposoure": {
  17642. "description": "期初套保敞口",
  17643. "type": "number"
  17644. },
  17645. "oritotalexposure": {
  17646. "description": "期初总敞口",
  17647. "type": "number"
  17648. },
  17649. "oritotalfutureqty": {
  17650. "description": "期初期货总量",
  17651. "type": "number"
  17652. },
  17653. "oritotalneedhedgeqty": {
  17654. "description": "期初现货应套保量",
  17655. "type": "number"
  17656. }
  17657. }
  17658. },
  17659. "erms2.QueryArbitrageStrategyRsp": {
  17660. "type": "object",
  17661. "required": [
  17662. "asapplyid"
  17663. ],
  17664. "properties": {
  17665. "applybasis": {
  17666. "description": "申请基差",
  17667. "type": "number"
  17668. },
  17669. "asapplyid": {
  17670. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  17671. "type": "string"
  17672. },
  17673. "asname": {
  17674. "description": "策略名称",
  17675. "type": "string"
  17676. },
  17677. "asno": {
  17678. "description": "策略编号",
  17679. "type": "string"
  17680. },
  17681. "basischangepl": {
  17682. "description": "基差变动损益[结算更新]",
  17683. "type": "number"
  17684. },
  17685. "biztype": {
  17686. "description": "业务类型 - 1:正向套利 -1:反向套利",
  17687. "type": "integer"
  17688. },
  17689. "closetradedate": {
  17690. "description": "完结交易日(yyyyMMdd)",
  17691. "type": "string"
  17692. },
  17693. "curbasis": {
  17694. "description": "当前基差[结算更新]",
  17695. "type": "number"
  17696. },
  17697. "deliverygoodsid": {
  17698. "description": "现货品种ID",
  17699. "type": "integer"
  17700. },
  17701. "futureavgprice": {
  17702. "description": "期货建仓均价",
  17703. "type": "number"
  17704. },
  17705. "futurecloseamount": {
  17706. "description": "期货平仓金额",
  17707. "type": "number"
  17708. },
  17709. "futurecloseqty": {
  17710. "description": "期货平仓数量",
  17711. "type": "number"
  17712. },
  17713. "futureopenamount": {
  17714. "description": "期货开仓金额",
  17715. "type": "number"
  17716. },
  17717. "futureopenqty": {
  17718. "description": "期货开仓数量",
  17719. "type": "number"
  17720. },
  17721. "futurepl": {
  17722. "description": "期货总盈亏[结算更新]",
  17723. "type": "number"
  17724. },
  17725. "futureqty": {
  17726. "description": "期货持仓数量",
  17727. "type": "number"
  17728. },
  17729. "futurequote": {
  17730. "description": "期货额度",
  17731. "type": "number"
  17732. },
  17733. "goodsgroupid": {
  17734. "description": "期货品种ID",
  17735. "type": "integer"
  17736. },
  17737. "marketid": {
  17738. "description": "市场ID",
  17739. "type": "integer"
  17740. },
  17741. "netexposure": {
  17742. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  17743. "type": "number"
  17744. },
  17745. "netexposurepl": {
  17746. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  17747. "type": "number"
  17748. },
  17749. "netexposurerate": {
  17750. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  17751. "type": "number"
  17752. },
  17753. "openbasis": {
  17754. "description": "建仓基差",
  17755. "type": "number"
  17756. },
  17757. "pricedspotqty": {
  17758. "description": "已定价现货数量",
  17759. "type": "number"
  17760. },
  17761. "pricedspotqtynotax": {
  17762. "description": "已定价现货不含税数量",
  17763. "type": "number"
  17764. },
  17765. "remark": {
  17766. "description": "备注",
  17767. "type": "string"
  17768. },
  17769. "spotavgprice": {
  17770. "description": "现货均价",
  17771. "type": "number"
  17772. },
  17773. "spotbuyamount": {
  17774. "description": "现货采购金额",
  17775. "type": "number"
  17776. },
  17777. "spotbuyqty": {
  17778. "description": "现货采购数量",
  17779. "type": "number"
  17780. },
  17781. "spotpl": {
  17782. "description": "现货总盈亏[结算更新]",
  17783. "type": "number"
  17784. },
  17785. "spotquota": {
  17786. "description": "现货额度",
  17787. "type": "number"
  17788. },
  17789. "spotsellamount": {
  17790. "description": "现货销售金额",
  17791. "type": "number"
  17792. },
  17793. "spotsellqty": {
  17794. "description": "现货销售数量",
  17795. "type": "number"
  17796. },
  17797. "spotusedquota": {
  17798. "description": "现货占用资金",
  17799. "type": "number"
  17800. },
  17801. "strategystatus": {
  17802. "description": "策略状态 - 0:未结束 1:已结束",
  17803. "type": "integer"
  17804. },
  17805. "totalpl": {
  17806. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  17807. "type": "number"
  17808. },
  17809. "tradedate": {
  17810. "description": "交易日(yyyyMMdd)",
  17811. "type": "string"
  17812. },
  17813. "updatetime": {
  17814. "description": "更新时间",
  17815. "type": "string"
  17816. },
  17817. "usedquota": {
  17818. "description": "已占用资金",
  17819. "type": "number"
  17820. },
  17821. "userid": {
  17822. "description": "所属机构",
  17823. "type": "integer"
  17824. }
  17825. }
  17826. },
  17827. "erms2.QueryInnerTradeDetailRsp": {
  17828. "type": "object",
  17829. "required": [
  17830. "asapplyid",
  17831. "buyorsell",
  17832. "goodscode",
  17833. "goodsgroupid",
  17834. "goodsgroupname",
  17835. "goodsname",
  17836. "tradeid"
  17837. ],
  17838. "properties": {
  17839. "accountid": {
  17840. "description": "账号ID",
  17841. "type": "integer"
  17842. },
  17843. "agreeunit": {
  17844. "description": "合约单位",
  17845. "type": "number"
  17846. },
  17847. "asapplyid": {
  17848. "description": "策略申请ID",
  17849. "type": "integer"
  17850. },
  17851. "asname": {
  17852. "description": "策略名称",
  17853. "type": "string"
  17854. },
  17855. "asno": {
  17856. "description": "策略编号",
  17857. "type": "string"
  17858. },
  17859. "buyorsell": {
  17860. "description": "方向 - 0:买 1:卖",
  17861. "type": "integer"
  17862. },
  17863. "channelbuildtype": {
  17864. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  17865. "type": "integer"
  17866. },
  17867. "closetype": {
  17868. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  17869. "type": "integer"
  17870. },
  17871. "decimalplace": {
  17872. "description": "报价小数位",
  17873. "type": "integer"
  17874. },
  17875. "detailtype": {
  17876. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  17877. "type": "integer"
  17878. },
  17879. "exexchangecode": {
  17880. "description": "外部交易所代码",
  17881. "type": "string"
  17882. },
  17883. "exexchangename": {
  17884. "description": "外部交易所名称",
  17885. "type": "string"
  17886. },
  17887. "goodscode": {
  17888. "description": "商品代码(合约)",
  17889. "type": "string"
  17890. },
  17891. "goodsgroupid": {
  17892. "description": "商品组ID(品种ID)",
  17893. "type": "integer"
  17894. },
  17895. "goodsgroupname": {
  17896. "description": "商品组名称(品种)",
  17897. "type": "string"
  17898. },
  17899. "goodsid": {
  17900. "description": "商品ID",
  17901. "type": "integer"
  17902. },
  17903. "goodsname": {
  17904. "description": "商品名称(合约)",
  17905. "type": "string"
  17906. },
  17907. "goodunit": {
  17908. "description": "报价单位",
  17909. "type": "string"
  17910. },
  17911. "marketid": {
  17912. "description": "市场ID",
  17913. "type": "integer"
  17914. },
  17915. "orderid": {
  17916. "description": "委托单号",
  17917. "type": "string"
  17918. },
  17919. "outgoodscode": {
  17920. "description": "商品代码(外部)",
  17921. "type": "string"
  17922. },
  17923. "relatedouttradeid": {
  17924. "description": "关联外部成交单ID",
  17925. "type": "string"
  17926. },
  17927. "remark": {
  17928. "description": "备注",
  17929. "type": "string"
  17930. },
  17931. "spotcontractid": {
  17932. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  17933. "type": "integer"
  17934. },
  17935. "spotcontractno": {
  17936. "description": "现货合同编号",
  17937. "type": "string"
  17938. },
  17939. "tradeid": {
  17940. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17941. "type": "string"
  17942. },
  17943. "tradeprice": {
  17944. "description": "成交价格",
  17945. "type": "number"
  17946. },
  17947. "tradeqty": {
  17948. "description": "成交数量",
  17949. "type": "integer"
  17950. },
  17951. "tradetime": {
  17952. "description": "成交时间",
  17953. "type": "string"
  17954. },
  17955. "updatetime": {
  17956. "description": "更新时间",
  17957. "type": "string"
  17958. }
  17959. }
  17960. },
  17961. "erms2.QuerySpotContractRsp": {
  17962. "type": "object",
  17963. "required": [
  17964. "spotcontractid"
  17965. ],
  17966. "properties": {
  17967. "accountid": {
  17968. "description": "资金账户ID",
  17969. "type": "integer"
  17970. },
  17971. "areauserid": {
  17972. "description": "所属机构",
  17973. "type": "integer"
  17974. },
  17975. "closedate": {
  17976. "description": "终止日期",
  17977. "type": "string"
  17978. },
  17979. "closeremark": {
  17980. "description": "结束备注",
  17981. "type": "string"
  17982. },
  17983. "closetradedate": {
  17984. "description": "完结交易日(yyyyMMdd)",
  17985. "type": "string"
  17986. },
  17987. "closetype": {
  17988. "description": "终止类型 - 1:违约 2:提前终止",
  17989. "type": "integer"
  17990. },
  17991. "contractamount": {
  17992. "description": "合同金额",
  17993. "type": "number"
  17994. },
  17995. "contractattachment": {
  17996. "description": "合同附件",
  17997. "type": "string"
  17998. },
  17999. "contractno": {
  18000. "description": "现货合同编号",
  18001. "type": "string"
  18002. },
  18003. "contractqty": {
  18004. "description": "合同数量(数值) (用于计算)",
  18005. "type": "number"
  18006. },
  18007. "contractqtychar": {
  18008. "description": "合同数量\\已订价数量 (用于显示)",
  18009. "type": "string"
  18010. },
  18011. "contractstatus": {
  18012. "description": "合同状态 - 0:未结束 1:已结束",
  18013. "type": "integer"
  18014. },
  18015. "contracttype": {
  18016. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  18017. "type": "integer"
  18018. },
  18019. "customeraccountid": {
  18020. "description": "客户资金账户ID",
  18021. "type": "integer"
  18022. },
  18023. "customeruserid": {
  18024. "description": "客户ID",
  18025. "type": "integer"
  18026. },
  18027. "deliverygoodsdesc": {
  18028. "description": "品种说明",
  18029. "type": "string"
  18030. },
  18031. "deliverygoodsid": {
  18032. "description": "现货品种ID",
  18033. "type": "integer"
  18034. },
  18035. "handlestatus": {
  18036. "description": "处理状态",
  18037. "type": "integer"
  18038. },
  18039. "invoiceatt": {
  18040. "description": "发票附件",
  18041. "type": "string"
  18042. },
  18043. "invoicedatetime": {
  18044. "description": "开收票更新时间",
  18045. "type": "string"
  18046. },
  18047. "invoiceopentime": {
  18048. "description": "开票时间",
  18049. "type": "string"
  18050. },
  18051. "invoiceremark": {
  18052. "description": "发票备注",
  18053. "type": "string"
  18054. },
  18055. "invoicestatus": {
  18056. "description": "开收票状态 - 0:未开票 1:已开票",
  18057. "type": "integer"
  18058. },
  18059. "lastdate": {
  18060. "description": "交货时间",
  18061. "type": "string"
  18062. },
  18063. "marketid": {
  18064. "description": "市场ID",
  18065. "type": "integer"
  18066. },
  18067. "paydatetime": {
  18068. "description": "收付款更新时间",
  18069. "type": "string"
  18070. },
  18071. "payremark": {
  18072. "description": "收付款备注",
  18073. "type": "string"
  18074. },
  18075. "paystatus": {
  18076. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  18077. "type": "integer"
  18078. },
  18079. "positionqty": {
  18080. "description": "头寸数量 - 合同数量去小数部分",
  18081. "type": "integer"
  18082. },
  18083. "producttype": {
  18084. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18085. "type": "integer"
  18086. },
  18087. "relatedqty": {
  18088. "description": "已关联数量",
  18089. "type": "number"
  18090. },
  18091. "relatedstatus": {
  18092. "description": "关联完结状态 - 0:未结束 1:已结束",
  18093. "type": "integer"
  18094. },
  18095. "remark": {
  18096. "description": "备注",
  18097. "type": "string"
  18098. },
  18099. "signdate": {
  18100. "description": "签订日期",
  18101. "type": "string"
  18102. },
  18103. "spotcontractid": {
  18104. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  18105. "type": "string"
  18106. },
  18107. "spotdatetime": {
  18108. "description": "收发货更新时间",
  18109. "type": "string"
  18110. },
  18111. "spotprice": {
  18112. "description": "价格",
  18113. "type": "number"
  18114. },
  18115. "spotremark": {
  18116. "description": "收发货备注",
  18117. "type": "string"
  18118. },
  18119. "spotstatus": {
  18120. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  18121. "type": "integer"
  18122. },
  18123. "tradedate": {
  18124. "description": "交易日(yyyyMMdd)",
  18125. "type": "string"
  18126. },
  18127. "userid": {
  18128. "description": "业务员用户ID",
  18129. "type": "integer"
  18130. },
  18131. "warehouseid": {
  18132. "description": "仓库ID",
  18133. "type": "integer"
  18134. },
  18135. "wrfactortypeid": {
  18136. "description": "仓单要素类型ID",
  18137. "type": "integer"
  18138. },
  18139. "wrstandardid": {
  18140. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  18141. "type": "integer"
  18142. }
  18143. }
  18144. },
  18145. "erms3.AddErms2ASApplyReq": {
  18146. "type": "object",
  18147. "required": [
  18148. "asapplyid"
  18149. ],
  18150. "properties": {
  18151. "applybasis": {
  18152. "description": "申请基差",
  18153. "type": "number"
  18154. },
  18155. "applystatus": {
  18156. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18157. "type": "integer"
  18158. },
  18159. "asapplyid": {
  18160. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  18161. "type": "integer"
  18162. },
  18163. "asname": {
  18164. "description": "策略名称",
  18165. "type": "string"
  18166. },
  18167. "asno": {
  18168. "description": "策略编号",
  18169. "type": "string"
  18170. },
  18171. "auditid": {
  18172. "description": "审核人",
  18173. "type": "integer"
  18174. },
  18175. "auditremark": {
  18176. "description": "审核备注",
  18177. "type": "string"
  18178. },
  18179. "audittime": {
  18180. "description": "审核时间",
  18181. "type": "string"
  18182. },
  18183. "biztype": {
  18184. "description": "业务类型 - 1:正向套利 2:反向套利",
  18185. "type": "integer"
  18186. },
  18187. "createtime": {
  18188. "description": "创建时间",
  18189. "type": "string"
  18190. },
  18191. "creatorid": {
  18192. "description": "创建人",
  18193. "type": "integer"
  18194. },
  18195. "deliverygoodsid": {
  18196. "description": "现货品种ID",
  18197. "type": "integer"
  18198. },
  18199. "futurequote": {
  18200. "description": "期货额度",
  18201. "type": "number"
  18202. },
  18203. "goodsgroupid": {
  18204. "description": "期货品种ID",
  18205. "type": "integer"
  18206. },
  18207. "marketid": {
  18208. "description": "市场ID",
  18209. "type": "integer"
  18210. },
  18211. "remark": {
  18212. "description": "备注",
  18213. "type": "string"
  18214. },
  18215. "spotquota": {
  18216. "description": "现货额度",
  18217. "type": "number"
  18218. },
  18219. "tradedate": {
  18220. "description": "交易日(yyyyMMdd)",
  18221. "type": "string"
  18222. },
  18223. "userid": {
  18224. "description": "所属机构",
  18225. "type": "integer"
  18226. }
  18227. }
  18228. },
  18229. "erms3.AddErms2SpotTradeApplyReq": {
  18230. "type": "object",
  18231. "required": [
  18232. "spottradeid"
  18233. ],
  18234. "properties": {
  18235. "applyjsondetail": {
  18236. "description": "申请明细(JSON)",
  18237. "type": "string"
  18238. },
  18239. "applystatus": {
  18240. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18241. "type": "integer"
  18242. },
  18243. "areauserid": {
  18244. "description": "所属机构",
  18245. "type": "integer"
  18246. },
  18247. "auditid": {
  18248. "description": "审核人",
  18249. "type": "integer"
  18250. },
  18251. "auditremark": {
  18252. "description": "审核备注",
  18253. "type": "string"
  18254. },
  18255. "audittime": {
  18256. "description": "审核时间",
  18257. "type": "string"
  18258. },
  18259. "createtime": {
  18260. "description": "创建时间",
  18261. "type": "string"
  18262. },
  18263. "creatorid": {
  18264. "description": "创建人",
  18265. "type": "integer"
  18266. },
  18267. "deliverygoodsid": {
  18268. "description": "现货品种ID",
  18269. "type": "integer"
  18270. },
  18271. "futureaccountid": {
  18272. "description": "期货资金账户",
  18273. "type": "integer"
  18274. },
  18275. "goodsgroupid": {
  18276. "description": "期货品种",
  18277. "type": "integer"
  18278. },
  18279. "marketid": {
  18280. "description": "市场ID",
  18281. "type": "integer"
  18282. },
  18283. "remark": {
  18284. "description": "备注",
  18285. "type": "string"
  18286. },
  18287. "spotaccountid": {
  18288. "description": "现货资金账户",
  18289. "type": "integer"
  18290. },
  18291. "spottradeid": {
  18292. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  18293. "type": "integer"
  18294. },
  18295. "spottradename": {
  18296. "description": "业务名称",
  18297. "type": "string"
  18298. },
  18299. "spottradeno": {
  18300. "description": "业务编号",
  18301. "type": "string"
  18302. },
  18303. "tradedate": {
  18304. "description": "交易日(yyyyMMdd)",
  18305. "type": "string"
  18306. },
  18307. "wrstandardid": {
  18308. "description": "仓单标准ID",
  18309. "type": "integer"
  18310. }
  18311. }
  18312. },
  18313. "erms3.AddSpotContractApplyReq": {
  18314. "type": "object",
  18315. "required": [
  18316. "accountid",
  18317. "areauserid",
  18318. "contractno",
  18319. "contracttype",
  18320. "customeraccountid",
  18321. "customeruserid",
  18322. "details",
  18323. "orimargin",
  18324. "signdate"
  18325. ],
  18326. "properties": {
  18327. "accountid": {
  18328. "description": "资金账户ID",
  18329. "type": "integer"
  18330. },
  18331. "areauserid": {
  18332. "description": "所属机构",
  18333. "type": "integer"
  18334. },
  18335. "contractattachment": {
  18336. "description": "合同附件",
  18337. "type": "string"
  18338. },
  18339. "contractno": {
  18340. "description": "现货合同编号",
  18341. "type": "string"
  18342. },
  18343. "contracttype": {
  18344. "description": "现货合同类型 - 1:采购 -1:销售",
  18345. "type": "integer"
  18346. },
  18347. "creatorid": {
  18348. "description": "申请人",
  18349. "type": "integer"
  18350. },
  18351. "customeraccountid": {
  18352. "description": "客户资金账户ID",
  18353. "type": "integer"
  18354. },
  18355. "customeruserid": {
  18356. "description": "客户ID",
  18357. "type": "integer"
  18358. },
  18359. "details": {
  18360. "description": "明细",
  18361. "type": "array",
  18362. "items": {
  18363. "$ref": "#/definitions/erms3.SoptContractDetail"
  18364. }
  18365. },
  18366. "orimargin": {
  18367. "description": "初始保证金",
  18368. "type": "number"
  18369. },
  18370. "remark": {
  18371. "description": "备注",
  18372. "type": "string"
  18373. },
  18374. "signdate": {
  18375. "description": "签订日期",
  18376. "type": "string"
  18377. }
  18378. }
  18379. },
  18380. "erms3.AddSpotContractApplyRsp": {
  18381. "type": "object",
  18382. "required": [
  18383. "contractno"
  18384. ],
  18385. "properties": {
  18386. "contractno": {
  18387. "description": "现货合同编号",
  18388. "type": "string"
  18389. },
  18390. "spotcontractid": {
  18391. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  18392. "type": "integer"
  18393. }
  18394. }
  18395. },
  18396. "erms3.AddUserInfoApplyReq": {
  18397. "type": "object",
  18398. "required": [
  18399. "userid"
  18400. ],
  18401. "properties": {
  18402. "accountid": {
  18403. "description": "交易系统帐号Id (加密存储)",
  18404. "type": "integer"
  18405. },
  18406. "areacode": {
  18407. "description": "机构代码",
  18408. "type": "string"
  18409. },
  18410. "areaid": {
  18411. "description": "机构Id",
  18412. "type": "integer"
  18413. },
  18414. "attachment1": {
  18415. "description": "附件1",
  18416. "type": "string"
  18417. },
  18418. "attachment2": {
  18419. "description": "附件2",
  18420. "type": "string"
  18421. },
  18422. "attachment3": {
  18423. "description": "附件3",
  18424. "type": "string"
  18425. },
  18426. "attachment4": {
  18427. "description": "附件4",
  18428. "type": "string"
  18429. },
  18430. "attachment5": {
  18431. "description": "附件5",
  18432. "type": "string"
  18433. },
  18434. "auditedby": {
  18435. "description": "审核人",
  18436. "type": "string"
  18437. },
  18438. "auditime": {
  18439. "description": "审核时间",
  18440. "type": "string"
  18441. },
  18442. "auditsrc": {
  18443. "description": "审核来源 - 1:管理端 2:终端",
  18444. "type": "integer"
  18445. },
  18446. "bankaccount": {
  18447. "description": "银行帐号 (加密存储)",
  18448. "type": "string"
  18449. },
  18450. "bankaccountname": {
  18451. "description": "收款人名称",
  18452. "type": "string"
  18453. },
  18454. "bankcardbackphotourl": {
  18455. "description": "银行卡背面照地址",
  18456. "type": "string"
  18457. },
  18458. "bankcardfrontphotourl": {
  18459. "description": "银行卡正面照地址",
  18460. "type": "string"
  18461. },
  18462. "bankid": {
  18463. "description": "银行编码",
  18464. "type": "string"
  18465. },
  18466. "bankname": {
  18467. "description": "银行名称",
  18468. "type": "string"
  18469. },
  18470. "bankpictureurl": {
  18471. "description": "银行卡正面地址",
  18472. "type": "string"
  18473. },
  18474. "biznature": {
  18475. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18476. "type": "integer"
  18477. },
  18478. "bizscope": {
  18479. "description": "企业经营范围(企业)",
  18480. "type": "string"
  18481. },
  18482. "biztype": {
  18483. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18484. "type": "integer"
  18485. },
  18486. "brokerid": {
  18487. "description": "经纪人ID(加密存储)",
  18488. "type": "string"
  18489. },
  18490. "cardaddress": {
  18491. "description": "证件地址 (加密存储)",
  18492. "type": "string"
  18493. },
  18494. "cardbackphotourl": {
  18495. "description": "背面证件照地址",
  18496. "type": "string"
  18497. },
  18498. "cardfrontphotourl": {
  18499. "description": "正面证件照地址",
  18500. "type": "string"
  18501. },
  18502. "cardnum": {
  18503. "description": "证件号码 (加密存储)",
  18504. "type": "string"
  18505. },
  18506. "cardtype": {
  18507. "description": "证件类型",
  18508. "type": "integer"
  18509. },
  18510. "cityid": {
  18511. "description": "市",
  18512. "type": "integer"
  18513. },
  18514. "company": {
  18515. "description": "公司(个人)",
  18516. "type": "string"
  18517. },
  18518. "contactcardbackphotourl": {
  18519. "description": "联系人证件背面图片地址",
  18520. "type": "string"
  18521. },
  18522. "contactcardfrontphotourl": {
  18523. "description": "联系人证件正面图片地址",
  18524. "type": "string"
  18525. },
  18526. "contactname": {
  18527. "description": "联系人",
  18528. "type": "string"
  18529. },
  18530. "countryid": {
  18531. "description": "国家",
  18532. "type": "integer"
  18533. },
  18534. "createtime": {
  18535. "description": "开户申请时间",
  18536. "type": "string"
  18537. },
  18538. "cusbankid": {
  18539. "description": "签约类型",
  18540. "type": "string"
  18541. },
  18542. "cusbankname": {
  18543. "description": "签约类型名称",
  18544. "type": "string"
  18545. },
  18546. "customername": {
  18547. "description": "客户名称(企业名称)",
  18548. "type": "string"
  18549. },
  18550. "districtid": {
  18551. "description": "地区",
  18552. "type": "integer"
  18553. },
  18554. "email": {
  18555. "description": "Email地址(加密存储)",
  18556. "type": "string"
  18557. },
  18558. "halfbodyphotourl": {
  18559. "description": "半身照地址",
  18560. "type": "string"
  18561. },
  18562. "headurl": {
  18563. "description": "头像地址",
  18564. "type": "string"
  18565. },
  18566. "ipaddress": {
  18567. "description": "IP地址",
  18568. "type": "string"
  18569. },
  18570. "isvalidate": {
  18571. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18572. "type": "string"
  18573. },
  18574. "legalcardbackphotourl": {
  18575. "description": "法人身份证背面照地址",
  18576. "type": "string"
  18577. },
  18578. "legalcardfrontphotourl": {
  18579. "description": "法人身份证正面照地址",
  18580. "type": "string"
  18581. },
  18582. "legalpersonname": {
  18583. "description": "法人姓名(企业)",
  18584. "type": "string"
  18585. },
  18586. "logincode": {
  18587. "description": "登录帐号 (加密存储)",
  18588. "type": "string"
  18589. },
  18590. "memberareaid": {
  18591. "description": "所属会员ID",
  18592. "type": "integer"
  18593. },
  18594. "mobile2": {
  18595. "description": "手机号码[明文-尚志]",
  18596. "type": "string"
  18597. },
  18598. "mobilephone": {
  18599. "description": "手机号码 (加密存储)",
  18600. "type": "string"
  18601. },
  18602. "modifiedby": {
  18603. "description": "修改人帐号",
  18604. "type": "integer"
  18605. },
  18606. "modifiedtime": {
  18607. "description": "修改时间",
  18608. "type": "string"
  18609. },
  18610. "nickname": {
  18611. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18612. "type": "string"
  18613. },
  18614. "openmode": {
  18615. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18616. "type": "integer"
  18617. },
  18618. "otherurl": {
  18619. "description": "其它图片地址[使用分号分隔]",
  18620. "type": "string"
  18621. },
  18622. "postalcode": {
  18623. "description": "邮政编码",
  18624. "type": "string"
  18625. },
  18626. "provinceid": {
  18627. "description": "省",
  18628. "type": "integer"
  18629. },
  18630. "proxystatementurl": {
  18631. "description": "授权委托书",
  18632. "type": "string"
  18633. },
  18634. "qq": {
  18635. "description": "QQ(加密存储",
  18636. "type": "string"
  18637. },
  18638. "referral": {
  18639. "description": "推荐人编码",
  18640. "type": "string"
  18641. },
  18642. "remark": {
  18643. "description": "备注",
  18644. "type": "string"
  18645. },
  18646. "removebeforestatus": {
  18647. "description": "REMOVEBEFORESTATUS",
  18648. "type": "integer"
  18649. },
  18650. "sex": {
  18651. "description": "性别 - 0:女 1:男",
  18652. "type": "integer"
  18653. },
  18654. "signedstatus": {
  18655. "description": "账户一号签签约状态",
  18656. "type": "integer"
  18657. },
  18658. "signpdfurl": {
  18659. "description": "签约pdf文件",
  18660. "type": "string"
  18661. },
  18662. "subbranch": {
  18663. "description": "开户支行",
  18664. "type": "string"
  18665. },
  18666. "taxpayernum": {
  18667. "description": "纳税人识别号",
  18668. "type": "string"
  18669. },
  18670. "telphone": {
  18671. "description": "联系电话(加密存储)",
  18672. "type": "string"
  18673. },
  18674. "userid": {
  18675. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18676. "type": "integer"
  18677. },
  18678. "userinfotype": {
  18679. "description": "用户信息类型 - 1:个人 2:企业",
  18680. "type": "integer"
  18681. },
  18682. "username": {
  18683. "description": "用户姓名",
  18684. "type": "string"
  18685. },
  18686. "userstate": {
  18687. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18688. "type": "integer"
  18689. },
  18690. "usertype": {
  18691. "description": "用户类型 - 1:投资者 2:机构",
  18692. "type": "integer"
  18693. },
  18694. "videourl": {
  18695. "description": "视频地址",
  18696. "type": "string"
  18697. },
  18698. "wechat": {
  18699. "description": "微信号 (加密存储)",
  18700. "type": "string"
  18701. }
  18702. }
  18703. },
  18704. "erms3.CustomerInfo": {
  18705. "type": "object",
  18706. "required": [
  18707. "userid"
  18708. ],
  18709. "properties": {
  18710. "accountids": {
  18711. "description": "资金账户ID列表",
  18712. "type": "array",
  18713. "items": {
  18714. "type": "integer"
  18715. }
  18716. },
  18717. "customername": {
  18718. "description": "名称(企业名称)",
  18719. "type": "string"
  18720. },
  18721. "mobile": {
  18722. "description": "手机号码",
  18723. "type": "string"
  18724. },
  18725. "userid": {
  18726. "description": "用户ID",
  18727. "type": "integer"
  18728. }
  18729. }
  18730. },
  18731. "erms3.ModifyUserInfoApplyReq": {
  18732. "type": "object",
  18733. "required": [
  18734. "userid"
  18735. ],
  18736. "properties": {
  18737. "accountid": {
  18738. "description": "交易系统帐号Id (加密存储)",
  18739. "type": "integer"
  18740. },
  18741. "areacode": {
  18742. "description": "机构代码",
  18743. "type": "string"
  18744. },
  18745. "areaid": {
  18746. "description": "机构Id",
  18747. "type": "integer"
  18748. },
  18749. "attachment1": {
  18750. "description": "附件1",
  18751. "type": "string"
  18752. },
  18753. "attachment2": {
  18754. "description": "附件2",
  18755. "type": "string"
  18756. },
  18757. "attachment3": {
  18758. "description": "附件3",
  18759. "type": "string"
  18760. },
  18761. "attachment4": {
  18762. "description": "附件4",
  18763. "type": "string"
  18764. },
  18765. "attachment5": {
  18766. "description": "附件5",
  18767. "type": "string"
  18768. },
  18769. "auditedby": {
  18770. "description": "审核人",
  18771. "type": "string"
  18772. },
  18773. "auditime": {
  18774. "description": "审核时间",
  18775. "type": "string"
  18776. },
  18777. "auditsrc": {
  18778. "description": "审核来源 - 1:管理端 2:终端",
  18779. "type": "integer"
  18780. },
  18781. "bankaccount": {
  18782. "description": "银行帐号 (加密存储)",
  18783. "type": "string"
  18784. },
  18785. "bankaccountname": {
  18786. "description": "收款人名称",
  18787. "type": "string"
  18788. },
  18789. "bankcardbackphotourl": {
  18790. "description": "银行卡背面照地址",
  18791. "type": "string"
  18792. },
  18793. "bankcardfrontphotourl": {
  18794. "description": "银行卡正面照地址",
  18795. "type": "string"
  18796. },
  18797. "bankid": {
  18798. "description": "银行编码",
  18799. "type": "string"
  18800. },
  18801. "bankname": {
  18802. "description": "银行名称",
  18803. "type": "string"
  18804. },
  18805. "bankpictureurl": {
  18806. "description": "银行卡正面地址",
  18807. "type": "string"
  18808. },
  18809. "biznature": {
  18810. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18811. "type": "integer"
  18812. },
  18813. "bizscope": {
  18814. "description": "企业经营范围(企业)",
  18815. "type": "string"
  18816. },
  18817. "biztype": {
  18818. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18819. "type": "integer"
  18820. },
  18821. "brokerid": {
  18822. "description": "经纪人ID(加密存储)",
  18823. "type": "string"
  18824. },
  18825. "cardaddress": {
  18826. "description": "证件地址 (加密存储)",
  18827. "type": "string"
  18828. },
  18829. "cardbackphotourl": {
  18830. "description": "背面证件照地址",
  18831. "type": "string"
  18832. },
  18833. "cardfrontphotourl": {
  18834. "description": "正面证件照地址",
  18835. "type": "string"
  18836. },
  18837. "cardnum": {
  18838. "description": "证件号码 (加密存储)",
  18839. "type": "string"
  18840. },
  18841. "cardtype": {
  18842. "description": "证件类型",
  18843. "type": "integer"
  18844. },
  18845. "cityid": {
  18846. "description": "市",
  18847. "type": "integer"
  18848. },
  18849. "company": {
  18850. "description": "公司(个人)",
  18851. "type": "string"
  18852. },
  18853. "contactcardbackphotourl": {
  18854. "description": "联系人证件背面图片地址",
  18855. "type": "string"
  18856. },
  18857. "contactcardfrontphotourl": {
  18858. "description": "联系人证件正面图片地址",
  18859. "type": "string"
  18860. },
  18861. "contactname": {
  18862. "description": "联系人",
  18863. "type": "string"
  18864. },
  18865. "countryid": {
  18866. "description": "国家",
  18867. "type": "integer"
  18868. },
  18869. "createtime": {
  18870. "description": "开户申请时间",
  18871. "type": "string"
  18872. },
  18873. "cusbankid": {
  18874. "description": "签约类型",
  18875. "type": "string"
  18876. },
  18877. "cusbankname": {
  18878. "description": "签约类型名称",
  18879. "type": "string"
  18880. },
  18881. "customername": {
  18882. "description": "客户名称(企业名称)",
  18883. "type": "string"
  18884. },
  18885. "districtid": {
  18886. "description": "地区",
  18887. "type": "integer"
  18888. },
  18889. "email": {
  18890. "description": "Email地址(加密存储)",
  18891. "type": "string"
  18892. },
  18893. "halfbodyphotourl": {
  18894. "description": "半身照地址",
  18895. "type": "string"
  18896. },
  18897. "headurl": {
  18898. "description": "头像地址",
  18899. "type": "string"
  18900. },
  18901. "ipaddress": {
  18902. "description": "IP地址",
  18903. "type": "string"
  18904. },
  18905. "isvalidate": {
  18906. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18907. "type": "string"
  18908. },
  18909. "legalcardbackphotourl": {
  18910. "description": "法人身份证背面照地址",
  18911. "type": "string"
  18912. },
  18913. "legalcardfrontphotourl": {
  18914. "description": "法人身份证正面照地址",
  18915. "type": "string"
  18916. },
  18917. "legalpersonname": {
  18918. "description": "法人姓名(企业)",
  18919. "type": "string"
  18920. },
  18921. "logincode": {
  18922. "description": "登录帐号 (加密存储)",
  18923. "type": "string"
  18924. },
  18925. "memberareaid": {
  18926. "description": "所属会员ID",
  18927. "type": "integer"
  18928. },
  18929. "mobile2": {
  18930. "description": "手机号码[明文-尚志]",
  18931. "type": "string"
  18932. },
  18933. "mobilephone": {
  18934. "description": "手机号码 (加密存储)",
  18935. "type": "string"
  18936. },
  18937. "modifiedby": {
  18938. "description": "修改人帐号",
  18939. "type": "integer"
  18940. },
  18941. "modifiedtime": {
  18942. "description": "修改时间",
  18943. "type": "string"
  18944. },
  18945. "nickname": {
  18946. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18947. "type": "string"
  18948. },
  18949. "openmode": {
  18950. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18951. "type": "integer"
  18952. },
  18953. "otherurl": {
  18954. "description": "其它图片地址[使用分号分隔]",
  18955. "type": "string"
  18956. },
  18957. "postalcode": {
  18958. "description": "邮政编码",
  18959. "type": "string"
  18960. },
  18961. "provinceid": {
  18962. "description": "省",
  18963. "type": "integer"
  18964. },
  18965. "proxystatementurl": {
  18966. "description": "授权委托书",
  18967. "type": "string"
  18968. },
  18969. "qq": {
  18970. "description": "QQ(加密存储",
  18971. "type": "string"
  18972. },
  18973. "referral": {
  18974. "description": "推荐人编码",
  18975. "type": "string"
  18976. },
  18977. "remark": {
  18978. "description": "备注",
  18979. "type": "string"
  18980. },
  18981. "removebeforestatus": {
  18982. "description": "REMOVEBEFORESTATUS",
  18983. "type": "integer"
  18984. },
  18985. "sex": {
  18986. "description": "性别 - 0:女 1:男",
  18987. "type": "integer"
  18988. },
  18989. "signedstatus": {
  18990. "description": "账户一号签签约状态",
  18991. "type": "integer"
  18992. },
  18993. "signpdfurl": {
  18994. "description": "签约pdf文件",
  18995. "type": "string"
  18996. },
  18997. "subbranch": {
  18998. "description": "开户支行",
  18999. "type": "string"
  19000. },
  19001. "taxpayernum": {
  19002. "description": "纳税人识别号",
  19003. "type": "string"
  19004. },
  19005. "telphone": {
  19006. "description": "联系电话(加密存储)",
  19007. "type": "string"
  19008. },
  19009. "userid": {
  19010. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  19011. "type": "integer"
  19012. },
  19013. "userinfotype": {
  19014. "description": "用户信息类型 - 1:个人 2:企业",
  19015. "type": "integer"
  19016. },
  19017. "username": {
  19018. "description": "用户姓名",
  19019. "type": "string"
  19020. },
  19021. "userstate": {
  19022. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  19023. "type": "integer"
  19024. },
  19025. "usertype": {
  19026. "description": "用户类型 - 1:投资者 2:机构",
  19027. "type": "integer"
  19028. },
  19029. "videourl": {
  19030. "description": "视频地址",
  19031. "type": "string"
  19032. },
  19033. "wechat": {
  19034. "description": "微信号 (加密存储)",
  19035. "type": "string"
  19036. }
  19037. }
  19038. },
  19039. "erms3.QryAuditContractRsp": {
  19040. "type": "object",
  19041. "required": [
  19042. "matchcustomername",
  19043. "spotcontractid"
  19044. ],
  19045. "properties": {
  19046. "accountid": {
  19047. "description": "交易员ID",
  19048. "type": "string"
  19049. },
  19050. "applystatus": {
  19051. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19052. "type": "integer"
  19053. },
  19054. "curdeliveryqty": {
  19055. "description": "未交收量",
  19056. "type": "integer"
  19057. },
  19058. "customername": {
  19059. "description": "采购方ID",
  19060. "type": "string"
  19061. },
  19062. "deliverygoodsid": {
  19063. "description": "品种ID",
  19064. "type": "string"
  19065. },
  19066. "deliveryqty": {
  19067. "description": "交收量",
  19068. "type": "integer"
  19069. },
  19070. "enumdicname": {
  19071. "description": "单位名称",
  19072. "type": "string"
  19073. },
  19074. "matchaccountid": {
  19075. "description": "业务员ID",
  19076. "type": "string"
  19077. },
  19078. "matchcustomername": {
  19079. "description": "销售方ID",
  19080. "type": "string"
  19081. },
  19082. "pricedqty": {
  19083. "description": "定价量",
  19084. "type": "number"
  19085. },
  19086. "signdate": {
  19087. "description": "签订日期",
  19088. "type": "string"
  19089. },
  19090. "spotcontractid": {
  19091. "description": "合同ID",
  19092. "type": "string"
  19093. },
  19094. "totaldqty": {
  19095. "description": "合同量",
  19096. "type": "number"
  19097. },
  19098. "unpricedqty": {
  19099. "description": "未定价量",
  19100. "type": "number"
  19101. },
  19102. "wrstandardname": {
  19103. "description": "商品名称",
  19104. "type": "string"
  19105. }
  19106. }
  19107. },
  19108. "erms3.QryPendingBizRsp": {
  19109. "type": "object",
  19110. "properties": {
  19111. "accountid": {
  19112. "description": "现货账户",
  19113. "type": "string"
  19114. },
  19115. "areaname": {
  19116. "description": "所属部门",
  19117. "type": "string"
  19118. },
  19119. "bizid": {
  19120. "description": "业务ID",
  19121. "type": "string"
  19122. },
  19123. "bizname": {
  19124. "description": "业务名称",
  19125. "type": "string"
  19126. },
  19127. "status": {
  19128. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19129. "type": "integer"
  19130. },
  19131. "type": {
  19132. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  19133. "type": "integer"
  19134. }
  19135. }
  19136. },
  19137. "erms3.QueryBusinessInfoRsp": {
  19138. "type": "object",
  19139. "properties": {
  19140. "businessid": {
  19141. "description": "业务ID.",
  19142. "type": "integer"
  19143. },
  19144. "buyamount": {
  19145. "description": "采购额.",
  19146. "type": "number"
  19147. },
  19148. "buyqty": {
  19149. "description": "采购量.",
  19150. "type": "string"
  19151. },
  19152. "futurepl": {
  19153. "description": "期货盈亏.",
  19154. "type": "number"
  19155. },
  19156. "futureqty": {
  19157. "description": "期货敞口.",
  19158. "type": "string"
  19159. },
  19160. "goodsid": {
  19161. "description": "商品名称/商品代码.",
  19162. "type": "string"
  19163. },
  19164. "hedgingqty": {
  19165. "description": "套保量.",
  19166. "type": "string"
  19167. },
  19168. "sellamount": {
  19169. "description": "销售额.",
  19170. "type": "number"
  19171. },
  19172. "sellqty": {
  19173. "description": "销售量.",
  19174. "type": "string"
  19175. },
  19176. "spotmarketvalue": {
  19177. "description": "现货市值.",
  19178. "type": "number"
  19179. },
  19180. "spotpl": {
  19181. "description": "浮动权益.",
  19182. "type": "number"
  19183. },
  19184. "spotqty": {
  19185. "description": "现货量.",
  19186. "type": "string"
  19187. },
  19188. "statu": {
  19189. "description": "状态,0-未结束 1-已结束.",
  19190. "type": "integer"
  19191. },
  19192. "totalpl": {
  19193. "description": "总盈亏.",
  19194. "type": "number"
  19195. },
  19196. "totalqty": {
  19197. "description": "总敞口.",
  19198. "type": "string"
  19199. },
  19200. "type": {
  19201. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  19202. "type": "integer"
  19203. }
  19204. }
  19205. },
  19206. "erms3.QuerySpotContractAppleFormRsp": {
  19207. "type": "object",
  19208. "properties": {
  19209. "goodses": {
  19210. "description": "合约列表",
  19211. "type": "array",
  19212. "items": {
  19213. "$ref": "#/definitions/models.GoodsIDAndName"
  19214. }
  19215. },
  19216. "oppositeusers": {
  19217. "description": "对方账号列表",
  19218. "type": "array",
  19219. "items": {
  19220. "$ref": "#/definitions/erms3.CustomerInfo"
  19221. }
  19222. },
  19223. "ouruser": {
  19224. "description": "我方账号",
  19225. "$ref": "#/definitions/erms3.CustomerInfo"
  19226. },
  19227. "warehouseinfos": {
  19228. "description": "仓库信息列表",
  19229. "type": "array",
  19230. "items": {
  19231. "$ref": "#/definitions/models.Warehouseinfo"
  19232. }
  19233. },
  19234. "wrstandards": {
  19235. "description": "仓单标准列表",
  19236. "type": "array",
  19237. "items": {
  19238. "$ref": "#/definitions/models.WRStandardInfo"
  19239. }
  19240. }
  19241. }
  19242. },
  19243. "erms3.QuerySpotContractInfoRsp": {
  19244. "type": "object",
  19245. "properties": {
  19246. "accountid": {
  19247. "description": "表示交易员ID.",
  19248. "type": "integer"
  19249. },
  19250. "curdeliveryqty": {
  19251. "description": "表示未交收量.",
  19252. "type": "number"
  19253. },
  19254. "customername": {
  19255. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  19256. "type": "string"
  19257. },
  19258. "deliverygoodsid": {
  19259. "description": "表示品种ID.",
  19260. "type": "string"
  19261. },
  19262. "deliveryqty": {
  19263. "description": "表示交收量.",
  19264. "type": "number"
  19265. },
  19266. "matchaccountid": {
  19267. "description": "表示业务员ID.",
  19268. "type": "integer"
  19269. },
  19270. "matchcustomername": {
  19271. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  19272. "type": "string"
  19273. },
  19274. "priceqty": {
  19275. "description": "表示定价量.",
  19276. "type": "number"
  19277. },
  19278. "relatedbizid": {
  19279. "description": "表示业务ID.",
  19280. "type": "string"
  19281. },
  19282. "signdate": {
  19283. "description": "表示签订日期.",
  19284. "type": "string"
  19285. },
  19286. "spotcontractid": {
  19287. "description": "合同ID",
  19288. "type": "string"
  19289. },
  19290. "status": {
  19291. "description": "表示状态,0-履约中 1-已完成.",
  19292. "type": "integer"
  19293. },
  19294. "totalqty": {
  19295. "description": "表示合同量.",
  19296. "type": "number"
  19297. },
  19298. "unpricedqty": {
  19299. "description": "表示未定价量.",
  19300. "type": "number"
  19301. },
  19302. "wrstandardname": {
  19303. "description": "表示商品ID.",
  19304. "type": "string"
  19305. }
  19306. }
  19307. },
  19308. "erms3.QueryUserInfoAppliesRsp": {
  19309. "type": "object",
  19310. "required": [
  19311. "userid"
  19312. ],
  19313. "properties": {
  19314. "biznature": {
  19315. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19316. "type": "integer"
  19317. },
  19318. "contactname": {
  19319. "description": "联系人",
  19320. "type": "string"
  19321. },
  19322. "createtime": {
  19323. "description": "开户申请时间",
  19324. "type": "string"
  19325. },
  19326. "userid": {
  19327. "description": "用户ID(自增ID)",
  19328. "type": "integer"
  19329. },
  19330. "userinfotype": {
  19331. "description": "用户信息类型 - 1:个人 2:企业",
  19332. "type": "integer"
  19333. },
  19334. "username": {
  19335. "description": "用户姓名",
  19336. "type": "string"
  19337. },
  19338. "userstate": {
  19339. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  19340. "type": "integer"
  19341. }
  19342. }
  19343. },
  19344. "erms3.QueryUserInfosRsp": {
  19345. "type": "object",
  19346. "required": [
  19347. "userid"
  19348. ],
  19349. "properties": {
  19350. "biznature": {
  19351. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19352. "type": "integer"
  19353. },
  19354. "contactname": {
  19355. "description": "联系人",
  19356. "type": "string"
  19357. },
  19358. "customername": {
  19359. "description": "客户名称(企业名称)",
  19360. "type": "string"
  19361. },
  19362. "userid": {
  19363. "description": "用户ID",
  19364. "type": "integer"
  19365. },
  19366. "userinfotype": {
  19367. "description": "用户信息类型 - 1:个人 2:企业",
  19368. "type": "integer"
  19369. },
  19370. "userstatus": {
  19371. "description": "用户状态 - 1:正常 2:注销",
  19372. "type": "integer"
  19373. }
  19374. }
  19375. },
  19376. "erms3.SoptContractDetail": {
  19377. "type": "object",
  19378. "required": [
  19379. "deliverygoodsid",
  19380. "producttype",
  19381. "unitname",
  19382. "warehouseid",
  19383. "wrstandardid",
  19384. "wrstandardname"
  19385. ],
  19386. "properties": {
  19387. "deliverygoodsdesc": {
  19388. "description": "现货品种说明",
  19389. "type": "string"
  19390. },
  19391. "deliverygoodsid": {
  19392. "description": "现货品种ID",
  19393. "type": "integer"
  19394. },
  19395. "deliverygoodsname": {
  19396. "description": "现货品种名称",
  19397. "type": "string"
  19398. },
  19399. "pointdesc": {
  19400. "description": "点价描述",
  19401. "type": "string"
  19402. },
  19403. "producttype": {
  19404. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  19405. "type": "integer"
  19406. },
  19407. "producttypename": {
  19408. "description": "产品类型名称",
  19409. "type": "string"
  19410. },
  19411. "spotPointOrderVoList": {
  19412. "description": "点价列表",
  19413. "type": "array",
  19414. "items": {
  19415. "$ref": "#/definitions/erms3.SpotPointOrder"
  19416. }
  19417. },
  19418. "spotPriceOrderList": {
  19419. "description": "定价列表",
  19420. "type": "array",
  19421. "items": {
  19422. "$ref": "#/definitions/erms3.SpotPriceOrder"
  19423. }
  19424. },
  19425. "unitname": {
  19426. "description": "单位名称",
  19427. "type": "string"
  19428. },
  19429. "warehouseid": {
  19430. "description": "仓库ID",
  19431. "type": "integer"
  19432. },
  19433. "warehousename": {
  19434. "description": "仓库名称",
  19435. "type": "string"
  19436. },
  19437. "wrstandardid": {
  19438. "description": "交易标的ID",
  19439. "type": "integer"
  19440. },
  19441. "wrstandardname": {
  19442. "description": "交易标的名称",
  19443. "type": "string"
  19444. }
  19445. }
  19446. },
  19447. "erms3.SpotPointOrder": {
  19448. "type": "object",
  19449. "required": [
  19450. "basic",
  19451. "goodsid",
  19452. "qty"
  19453. ],
  19454. "properties": {
  19455. "basic": {
  19456. "description": "基差",
  19457. "type": "number"
  19458. },
  19459. "deliveryenddate": {
  19460. "description": "交收结束日期",
  19461. "type": "string"
  19462. },
  19463. "deliverystartdate": {
  19464. "description": "交收开始日期",
  19465. "type": "string"
  19466. },
  19467. "enddate": {
  19468. "description": "点价结束日期",
  19469. "type": "string"
  19470. },
  19471. "goodsid": {
  19472. "description": "商品ID",
  19473. "type": "integer"
  19474. },
  19475. "goodsname": {
  19476. "description": "商品名称",
  19477. "type": "string"
  19478. },
  19479. "qty": {
  19480. "description": "数量",
  19481. "type": "number"
  19482. },
  19483. "startdate": {
  19484. "description": "点价开始日期",
  19485. "type": "string"
  19486. }
  19487. }
  19488. },
  19489. "erms3.SpotPriceOrder": {
  19490. "type": "object",
  19491. "required": [
  19492. "amount",
  19493. "price",
  19494. "qty"
  19495. ],
  19496. "properties": {
  19497. "amount": {
  19498. "description": "金额",
  19499. "type": "number"
  19500. },
  19501. "deliveryenddate": {
  19502. "description": "交收结束日期",
  19503. "type": "string"
  19504. },
  19505. "deliverystartdate": {
  19506. "description": "交收开始日期",
  19507. "type": "string"
  19508. },
  19509. "price": {
  19510. "description": "价格",
  19511. "type": "number"
  19512. },
  19513. "qty": {
  19514. "description": "数量",
  19515. "type": "number"
  19516. }
  19517. }
  19518. },
  19519. "hsby.GetHsbyMyCountRsp": {
  19520. "type": "object",
  19521. "properties": {
  19522. "myCouponCount": {
  19523. "description": "我的优惠卷数量",
  19524. "type": "integer"
  19525. },
  19526. "myOrderDetailListingCount": {
  19527. "description": "我的订单求购中数量",
  19528. "type": "integer"
  19529. },
  19530. "myOrderDetailPreCount": {
  19531. "description": "我的订单抢购中数量",
  19532. "type": "integer"
  19533. },
  19534. "myPackageUnReceiveCount": {
  19535. "description": "我的包裹待收货数量",
  19536. "type": "integer"
  19537. },
  19538. "myPackageUnSendCount": {
  19539. "description": "我的包裹待发货数量",
  19540. "type": "integer"
  19541. },
  19542. "myPayOrderCount": {
  19543. "description": "我的订单待付款数量",
  19544. "type": "integer"
  19545. }
  19546. }
  19547. },
  19548. "hsby.QueryProvincesAndCitiesRsp": {
  19549. "type": "object",
  19550. "properties": {
  19551. "cities": {
  19552. "description": "市",
  19553. "type": "array",
  19554. "items": {
  19555. "$ref": "#/definitions/models.Division"
  19556. }
  19557. },
  19558. "province": {
  19559. "description": "省",
  19560. "$ref": "#/definitions/models.Division"
  19561. }
  19562. }
  19563. },
  19564. "models.Arearole": {
  19565. "type": "object",
  19566. "required": [
  19567. "roletype",
  19568. "userid"
  19569. ],
  19570. "properties": {
  19571. "createtime": {
  19572. "description": "创建时间",
  19573. "type": "string"
  19574. },
  19575. "creatorid": {
  19576. "description": "创建人ID",
  19577. "type": "integer"
  19578. },
  19579. "fromuserid": {
  19580. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  19581. "type": "integer"
  19582. },
  19583. "isreturnscore": {
  19584. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  19585. "type": "integer"
  19586. },
  19587. "modifierid": {
  19588. "description": "修改人ID",
  19589. "type": "integer"
  19590. },
  19591. "modifytime": {
  19592. "description": "修改时间",
  19593. "type": "string"
  19594. },
  19595. "orgtype": {
  19596. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  19597. "type": "integer"
  19598. },
  19599. "outuserid": {
  19600. "description": "外部账户[场外期权做市商]",
  19601. "type": "string"
  19602. },
  19603. "parentuserid": {
  19604. "description": "上级组织机构(组织机构)",
  19605. "type": "integer"
  19606. },
  19607. "roletype": {
  19608. "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:门店",
  19609. "type": "integer"
  19610. },
  19611. "rootuserid": {
  19612. "description": "顶级组织机构用户ID(组织机构)",
  19613. "type": "integer"
  19614. },
  19615. "shoppassword": {
  19616. "description": "商城店铺登陆密码(商城店铺角色使用)",
  19617. "type": "string"
  19618. },
  19619. "sublevelpath": {
  19620. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  19621. "type": "string"
  19622. },
  19623. "suborgtype": {
  19624. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  19625. "type": "integer"
  19626. },
  19627. "tradeaccountid": {
  19628. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  19629. "type": "integer"
  19630. },
  19631. "transurl": {
  19632. "description": "物流地址(物流机构)",
  19633. "type": "string"
  19634. },
  19635. "userid": {
  19636. "description": "机构用户ID其他做市关系,都设置为 1",
  19637. "type": "integer"
  19638. }
  19639. }
  19640. },
  19641. "models.Clientfixedadconfig": {
  19642. "type": "object",
  19643. "required": [
  19644. "adsort",
  19645. "adtype"
  19646. ],
  19647. "properties": {
  19648. "adsort": {
  19649. "description": "排序",
  19650. "type": "integer"
  19651. },
  19652. "adtype": {
  19653. "description": "广告位类型 - 1:新品抢购(HSBY)",
  19654. "type": "integer"
  19655. },
  19656. "areauserid": {
  19657. "description": "所属机构ID",
  19658. "type": "integer"
  19659. },
  19660. "createdate": {
  19661. "description": "创建时间",
  19662. "type": "string"
  19663. },
  19664. "creatorid": {
  19665. "description": "创建人",
  19666. "type": "integer"
  19667. },
  19668. "imagepath": {
  19669. "description": "图片",
  19670. "type": "string"
  19671. },
  19672. "isshow": {
  19673. "description": "是否展示 - 0:不展示 1:展示",
  19674. "type": "integer"
  19675. },
  19676. "modifierid": {
  19677. "description": "操作人",
  19678. "type": "integer"
  19679. },
  19680. "recsize": {
  19681. "description": "推荐尺寸",
  19682. "type": "string"
  19683. },
  19684. "title": {
  19685. "description": "标题",
  19686. "type": "string"
  19687. },
  19688. "updatedate": {
  19689. "description": "更新时间",
  19690. "type": "string"
  19691. },
  19692. "urlcontent": {
  19693. "description": "链接(地址或商品ID)",
  19694. "type": "string"
  19695. },
  19696. "urltype": {
  19697. "description": "链接类型 - 1:直接地址 2:商品ID",
  19698. "type": "integer"
  19699. }
  19700. }
  19701. },
  19702. "models.DgFactoryItem": {
  19703. "type": "object",
  19704. "properties": {
  19705. "dgfactoryitemid": {
  19706. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  19707. "type": "integer"
  19708. },
  19709. "dgfactoryitemtypeid": {
  19710. "description": "要素项类型",
  19711. "type": "integer"
  19712. },
  19713. "dgfactoryitemvalue": {
  19714. "description": "要素项值(类型为仓库时填写仓库名称)",
  19715. "type": "string"
  19716. },
  19717. "orderindex": {
  19718. "description": "顺序",
  19719. "type": "integer"
  19720. }
  19721. }
  19722. },
  19723. "models.Division": {
  19724. "type": "object",
  19725. "required": [
  19726. "autoid",
  19727. "divisioncode"
  19728. ],
  19729. "properties": {
  19730. "autoid": {
  19731. "description": "自增ID",
  19732. "type": "integer"
  19733. },
  19734. "divisioncode": {
  19735. "description": "行政代码",
  19736. "type": "string"
  19737. },
  19738. "divisionlevel": {
  19739. "description": "行政级别",
  19740. "type": "string"
  19741. },
  19742. "divisionname": {
  19743. "description": "行政名称",
  19744. "type": "string"
  19745. },
  19746. "modifierid": {
  19747. "description": "修改人",
  19748. "type": "integer"
  19749. },
  19750. "modifytime": {
  19751. "description": "修改时间",
  19752. "type": "string"
  19753. },
  19754. "parentcode": {
  19755. "description": "上级行政代码",
  19756. "type": "string"
  19757. },
  19758. "pathname": {
  19759. "description": "路径名称",
  19760. "type": "string"
  19761. },
  19762. "postcode": {
  19763. "description": "邮政编码",
  19764. "type": "string"
  19765. },
  19766. "separablename": {
  19767. "description": "可拆分的全称",
  19768. "type": "string"
  19769. },
  19770. "shortcode": {
  19771. "description": "地区简码",
  19772. "type": "string"
  19773. }
  19774. }
  19775. },
  19776. "models.Enumdicitem": {
  19777. "type": "object",
  19778. "required": [
  19779. "autoid",
  19780. "enumdiccode",
  19781. "enumdicid",
  19782. "enumitemname"
  19783. ],
  19784. "properties": {
  19785. "autoid": {
  19786. "description": "自增ID",
  19787. "type": "integer"
  19788. },
  19789. "bankmappedvalue": {
  19790. "description": "银行服务对应值",
  19791. "type": "string"
  19792. },
  19793. "enumdiccode": {
  19794. "description": "所属枚举代码",
  19795. "type": "string"
  19796. },
  19797. "enumdicid": {
  19798. "description": "所属枚举ID",
  19799. "type": "integer"
  19800. },
  19801. "enumdicname": {
  19802. "description": "枚举项名称",
  19803. "type": "string"
  19804. },
  19805. "enumitemname": {
  19806. "description": "枚举项值",
  19807. "type": "integer"
  19808. },
  19809. "enumitemstatus": {
  19810. "description": "枚举项状态 - 1.启用 2.不启用",
  19811. "type": "integer"
  19812. },
  19813. "enumitemvalue": {
  19814. "description": "通用值 - [币种通用简写]",
  19815. "type": "string"
  19816. },
  19817. "param1": {
  19818. "description": "参数1[币种:币种小数位]",
  19819. "type": "string"
  19820. },
  19821. "param2": {
  19822. "description": "参数1[币种:币种显示单位]",
  19823. "type": "string"
  19824. },
  19825. "remark": {
  19826. "description": "备注",
  19827. "type": "string"
  19828. }
  19829. }
  19830. },
  19831. "models.Ermcp3AreaSpot": {
  19832. "type": "object",
  19833. "properties": {
  19834. "areauserid": {
  19835. "description": "所属机构",
  19836. "type": "integer"
  19837. },
  19838. "convertratio": {
  19839. "description": "套保系数",
  19840. "type": "number"
  19841. },
  19842. "decreaseqty": {
  19843. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  19844. "type": "number"
  19845. },
  19846. "enumdicname": {
  19847. "description": "单位名称",
  19848. "type": "string"
  19849. },
  19850. "increaseqty": {
  19851. "description": "增加数量=销售计划数量+采购已定价数量",
  19852. "type": "number"
  19853. },
  19854. "oritoalspotqty": {
  19855. "description": "昨日数量",
  19856. "type": "number"
  19857. },
  19858. "totalspotqty": {
  19859. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  19860. "type": "number"
  19861. },
  19862. "unitid": {
  19863. "description": "现货商品单位id",
  19864. "type": "integer"
  19865. },
  19866. "updatetime": {
  19867. "description": "更新时间",
  19868. "type": "string"
  19869. },
  19870. "wrstandardcode": {
  19871. "description": "现货商品代码",
  19872. "type": "string"
  19873. },
  19874. "wrstandardid": {
  19875. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19876. "type": "integer"
  19877. },
  19878. "wrstandardname": {
  19879. "description": "现货商品名称",
  19880. "type": "string"
  19881. }
  19882. }
  19883. },
  19884. "models.Ermcp3AreaSpotDetail": {
  19885. "type": "object",
  19886. "properties": {
  19887. "contracttype": {
  19888. "description": "合同类型 1-采购 -1-销售",
  19889. "type": "integer"
  19890. },
  19891. "createtime": {
  19892. "description": "创建时间",
  19893. "type": "string"
  19894. },
  19895. "enumdicname": {
  19896. "description": "现货商品单位名称",
  19897. "type": "string"
  19898. },
  19899. "logtype": {
  19900. "description": "记录类型 1-套保 2-现货合同",
  19901. "type": "integer"
  19902. },
  19903. "qty": {
  19904. "description": "数量",
  19905. "type": "number"
  19906. },
  19907. "recordname": {
  19908. "description": "类型名称",
  19909. "type": "string"
  19910. },
  19911. "relatedid": {
  19912. "description": "套保计划ID/现货合同ID",
  19913. "type": "string"
  19914. },
  19915. "relatedno": {
  19916. "description": "编号",
  19917. "type": "string"
  19918. },
  19919. "strtime": {
  19920. "description": "时间",
  19921. "type": "string"
  19922. },
  19923. "wrstandardcode": {
  19924. "description": "现货商品代码",
  19925. "type": "string"
  19926. },
  19927. "wrstandardid": {
  19928. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19929. "type": "integer"
  19930. },
  19931. "wrstandardname": {
  19932. "description": "现货商品名称",
  19933. "type": "string"
  19934. }
  19935. }
  19936. },
  19937. "models.Ermcp3AreaSpotPLReport": {
  19938. "type": "object",
  19939. "properties": {
  19940. "accountid": {
  19941. "description": "期货账户ID (作废, 默认为0)",
  19942. "type": "integer"
  19943. },
  19944. "accountname": {
  19945. "description": "机构名称",
  19946. "type": "string"
  19947. },
  19948. "actualpl": {
  19949. "description": "现货损益",
  19950. "type": "number"
  19951. },
  19952. "areauserid": {
  19953. "description": "所属机构\\交易用户ID",
  19954. "type": "integer"
  19955. },
  19956. "begindate": {
  19957. "description": "开始交易日",
  19958. "type": "string"
  19959. },
  19960. "biztype": {
  19961. "description": "业务类型 - 1:套保 2:套利",
  19962. "type": "integer"
  19963. },
  19964. "brandname": {
  19965. "description": "品牌名称",
  19966. "type": "string"
  19967. },
  19968. "curamount": {
  19969. "description": "期末额",
  19970. "type": "number"
  19971. },
  19972. "curaverageprice": {
  19973. "description": "期末均价",
  19974. "type": "number"
  19975. },
  19976. "curbuyamount": {
  19977. "description": "期末采购总额",
  19978. "type": "number"
  19979. },
  19980. "curbuyqty": {
  19981. "description": "期末采购总量",
  19982. "type": "number"
  19983. },
  19984. "curmarketvalue": {
  19985. "description": "参考市值(期末市值)",
  19986. "type": "number"
  19987. },
  19988. "curqty": {
  19989. "description": "期末量",
  19990. "type": "number"
  19991. },
  19992. "currencyid": {
  19993. "description": "结算币种ID【原值】",
  19994. "type": "integer"
  19995. },
  19996. "currencyname": {
  19997. "description": "币种名称",
  19998. "type": "string"
  19999. },
  20000. "cursellamount": {
  20001. "description": "期末销售总额",
  20002. "type": "number"
  20003. },
  20004. "cursellqty": {
  20005. "description": "期末销售总量",
  20006. "type": "number"
  20007. },
  20008. "curspotprice": {
  20009. "description": "参考市价(最新价)",
  20010. "type": "number"
  20011. },
  20012. "cycletime": {
  20013. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20014. "type": "string"
  20015. },
  20016. "cycletype": {
  20017. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20018. "type": "integer"
  20019. },
  20020. "deliverygoodscode": {
  20021. "description": "现货品种代码",
  20022. "type": "string"
  20023. },
  20024. "deliverygoodsid": {
  20025. "description": "现货品种ID",
  20026. "type": "integer"
  20027. },
  20028. "deliverygoodsname": {
  20029. "description": "现货品种名称",
  20030. "type": "string"
  20031. },
  20032. "enddate": {
  20033. "description": "结束交易日",
  20034. "type": "string"
  20035. },
  20036. "enumdicname": {
  20037. "description": "现货品种单位名称(作废)",
  20038. "type": "string"
  20039. },
  20040. "floatpl": {
  20041. "description": "浮动损益",
  20042. "type": "number"
  20043. },
  20044. "goodsunitid": {
  20045. "description": "现货品种单位id(作废)",
  20046. "type": "integer"
  20047. },
  20048. "oriamount": {
  20049. "description": "期初额",
  20050. "type": "number"
  20051. },
  20052. "oriaverageprice": {
  20053. "description": "期初均价",
  20054. "type": "number"
  20055. },
  20056. "oribuyamount": {
  20057. "description": "期初采购总额",
  20058. "type": "number"
  20059. },
  20060. "oribuyqty": {
  20061. "description": "期初采购总量",
  20062. "type": "number"
  20063. },
  20064. "oriqty": {
  20065. "description": "期初量",
  20066. "type": "number"
  20067. },
  20068. "orisellamount": {
  20069. "description": "期初销售总额",
  20070. "type": "number"
  20071. },
  20072. "orisellqty": {
  20073. "description": "期初销售总量",
  20074. "type": "number"
  20075. },
  20076. "reckondate": {
  20077. "description": "日照时期(yyyyMMdd)",
  20078. "type": "string"
  20079. },
  20080. "spotgoodsbrandid": {
  20081. "description": "现货品牌ID",
  20082. "type": "integer"
  20083. },
  20084. "todaybuyamount": {
  20085. "description": "今日采购额(今采购额)",
  20086. "type": "number"
  20087. },
  20088. "todaybuyaverageprice": {
  20089. "description": "今日采购均价",
  20090. "type": "number"
  20091. },
  20092. "todaybuyqty": {
  20093. "description": "今日采购量(今采购量)",
  20094. "type": "number"
  20095. },
  20096. "todayinqty": {
  20097. "description": "今日入库量(今入库量)",
  20098. "type": "number"
  20099. },
  20100. "todayoutqty": {
  20101. "description": "今日出库量(今出库量)",
  20102. "type": "number"
  20103. },
  20104. "todaysellamount": {
  20105. "description": "今日销售额(今销售额)",
  20106. "type": "number"
  20107. },
  20108. "todaysellaverageprice": {
  20109. "description": "今日销售均价",
  20110. "type": "number"
  20111. },
  20112. "todaysellqty": {
  20113. "description": "今日销售量(今销售量)",
  20114. "type": "number"
  20115. },
  20116. "unitid": {
  20117. "description": "品类单位id",
  20118. "type": "integer"
  20119. },
  20120. "unitidname": {
  20121. "description": "品类单位名称",
  20122. "type": "string"
  20123. },
  20124. "updatetime": {
  20125. "description": "更新时间",
  20126. "type": "string"
  20127. },
  20128. "wrfactortypeid": {
  20129. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  20130. "type": "integer"
  20131. },
  20132. "wrstandardcode": {
  20133. "description": "现货商品(品类)代码",
  20134. "type": "string"
  20135. },
  20136. "wrstandardid": {
  20137. "description": "现货品类ID",
  20138. "type": "integer"
  20139. },
  20140. "wrstandardname": {
  20141. "description": "现货商品(品类)名称",
  20142. "type": "string"
  20143. }
  20144. }
  20145. },
  20146. "models.Ermcp3AreaStock": {
  20147. "type": "object",
  20148. "required": [
  20149. "userid"
  20150. ],
  20151. "properties": {
  20152. "brandname": {
  20153. "description": "品牌名称",
  20154. "type": "string"
  20155. },
  20156. "curstock": {
  20157. "description": "期末库存量(今日量)",
  20158. "type": "number"
  20159. },
  20160. "deliverygoodscode": {
  20161. "description": "现货品种代码",
  20162. "type": "string"
  20163. },
  20164. "deliverygoodsid": {
  20165. "description": "现货品种id",
  20166. "type": "integer"
  20167. },
  20168. "deliverygoodsname": {
  20169. "description": "现货品种名称",
  20170. "type": "string"
  20171. },
  20172. "enumdicname": {
  20173. "description": "单位名称",
  20174. "type": "string"
  20175. },
  20176. "goodsunitid": {
  20177. "description": "现货商品单位id",
  20178. "type": "integer"
  20179. },
  20180. "oristock": {
  20181. "description": "期初库存量(昨日量)",
  20182. "type": "number"
  20183. },
  20184. "spotgoodsbrandid": {
  20185. "description": "现货品牌ID",
  20186. "type": "integer"
  20187. },
  20188. "todaybuyinqty": {
  20189. "description": "今日采购入库量",
  20190. "type": "number"
  20191. },
  20192. "todayproduceinqty": {
  20193. "description": "今日生产入库量",
  20194. "type": "number"
  20195. },
  20196. "todayproduceoutqty": {
  20197. "description": "今日生产出库量",
  20198. "type": "number"
  20199. },
  20200. "todayselloutqty": {
  20201. "description": "今日销售出库量",
  20202. "type": "number"
  20203. },
  20204. "unitid": {
  20205. "description": "单位id",
  20206. "type": "integer"
  20207. },
  20208. "updatetime": {
  20209. "description": "更新时间",
  20210. "type": "string"
  20211. },
  20212. "userid": {
  20213. "description": "机构ID",
  20214. "type": "integer"
  20215. },
  20216. "username": {
  20217. "description": "机构名称",
  20218. "type": "string"
  20219. },
  20220. "warehousecode": {
  20221. "description": "仓库代码",
  20222. "type": "string"
  20223. },
  20224. "warehouseinfoid": {
  20225. "description": "仓库ID",
  20226. "type": "string"
  20227. },
  20228. "warehousename": {
  20229. "description": "仓库名称",
  20230. "type": "string"
  20231. },
  20232. "warehousetype": {
  20233. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20234. "type": "integer"
  20235. },
  20236. "wrstandardcode": {
  20237. "description": "品类代码",
  20238. "type": "string"
  20239. },
  20240. "wrstandardid": {
  20241. "description": "品类ID",
  20242. "type": "string"
  20243. },
  20244. "wrstandardname": {
  20245. "description": "品类名称",
  20246. "type": "string"
  20247. }
  20248. }
  20249. },
  20250. "models.Ermcp3AreaStockApply": {
  20251. "type": "object",
  20252. "properties": {
  20253. "applyid": {
  20254. "description": "申请人",
  20255. "type": "integer"
  20256. },
  20257. "applyname": {
  20258. "description": "申请人名称",
  20259. "type": "string"
  20260. },
  20261. "applyremark": {
  20262. "description": "申请备注",
  20263. "type": "string"
  20264. },
  20265. "applysrc": {
  20266. "description": "申请来源 - 1:管理端 2:终端",
  20267. "type": "integer"
  20268. },
  20269. "applystatus": {
  20270. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  20271. "type": "integer"
  20272. },
  20273. "applytime": {
  20274. "description": "申请时间",
  20275. "type": "string"
  20276. },
  20277. "auditid": {
  20278. "description": "审核人",
  20279. "type": "integer"
  20280. },
  20281. "auditname": {
  20282. "description": "审核人名称",
  20283. "type": "string"
  20284. },
  20285. "auditremark": {
  20286. "description": "审核备注",
  20287. "type": "string"
  20288. },
  20289. "auditsrc": {
  20290. "description": "审核来源 - 1:管理端 2:终端",
  20291. "type": "integer"
  20292. },
  20293. "audittime": {
  20294. "description": "审核时间",
  20295. "type": "string"
  20296. },
  20297. "audittradedate": {
  20298. "description": "审核交易日(yyyyMMdd)",
  20299. "type": "string"
  20300. },
  20301. "brandname": {
  20302. "description": "品牌名称",
  20303. "type": "string"
  20304. },
  20305. "buynickname": {
  20306. "description": "采购方昵称",
  20307. "type": "string"
  20308. },
  20309. "buyuserid": {
  20310. "description": "采购方userid",
  20311. "type": "integer"
  20312. },
  20313. "buyusername": {
  20314. "description": "采购方名称",
  20315. "type": "string"
  20316. },
  20317. "contractno": {
  20318. "description": "合同编号",
  20319. "type": "string"
  20320. },
  20321. "contractqty": {
  20322. "description": "合同量",
  20323. "type": "number"
  20324. },
  20325. "contracttype": {
  20326. "description": "现货合同类型 - 1:采购 -1:销售",
  20327. "type": "integer"
  20328. },
  20329. "deliverygoodscode": {
  20330. "description": "现货品种代码",
  20331. "type": "string"
  20332. },
  20333. "deliverygoodsid": {
  20334. "description": "现货品种id",
  20335. "type": "integer"
  20336. },
  20337. "deliverygoodsname": {
  20338. "description": "现货品种名称",
  20339. "type": "string"
  20340. },
  20341. "detailjson": {
  20342. "description": "明细数据",
  20343. "type": "string"
  20344. },
  20345. "enumdicname": {
  20346. "description": "现货商品单位名称",
  20347. "type": "string"
  20348. },
  20349. "inoutapplyid": {
  20350. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  20351. "type": "string"
  20352. },
  20353. "inouttype": {
  20354. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20355. "type": "integer"
  20356. },
  20357. "pricetype": {
  20358. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20359. "type": "integer"
  20360. },
  20361. "qty": {
  20362. "description": "数量",
  20363. "type": "number"
  20364. },
  20365. "sellnickname": {
  20366. "description": "销售方昵称",
  20367. "type": "string"
  20368. },
  20369. "selluserid": {
  20370. "description": "销售方userid",
  20371. "type": "integer"
  20372. },
  20373. "sellusername": {
  20374. "description": "销售方名称",
  20375. "type": "string"
  20376. },
  20377. "spotcontractid": {
  20378. "description": "关联现货合同ID",
  20379. "type": "string"
  20380. },
  20381. "spotgoodsbrandid": {
  20382. "description": "现货品牌ID",
  20383. "type": "integer"
  20384. },
  20385. "unitid": {
  20386. "description": "单位id",
  20387. "type": "integer"
  20388. },
  20389. "userid": {
  20390. "description": "机构ID",
  20391. "type": "integer"
  20392. },
  20393. "warehousecode": {
  20394. "description": "仓库代码",
  20395. "type": "string"
  20396. },
  20397. "warehouseinfoid": {
  20398. "description": "现货仓库ID",
  20399. "type": "string"
  20400. },
  20401. "warehousename": {
  20402. "description": "仓库名称",
  20403. "type": "string"
  20404. },
  20405. "warehousetype": {
  20406. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20407. "type": "integer"
  20408. },
  20409. "wrstandardcode": {
  20410. "description": "品类代码",
  20411. "type": "string"
  20412. },
  20413. "wrstandardid": {
  20414. "description": "品类ID",
  20415. "type": "integer"
  20416. },
  20417. "wrstandardname": {
  20418. "description": "品类名称",
  20419. "type": "string"
  20420. }
  20421. }
  20422. },
  20423. "models.Ermcp3AreaStockApplySum": {
  20424. "type": "object",
  20425. "properties": {
  20426. "brandname": {
  20427. "description": "品牌名称",
  20428. "type": "string"
  20429. },
  20430. "inouttype": {
  20431. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20432. "type": "integer"
  20433. },
  20434. "spotcontractid": {
  20435. "description": "关联现货合同ID",
  20436. "type": "string"
  20437. },
  20438. "spotgoodsbrandid": {
  20439. "description": "品牌id",
  20440. "type": "integer"
  20441. },
  20442. "totalqty": {
  20443. "description": "总数量",
  20444. "type": "number"
  20445. },
  20446. "wrstandardid": {
  20447. "description": "品类id",
  20448. "type": "integer"
  20449. },
  20450. "wrstandardname": {
  20451. "description": "品类名称",
  20452. "type": "string"
  20453. }
  20454. }
  20455. },
  20456. "models.Ermcp3AreaStockReportEx": {
  20457. "type": "object",
  20458. "properties": {
  20459. "begindate": {
  20460. "description": "开始交易日",
  20461. "type": "string"
  20462. },
  20463. "brandname": {
  20464. "description": "品牌名称",
  20465. "type": "string"
  20466. },
  20467. "curstock": {
  20468. "description": "期末库存量",
  20469. "type": "number"
  20470. },
  20471. "cycletime": {
  20472. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20473. "type": "string"
  20474. },
  20475. "cycletype": {
  20476. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20477. "type": "integer"
  20478. },
  20479. "deliverygoodscode": {
  20480. "description": "现货品种代码",
  20481. "type": "string"
  20482. },
  20483. "deliverygoodsid": {
  20484. "description": "现货品种id",
  20485. "type": "integer"
  20486. },
  20487. "deliverygoodsname": {
  20488. "description": "现货品种名称",
  20489. "type": "string"
  20490. },
  20491. "diffqty": {
  20492. "description": "库存变化量 = 期末 - 期初",
  20493. "type": "number"
  20494. },
  20495. "enddate": {
  20496. "description": "结束交易日",
  20497. "type": "string"
  20498. },
  20499. "enumdicname": {
  20500. "description": "单位名称",
  20501. "type": "string"
  20502. },
  20503. "goodsunitid": {
  20504. "description": "现货单位id",
  20505. "type": "integer"
  20506. },
  20507. "oristock": {
  20508. "description": "期初库存量",
  20509. "type": "number"
  20510. },
  20511. "reckondate": {
  20512. "description": "日照时期(yyyyMMdd)",
  20513. "type": "string"
  20514. },
  20515. "spotgoodsbrandid": {
  20516. "description": "现货品牌ID",
  20517. "type": "integer"
  20518. },
  20519. "todaybuyinqty": {
  20520. "description": "今采购入库量",
  20521. "type": "number"
  20522. },
  20523. "todayproduceinqty": {
  20524. "description": "今内部入库量",
  20525. "type": "number"
  20526. },
  20527. "todayproduceoutqty": {
  20528. "description": "今内部出库量",
  20529. "type": "number"
  20530. },
  20531. "todayselloutqty": {
  20532. "description": "今销售出库量",
  20533. "type": "number"
  20534. },
  20535. "unbuyinqty": {
  20536. "description": "采购未入库量(数据库未找到相关字段?)",
  20537. "type": "number"
  20538. },
  20539. "unitid": {
  20540. "description": "品类单位id",
  20541. "type": "integer"
  20542. },
  20543. "unselloutqty": {
  20544. "description": "销售未出库量(数据库未找到相关字段?)",
  20545. "type": "number"
  20546. },
  20547. "updatetime": {
  20548. "description": "更新时间",
  20549. "type": "string"
  20550. },
  20551. "userid": {
  20552. "description": "机构ID",
  20553. "type": "integer"
  20554. },
  20555. "username": {
  20556. "description": "机构名称",
  20557. "type": "string"
  20558. },
  20559. "warehousecode": {
  20560. "description": "仓库代码",
  20561. "type": "string"
  20562. },
  20563. "warehouseinfoid": {
  20564. "description": "仓库ID",
  20565. "type": "string"
  20566. },
  20567. "warehousename": {
  20568. "description": "仓库名称",
  20569. "type": "string"
  20570. },
  20571. "warehousetype": {
  20572. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20573. "type": "integer"
  20574. },
  20575. "wrstandardcode": {
  20576. "description": "品类代码",
  20577. "type": "string"
  20578. },
  20579. "wrstandardid": {
  20580. "description": "品类ID",
  20581. "type": "integer"
  20582. },
  20583. "wrstandardname": {
  20584. "description": "品类名称",
  20585. "type": "string"
  20586. }
  20587. }
  20588. },
  20589. "models.Ermcp3ArealSumPL": {
  20590. "type": "object",
  20591. "properties": {
  20592. "accountname": {
  20593. "description": "机构名称",
  20594. "type": "string"
  20595. },
  20596. "areauserid": {
  20597. "description": "所属机构\\交易用户ID",
  20598. "type": "integer"
  20599. },
  20600. "begindate": {
  20601. "description": "开始交易日",
  20602. "type": "string"
  20603. },
  20604. "currencyid": {
  20605. "description": "结算币种ID",
  20606. "type": "integer"
  20607. },
  20608. "currencyname": {
  20609. "description": "币种名称",
  20610. "type": "string"
  20611. },
  20612. "cycletime": {
  20613. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20614. "type": "string"
  20615. },
  20616. "cycletype": {
  20617. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20618. "type": "integer"
  20619. },
  20620. "enddate": {
  20621. "description": "结束交易日",
  20622. "type": "string"
  20623. },
  20624. "enumdicname": {
  20625. "description": "单位名称(套保品种)",
  20626. "type": "string"
  20627. },
  20628. "futureactualpl": {
  20629. "description": "期货损益",
  20630. "type": "number"
  20631. },
  20632. "futurefloatpl": {
  20633. "description": "期货浮动损益",
  20634. "type": "number"
  20635. },
  20636. "futurespotratio": {
  20637. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  20638. "type": "number"
  20639. },
  20640. "goodsunitid": {
  20641. "description": "套保品种单位id",
  20642. "type": "integer"
  20643. },
  20644. "hedgeexposurepl": {
  20645. "description": "套保敞口损益",
  20646. "type": "number"
  20647. },
  20648. "middlegoodscode": {
  20649. "description": "套保品种代码",
  20650. "type": "string"
  20651. },
  20652. "middlegoodsid": {
  20653. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20654. "type": "integer"
  20655. },
  20656. "middlegoodsname": {
  20657. "description": "套保品种名称",
  20658. "type": "string"
  20659. },
  20660. "reckondate": {
  20661. "description": "日照时期(yyyyMMdd)",
  20662. "type": "string"
  20663. },
  20664. "spotactualpl": {
  20665. "description": "现货损益",
  20666. "type": "number"
  20667. },
  20668. "spotfloatpl": {
  20669. "description": "现货浮动损益",
  20670. "type": "number"
  20671. },
  20672. "sumactualpl": {
  20673. "description": "实际损益 = (ActualPL + FutureActualPL)",
  20674. "type": "number"
  20675. },
  20676. "sumpl": {
  20677. "description": "总敞口损益 | 汇总损益",
  20678. "type": "number"
  20679. },
  20680. "totalfutureqty": {
  20681. "description": "期货头寸总量",
  20682. "type": "number"
  20683. },
  20684. "totalneedhedgeqty": {
  20685. "description": "应套保总量",
  20686. "type": "number"
  20687. },
  20688. "totalspotqty": {
  20689. "description": "现货头寸总量",
  20690. "type": "number"
  20691. },
  20692. "updatetime": {
  20693. "description": "更新时间",
  20694. "type": "string"
  20695. }
  20696. }
  20697. },
  20698. "models.Ermcp3Brand": {
  20699. "type": "object",
  20700. "properties": {
  20701. "areauserid": {
  20702. "description": "用户id",
  20703. "type": "integer"
  20704. },
  20705. "brandid": {
  20706. "description": "品牌id",
  20707. "type": "integer"
  20708. },
  20709. "brandname": {
  20710. "description": "品牌名称",
  20711. "type": "string"
  20712. },
  20713. "deliverygoodsid": {
  20714. "description": "品种ID",
  20715. "type": "integer"
  20716. },
  20717. "isvalid": {
  20718. "description": "是否有效",
  20719. "type": "integer"
  20720. }
  20721. }
  20722. },
  20723. "models.Ermcp3Contract": {
  20724. "type": "object",
  20725. "properties": {
  20726. "accountid": {
  20727. "description": "期货账户id",
  20728. "type": "string"
  20729. },
  20730. "amount": {
  20731. "description": "金额 [1:一口价、3:暂定价]",
  20732. "type": "number"
  20733. },
  20734. "attachment": {
  20735. "description": "附件",
  20736. "type": "string"
  20737. },
  20738. "auditremark": {
  20739. "description": "审核意见",
  20740. "type": "string"
  20741. },
  20742. "audittime": {
  20743. "description": "审核时间",
  20744. "type": "string"
  20745. },
  20746. "biztype": {
  20747. "description": "业务类型 1-套保 2-套利",
  20748. "type": "integer"
  20749. },
  20750. "brandname": {
  20751. "description": "品牌名称",
  20752. "type": "string"
  20753. },
  20754. "buynickname": {
  20755. "description": "销售方昵称",
  20756. "type": "string"
  20757. },
  20758. "buyuserid": {
  20759. "description": "采购方ID",
  20760. "type": "integer"
  20761. },
  20762. "buyusername": {
  20763. "description": "采购方名称",
  20764. "type": "string"
  20765. },
  20766. "contracctstatus": {
  20767. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20768. "type": "integer"
  20769. },
  20770. "contractmargin": {
  20771. "description": "合同保证金",
  20772. "type": "number"
  20773. },
  20774. "contractno": {
  20775. "description": "现货合同编号",
  20776. "type": "string"
  20777. },
  20778. "contracttype": {
  20779. "description": "现货合同类型 - 1:采购 -1:销售",
  20780. "type": "integer"
  20781. },
  20782. "convertfactor": {
  20783. "description": "标仓系数(品类)",
  20784. "type": "number"
  20785. },
  20786. "createtime": {
  20787. "description": "创建时间",
  20788. "type": "string"
  20789. },
  20790. "currencyid": {
  20791. "description": "币种id",
  20792. "type": "integer"
  20793. },
  20794. "currencyname": {
  20795. "description": "币种名称",
  20796. "type": "string"
  20797. },
  20798. "deliveryenddate": {
  20799. "description": "交收期(结束)",
  20800. "type": "string"
  20801. },
  20802. "deliverygoodscode": {
  20803. "description": "现货品种代码",
  20804. "type": "string"
  20805. },
  20806. "deliverygoodsid": {
  20807. "description": "现货品种ID",
  20808. "type": "integer"
  20809. },
  20810. "deliverygoodsname": {
  20811. "description": "现货品种名称",
  20812. "type": "string"
  20813. },
  20814. "deliverystartdate": {
  20815. "description": "交收期(开始)",
  20816. "type": "string"
  20817. },
  20818. "enddate": {
  20819. "description": "点价结束日期 [2:点价 3:暂定价]",
  20820. "type": "string"
  20821. },
  20822. "enumdicname": {
  20823. "description": "单位名称",
  20824. "type": "string"
  20825. },
  20826. "goodscode": {
  20827. "description": "点价合约代码",
  20828. "type": "string"
  20829. },
  20830. "goodsid": {
  20831. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  20832. "type": "integer"
  20833. },
  20834. "goodsname": {
  20835. "description": "点价商品名称",
  20836. "type": "string"
  20837. },
  20838. "margin": {
  20839. "description": "当前保证金",
  20840. "type": "number"
  20841. },
  20842. "meruserid": {
  20843. "description": "跟单员id",
  20844. "type": "integer"
  20845. },
  20846. "meruserlogincode": {
  20847. "description": "跟单员登录代码",
  20848. "type": "string"
  20849. },
  20850. "merusername": {
  20851. "description": "跟单员名称",
  20852. "type": "string"
  20853. },
  20854. "pointdesc": {
  20855. "description": "点价备注",
  20856. "type": "string"
  20857. },
  20858. "price": {
  20859. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  20860. "type": "number"
  20861. },
  20862. "pricemove": {
  20863. "description": "升贴水 [2:点价 3:暂定价]",
  20864. "type": "number"
  20865. },
  20866. "pricetype": {
  20867. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20868. "type": "integer"
  20869. },
  20870. "producttype": {
  20871. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20872. "type": "integer"
  20873. },
  20874. "qty": {
  20875. "description": "数量",
  20876. "type": "number"
  20877. },
  20878. "remark": {
  20879. "description": "备注",
  20880. "type": "string"
  20881. },
  20882. "saleuserid": {
  20883. "description": "业务员id",
  20884. "type": "integer"
  20885. },
  20886. "saleuserlogincode": {
  20887. "description": "业务员登录代码",
  20888. "type": "string"
  20889. },
  20890. "saleusername": {
  20891. "description": "业务员名称",
  20892. "type": "string"
  20893. },
  20894. "sellnickname": {
  20895. "description": "采购方昵称",
  20896. "type": "string"
  20897. },
  20898. "selluserid": {
  20899. "description": "销售方ID",
  20900. "type": "integer"
  20901. },
  20902. "sellusername": {
  20903. "description": "销售方名称",
  20904. "type": "string"
  20905. },
  20906. "spotcontractid": {
  20907. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  20908. "type": "string"
  20909. },
  20910. "spotgoodsbrandid": {
  20911. "description": "现货品牌ID(DGFactoryItem表的ID)",
  20912. "type": "integer"
  20913. },
  20914. "spotgoodsdesc": {
  20915. "description": "商品型号",
  20916. "type": "string"
  20917. },
  20918. "startdate": {
  20919. "description": "点价开始日期 [2:点价 3:暂定价]",
  20920. "type": "string"
  20921. },
  20922. "subjectid": {
  20923. "description": "交易主体ID",
  20924. "type": "integer"
  20925. },
  20926. "subjectname": {
  20927. "description": "交易主体名称",
  20928. "type": "string"
  20929. },
  20930. "tradeuserid": {
  20931. "description": "交易员id",
  20932. "type": "integer"
  20933. },
  20934. "tradeuserlogincode": {
  20935. "description": "交易员登录代码",
  20936. "type": "string"
  20937. },
  20938. "tradeusername": {
  20939. "description": "交易员名称",
  20940. "type": "string"
  20941. },
  20942. "unitid": {
  20943. "description": "单位id(取品类上的单位id)",
  20944. "type": "integer"
  20945. },
  20946. "updatetime": {
  20947. "description": "更新时间",
  20948. "type": "string"
  20949. },
  20950. "userid": {
  20951. "description": "所属机构ID",
  20952. "type": "integer"
  20953. },
  20954. "vatrate": {
  20955. "description": "增值税率",
  20956. "type": "number"
  20957. },
  20958. "wrstandardcode": {
  20959. "description": "品类代码",
  20960. "type": "string"
  20961. },
  20962. "wrstandardid": {
  20963. "description": "品类ID",
  20964. "type": "integer"
  20965. },
  20966. "wrstandardname": {
  20967. "description": "品类名称",
  20968. "type": "string"
  20969. }
  20970. }
  20971. },
  20972. "models.Ermcp3ExposureContractDetail": {
  20973. "type": "object",
  20974. "properties": {
  20975. "biztype": {
  20976. "description": "业务类型 1-套保 2-套利",
  20977. "type": "integer"
  20978. },
  20979. "brandname": {
  20980. "description": "品牌名称",
  20981. "type": "string"
  20982. },
  20983. "buyuserid": {
  20984. "description": "采购方id",
  20985. "type": "integer"
  20986. },
  20987. "buyusername": {
  20988. "description": "采购方名称",
  20989. "type": "string"
  20990. },
  20991. "contractno": {
  20992. "description": "合同编号",
  20993. "type": "string"
  20994. },
  20995. "contracttype": {
  20996. "description": "现货合同类型 - 1:采购 -1:销售",
  20997. "type": "integer"
  20998. },
  20999. "convertfactor": {
  21000. "description": "标仓系数",
  21001. "type": "number"
  21002. },
  21003. "convertratio": {
  21004. "description": "折算系数(套保品种)",
  21005. "type": "number"
  21006. },
  21007. "curqty": {
  21008. "description": "今定价量",
  21009. "type": "number"
  21010. },
  21011. "deliverygoodscode": {
  21012. "description": "现货品种代码",
  21013. "type": "string"
  21014. },
  21015. "deliverygoodsid": {
  21016. "description": "现货品种id",
  21017. "type": "integer"
  21018. },
  21019. "deliverygoodsname": {
  21020. "description": "现货品种名称",
  21021. "type": "string"
  21022. },
  21023. "diffhedgeqty": {
  21024. "description": "套保变动量",
  21025. "type": "number"
  21026. },
  21027. "diffneedhedgeqty": {
  21028. "description": "应套保变动量",
  21029. "type": "number"
  21030. },
  21031. "diffqty": {
  21032. "description": "套保品种今变动量",
  21033. "type": "number"
  21034. },
  21035. "enumdicname": {
  21036. "description": "单位名称",
  21037. "type": "string"
  21038. },
  21039. "mgunitname": {
  21040. "description": "套保品种单位名称",
  21041. "type": "string"
  21042. },
  21043. "middlegoodscode": {
  21044. "description": "套保品种代码",
  21045. "type": "string"
  21046. },
  21047. "middlegoodsid": {
  21048. "description": "套保品种id",
  21049. "type": "integer"
  21050. },
  21051. "middlegoodsname": {
  21052. "description": "套保品种名称",
  21053. "type": "string"
  21054. },
  21055. "needarbitrageratio": {
  21056. "description": "应套利比例",
  21057. "type": "number"
  21058. },
  21059. "needhedgeratio": {
  21060. "description": "应套保比例",
  21061. "type": "number"
  21062. },
  21063. "pricedqty": {
  21064. "description": "已定价量",
  21065. "type": "number"
  21066. },
  21067. "qty": {
  21068. "description": "合同量",
  21069. "type": "number"
  21070. },
  21071. "reckondate": {
  21072. "description": "交易日(reckondate)",
  21073. "type": "string"
  21074. },
  21075. "selluserid": {
  21076. "description": "销售方id",
  21077. "type": "integer"
  21078. },
  21079. "sellusername": {
  21080. "description": "销售方名称",
  21081. "type": "string"
  21082. },
  21083. "spotcontractid": {
  21084. "description": "合同id",
  21085. "type": "string"
  21086. },
  21087. "todaypricedqty": {
  21088. "description": "今定价量",
  21089. "type": "number"
  21090. },
  21091. "tradedate": {
  21092. "description": "交易日",
  21093. "type": "string"
  21094. },
  21095. "unitid": {
  21096. "description": "品类单位id",
  21097. "type": "integer"
  21098. },
  21099. "userid": {
  21100. "description": "机构id",
  21101. "type": "integer"
  21102. },
  21103. "username": {
  21104. "description": "交易用户",
  21105. "type": "string"
  21106. },
  21107. "wrstandardcode": {
  21108. "description": "现货商品代码",
  21109. "type": "string"
  21110. },
  21111. "wrstandardid": {
  21112. "description": "现货商品id",
  21113. "type": "integer"
  21114. },
  21115. "wrstandardname": {
  21116. "description": "现货商品名称",
  21117. "type": "string"
  21118. }
  21119. }
  21120. },
  21121. "models.Ermcp3ExposureDetail": {
  21122. "type": "object",
  21123. "properties": {
  21124. "areauserid": {
  21125. "description": "机构ID",
  21126. "type": "integer"
  21127. },
  21128. "changeQty": {
  21129. "description": "套保变动量",
  21130. "type": "number"
  21131. },
  21132. "contracttype": {
  21133. "description": "现货合同类型 - 1:采购 -1:销售",
  21134. "type": "integer"
  21135. },
  21136. "convertfactor": {
  21137. "description": "标仓系数",
  21138. "type": "number"
  21139. },
  21140. "convertratio": {
  21141. "description": "折算系数",
  21142. "type": "number"
  21143. },
  21144. "createtime": {
  21145. "description": "时间",
  21146. "type": "string"
  21147. },
  21148. "enumdicname": {
  21149. "description": "现货商品单位名称",
  21150. "type": "string"
  21151. },
  21152. "logtype": {
  21153. "description": "类型 - 1:套保计划 2:现货合同",
  21154. "type": "integer"
  21155. },
  21156. "mgunitid": {
  21157. "description": "套保品种单位id",
  21158. "type": "integer"
  21159. },
  21160. "mgunitidname": {
  21161. "description": "套保品种单位名称",
  21162. "type": "string"
  21163. },
  21164. "middlegoodsId": {
  21165. "description": "套保商品id",
  21166. "type": "integer"
  21167. },
  21168. "middlegoodscode": {
  21169. "description": "套保商品代码",
  21170. "type": "string"
  21171. },
  21172. "middlegoodsname": {
  21173. "description": "套保商品名称",
  21174. "type": "string"
  21175. },
  21176. "qty": {
  21177. "description": "数量",
  21178. "type": "number"
  21179. },
  21180. "relateNo": {
  21181. "description": "现货合同/套保计划编号",
  21182. "type": "string"
  21183. },
  21184. "unitid": {
  21185. "description": "现货商品单位id",
  21186. "type": "integer"
  21187. },
  21188. "wrstandardcode": {
  21189. "description": "现货商品代码",
  21190. "type": "string"
  21191. },
  21192. "wrstandardid": {
  21193. "description": "现货商品ID(SEQ_WRSTANDARD)",
  21194. "type": "integer"
  21195. },
  21196. "wrstandardname": {
  21197. "description": "现货商品名称",
  21198. "type": "string"
  21199. }
  21200. }
  21201. },
  21202. "models.Ermcp3ExposureFutuDetail": {
  21203. "type": "object",
  21204. "properties": {
  21205. "accountid": {
  21206. "description": "交易账户id",
  21207. "type": "integer"
  21208. },
  21209. "accountname": {
  21210. "description": "交易账户",
  21211. "type": "string"
  21212. },
  21213. "begindate": {
  21214. "description": "开始交易日",
  21215. "type": "string"
  21216. },
  21217. "buyorsell": {
  21218. "description": "方向 0-买 1-卖",
  21219. "type": "integer"
  21220. },
  21221. "diffmgqty": {
  21222. "description": "套保品种今变化量",
  21223. "type": "number"
  21224. },
  21225. "diffneedqty": {
  21226. "description": "应套保总量变化量",
  21227. "type": "number"
  21228. },
  21229. "difftradeqty": {
  21230. "description": "交易品种今变化量",
  21231. "type": "number"
  21232. },
  21233. "enddate": {
  21234. "description": "结束交易日",
  21235. "type": "string"
  21236. },
  21237. "enumdicname": {
  21238. "description": "单位名称",
  21239. "type": "string"
  21240. },
  21241. "goodscode": {
  21242. "description": "商品代码",
  21243. "type": "string"
  21244. },
  21245. "goodsid": {
  21246. "description": "商品id",
  21247. "type": "integer"
  21248. },
  21249. "goodsname": {
  21250. "description": "商品名称",
  21251. "type": "string"
  21252. },
  21253. "holdqty": {
  21254. "description": "期末持仓量",
  21255. "type": "number"
  21256. },
  21257. "middlegoodscode": {
  21258. "description": "套保商品代码",
  21259. "type": "string"
  21260. },
  21261. "middlegoodsid": {
  21262. "description": "套保商品id",
  21263. "type": "integer"
  21264. },
  21265. "middlegoodsname": {
  21266. "description": "套保商品名称",
  21267. "type": "string"
  21268. },
  21269. "oriholdqty": {
  21270. "description": "期初持仓量",
  21271. "type": "number"
  21272. },
  21273. "reckondate": {
  21274. "description": "交易日(RECKONDATE)",
  21275. "type": "string"
  21276. },
  21277. "todaycloseqty": {
  21278. "description": "今平仓量",
  21279. "type": "number"
  21280. },
  21281. "todayopenqty": {
  21282. "description": "今开仓量",
  21283. "type": "number"
  21284. },
  21285. "tradedate": {
  21286. "description": "交易日(RECKONDATE)",
  21287. "type": "string"
  21288. },
  21289. "username": {
  21290. "description": "用户名称(交易用户)",
  21291. "type": "string"
  21292. }
  21293. }
  21294. },
  21295. "models.Ermcp3ExposureHedgeplanDetail": {
  21296. "type": "object",
  21297. "properties": {
  21298. "biztype": {
  21299. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  21300. "type": "integer"
  21301. },
  21302. "changqty": {
  21303. "description": "应套保总量变化量",
  21304. "type": "number"
  21305. },
  21306. "contracttype": {
  21307. "description": "计划类型 - 1:采购 -1:销售",
  21308. "type": "integer"
  21309. },
  21310. "convertratio": {
  21311. "description": "折算系数(套保品种)",
  21312. "type": "number"
  21313. },
  21314. "deliverygoodscode": {
  21315. "description": "现货商品代码",
  21316. "type": "string"
  21317. },
  21318. "deliverygoodsid": {
  21319. "description": "现货商品id",
  21320. "type": "integer"
  21321. },
  21322. "deliverygoodsname": {
  21323. "description": "现货商吕名称",
  21324. "type": "string"
  21325. },
  21326. "dgunitid": {
  21327. "description": "现货商品单位id",
  21328. "type": "integer"
  21329. },
  21330. "dgunitidname": {
  21331. "description": "单位名称(现货商品)",
  21332. "type": "string"
  21333. },
  21334. "diffqty": {
  21335. "description": "套保品种今变动量",
  21336. "type": "number"
  21337. },
  21338. "enumdicname": {
  21339. "description": "单位名称(品类)",
  21340. "type": "string"
  21341. },
  21342. "hedgeplanid": {
  21343. "description": "套保计划id",
  21344. "type": "string"
  21345. },
  21346. "hedgeplanno": {
  21347. "description": "套保计划名称",
  21348. "type": "string"
  21349. },
  21350. "hedgeplanstatus": {
  21351. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21352. "type": "integer"
  21353. },
  21354. "mgunitidname": {
  21355. "description": "单位名称(套保商品)",
  21356. "type": "string"
  21357. },
  21358. "middlegoodscode": {
  21359. "description": "套保品种代码",
  21360. "type": "string"
  21361. },
  21362. "middlegoodsid": {
  21363. "description": "套保品种id",
  21364. "type": "integer"
  21365. },
  21366. "middlegoodsname": {
  21367. "description": "套保品种名称",
  21368. "type": "string"
  21369. },
  21370. "needarbitrageratio": {
  21371. "description": "应套利比例",
  21372. "type": "number"
  21373. },
  21374. "needhedgeratio": {
  21375. "description": "应套保比例",
  21376. "type": "number"
  21377. },
  21378. "pricedqty": {
  21379. "description": "已定价量",
  21380. "type": "number"
  21381. },
  21382. "qty": {
  21383. "description": "合同量",
  21384. "type": "number"
  21385. },
  21386. "reckondate": {
  21387. "description": "交易日(reckondate)",
  21388. "type": "string"
  21389. },
  21390. "tradedate": {
  21391. "description": "交易日(登记日)",
  21392. "type": "string"
  21393. },
  21394. "unitid": {
  21395. "description": "品类单位id",
  21396. "type": "integer"
  21397. },
  21398. "userid": {
  21399. "description": "机构id",
  21400. "type": "integer"
  21401. },
  21402. "wrstandardcode": {
  21403. "description": "品类代码",
  21404. "type": "string"
  21405. },
  21406. "wrstandardid": {
  21407. "description": "品类id",
  21408. "type": "integer"
  21409. },
  21410. "wrstandardname": {
  21411. "description": "品类名称",
  21412. "type": "string"
  21413. }
  21414. }
  21415. },
  21416. "models.Ermcp3ExposureParamChLog": {
  21417. "type": "object",
  21418. "properties": {
  21419. "accountid": {
  21420. "description": "期货账户ID (作废, 默认为0)",
  21421. "type": "integer"
  21422. },
  21423. "aftervalue": {
  21424. "description": "应套保\\套利量变更后(调整后应套保总量)",
  21425. "type": "number"
  21426. },
  21427. "areauserid": {
  21428. "description": "所属机构\\交易用户ID",
  21429. "type": "integer"
  21430. },
  21431. "beforevalue": {
  21432. "description": "应套保\\套利量变更前(调整前应套保总量)",
  21433. "type": "number"
  21434. },
  21435. "begindate": {
  21436. "description": "开始交易日",
  21437. "type": "string"
  21438. },
  21439. "changelogtype": {
  21440. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  21441. "type": "integer"
  21442. },
  21443. "curvalue": {
  21444. "description": "当前套保\\套利量(套保总量|套利总量)",
  21445. "type": "number"
  21446. },
  21447. "diffvalue": {
  21448. "description": "应套保总量变化量",
  21449. "type": "number"
  21450. },
  21451. "enddate": {
  21452. "description": "结束交易日",
  21453. "type": "string"
  21454. },
  21455. "logdatetime": {
  21456. "description": "流水日期",
  21457. "type": "string"
  21458. },
  21459. "logid": {
  21460. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  21461. "type": "string"
  21462. },
  21463. "middlegoodscode": {
  21464. "description": "套保品种代码",
  21465. "type": "string"
  21466. },
  21467. "middlegoodsid": {
  21468. "description": "套保品种",
  21469. "type": "integer"
  21470. },
  21471. "middlegoodsname": {
  21472. "description": "套保品种名称",
  21473. "type": "string"
  21474. },
  21475. "paramaftervalue": {
  21476. "description": "参数变更后(调整后参数值)",
  21477. "type": "number"
  21478. },
  21479. "parambeforevalue": {
  21480. "description": "参数变更前(调整前参数值)",
  21481. "type": "number"
  21482. },
  21483. "reckondate": {
  21484. "description": "交易日(reckondate)",
  21485. "type": "string"
  21486. },
  21487. "tradedate": {
  21488. "description": "交易日(yyyyMMdd)",
  21489. "type": "string"
  21490. }
  21491. }
  21492. },
  21493. "models.Ermcp3ExpourseReport": {
  21494. "type": "object",
  21495. "properties": {
  21496. "accountid": {
  21497. "description": "期货账户ID (作废, 默认为0)",
  21498. "type": "integer"
  21499. },
  21500. "accountname": {
  21501. "description": "机构名称",
  21502. "type": "string"
  21503. },
  21504. "arbitrageqty": {
  21505. "description": "套利量",
  21506. "type": "number"
  21507. },
  21508. "areauserid": {
  21509. "description": "所属机构\\交易用户ID",
  21510. "type": "integer"
  21511. },
  21512. "begindate": {
  21513. "description": "开始交易日",
  21514. "type": "string"
  21515. },
  21516. "buyfutureqty": {
  21517. "description": "买入期货数量",
  21518. "type": "number"
  21519. },
  21520. "buyplanqty": {
  21521. "description": "采购计划数量",
  21522. "type": "number"
  21523. },
  21524. "buypricedqty": {
  21525. "description": "采购合同已定价数量",
  21526. "type": "number"
  21527. },
  21528. "cycletime": {
  21529. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21530. "type": "string"
  21531. },
  21532. "cycletype": {
  21533. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21534. "type": "integer"
  21535. },
  21536. "diffexposure": {
  21537. "description": "变动量(套保敞口)",
  21538. "type": "number"
  21539. },
  21540. "difffutuqty": {
  21541. "description": "变动量(期货)",
  21542. "type": "number"
  21543. },
  21544. "diffhedgeqty": {
  21545. "description": "变动量(现货应套保总量)",
  21546. "type": "number"
  21547. },
  21548. "diffmgqtya": {
  21549. "description": "套保变动量",
  21550. "type": "number"
  21551. },
  21552. "diffmgqtyb": {
  21553. "description": "套利变动量",
  21554. "type": "number"
  21555. },
  21556. "diffqty": {
  21557. "description": "变动量(总敞口)",
  21558. "type": "number"
  21559. },
  21560. "diffspotqty": {
  21561. "description": "变动量(现货)",
  21562. "type": "number"
  21563. },
  21564. "enddate": {
  21565. "description": "结束交易日",
  21566. "type": "string"
  21567. },
  21568. "enumdicname": {
  21569. "description": "单位名称",
  21570. "type": "string"
  21571. },
  21572. "hedgeqty": {
  21573. "description": "套保量",
  21574. "type": "number"
  21575. },
  21576. "mgneedhedgeratio": {
  21577. "description": "套保比例(套保品的)",
  21578. "type": "number"
  21579. },
  21580. "middlegoodsid": {
  21581. "description": "套保品种ID",
  21582. "type": "integer"
  21583. },
  21584. "middlegoodsname": {
  21585. "description": "套保商品名称",
  21586. "type": "string"
  21587. },
  21588. "middlgoodscode": {
  21589. "description": "套保商品代码",
  21590. "type": "string"
  21591. },
  21592. "needarbitrageqty": {
  21593. "description": "应套利量",
  21594. "type": "number"
  21595. },
  21596. "needarbitrageratio": {
  21597. "description": "套利比例(套保品的)",
  21598. "type": "number"
  21599. },
  21600. "needhedgeexposoure": {
  21601. "description": "应套保敞口(套保敞口)",
  21602. "type": "number"
  21603. },
  21604. "needhedgeqty": {
  21605. "description": "应套保量",
  21606. "type": "number"
  21607. },
  21608. "needhedgeratio": {
  21609. "description": "应套保敞口比例",
  21610. "type": "number"
  21611. },
  21612. "oriarbitrageqty": {
  21613. "description": "期初套利量",
  21614. "type": "number"
  21615. },
  21616. "oribuyfutureqty": {
  21617. "description": "期初买入期货数量",
  21618. "type": "number"
  21619. },
  21620. "oribuyplanqty": {
  21621. "description": "期初采购计划数量",
  21622. "type": "number"
  21623. },
  21624. "oribuypricedqty": {
  21625. "description": "期初采购合同已定价数量",
  21626. "type": "number"
  21627. },
  21628. "orihedgeqty": {
  21629. "description": "期初套保量",
  21630. "type": "number"
  21631. },
  21632. "orineedarbitrageqty": {
  21633. "description": "期初应套利量",
  21634. "type": "number"
  21635. },
  21636. "orineedhedgeexposoure": {
  21637. "description": "期初应套保敞口",
  21638. "type": "number"
  21639. },
  21640. "orineedhedgeqty": {
  21641. "description": "期初应套保量",
  21642. "type": "number"
  21643. },
  21644. "orisellfutureqty": {
  21645. "description": "期初卖出期货数量",
  21646. "type": "number"
  21647. },
  21648. "orisellplanqty": {
  21649. "description": "期初销售计划数量",
  21650. "type": "number"
  21651. },
  21652. "orisellpricedqty": {
  21653. "description": "期初销售合同已定价数量",
  21654. "type": "number"
  21655. },
  21656. "oritotalexposure": {
  21657. "description": "期初实时总敞口",
  21658. "type": "number"
  21659. },
  21660. "oritotalfutureqty": {
  21661. "description": "期初期货头寸总量",
  21662. "type": "number"
  21663. },
  21664. "oritotalneedhedgeqty": {
  21665. "description": "期初应套保总量",
  21666. "type": "number"
  21667. },
  21668. "oritotalspotqty": {
  21669. "description": "期初现货头寸总量",
  21670. "type": "number"
  21671. },
  21672. "reckondate": {
  21673. "description": "日照时期(yyyyMMdd)",
  21674. "type": "string"
  21675. },
  21676. "sellfutureqty": {
  21677. "description": "卖出期货数量",
  21678. "type": "number"
  21679. },
  21680. "sellplanqty": {
  21681. "description": "销售计划数量",
  21682. "type": "number"
  21683. },
  21684. "sellpricedqty": {
  21685. "description": "销售合同已定价数量",
  21686. "type": "number"
  21687. },
  21688. "totalexposure": {
  21689. "description": "实时总敞口(总敞口)",
  21690. "type": "number"
  21691. },
  21692. "totalfutureqty": {
  21693. "description": "期货头寸总量(期货总量)",
  21694. "type": "number"
  21695. },
  21696. "totalhedgeratio": {
  21697. "description": "敞口比例",
  21698. "type": "number"
  21699. },
  21700. "totalneedhedgeqty": {
  21701. "description": "应套保总量(现货应套保总量)",
  21702. "type": "number"
  21703. },
  21704. "totalspotqty": {
  21705. "description": "现货头寸总量",
  21706. "type": "number"
  21707. },
  21708. "unitid": {
  21709. "description": "单位id",
  21710. "type": "integer"
  21711. },
  21712. "updatetime": {
  21713. "description": "更新时间",
  21714. "type": "string"
  21715. }
  21716. }
  21717. },
  21718. "models.Ermcp3FinanceReport": {
  21719. "type": "object",
  21720. "properties": {
  21721. "accountname": {
  21722. "description": "机构名称",
  21723. "type": "string"
  21724. },
  21725. "areauserid": {
  21726. "description": "所属机构\\交易用户ID",
  21727. "type": "integer"
  21728. },
  21729. "begindate": {
  21730. "description": "开始交易日",
  21731. "type": "string"
  21732. },
  21733. "biztype": {
  21734. "description": "业务类型 - 1:套保 2:套利",
  21735. "type": "integer"
  21736. },
  21737. "brandname": {
  21738. "description": "品牌名称",
  21739. "type": "string"
  21740. },
  21741. "buypreinvoicedamount": {
  21742. "description": "采购预收票额(预收票额)",
  21743. "type": "number"
  21744. },
  21745. "buyprepaidamount": {
  21746. "description": "采购预付款额(预付货款额)",
  21747. "type": "number"
  21748. },
  21749. "buytodayinvoiceamount": {
  21750. "description": "采购今收票额(今收票额)",
  21751. "type": "number"
  21752. },
  21753. "buytodayrefundamount": {
  21754. "description": "采购今收退款额(今收退款额)",
  21755. "type": "number"
  21756. },
  21757. "buytodaysettleamount": {
  21758. "description": "采购今付款额(今付货款额)",
  21759. "type": "number"
  21760. },
  21761. "buyuninvoicedamount": {
  21762. "description": "采购应收票额(应收票额)",
  21763. "type": "number"
  21764. },
  21765. "buyunpaidamount": {
  21766. "description": "采购应付款额(应付货款额)",
  21767. "type": "number"
  21768. },
  21769. "currencyid": {
  21770. "description": "结算币种ID",
  21771. "type": "integer"
  21772. },
  21773. "currencyname": {
  21774. "description": "币种名称",
  21775. "type": "string"
  21776. },
  21777. "cycletime": {
  21778. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21779. "type": "string"
  21780. },
  21781. "cycletype": {
  21782. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21783. "type": "integer"
  21784. },
  21785. "deliverygoodscode": {
  21786. "description": "现货品种代码",
  21787. "type": "string"
  21788. },
  21789. "deliverygoodsid": {
  21790. "description": "现货品种ID",
  21791. "type": "integer"
  21792. },
  21793. "deliverygoodsname": {
  21794. "description": "现货品种名称",
  21795. "type": "string"
  21796. },
  21797. "enddate": {
  21798. "description": "结束交易日",
  21799. "type": "string"
  21800. },
  21801. "reckondate": {
  21802. "description": "日照时期(yyyyMMdd)",
  21803. "type": "string"
  21804. },
  21805. "sellpreinvoicedamount": {
  21806. "description": "销售预开票额(预开票额)",
  21807. "type": "number"
  21808. },
  21809. "sellprepaidamount": {
  21810. "description": "销售预收款额(预收货款额)",
  21811. "type": "number"
  21812. },
  21813. "selltodayinvoiceamount": {
  21814. "description": "销售今开票额(今开票额)",
  21815. "type": "number"
  21816. },
  21817. "selltodayrefundamount": {
  21818. "description": "销售今付退款额(今付退款额)",
  21819. "type": "number"
  21820. },
  21821. "selltodaysettleamount": {
  21822. "description": "销售今收款额(今收货款额)",
  21823. "type": "number"
  21824. },
  21825. "selluninvoicedamount": {
  21826. "description": "销售应开票额(应开票额)",
  21827. "type": "number"
  21828. },
  21829. "sellunpaidamount": {
  21830. "description": "销售应收款额(应收货款额)",
  21831. "type": "number"
  21832. },
  21833. "spotgoodsbrandid": {
  21834. "description": "现货品牌ID",
  21835. "type": "integer"
  21836. },
  21837. "todaypaysum": {
  21838. "description": "今付款合计",
  21839. "type": "number"
  21840. },
  21841. "todayreceivesum": {
  21842. "description": "今收款合计",
  21843. "type": "number"
  21844. },
  21845. "updatetime": {
  21846. "description": "更新时间",
  21847. "type": "string"
  21848. },
  21849. "wrfactortypeid": {
  21850. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21851. "type": "integer"
  21852. },
  21853. "wrstandardcode": {
  21854. "description": "品类代码",
  21855. "type": "string"
  21856. },
  21857. "wrstandardid": {
  21858. "description": "现货商品ID",
  21859. "type": "integer"
  21860. },
  21861. "wrstandardname": {
  21862. "description": "品类名称",
  21863. "type": "string"
  21864. }
  21865. }
  21866. },
  21867. "models.Ermcp3GoodsGroup": {
  21868. "type": "object",
  21869. "required": [
  21870. "areauserid"
  21871. ],
  21872. "properties": {
  21873. "agreeunit": {
  21874. "description": "合约单位",
  21875. "type": "number"
  21876. },
  21877. "areauserid": {
  21878. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  21879. "type": "integer"
  21880. },
  21881. "canshort": {
  21882. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21883. "type": "integer"
  21884. },
  21885. "closepricemode": {
  21886. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21887. "type": "integer"
  21888. },
  21889. "createtime": {
  21890. "description": "创建时间",
  21891. "type": "string"
  21892. },
  21893. "creatorid": {
  21894. "description": "创建人",
  21895. "type": "integer"
  21896. },
  21897. "currencyid": {
  21898. "description": "报价货币ID",
  21899. "type": "integer"
  21900. },
  21901. "decimalplace": {
  21902. "description": "报价小数位",
  21903. "type": "integer"
  21904. },
  21905. "enumdicname": {
  21906. "description": "单位名称",
  21907. "type": "string"
  21908. },
  21909. "exchangefullname": {
  21910. "description": "交易所全称",
  21911. "type": "string"
  21912. },
  21913. "excludecfg": {
  21914. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  21915. "type": "integer"
  21916. },
  21917. "exexchangecode": {
  21918. "description": "交易所代码",
  21919. "type": "string"
  21920. },
  21921. "exexchangeid": {
  21922. "description": "外部交易所ID[通道交易]",
  21923. "type": "integer"
  21924. },
  21925. "exexchangename": {
  21926. "description": "交易所名称",
  21927. "type": "string"
  21928. },
  21929. "goodsgroupid": {
  21930. "description": "商品组ID(自增ID)",
  21931. "type": "integer"
  21932. },
  21933. "goodsgroupname": {
  21934. "description": "商品组名称",
  21935. "type": "string"
  21936. },
  21937. "goodsgroupstatus": {
  21938. "description": "商品组状态 - 1:正常 2:注销",
  21939. "type": "integer"
  21940. },
  21941. "goodunitid": {
  21942. "description": "报价单位ID",
  21943. "type": "integer"
  21944. },
  21945. "groupcategroyid": {
  21946. "description": "品种分类ID",
  21947. "type": "integer"
  21948. },
  21949. "innerdealmode": {
  21950. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21951. "type": "integer"
  21952. },
  21953. "marketid": {
  21954. "description": "所属市场ID",
  21955. "type": "integer"
  21956. },
  21957. "modifierid": {
  21958. "description": "修改人",
  21959. "type": "integer"
  21960. },
  21961. "modifytime": {
  21962. "description": "修改时间",
  21963. "type": "string"
  21964. },
  21965. "outerdealmode": {
  21966. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21967. "type": "integer"
  21968. },
  21969. "outergroupcode": {
  21970. "description": "外部商品组代码[通道交易]",
  21971. "type": "string"
  21972. },
  21973. "quoteminunit": {
  21974. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21975. "type": "integer"
  21976. },
  21977. "quotesourcegroupid": {
  21978. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21979. "type": "integer"
  21980. },
  21981. "syncgoodsqty": {
  21982. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21983. "type": "integer"
  21984. }
  21985. }
  21986. },
  21987. "models.Ermcp3HedgePlan": {
  21988. "type": "object",
  21989. "properties": {
  21990. "accountid": {
  21991. "description": "资金账号",
  21992. "type": "integer"
  21993. },
  21994. "areauserid": {
  21995. "description": "用户ID",
  21996. "type": "integer"
  21997. },
  21998. "auditid": {
  21999. "description": "审核id",
  22000. "type": "integer"
  22001. },
  22002. "auditname": {
  22003. "description": "审核人名称",
  22004. "type": "string"
  22005. },
  22006. "auditremark": {
  22007. "description": "审核备注",
  22008. "type": "string"
  22009. },
  22010. "auditsrc": {
  22011. "description": "审核来源 1-管理端 2-终端",
  22012. "type": "integer"
  22013. },
  22014. "audittime": {
  22015. "description": "审核时间",
  22016. "type": "string"
  22017. },
  22018. "contracttype": {
  22019. "description": "计划类型 - 1:采购 -1:销售",
  22020. "type": "integer"
  22021. },
  22022. "convertfactor": {
  22023. "description": "标仓系数",
  22024. "type": "number"
  22025. },
  22026. "createtime": {
  22027. "description": "创建时间",
  22028. "type": "string"
  22029. },
  22030. "currencyid": {
  22031. "description": "币种id",
  22032. "type": "integer"
  22033. },
  22034. "currencyname": {
  22035. "description": "币种名称",
  22036. "type": "string"
  22037. },
  22038. "deliverygoodscode": {
  22039. "description": "现货品种代码",
  22040. "type": "string"
  22041. },
  22042. "deliverygoodsid": {
  22043. "description": "现货品种ID",
  22044. "type": "integer"
  22045. },
  22046. "deliverygoodsname": {
  22047. "description": "现货品种名称",
  22048. "type": "string"
  22049. },
  22050. "enumdicname": {
  22051. "description": "单位名称(现货商品)",
  22052. "type": "string"
  22053. },
  22054. "hedgeplanid": {
  22055. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  22056. "type": "string"
  22057. },
  22058. "hedgeplanno": {
  22059. "description": "套保计划编号(名称)",
  22060. "type": "string"
  22061. },
  22062. "hedgeplanstatus": {
  22063. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22064. "type": "integer"
  22065. },
  22066. "planqty": {
  22067. "description": "计划数量",
  22068. "type": "number"
  22069. },
  22070. "plantime": {
  22071. "description": "计划时间",
  22072. "type": "string"
  22073. },
  22074. "producttype": {
  22075. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22076. "type": "integer"
  22077. },
  22078. "remark": {
  22079. "description": "备注",
  22080. "type": "string"
  22081. },
  22082. "spotgoodsdesc": {
  22083. "description": "商品型号",
  22084. "type": "string"
  22085. },
  22086. "taaccountname": {
  22087. "description": "资金账号名称",
  22088. "type": "string"
  22089. },
  22090. "tradeuserid": {
  22091. "description": "交易用户id",
  22092. "type": "integer"
  22093. },
  22094. "tradeusername": {
  22095. "description": "交易用户名称",
  22096. "type": "string"
  22097. },
  22098. "unitid": {
  22099. "description": "单位id(现货商品)",
  22100. "type": "integer"
  22101. },
  22102. "updatetime": {
  22103. "description": "更新时间",
  22104. "type": "string"
  22105. },
  22106. "vatrate": {
  22107. "description": "增值税率",
  22108. "type": "number"
  22109. },
  22110. "wrstandardcode": {
  22111. "description": "品类代码",
  22112. "type": "string"
  22113. },
  22114. "wrstandardid": {
  22115. "description": "品类id",
  22116. "type": "integer"
  22117. },
  22118. "wrstandardname": {
  22119. "description": "品类名称",
  22120. "type": "string"
  22121. },
  22122. "wrunitid": {
  22123. "description": "品类单位id",
  22124. "type": "integer"
  22125. },
  22126. "wrunitidame": {
  22127. "description": "品类单位名称",
  22128. "type": "string"
  22129. }
  22130. }
  22131. },
  22132. "models.Ermcp3InnerTradeLink": {
  22133. "type": "object",
  22134. "properties": {
  22135. "accountid": {
  22136. "description": "期货账号代码 | 资金账号ID",
  22137. "type": "integer"
  22138. },
  22139. "buyorsell": {
  22140. "description": "方向 - 0:买 1:卖",
  22141. "type": "integer"
  22142. },
  22143. "channelbuildtype": {
  22144. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22145. "type": "integer"
  22146. },
  22147. "currencyid": {
  22148. "description": "币种id",
  22149. "type": "integer"
  22150. },
  22151. "currencyname": {
  22152. "description": "结算币种 名称",
  22153. "type": "string"
  22154. },
  22155. "goodscode": {
  22156. "description": "商品代码",
  22157. "type": "string"
  22158. },
  22159. "goodsid": {
  22160. "description": "商品ID",
  22161. "type": "integer"
  22162. },
  22163. "goodsname": {
  22164. "description": "商品名称",
  22165. "type": "string"
  22166. },
  22167. "outtradeid": {
  22168. "description": "外部成交单号",
  22169. "type": "string"
  22170. },
  22171. "taname": {
  22172. "description": "期货账户名称",
  22173. "type": "string"
  22174. },
  22175. "tradeid": {
  22176. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22177. "type": "string"
  22178. },
  22179. "tradeprice": {
  22180. "description": "成交价格",
  22181. "type": "number"
  22182. },
  22183. "tradeqty": {
  22184. "description": "期货成交数量",
  22185. "type": "integer"
  22186. },
  22187. "tradetime": {
  22188. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  22189. "type": "string"
  22190. },
  22191. "username": {
  22192. "description": "用户名称",
  22193. "type": "string"
  22194. }
  22195. }
  22196. },
  22197. "models.Ermcp3OutTradeLink": {
  22198. "type": "object",
  22199. "properties": {
  22200. "buyorsell": {
  22201. "description": "买卖方向 - 0:买 1:卖",
  22202. "type": "integer"
  22203. },
  22204. "channelbuildtype": {
  22205. "description": "开平标志- 0:无 1:建仓 2:平仓",
  22206. "type": "integer"
  22207. },
  22208. "currencyname": {
  22209. "description": "币种名称",
  22210. "type": "string"
  22211. },
  22212. "exexchangecode": {
  22213. "description": "交易所代码",
  22214. "type": "string"
  22215. },
  22216. "exexchangename": {
  22217. "description": "交易所名称",
  22218. "type": "string"
  22219. },
  22220. "goodscode": {
  22221. "description": "合约代码",
  22222. "type": "string"
  22223. },
  22224. "goodsid": {
  22225. "description": "合约id",
  22226. "type": "integer"
  22227. },
  22228. "goodsname": {
  22229. "description": "合约名称",
  22230. "type": "string"
  22231. },
  22232. "hasinnerorder": {
  22233. "description": "是否有内部单关联 - 0:无 1:有",
  22234. "type": "integer"
  22235. },
  22236. "hedgeaccountcode": {
  22237. "description": "外部账号 | 对冲账号",
  22238. "type": "string"
  22239. },
  22240. "outtradeid": {
  22241. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22242. "type": "string"
  22243. },
  22244. "tradeprice": {
  22245. "description": "成交价格",
  22246. "type": "number"
  22247. },
  22248. "tradeqty": {
  22249. "description": "成交数量",
  22250. "type": "integer"
  22251. },
  22252. "tradetime": {
  22253. "description": "成交时间",
  22254. "type": "string"
  22255. }
  22256. }
  22257. },
  22258. "models.Ermcp3PaAreaAuditCfg": {
  22259. "type": "object",
  22260. "properties": {
  22261. "areauserid": {
  22262. "description": "用户ID",
  22263. "type": "integer"
  22264. },
  22265. "buyinauditflag": {
  22266. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  22267. "type": "integer"
  22268. },
  22269. "costratioauditflag": {
  22270. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  22271. "type": "integer"
  22272. },
  22273. "customerauditflag": {
  22274. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  22275. "type": "integer"
  22276. },
  22277. "deliveryauditflag": {
  22278. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  22279. "type": "integer"
  22280. },
  22281. "invoiceauditflag": {
  22282. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  22283. "type": "integer"
  22284. },
  22285. "mgneedhedgeratioauditflag": {
  22286. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  22287. "type": "integer"
  22288. },
  22289. "moneyauditflag": {
  22290. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  22291. "type": "integer"
  22292. },
  22293. "operatorid": {
  22294. "description": "操作人",
  22295. "type": "integer"
  22296. },
  22297. "operatorsrc": {
  22298. "description": "操作来源 - 1:管理端 2:终端",
  22299. "type": "integer"
  22300. },
  22301. "pointpriceauditflag": {
  22302. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  22303. "type": "integer"
  22304. },
  22305. "produceinauditflag": {
  22306. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  22307. "type": "integer"
  22308. },
  22309. "produceoutauditflag": {
  22310. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  22311. "type": "integer"
  22312. },
  22313. "selloutauditflag": {
  22314. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  22315. "type": "integer"
  22316. },
  22317. "sgconvertratioauditflag": {
  22318. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  22319. "type": "integer"
  22320. },
  22321. "sgvtaratioauditflag": {
  22322. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  22323. "type": "integer"
  22324. },
  22325. "spotcontractauditflag": {
  22326. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  22327. "type": "integer"
  22328. },
  22329. "updatetime": {
  22330. "description": "更新时间",
  22331. "type": "string"
  22332. }
  22333. }
  22334. },
  22335. "models.Ermcp3PaAreaSubject": {
  22336. "type": "object",
  22337. "properties": {
  22338. "areauserid": {
  22339. "description": "所属机构",
  22340. "type": "integer"
  22341. },
  22342. "canmodify": {
  22343. "description": "是否可修改 - 0:否 1:是",
  22344. "type": "integer"
  22345. },
  22346. "createtime": {
  22347. "description": "创建时间",
  22348. "type": "string"
  22349. },
  22350. "creatorid": {
  22351. "description": "创建人ID",
  22352. "type": "string"
  22353. },
  22354. "creatorsrc": {
  22355. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  22356. "type": "integer"
  22357. },
  22358. "modifierid": {
  22359. "description": "修改人",
  22360. "type": "string"
  22361. },
  22362. "modifiersrc": {
  22363. "description": "修改人来源 - 1:管理端 2:终端",
  22364. "type": "integer"
  22365. },
  22366. "modifytime": {
  22367. "description": "修改时间",
  22368. "type": "string"
  22369. },
  22370. "parentsubjectid": {
  22371. "description": "上级主体ID",
  22372. "type": "string"
  22373. },
  22374. "remark": {
  22375. "description": "备注",
  22376. "type": "string"
  22377. },
  22378. "subjectid": {
  22379. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  22380. "type": "integer"
  22381. },
  22382. "subjectname": {
  22383. "description": "主体名称",
  22384. "type": "string"
  22385. },
  22386. "subjectstatus": {
  22387. "description": "主体状态 - 1:正常 2: 停用",
  22388. "type": "integer"
  22389. },
  22390. "subjecttype": {
  22391. "description": "主体类型 - 1:交易主体 2:业务部门",
  22392. "type": "integer"
  22393. }
  22394. }
  22395. },
  22396. "models.Ermcp3PaTradeLink": {
  22397. "type": "object",
  22398. "properties": {
  22399. "accountid": {
  22400. "description": "期货账户代码 | 账号ID",
  22401. "type": "integer"
  22402. },
  22403. "agreeunit": {
  22404. "description": "合约乘数",
  22405. "type": "number"
  22406. },
  22407. "buyorsell": {
  22408. "description": "方向 - 0:买 1:卖",
  22409. "type": "integer"
  22410. },
  22411. "channelbuildtype": {
  22412. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22413. "type": "integer"
  22414. },
  22415. "charge": {
  22416. "description": "手续费",
  22417. "type": "number"
  22418. },
  22419. "closepl": {
  22420. "description": "平仓盈亏",
  22421. "type": "number"
  22422. },
  22423. "closetype": {
  22424. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22425. "type": "integer"
  22426. },
  22427. "convertratio": {
  22428. "description": "折算系数",
  22429. "type": "number"
  22430. },
  22431. "enumdicname": {
  22432. "description": "单位名称",
  22433. "type": "string"
  22434. },
  22435. "executeprice": {
  22436. "description": "执行价 [期权]",
  22437. "type": "integer"
  22438. },
  22439. "goodscode": {
  22440. "description": "合约代码",
  22441. "type": "string"
  22442. },
  22443. "goodsgroupid": {
  22444. "description": "对冲品种ID[期货合约商品组ID]",
  22445. "type": "integer"
  22446. },
  22447. "goodsid": {
  22448. "description": "商品ID",
  22449. "type": "integer"
  22450. },
  22451. "goodsname": {
  22452. "description": "合约名称",
  22453. "type": "string"
  22454. },
  22455. "goodunitid": {
  22456. "description": "单位id",
  22457. "type": "integer"
  22458. },
  22459. "hedgeflag": {
  22460. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  22461. "type": "integer"
  22462. },
  22463. "marketid": {
  22464. "description": "市场ID",
  22465. "type": "integer"
  22466. },
  22467. "middlegoodsid": {
  22468. "description": "套保品种ID",
  22469. "type": "integer"
  22470. },
  22471. "middlegoodsqty": {
  22472. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  22473. "type": "number"
  22474. },
  22475. "optioncode": {
  22476. "description": "期权代码 [期权]",
  22477. "type": "string"
  22478. },
  22479. "ordertype": {
  22480. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  22481. "type": "integer"
  22482. },
  22483. "ordertypename": {
  22484. "description": "订单类型",
  22485. "type": "string"
  22486. },
  22487. "parentaccountid": {
  22488. "description": "所属母账户",
  22489. "type": "integer"
  22490. },
  22491. "premium": {
  22492. "description": "权利金 [期权]",
  22493. "type": "number"
  22494. },
  22495. "relatedlot": {
  22496. "description": "已关联数量(已关联数量手) | db:关联手数",
  22497. "type": "number"
  22498. },
  22499. "relatedouttradeid": {
  22500. "description": "关联外部成交单ID",
  22501. "type": "string"
  22502. },
  22503. "relatedqty": {
  22504. "description": "关联数量",
  22505. "type": "number"
  22506. },
  22507. "spotcontractid": {
  22508. "description": "现货合同ID [4:套期保值\\10\\11]",
  22509. "type": "string"
  22510. },
  22511. "taname": {
  22512. "description": "期货账户名称",
  22513. "type": "string"
  22514. },
  22515. "tradeamount": {
  22516. "description": "成交金额(账户)",
  22517. "type": "number"
  22518. },
  22519. "tradedate": {
  22520. "description": "交易日(yyyyMMdd)",
  22521. "type": "string"
  22522. },
  22523. "tradeid": {
  22524. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22525. "type": "string"
  22526. },
  22527. "tradelot": {
  22528. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  22529. "type": "integer"
  22530. },
  22531. "tradeprice": {
  22532. "description": "成交价格",
  22533. "type": "number"
  22534. },
  22535. "tradetime": {
  22536. "description": "时间 | db:成交时间",
  22537. "type": "string"
  22538. },
  22539. "tradetype": {
  22540. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  22541. "type": "integer"
  22542. },
  22543. "userid": {
  22544. "description": "所属机构 - 所属母账户的UserID",
  22545. "type": "string"
  22546. },
  22547. "username": {
  22548. "description": "用户名称",
  22549. "type": "string"
  22550. }
  22551. }
  22552. },
  22553. "models.Ermcp3ParamChangeApp": {
  22554. "type": "object",
  22555. "properties": {
  22556. "aftervalue": {
  22557. "description": "变更后",
  22558. "type": "number"
  22559. },
  22560. "applicationid": {
  22561. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  22562. "type": "string"
  22563. },
  22564. "applyid": {
  22565. "description": "申请人",
  22566. "type": "string"
  22567. },
  22568. "applyname": {
  22569. "description": "申请人名称(代码)",
  22570. "type": "string"
  22571. },
  22572. "applyremark": {
  22573. "description": "申请备注",
  22574. "type": "string"
  22575. },
  22576. "applysrc": {
  22577. "description": "申请来源 - 1:管理端 2:终端",
  22578. "type": "integer"
  22579. },
  22580. "applystatus": {
  22581. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22582. "type": "integer"
  22583. },
  22584. "applytime": {
  22585. "description": "申请时间",
  22586. "type": "string"
  22587. },
  22588. "areauserid": {
  22589. "description": "所属机构用户ID",
  22590. "type": "integer"
  22591. },
  22592. "auditid": {
  22593. "description": "审核人",
  22594. "type": "string"
  22595. },
  22596. "auditname": {
  22597. "description": "审核人名称(代码)",
  22598. "type": "string"
  22599. },
  22600. "auditremark": {
  22601. "description": "审核备注",
  22602. "type": "string"
  22603. },
  22604. "auditsrc": {
  22605. "description": "审核来源 - 1:管理端 2:终端",
  22606. "type": "integer"
  22607. },
  22608. "audittime": {
  22609. "description": "审核时间",
  22610. "type": "string"
  22611. },
  22612. "audittradedate": {
  22613. "description": "审核交易日(yyyyMMdd)",
  22614. "type": "string"
  22615. },
  22616. "beforevalue": {
  22617. "description": "变更前",
  22618. "type": "number"
  22619. },
  22620. "deliverygoodscode": {
  22621. "description": "品种代码",
  22622. "type": "string"
  22623. },
  22624. "deliverygoodsid": {
  22625. "description": "品种id",
  22626. "type": "integer"
  22627. },
  22628. "deliverygoodsname": {
  22629. "description": "品种名称",
  22630. "type": "string"
  22631. },
  22632. "middlegoodscode": {
  22633. "description": "套保品种代码",
  22634. "type": "string"
  22635. },
  22636. "middlegoodsid": {
  22637. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  22638. "type": "integer"
  22639. },
  22640. "middlegoodsname": {
  22641. "description": "套保品种名称",
  22642. "type": "string"
  22643. },
  22644. "operatetype": {
  22645. "description": "操作类型 - 1:新增 2:修改",
  22646. "type": "integer"
  22647. },
  22648. "paramchangetype": {
  22649. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  22650. "type": "integer"
  22651. },
  22652. "wrstandardcode": {
  22653. "description": "现货商品代码",
  22654. "type": "string"
  22655. },
  22656. "wrstandardid": {
  22657. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  22658. "type": "integer"
  22659. },
  22660. "wrstandardname": {
  22661. "description": "现货商品名称",
  22662. "type": "string"
  22663. }
  22664. }
  22665. },
  22666. "models.Ermcp3RootUserAccount": {
  22667. "type": "object",
  22668. "properties": {
  22669. "accountname": {
  22670. "description": "账户名称(机构名称)",
  22671. "type": "string"
  22672. },
  22673. "accountstatus": {
  22674. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  22675. "type": "integer"
  22676. },
  22677. "applysrc": {
  22678. "description": "申请来源 - 1:管理端 2:终端",
  22679. "type": "integer"
  22680. },
  22681. "auditremark": {
  22682. "description": "审核备注",
  22683. "type": "string"
  22684. },
  22685. "auditsrc": {
  22686. "description": "审核来源 - 1:管理端 2:终端",
  22687. "type": "integer"
  22688. },
  22689. "audittime": {
  22690. "description": "审核时间",
  22691. "type": "string"
  22692. },
  22693. "audituserid": {
  22694. "description": "审核人",
  22695. "type": "integer"
  22696. },
  22697. "broker": {
  22698. "description": "所属经纪人ID",
  22699. "type": "integer"
  22700. },
  22701. "canceltime": {
  22702. "description": "销户时间",
  22703. "type": "string"
  22704. },
  22705. "canceluserid": {
  22706. "description": "销户人",
  22707. "type": "integer"
  22708. },
  22709. "canrecommend": {
  22710. "description": "是否可推荐 - 0:不可 1;可",
  22711. "type": "integer"
  22712. },
  22713. "createtime": {
  22714. "description": "创建时间",
  22715. "type": "string"
  22716. },
  22717. "creatorid": {
  22718. "description": "创建人",
  22719. "type": "integer"
  22720. },
  22721. "hasauth": {
  22722. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22723. "type": "integer"
  22724. },
  22725. "isanonymous": {
  22726. "description": "是否匿名下单 - 0:否 1:是",
  22727. "type": "integer"
  22728. },
  22729. "maxinvestornum": {
  22730. "description": "最大用户数(经纪会员下投资者个数)",
  22731. "type": "integer"
  22732. },
  22733. "memberuserid": {
  22734. "description": "所属会员ID",
  22735. "type": "integer"
  22736. },
  22737. "modifierid": {
  22738. "description": "修改人",
  22739. "type": "integer"
  22740. },
  22741. "modifyremark": {
  22742. "description": "变更备注",
  22743. "type": "string"
  22744. },
  22745. "modifystatus": {
  22746. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22747. "type": "integer"
  22748. },
  22749. "modifytime": {
  22750. "description": "修改时间",
  22751. "type": "string"
  22752. },
  22753. "nickname": {
  22754. "description": "昵称",
  22755. "type": "string"
  22756. },
  22757. "parenttopuser": {
  22758. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  22759. "type": "string"
  22760. },
  22761. "parentuserid": {
  22762. "description": "所属机构ID",
  22763. "type": "integer"
  22764. },
  22765. "reckonaccountid": {
  22766. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22767. "type": "integer"
  22768. },
  22769. "refercount": {
  22770. "description": "推荐总人数",
  22771. "type": "integer"
  22772. },
  22773. "refereeuserid": {
  22774. "description": "推荐人ID",
  22775. "type": "integer"
  22776. },
  22777. "refernum": {
  22778. "description": "推荐码",
  22779. "type": "string"
  22780. },
  22781. "rootuserid": {
  22782. "description": "根用户ID",
  22783. "type": "integer"
  22784. },
  22785. "subaccountlevel": {
  22786. "description": "子账户层数",
  22787. "type": "integer"
  22788. },
  22789. "subarealevelpath": {
  22790. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22791. "type": "string"
  22792. },
  22793. "userid": {
  22794. "description": "用户ID",
  22795. "type": "integer"
  22796. },
  22797. "usertype": {
  22798. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22799. "type": "integer"
  22800. }
  22801. }
  22802. },
  22803. "models.Ermcp3SCMiddleGoods": {
  22804. "type": "object",
  22805. "properties": {
  22806. "biztype": {
  22807. "description": "业务类型 1:套保 2:套利",
  22808. "type": "integer"
  22809. },
  22810. "contractno": {
  22811. "description": "合同编号",
  22812. "type": "string"
  22813. },
  22814. "contracttype": {
  22815. "description": "合同类型 1:采购 -1:销售",
  22816. "type": "integer"
  22817. },
  22818. "convertratio": {
  22819. "description": "折算系数",
  22820. "type": "number"
  22821. },
  22822. "customername": {
  22823. "description": "对手手名称",
  22824. "type": "string"
  22825. },
  22826. "customeruserid": {
  22827. "description": "对手id",
  22828. "type": "integer"
  22829. },
  22830. "deliverygoodscode": {
  22831. "description": "现货品种代码",
  22832. "type": "string"
  22833. },
  22834. "deliverygoodsid": {
  22835. "description": "现货品种ID",
  22836. "type": "integer"
  22837. },
  22838. "deliverygoodsname": {
  22839. "description": "现货品种名称",
  22840. "type": "string"
  22841. },
  22842. "enumdicname": {
  22843. "description": "现货单位名称",
  22844. "type": "string"
  22845. },
  22846. "middlegoodsid": {
  22847. "description": "套保品种ID",
  22848. "type": "integer"
  22849. },
  22850. "middlegoodspricedqty3": {
  22851. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  22852. "type": "number"
  22853. },
  22854. "needhedgeratio": {
  22855. "description": "套保比例",
  22856. "type": "number"
  22857. },
  22858. "pricedqty": {
  22859. "description": "已定价量",
  22860. "type": "number"
  22861. },
  22862. "relatedmiddlegoodsqty": {
  22863. "description": "已关联量(套保品种)(期货)",
  22864. "type": "number"
  22865. },
  22866. "spotcontractid": {
  22867. "description": "合同编号",
  22868. "type": "string"
  22869. },
  22870. "unitid": {
  22871. "description": "现货单位id",
  22872. "type": "integer"
  22873. },
  22874. "userid": {
  22875. "description": "用户id",
  22876. "type": "integer"
  22877. },
  22878. "vatrate": {
  22879. "description": "增值税率",
  22880. "type": "number"
  22881. },
  22882. "wrstandardcode": {
  22883. "description": "现货商品代码",
  22884. "type": "string"
  22885. },
  22886. "wrstandardid": {
  22887. "description": "现货商品id",
  22888. "type": "integer"
  22889. },
  22890. "wrstandardname": {
  22891. "description": "现货商品名称",
  22892. "type": "string"
  22893. }
  22894. }
  22895. },
  22896. "models.Ermcp3SCMiddleGoodsReport": {
  22897. "type": "object",
  22898. "properties": {
  22899. "begindate": {
  22900. "description": "开始交易日",
  22901. "type": "string"
  22902. },
  22903. "contractno": {
  22904. "description": "合同编号",
  22905. "type": "string"
  22906. },
  22907. "contracttype": {
  22908. "description": "合同类型 1:采购 -1:销售",
  22909. "type": "integer"
  22910. },
  22911. "convertratio": {
  22912. "description": "折算系数",
  22913. "type": "number"
  22914. },
  22915. "cycletime": {
  22916. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22917. "type": "string"
  22918. },
  22919. "cycletype": {
  22920. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22921. "type": "integer"
  22922. },
  22923. "deliverygoodscode": {
  22924. "description": "品种代码",
  22925. "type": "string"
  22926. },
  22927. "deliverygoodsid": {
  22928. "description": "现货品种ID",
  22929. "type": "integer"
  22930. },
  22931. "deliverygoodsname": {
  22932. "description": "品种名称",
  22933. "type": "string"
  22934. },
  22935. "diffprice": {
  22936. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  22937. "type": "number"
  22938. },
  22939. "diffqty": {
  22940. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  22941. "type": "number"
  22942. },
  22943. "enddate": {
  22944. "description": "结束交易日",
  22945. "type": "string"
  22946. },
  22947. "hedgeplanqty": {
  22948. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  22949. "type": "number"
  22950. },
  22951. "matchname": {
  22952. "description": "交易对手方(个人:用户名称 企业:简称)",
  22953. "type": "string"
  22954. },
  22955. "middlegoodscode": {
  22956. "description": "套保品种代码",
  22957. "type": "string"
  22958. },
  22959. "middlegoodsid": {
  22960. "description": "套保品种ID",
  22961. "type": "integer"
  22962. },
  22963. "middlegoodsname": {
  22964. "description": "套保品种名称",
  22965. "type": "string"
  22966. },
  22967. "middlegoodspricedqty": {
  22968. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  22969. "type": "number"
  22970. },
  22971. "middlegoodspricedqty2": {
  22972. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  22973. "type": "number"
  22974. },
  22975. "middlegoodspricedqty3": {
  22976. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  22977. "type": "number"
  22978. },
  22979. "needhedgeratio": {
  22980. "description": "套保系数",
  22981. "type": "number"
  22982. },
  22983. "pricedamount": {
  22984. "description": "已定价额(现货)",
  22985. "type": "number"
  22986. },
  22987. "pricedamount2": {
  22988. "description": "已定价额(现货-基价额)",
  22989. "type": "number"
  22990. },
  22991. "pricedqty": {
  22992. "description": "已定价量(现货)",
  22993. "type": "number"
  22994. },
  22995. "reckondate": {
  22996. "description": "日照时期(yyyyMMdd)",
  22997. "type": "string"
  22998. },
  22999. "relatedmiddlegoodsamount": {
  23000. "description": "已关联额(期货)",
  23001. "type": "number"
  23002. },
  23003. "relatedmiddlegoodsqty": {
  23004. "description": "已关联量(套保品种)(期货)",
  23005. "type": "number"
  23006. },
  23007. "spotcontractid": {
  23008. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  23009. "type": "string"
  23010. },
  23011. "todayavgfutuprice": {
  23012. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty",
  23013. "type": "number"
  23014. },
  23015. "todayavgprice": {
  23016. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  23017. "type": "number"
  23018. },
  23019. "todayavgprice2": {
  23020. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  23021. "type": "number"
  23022. },
  23023. "todaypricedamount": {
  23024. "description": "今日定价额(现货)",
  23025. "type": "number"
  23026. },
  23027. "todaypricedamount2": {
  23028. "description": "今日定价额(现货-基价额)",
  23029. "type": "number"
  23030. },
  23031. "todaypricedqty": {
  23032. "description": "今日定价量(现货)",
  23033. "type": "number"
  23034. },
  23035. "todayrelatedfutureqty": {
  23036. "description": "今日关联量(期货)",
  23037. "type": "number"
  23038. },
  23039. "todayrelatedmiddlegoodsamount": {
  23040. "description": "今日关联额(期货)",
  23041. "type": "number"
  23042. },
  23043. "todayrelatedmiddlegoodsqty": {
  23044. "description": "今日关联量(套保品-期货)",
  23045. "type": "number"
  23046. },
  23047. "updatetime": {
  23048. "description": "更新时间",
  23049. "type": "string"
  23050. },
  23051. "userid": {
  23052. "description": "合同所属用户id",
  23053. "type": "integer"
  23054. },
  23055. "vatrate": {
  23056. "description": "增值税率",
  23057. "type": "number"
  23058. },
  23059. "wrstandardcode": {
  23060. "description": "商品(品类) 代码",
  23061. "type": "string"
  23062. },
  23063. "wrstandardid": {
  23064. "description": "现货商品ID",
  23065. "type": "integer"
  23066. },
  23067. "wrstandardname": {
  23068. "description": "商品(品类) 名称",
  23069. "type": "string"
  23070. }
  23071. }
  23072. },
  23073. "models.Ermcp3SellBuyContract": {
  23074. "type": "object",
  23075. "properties": {
  23076. "accountid": {
  23077. "description": "期货账户id",
  23078. "type": "string"
  23079. },
  23080. "accountname": {
  23081. "description": "账户名称",
  23082. "type": "string"
  23083. },
  23084. "attachment": {
  23085. "description": "附件",
  23086. "type": "string"
  23087. },
  23088. "audittime": {
  23089. "description": "审核时间",
  23090. "type": "string"
  23091. },
  23092. "bizsubjectid": {
  23093. "description": "归属业务部门ID - SubjectID",
  23094. "type": "integer"
  23095. },
  23096. "biztype": {
  23097. "description": "业务类型 1-套保 2-套利",
  23098. "type": "integer"
  23099. },
  23100. "brandname": {
  23101. "description": "品牌名称",
  23102. "type": "string"
  23103. },
  23104. "contracctstatus": {
  23105. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23106. "type": "integer"
  23107. },
  23108. "contractmargin": {
  23109. "description": "合同保证金",
  23110. "type": "number"
  23111. },
  23112. "contractno": {
  23113. "description": "合同编号",
  23114. "type": "string"
  23115. },
  23116. "contracttype": {
  23117. "description": "合同类型 1-采购, -1-销售",
  23118. "type": "integer"
  23119. },
  23120. "convertfactor": {
  23121. "description": "标仓系数(品类)",
  23122. "type": "number"
  23123. },
  23124. "createtime": {
  23125. "description": "创建时间",
  23126. "type": "string"
  23127. },
  23128. "currencyid": {
  23129. "description": "币种id",
  23130. "type": "integer"
  23131. },
  23132. "currencyname": {
  23133. "description": "币种名称",
  23134. "type": "string"
  23135. },
  23136. "daikaiamount": {
  23137. "description": "应收(开)票额",
  23138. "type": "number"
  23139. },
  23140. "deliveryenddate": {
  23141. "description": "交割结束日",
  23142. "type": "string"
  23143. },
  23144. "deliverygoodscode": {
  23145. "description": "现货品种代码",
  23146. "type": "string"
  23147. },
  23148. "deliverygoodsid": {
  23149. "description": "现货商品ID",
  23150. "type": "integer"
  23151. },
  23152. "deliverygoodsname": {
  23153. "description": "现货品种名称",
  23154. "type": "string"
  23155. },
  23156. "deliverystartdate": {
  23157. "description": "交割开始日",
  23158. "type": "string"
  23159. },
  23160. "enddate": {
  23161. "description": "点价结束日",
  23162. "type": "string"
  23163. },
  23164. "enumdicname": {
  23165. "description": "单位名称",
  23166. "type": "string"
  23167. },
  23168. "goodscode": {
  23169. "description": "点价商品代码",
  23170. "type": "string"
  23171. },
  23172. "goodsgroupid": {
  23173. "description": "点价商品组id",
  23174. "type": "integer"
  23175. },
  23176. "goodsid": {
  23177. "description": "点价商品ID",
  23178. "type": "integer"
  23179. },
  23180. "goodsname": {
  23181. "description": "点价商品名称",
  23182. "type": "string"
  23183. },
  23184. "invoiceamount": {
  23185. "description": "已开票额",
  23186. "type": "number"
  23187. },
  23188. "loanamount": {
  23189. "description": "贷款总额=已定价额+调整金额",
  23190. "type": "number"
  23191. },
  23192. "margin": {
  23193. "description": "保证金",
  23194. "type": "number"
  23195. },
  23196. "meruserid": {
  23197. "description": "跟单员id",
  23198. "type": "integer"
  23199. },
  23200. "meruserlogincode": {
  23201. "description": "跟单员登录代码",
  23202. "type": "string"
  23203. },
  23204. "merusername": {
  23205. "description": "跟单员名称",
  23206. "type": "string"
  23207. },
  23208. "nickname": {
  23209. "description": "账户昵称",
  23210. "type": "string"
  23211. },
  23212. "orireckonrealqty": {
  23213. "description": "应交收量",
  23214. "type": "number"
  23215. },
  23216. "payamount": {
  23217. "description": "已收付额(收款或付款)",
  23218. "type": "number"
  23219. },
  23220. "preinvoiceamount": {
  23221. "description": "预收(开)票额",
  23222. "type": "number"
  23223. },
  23224. "prepayamount": {
  23225. "description": "预收付额",
  23226. "type": "number"
  23227. },
  23228. "price": {
  23229. "description": "价格",
  23230. "type": "number"
  23231. },
  23232. "pricedamount": {
  23233. "description": "已定价额",
  23234. "type": "number"
  23235. },
  23236. "pricedavg": {
  23237. "description": "已点均价",
  23238. "type": "number"
  23239. },
  23240. "pricedqty": {
  23241. "description": "已定价量",
  23242. "type": "number"
  23243. },
  23244. "pricemove": {
  23245. "description": "升贴水",
  23246. "type": "number"
  23247. },
  23248. "pricetype": {
  23249. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  23250. "type": "integer"
  23251. },
  23252. "producttype": {
  23253. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  23254. "type": "integer"
  23255. },
  23256. "qty": {
  23257. "description": "合同量",
  23258. "type": "number"
  23259. },
  23260. "reckonadjustamount": {
  23261. "description": "调整金额",
  23262. "type": "number"
  23263. },
  23264. "reckonedamount": {
  23265. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  23266. "type": "number"
  23267. },
  23268. "reckonotheramount": {
  23269. "description": "其它费用",
  23270. "type": "number"
  23271. },
  23272. "reckonrealqty": {
  23273. "description": "已交收量",
  23274. "type": "number"
  23275. },
  23276. "remark": {
  23277. "description": "备注",
  23278. "type": "string"
  23279. },
  23280. "saleuserid": {
  23281. "description": "业务员id",
  23282. "type": "integer"
  23283. },
  23284. "saleuserlogincode": {
  23285. "description": "业务员登录代码",
  23286. "type": "string"
  23287. },
  23288. "saleusername": {
  23289. "description": "业务员名称",
  23290. "type": "string"
  23291. },
  23292. "spotcontractid": {
  23293. "description": "合同ID",
  23294. "type": "string"
  23295. },
  23296. "spotgoodsbrandid": {
  23297. "description": "现货品牌ID(DGFactoryItem表的ID)",
  23298. "type": "integer"
  23299. },
  23300. "spotgoodsdesc": {
  23301. "description": "商品型号(商品规格)",
  23302. "type": "string"
  23303. },
  23304. "startdate": {
  23305. "description": "点价开始日",
  23306. "type": "string"
  23307. },
  23308. "subjectid": {
  23309. "description": "交易主体ID",
  23310. "type": "integer"
  23311. },
  23312. "subjectname": {
  23313. "description": "交易主体名称",
  23314. "type": "string"
  23315. },
  23316. "totalamount": {
  23317. "description": "合计总额",
  23318. "type": "number"
  23319. },
  23320. "tradeuserid": {
  23321. "description": "交易员id",
  23322. "type": "integer"
  23323. },
  23324. "tradeuserlogincode": {
  23325. "description": "交易员登录代码",
  23326. "type": "string"
  23327. },
  23328. "tradeusername": {
  23329. "description": "交易员名称",
  23330. "type": "string"
  23331. },
  23332. "unpayamount": {
  23333. "description": "应收付款额(应支付或应收款)",
  23334. "type": "number"
  23335. },
  23336. "unpricedqty": {
  23337. "description": "未定价量",
  23338. "type": "number"
  23339. },
  23340. "unsureqty": {
  23341. "description": "未确定量",
  23342. "type": "number"
  23343. },
  23344. "userid": {
  23345. "description": "机构ID",
  23346. "type": "integer"
  23347. },
  23348. "vatrate": {
  23349. "description": "增值税率",
  23350. "type": "number"
  23351. },
  23352. "wrstandardcode": {
  23353. "description": "品类代码",
  23354. "type": "string"
  23355. },
  23356. "wrstandardid": {
  23357. "description": "品类ID",
  23358. "type": "integer"
  23359. },
  23360. "wrstandardname": {
  23361. "description": "品类名称",
  23362. "type": "string"
  23363. }
  23364. }
  23365. },
  23366. "models.Ermcp3SpotGoodsPrice": {
  23367. "type": "object",
  23368. "properties": {
  23369. "areauserid": {
  23370. "description": "所属机构id",
  23371. "type": "integer"
  23372. },
  23373. "brandname": {
  23374. "description": "品牌名称",
  23375. "type": "string"
  23376. },
  23377. "currencyid": {
  23378. "description": "报价货币ID",
  23379. "type": "integer"
  23380. },
  23381. "currencyname": {
  23382. "description": "币种名称",
  23383. "type": "string"
  23384. },
  23385. "deliverygoodscode": {
  23386. "description": "现货商品代码",
  23387. "type": "string"
  23388. },
  23389. "deliverygoodsid": {
  23390. "description": "现货商品id",
  23391. "type": "integer"
  23392. },
  23393. "deliverygoodsname": {
  23394. "description": "现货商品名称",
  23395. "type": "string"
  23396. },
  23397. "enumdicname": {
  23398. "description": "现货商品单位名称",
  23399. "type": "string"
  23400. },
  23401. "gbenumdicname": {
  23402. "description": "品类单位名称",
  23403. "type": "string"
  23404. },
  23405. "gmunitid": {
  23406. "description": "品类单位id",
  23407. "type": "integer"
  23408. },
  23409. "isvalid": {
  23410. "description": "是否有效 - 0:无效 1:有效",
  23411. "type": "integer"
  23412. },
  23413. "operateid": {
  23414. "description": "最后操作人",
  23415. "type": "integer"
  23416. },
  23417. "operatesrc": {
  23418. "description": "最后操作来源 - 1:管理端 2:终端",
  23419. "type": "integer"
  23420. },
  23421. "operatetime": {
  23422. "description": "最后操作时间",
  23423. "type": "string"
  23424. },
  23425. "operatorname": {
  23426. "description": "操作人名称",
  23427. "type": "string"
  23428. },
  23429. "spotgoodsbrandid": {
  23430. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23431. "type": "integer"
  23432. },
  23433. "spotgoodsprice": {
  23434. "description": "现货价格",
  23435. "type": "number"
  23436. },
  23437. "tradedate": {
  23438. "description": "交易日(yyyyMMdd)",
  23439. "type": "string"
  23440. },
  23441. "unitid": {
  23442. "description": "现货商品单位id",
  23443. "type": "integer"
  23444. },
  23445. "wrstandardcode": {
  23446. "description": "品类代码",
  23447. "type": "string"
  23448. },
  23449. "wrstandardid": {
  23450. "description": "现货品类ID(通用则为0)",
  23451. "type": "integer"
  23452. },
  23453. "wrstandardname": {
  23454. "description": "品类名称",
  23455. "type": "string"
  23456. }
  23457. }
  23458. },
  23459. "models.Ermcp3SpotGoodsPriceLog": {
  23460. "type": "object",
  23461. "properties": {
  23462. "areauserid": {
  23463. "description": "所属机构id",
  23464. "type": "integer"
  23465. },
  23466. "brandname": {
  23467. "description": "品牌名称",
  23468. "type": "string"
  23469. },
  23470. "currencyid": {
  23471. "description": "报价货币ID",
  23472. "type": "integer"
  23473. },
  23474. "deliverygoodscode": {
  23475. "description": "现货商品代码",
  23476. "type": "string"
  23477. },
  23478. "deliverygoodsid": {
  23479. "description": "现货商品id",
  23480. "type": "integer"
  23481. },
  23482. "deliverygoodsname": {
  23483. "description": "现货商品名称",
  23484. "type": "string"
  23485. },
  23486. "enumdicname": {
  23487. "description": "现货商品单位名称",
  23488. "type": "string"
  23489. },
  23490. "gbenumdicname": {
  23491. "description": "品类单位名称",
  23492. "type": "string"
  23493. },
  23494. "gmunitid": {
  23495. "description": "品类单位id",
  23496. "type": "integer"
  23497. },
  23498. "logid": {
  23499. "description": "日志id",
  23500. "type": "integer"
  23501. },
  23502. "operateid": {
  23503. "description": "最后操作人",
  23504. "type": "integer"
  23505. },
  23506. "operatesrc": {
  23507. "description": "最后操作来源 - 1:管理端 2:终端",
  23508. "type": "integer"
  23509. },
  23510. "operatetime": {
  23511. "description": "最后操作时间",
  23512. "type": "string"
  23513. },
  23514. "operatorname": {
  23515. "description": "操作人名称",
  23516. "type": "string"
  23517. },
  23518. "spotgoodsbrandid": {
  23519. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23520. "type": "integer"
  23521. },
  23522. "spotgoodsprice": {
  23523. "description": "现货价格",
  23524. "type": "number"
  23525. },
  23526. "tradedate": {
  23527. "description": "交易日(yyyyMMdd)",
  23528. "type": "string"
  23529. },
  23530. "unitid": {
  23531. "description": "现货商品单位id",
  23532. "type": "integer"
  23533. },
  23534. "wrstandardcode": {
  23535. "description": "品类代码",
  23536. "type": "string"
  23537. },
  23538. "wrstandardid": {
  23539. "description": "现货品类ID(通用则为0)",
  23540. "type": "integer"
  23541. },
  23542. "wrstandardname": {
  23543. "description": "品类名称",
  23544. "type": "string"
  23545. }
  23546. }
  23547. },
  23548. "models.Ermcp3SubTaaccount": {
  23549. "type": "object",
  23550. "properties": {
  23551. "accountid": {
  23552. "description": "资金账户ID",
  23553. "type": "integer"
  23554. },
  23555. "parentaccountcode": {
  23556. "description": "所属根账号代码(母账号代码)",
  23557. "type": "string"
  23558. },
  23559. "parentaccountid": {
  23560. "description": "所属根账号(母账号)",
  23561. "type": "integer"
  23562. },
  23563. "taname": {
  23564. "description": "资金账号名称",
  23565. "type": "string"
  23566. },
  23567. "tradestatus": {
  23568. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  23569. "type": "integer"
  23570. },
  23571. "username": {
  23572. "description": "交易用户",
  23573. "type": "string"
  23574. }
  23575. }
  23576. },
  23577. "models.Ermcp3TaFutuReDataReport": {
  23578. "type": "object",
  23579. "properties": {
  23580. "accountid": {
  23581. "description": "交易账户",
  23582. "type": "integer"
  23583. },
  23584. "accountname": {
  23585. "description": "交易账号名称",
  23586. "type": "string"
  23587. },
  23588. "agreeunit": {
  23589. "description": "商品合约单位",
  23590. "type": "number"
  23591. },
  23592. "begindate": {
  23593. "description": "开始交易日",
  23594. "type": "string"
  23595. },
  23596. "buyorsell": {
  23597. "description": "持仓方向",
  23598. "type": "integer"
  23599. },
  23600. "charge": {
  23601. "description": "手续费",
  23602. "type": "number"
  23603. },
  23604. "closeavgprice": {
  23605. "description": "平仓均价",
  23606. "type": "number"
  23607. },
  23608. "closepl": {
  23609. "description": "平仓损益",
  23610. "type": "number"
  23611. },
  23612. "currencyid": {
  23613. "description": "结算币种ID",
  23614. "type": "integer"
  23615. },
  23616. "currencyname": {
  23617. "description": "币种名称",
  23618. "type": "string"
  23619. },
  23620. "cycletime": {
  23621. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23622. "type": "string"
  23623. },
  23624. "cycletype": {
  23625. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23626. "type": "integer"
  23627. },
  23628. "enddate": {
  23629. "description": "结束交易日",
  23630. "type": "string"
  23631. },
  23632. "enumdicname": {
  23633. "description": "单位名称",
  23634. "type": "string"
  23635. },
  23636. "floatpl": {
  23637. "description": "浮动损益",
  23638. "type": "number"
  23639. },
  23640. "goodscode": {
  23641. "description": "交易合约代码",
  23642. "type": "string"
  23643. },
  23644. "goodsgroupid": {
  23645. "description": "交易品种",
  23646. "type": "integer"
  23647. },
  23648. "goodsgroupname": {
  23649. "description": "交易品种名称",
  23650. "type": "string"
  23651. },
  23652. "goodsgroupspotqty": {
  23653. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  23654. "type": "number"
  23655. },
  23656. "goodsid": {
  23657. "description": "交易合约",
  23658. "type": "integer"
  23659. },
  23660. "goodsname": {
  23661. "description": "交易合约名称",
  23662. "type": "string"
  23663. },
  23664. "goodunitid": {
  23665. "description": "交易合约单位id",
  23666. "type": "integer"
  23667. },
  23668. "holdamount": {
  23669. "description": "期末持仓额",
  23670. "type": "number"
  23671. },
  23672. "holdqty": {
  23673. "description": "期末持仓量",
  23674. "type": "number"
  23675. },
  23676. "lastholdamount": {
  23677. "description": "当前持仓额",
  23678. "type": "number"
  23679. },
  23680. "lastprice": {
  23681. "description": "最新价",
  23682. "type": "number"
  23683. },
  23684. "middlegoodsid": {
  23685. "description": "套保品种id",
  23686. "type": "integer"
  23687. },
  23688. "middlegoodsname": {
  23689. "description": "套保商品名称",
  23690. "type": "string"
  23691. },
  23692. "middlegoodsqty": {
  23693. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  23694. "type": "number"
  23695. },
  23696. "middlgoodscode": {
  23697. "description": "套保商品代码",
  23698. "type": "string"
  23699. },
  23700. "openamount": {
  23701. "description": "期末开仓额",
  23702. "type": "number"
  23703. },
  23704. "openavgprice": {
  23705. "description": "开仓均价",
  23706. "type": "number"
  23707. },
  23708. "oriholdamount": {
  23709. "description": "期初持仓额",
  23710. "type": "number"
  23711. },
  23712. "oriholdqty": {
  23713. "description": "期初持仓量",
  23714. "type": "number"
  23715. },
  23716. "oriopenamount": {
  23717. "description": "期初开仓额",
  23718. "type": "number"
  23719. },
  23720. "outergroupcode": {
  23721. "description": "交易品种代码",
  23722. "type": "string"
  23723. },
  23724. "qtydecimalplace": {
  23725. "description": "成交量小数位",
  23726. "type": "integer"
  23727. },
  23728. "reckondate": {
  23729. "description": "日照时期(yyyyMMdd)",
  23730. "type": "string"
  23731. },
  23732. "reckonholdamount": {
  23733. "description": "结算持仓额",
  23734. "type": "number"
  23735. },
  23736. "reckonpl": {
  23737. "description": "结算损益",
  23738. "type": "number"
  23739. },
  23740. "reckonpl2": {
  23741. "description": "结算逐笔盈亏",
  23742. "type": "number"
  23743. },
  23744. "reckonprice": {
  23745. "description": "结算价",
  23746. "type": "number"
  23747. },
  23748. "relateduserid": {
  23749. "description": "账户关联用户ID",
  23750. "type": "integer"
  23751. },
  23752. "todaycloseamount": {
  23753. "description": "今平仓额",
  23754. "type": "number"
  23755. },
  23756. "todaycloseqty": {
  23757. "description": "今平仓量",
  23758. "type": "number"
  23759. },
  23760. "todaygoodsgroupspotqty": {
  23761. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  23762. "type": "number"
  23763. },
  23764. "todaymiddlegoodsqty": {
  23765. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  23766. "type": "number"
  23767. },
  23768. "todayopenamount": {
  23769. "description": "今开仓额",
  23770. "type": "number"
  23771. },
  23772. "todayopenqty": {
  23773. "description": "今开仓量",
  23774. "type": "number"
  23775. },
  23776. "userid": {
  23777. "description": "账户所属用户ID",
  23778. "type": "integer"
  23779. }
  23780. }
  23781. },
  23782. "models.Ermcp3TradeLinkDetail": {
  23783. "type": "object",
  23784. "properties": {
  23785. "accountid": {
  23786. "description": "资金账号",
  23787. "type": "integer"
  23788. },
  23789. "agreeunit": {
  23790. "description": "合约乘数",
  23791. "type": "number"
  23792. },
  23793. "areauserid": {
  23794. "description": "所属机构",
  23795. "type": "string"
  23796. },
  23797. "bizsubjectid": {
  23798. "description": "归属业务部门ID - SubjectID",
  23799. "type": "string"
  23800. },
  23801. "buyorsell": {
  23802. "description": "方向 - 0:买 1:卖",
  23803. "type": "integer"
  23804. },
  23805. "channelbuildtype": {
  23806. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23807. "type": "integer"
  23808. },
  23809. "contractno": {
  23810. "description": "现货编号 (合同编号)",
  23811. "type": "string"
  23812. },
  23813. "convertratio": {
  23814. "description": "折算系数",
  23815. "type": "number"
  23816. },
  23817. "createtime": {
  23818. "description": "关联时间 | 创建时间",
  23819. "type": "string"
  23820. },
  23821. "creatorid": {
  23822. "description": "创建人ID",
  23823. "type": "string"
  23824. },
  23825. "creatorsrc": {
  23826. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  23827. "type": "integer"
  23828. },
  23829. "enumdicname": {
  23830. "description": "单位名称",
  23831. "type": "string"
  23832. },
  23833. "goodscode": {
  23834. "description": "合约代码",
  23835. "type": "string"
  23836. },
  23837. "goodsgroupid": {
  23838. "description": "对冲品种ID[期货合约商品组ID]",
  23839. "type": "integer"
  23840. },
  23841. "goodsid": {
  23842. "description": "商品ID",
  23843. "type": "integer"
  23844. },
  23845. "goodsname": {
  23846. "description": "合约名称",
  23847. "type": "string"
  23848. },
  23849. "hedgeflag": {
  23850. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  23851. "type": "integer"
  23852. },
  23853. "linkdetailid": {
  23854. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  23855. "type": "string"
  23856. },
  23857. "linkstatus": {
  23858. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  23859. "type": "integer"
  23860. },
  23861. "middlegoodscode": {
  23862. "description": "套保品种代码",
  23863. "type": "string"
  23864. },
  23865. "middlegoodsid": {
  23866. "description": "套保品种ID",
  23867. "type": "integer"
  23868. },
  23869. "middlegoodsname": {
  23870. "description": "套保品种名称",
  23871. "type": "string"
  23872. },
  23873. "relatedlot": {
  23874. "description": "关联手数",
  23875. "type": "number"
  23876. },
  23877. "relatedmode": {
  23878. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  23879. "type": "integer"
  23880. },
  23881. "relatedqty": {
  23882. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  23883. "type": "number"
  23884. },
  23885. "retcode": {
  23886. "description": "返回码",
  23887. "type": "integer"
  23888. },
  23889. "saleuserid": {
  23890. "description": "业务员ID",
  23891. "type": "string"
  23892. },
  23893. "spotcontractid": {
  23894. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  23895. "type": "string"
  23896. },
  23897. "taname": {
  23898. "description": "期货账户",
  23899. "type": "string"
  23900. },
  23901. "tradedate": {
  23902. "description": "关联交易日(yyyyMMdd)",
  23903. "type": "string"
  23904. },
  23905. "tradeid": {
  23906. "description": "期货订单号 | 内部成交单ID",
  23907. "type": "string"
  23908. },
  23909. "tradelot": {
  23910. "description": "成交数量 | 成交手数",
  23911. "type": "integer"
  23912. },
  23913. "tradeprice": {
  23914. "description": "成交价格",
  23915. "type": "number"
  23916. },
  23917. "tradetime": {
  23918. "description": "期货成交时间",
  23919. "type": "string"
  23920. },
  23921. "tradetradedate": {
  23922. "description": "成交交易日(yyyyMMdd)",
  23923. "type": "string"
  23924. },
  23925. "username": {
  23926. "description": "用户名称",
  23927. "type": "string"
  23928. }
  23929. }
  23930. },
  23931. "models.Ermcp3Wrstandard": {
  23932. "type": "object",
  23933. "properties": {
  23934. "areauserid": {
  23935. "description": "所属机构",
  23936. "type": "integer"
  23937. },
  23938. "cantrade": {
  23939. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  23940. "type": "integer"
  23941. },
  23942. "convertfactor": {
  23943. "description": "标仓系数",
  23944. "type": "number"
  23945. },
  23946. "createtime": {
  23947. "description": "创建时间",
  23948. "type": "string"
  23949. },
  23950. "creatorid": {
  23951. "description": "创建人",
  23952. "type": "integer"
  23953. },
  23954. "deliverygoodsid": {
  23955. "description": "现货品种ID",
  23956. "type": "integer"
  23957. },
  23958. "enumdicname": {
  23959. "description": "品类单位名称",
  23960. "type": "string"
  23961. },
  23962. "isvalid": {
  23963. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  23964. "type": "integer"
  23965. },
  23966. "minivalue": {
  23967. "description": "最小变动值",
  23968. "type": "integer"
  23969. },
  23970. "minivaluedp": {
  23971. "description": "最小变动值小数位",
  23972. "type": "integer"
  23973. },
  23974. "realminivalue": {
  23975. "description": "实际最小变动值",
  23976. "type": "integer"
  23977. },
  23978. "realminivaluedp": {
  23979. "description": "实际最小变动值小数位",
  23980. "type": "integer"
  23981. },
  23982. "remark": {
  23983. "description": "备注",
  23984. "type": "string"
  23985. },
  23986. "unitid": {
  23987. "description": "品类单位ID",
  23988. "type": "integer"
  23989. },
  23990. "updatetime": {
  23991. "description": "更新时间",
  23992. "type": "string"
  23993. },
  23994. "wrstandardcode": {
  23995. "description": "品类代码",
  23996. "type": "string"
  23997. },
  23998. "wrstandardid": {
  23999. "description": "品类ID(SEQ_WRSTANDARD)",
  24000. "type": "integer"
  24001. },
  24002. "wrstandardname": {
  24003. "description": "品类名称",
  24004. "type": "string"
  24005. }
  24006. }
  24007. },
  24008. "models.ErmcpBizGroupEx": {
  24009. "type": "object",
  24010. "properties": {
  24011. "acclist": {
  24012. "description": "账号列表",
  24013. "type": "array",
  24014. "items": {
  24015. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  24016. }
  24017. },
  24018. "bizgroupid": {
  24019. "description": "业务分组id",
  24020. "type": "integer"
  24021. },
  24022. "biztype": {
  24023. "description": "业务类型 1-套保 2-套利",
  24024. "type": "integer"
  24025. },
  24026. "wrlist": {
  24027. "description": "现货商品表",
  24028. "type": "array",
  24029. "items": {
  24030. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  24031. }
  24032. }
  24033. }
  24034. },
  24035. "models.ErmcpBizGroupSpotGoods": {
  24036. "type": "object",
  24037. "properties": {
  24038. "areauserid": {
  24039. "description": "所属机构id",
  24040. "type": "integer"
  24041. },
  24042. "bizgroupid": {
  24043. "description": "分组id",
  24044. "type": "integer"
  24045. },
  24046. "biztype": {
  24047. "description": "业务类型 1-套保 2-套利",
  24048. "type": "integer"
  24049. },
  24050. "deliverygoodscode": {
  24051. "description": "现货商品代码",
  24052. "type": "string"
  24053. },
  24054. "deliverygoodsid": {
  24055. "description": "现货商品id",
  24056. "type": "integer"
  24057. },
  24058. "deliverygoodsname": {
  24059. "description": "现货商品名称",
  24060. "type": "string"
  24061. },
  24062. "unitid": {
  24063. "description": "现货商品单位id",
  24064. "type": "integer"
  24065. }
  24066. }
  24067. },
  24068. "models.ErmcpBizGroupTaAccount": {
  24069. "type": "object",
  24070. "properties": {
  24071. "accountid": {
  24072. "description": "账号id",
  24073. "type": "integer"
  24074. },
  24075. "accountname": {
  24076. "description": "账号名称",
  24077. "type": "string"
  24078. },
  24079. "areauserid": {
  24080. "description": "所属机构id",
  24081. "type": "integer"
  24082. },
  24083. "bizgroupid": {
  24084. "description": "业务分组id",
  24085. "type": "integer"
  24086. },
  24087. "ismain": {
  24088. "description": "是否主账号 1-是 0-否",
  24089. "type": "integer"
  24090. }
  24091. }
  24092. },
  24093. "models.ErmcpDGFactoryItem": {
  24094. "type": "object",
  24095. "properties": {
  24096. "areauserid": {
  24097. "description": "用户id",
  24098. "type": "integer"
  24099. },
  24100. "deliverygoodsid": {
  24101. "description": "现货品种ID",
  24102. "type": "integer"
  24103. },
  24104. "dgfactoryitemid": {
  24105. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  24106. "type": "integer"
  24107. },
  24108. "dgfactoryitemtypeid": {
  24109. "description": "要素项类型",
  24110. "type": "integer"
  24111. },
  24112. "dgfactoryitemvalue": {
  24113. "description": "要素项值(类型为仓库时填写仓库名称)",
  24114. "type": "string"
  24115. },
  24116. "isvalid": {
  24117. "description": "是否有效 - 0:无效 1:有效",
  24118. "type": "integer"
  24119. },
  24120. "orderindex": {
  24121. "description": "顺序",
  24122. "type": "integer"
  24123. },
  24124. "warehouseid": {
  24125. "description": "仓库ID(类型为仓库时填写)",
  24126. "type": "integer"
  24127. }
  24128. }
  24129. },
  24130. "models.ErmcpDeliveryGoods": {
  24131. "type": "object",
  24132. "properties": {
  24133. "agreeunit": {
  24134. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  24135. "type": "integer"
  24136. },
  24137. "areauserid": {
  24138. "description": "所属机构",
  24139. "type": "integer"
  24140. },
  24141. "auditflag": {
  24142. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  24143. "type": "integer"
  24144. },
  24145. "categoryid": {
  24146. "description": "类别ID(SEQ_WRCATEGORY)",
  24147. "type": "integer"
  24148. },
  24149. "deliverygoodscode": {
  24150. "description": "现货品种代码",
  24151. "type": "string"
  24152. },
  24153. "deliverygoodsid": {
  24154. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  24155. "type": "integer"
  24156. },
  24157. "deliverygoodsname": {
  24158. "description": "现货品种名称",
  24159. "type": "string"
  24160. },
  24161. "deliverygoodstype": {
  24162. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  24163. "type": "integer"
  24164. },
  24165. "dgstatus": {
  24166. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  24167. "type": "integer"
  24168. },
  24169. "enumdicname": {
  24170. "description": "现货品种单位名称",
  24171. "type": "string"
  24172. },
  24173. "goodsunitid": {
  24174. "description": "现货品种单位ID",
  24175. "type": "integer"
  24176. },
  24177. "isvalid": {
  24178. "description": "是否有效 - 0:无效 1:有效",
  24179. "type": "integer"
  24180. },
  24181. "qtydecimalplace": {
  24182. "description": "成交量小数位",
  24183. "type": "integer"
  24184. },
  24185. "remark": {
  24186. "description": "备注",
  24187. "type": "string"
  24188. },
  24189. "standardqty": {
  24190. "description": "标准数量(库位数量) [标准品特有]",
  24191. "type": "integer"
  24192. },
  24193. "standardqtyrange": {
  24194. "description": "标准数量偏差范围 [标准品特有]",
  24195. "type": "integer"
  24196. }
  24197. }
  24198. },
  24199. "models.ErmcpFuturesCompany": {
  24200. "type": "object",
  24201. "properties": {
  24202. "brokerid": {
  24203. "description": "经纪公司代码",
  24204. "type": "string"
  24205. },
  24206. "channeladdress": {
  24207. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  24208. "type": "string"
  24209. },
  24210. "channelid": {
  24211. "description": "对冲渠道ID",
  24212. "type": "string"
  24213. },
  24214. "createtime": {
  24215. "description": "创建时间",
  24216. "type": "string"
  24217. },
  24218. "creatorid": {
  24219. "description": "创建人",
  24220. "type": "string"
  24221. },
  24222. "fcid": {
  24223. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  24224. "type": "integer"
  24225. },
  24226. "fcname": {
  24227. "description": "期货公司名称",
  24228. "type": "string"
  24229. },
  24230. "isvalid": {
  24231. "description": "是否有效 - 0:无效 1:有效",
  24232. "type": "integer"
  24233. },
  24234. "mhpaddress": {
  24235. "description": "MHP服务地址(IP:Port)",
  24236. "type": "string"
  24237. },
  24238. "riskrulegroupid": {
  24239. "description": "风控规则组ID",
  24240. "type": "string"
  24241. },
  24242. "tradefeetmpid": {
  24243. "description": "手续费模板ID[TradeConfigTmpType为2]",
  24244. "type": "string"
  24245. },
  24246. "trademargintmpid": {
  24247. "description": "保证金模板ID [TradeConfigTmpType为1]",
  24248. "type": "string"
  24249. },
  24250. "traderatetmpid": {
  24251. "description": "汇率模板ID[TradeConfigTmpType为3]",
  24252. "type": "string"
  24253. },
  24254. "updatetime": {
  24255. "description": "更新时间",
  24256. "type": "string"
  24257. },
  24258. "updatorid": {
  24259. "description": "更新人",
  24260. "type": "string"
  24261. }
  24262. }
  24263. },
  24264. "models.ErmcpGGConvertCfg": {
  24265. "type": "object",
  24266. "properties": {
  24267. "convertratio": {
  24268. "description": "折算系数",
  24269. "type": "number"
  24270. },
  24271. "destgoodsgroupid": {
  24272. "description": "目标品种ID",
  24273. "type": "integer"
  24274. },
  24275. "dstcode": {
  24276. "description": "目录品种代码",
  24277. "type": "string"
  24278. },
  24279. "dstexchangecode": {
  24280. "description": "目标期货交易所",
  24281. "type": "string"
  24282. },
  24283. "dstname": {
  24284. "description": "目标品种名称",
  24285. "type": "string"
  24286. },
  24287. "dstunitid": {
  24288. "description": "目标品种单位ID",
  24289. "type": "integer"
  24290. },
  24291. "dstunitidname": {
  24292. "description": "目标品种单位名称",
  24293. "type": "string"
  24294. },
  24295. "modifytime": {
  24296. "description": "修改时间",
  24297. "type": "string"
  24298. },
  24299. "srccode": {
  24300. "description": "源品种代码",
  24301. "type": "string"
  24302. },
  24303. "srcexchangecode": {
  24304. "description": "源期货交易所",
  24305. "type": "string"
  24306. },
  24307. "srcgoodsgroupid": {
  24308. "description": "源品种ID",
  24309. "type": "integer"
  24310. },
  24311. "srcname": {
  24312. "description": "源品种名称",
  24313. "type": "string"
  24314. },
  24315. "srcunitid": {
  24316. "description": "源品种单位ID",
  24317. "type": "integer"
  24318. },
  24319. "srcunitidname": {
  24320. "description": "源品种单位名称",
  24321. "type": "string"
  24322. }
  24323. }
  24324. },
  24325. "models.ErmcpGoods": {
  24326. "type": "object",
  24327. "required": [
  24328. "goodscode",
  24329. "goodsid",
  24330. "goodsname",
  24331. "marketid"
  24332. ],
  24333. "properties": {
  24334. "agreeunit": {
  24335. "description": "合约单位",
  24336. "type": "number"
  24337. },
  24338. "areauserid": {
  24339. "description": "所属机构",
  24340. "type": "integer"
  24341. },
  24342. "auditaccountid": {
  24343. "description": "审核操作员账号",
  24344. "type": "integer"
  24345. },
  24346. "audittime": {
  24347. "description": "审核时间",
  24348. "type": "string"
  24349. },
  24350. "cancelaccountid": {
  24351. "description": "注销操作员账号",
  24352. "type": "integer"
  24353. },
  24354. "canceltime": {
  24355. "description": "注销时间",
  24356. "type": "string"
  24357. },
  24358. "closepricemode": {
  24359. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24360. "type": "integer"
  24361. },
  24362. "closepriceparam": {
  24363. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  24364. "type": "number"
  24365. },
  24366. "createtime": {
  24367. "description": "创建时间",
  24368. "type": "string"
  24369. },
  24370. "creatorid": {
  24371. "description": "创建人",
  24372. "type": "integer"
  24373. },
  24374. "currencyid": {
  24375. "description": "报价货币ID",
  24376. "type": "integer"
  24377. },
  24378. "cutmode": {
  24379. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  24380. "type": "integer"
  24381. },
  24382. "decimalplace": {
  24383. "description": "报价小数位",
  24384. "type": "integer"
  24385. },
  24386. "delistingdate": {
  24387. "description": "商品退市时间(状态:退市) -- 已作废",
  24388. "type": "string"
  24389. },
  24390. "delistingmode": {
  24391. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  24392. "type": "integer"
  24393. },
  24394. "deliveryflag": {
  24395. "description": "交割标志 - 0:不可交割 1:可交割",
  24396. "type": "integer"
  24397. },
  24398. "enumdicname": {
  24399. "description": "单位名称",
  24400. "type": "string"
  24401. },
  24402. "forceclosemode": {
  24403. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  24404. "type": "integer"
  24405. },
  24406. "forceclosevalue": {
  24407. "description": "定期强平参数 [收益权]",
  24408. "type": "integer"
  24409. },
  24410. "goodscode": {
  24411. "description": "商品代码(内部)",
  24412. "type": "string"
  24413. },
  24414. "goodscurrencyid": {
  24415. "description": "合约货币ID",
  24416. "type": "integer"
  24417. },
  24418. "goodsgroupid": {
  24419. "description": "所属商品组ID",
  24420. "type": "integer"
  24421. },
  24422. "goodsid": {
  24423. "description": "商品ID(自增ID SEQ_GOODS)",
  24424. "type": "integer"
  24425. },
  24426. "goodsname": {
  24427. "description": "商品名称",
  24428. "type": "string"
  24429. },
  24430. "goodsquotetype": {
  24431. "description": "合约报价类型: 1-直接报价 2-间接报价",
  24432. "type": "integer"
  24433. },
  24434. "goodsstatus": {
  24435. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24436. "type": "integer"
  24437. },
  24438. "goodstradetype": {
  24439. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  24440. "type": "integer"
  24441. },
  24442. "goodunitid": {
  24443. "description": "报价单位ID",
  24444. "type": "integer"
  24445. },
  24446. "hasquoter": {
  24447. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  24448. "type": "integer"
  24449. },
  24450. "hqprotecttime": {
  24451. "description": "行情保护时间(秒)",
  24452. "type": "integer"
  24453. },
  24454. "innerdealmode": {
  24455. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24456. "type": "integer"
  24457. },
  24458. "isbuylimited": {
  24459. "description": "是否限制建仓量 - 0:不限制 1:限制",
  24460. "type": "integer"
  24461. },
  24462. "isvisible": {
  24463. "description": "游客是否可见 - 0:不可见 1:可见",
  24464. "type": "integer"
  24465. },
  24466. "lasttradedate": {
  24467. "description": "最后交易日期(状态:待退市)",
  24468. "type": "string"
  24469. },
  24470. "listingdate": {
  24471. "description": "交易开始日期",
  24472. "type": "string"
  24473. },
  24474. "marketid": {
  24475. "description": "所属市场ID",
  24476. "type": "integer"
  24477. },
  24478. "modifierid": {
  24479. "description": "修改人",
  24480. "type": "integer"
  24481. },
  24482. "modifystatus": {
  24483. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  24484. "type": "integer"
  24485. },
  24486. "modifytime": {
  24487. "description": "修改时间",
  24488. "type": "string"
  24489. },
  24490. "outerdealmode": {
  24491. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24492. "type": "integer"
  24493. },
  24494. "outgoodscode": {
  24495. "description": "商品代码(外部)",
  24496. "type": "string"
  24497. },
  24498. "pictureurl": {
  24499. "description": "商品图片",
  24500. "type": "string"
  24501. },
  24502. "qtydecimalplace": {
  24503. "description": "成交量小数位",
  24504. "type": "integer"
  24505. },
  24506. "quotegear": {
  24507. "description": "行情档位(1-10)",
  24508. "type": "integer"
  24509. },
  24510. "quoteminunit": {
  24511. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24512. "type": "integer"
  24513. },
  24514. "quoteshowtype": {
  24515. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  24516. "type": "integer"
  24517. },
  24518. "quoteshowtypeinterval": {
  24519. "description": "行情报价间隔时间(秒)(成交价时为0)",
  24520. "type": "integer"
  24521. },
  24522. "relatedgoodsid": {
  24523. "description": "关联参考商品ID",
  24524. "type": "integer"
  24525. },
  24526. "remark": {
  24527. "description": "备注",
  24528. "type": "string"
  24529. },
  24530. "trademode": {
  24531. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24532. "type": "integer"
  24533. }
  24534. }
  24535. },
  24536. "models.ErmcpGoodsBrand": {
  24537. "type": "object",
  24538. "properties": {
  24539. "areauserid": {
  24540. "description": "所属机构",
  24541. "type": "integer"
  24542. },
  24543. "brandid": {
  24544. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  24545. "type": "integer"
  24546. },
  24547. "brandname": {
  24548. "description": "品牌名称",
  24549. "type": "string"
  24550. },
  24551. "createtime": {
  24552. "description": "创建时间",
  24553. "type": "string"
  24554. },
  24555. "creatorid": {
  24556. "description": "创建人",
  24557. "type": "integer"
  24558. },
  24559. "creatorsrc": {
  24560. "description": "创建人来源 - 1:管理端 2:终端",
  24561. "type": "integer"
  24562. },
  24563. "deliverygoodsid": {
  24564. "description": "现货品种ID",
  24565. "type": "integer"
  24566. },
  24567. "isvalid": {
  24568. "description": "是否有效 - 0:无效 1:有效",
  24569. "type": "integer"
  24570. },
  24571. "updatetime": {
  24572. "description": "更新时间",
  24573. "type": "string"
  24574. },
  24575. "updatorid": {
  24576. "description": "更新人",
  24577. "type": "integer"
  24578. },
  24579. "updatorsrc": {
  24580. "description": "更新人来源 - 1:管理端 2:终端",
  24581. "type": "integer"
  24582. },
  24583. "wrstandardid": {
  24584. "description": "现货商品ID",
  24585. "type": "integer"
  24586. }
  24587. }
  24588. },
  24589. "models.ErmcpGoodsModel": {
  24590. "type": "object",
  24591. "properties": {
  24592. "areauserid": {
  24593. "description": "所属机构",
  24594. "type": "integer"
  24595. },
  24596. "convertfactor": {
  24597. "description": "标仓系数",
  24598. "type": "number"
  24599. },
  24600. "createtime": {
  24601. "description": "创建时间",
  24602. "type": "string"
  24603. },
  24604. "creatorid": {
  24605. "description": "创建人",
  24606. "type": "integer"
  24607. },
  24608. "creatorsrc": {
  24609. "description": "创建人来源 - 1:管理端 2:终端",
  24610. "type": "integer"
  24611. },
  24612. "deliverygoodsid": {
  24613. "description": "现货品种ID",
  24614. "type": "integer"
  24615. },
  24616. "isvalid": {
  24617. "description": "是否有效 - 0:无效 1:有效",
  24618. "type": "integer"
  24619. },
  24620. "modelid": {
  24621. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  24622. "type": "integer"
  24623. },
  24624. "modelname": {
  24625. "description": "型号名称",
  24626. "type": "string"
  24627. },
  24628. "updatetime": {
  24629. "description": "更新时间",
  24630. "type": "string"
  24631. },
  24632. "updatorid": {
  24633. "description": "更新人",
  24634. "type": "integer"
  24635. },
  24636. "updatorsrc": {
  24637. "description": "更新人来源 - 1:管理端 2:终端",
  24638. "type": "integer"
  24639. },
  24640. "wrstandardid": {
  24641. "description": "现货商品ID",
  24642. "type": "integer"
  24643. }
  24644. }
  24645. },
  24646. "models.ErmcpHisExposure": {
  24647. "type": "object",
  24648. "properties": {
  24649. "needhedgeexposoure": {
  24650. "description": "应套保敞口",
  24651. "type": "number"
  24652. },
  24653. "reckondate": {
  24654. "description": "日照时期(yyyyMMdd)",
  24655. "type": "string"
  24656. },
  24657. "totalexposure": {
  24658. "description": "总敞口",
  24659. "type": "number"
  24660. }
  24661. }
  24662. },
  24663. "models.ErmcpLoginTaAccount": {
  24664. "type": "object",
  24665. "properties": {
  24666. "accountid": {
  24667. "description": "账号id",
  24668. "type": "integer"
  24669. },
  24670. "accountname": {
  24671. "description": "账号名称",
  24672. "type": "string"
  24673. }
  24674. }
  24675. },
  24676. "models.ErmcpLoginUser": {
  24677. "type": "object",
  24678. "properties": {
  24679. "acclist": {
  24680. "description": "关联资金账号",
  24681. "type": "array",
  24682. "items": {
  24683. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  24684. }
  24685. },
  24686. "accountname": {
  24687. "description": "用户名称",
  24688. "type": "string"
  24689. },
  24690. "clientroleid": {
  24691. "description": "角色id(usertype=2)",
  24692. "type": "integer"
  24693. },
  24694. "createtime": {
  24695. "description": "创建时间",
  24696. "type": "string"
  24697. },
  24698. "logincode": {
  24699. "description": "登录代码",
  24700. "type": "string"
  24701. },
  24702. "loginid": {
  24703. "description": "登录id(LOGINID)",
  24704. "type": "integer"
  24705. },
  24706. "loginname": {
  24707. "description": "登录名称(loginaccount表中的accountname字段)",
  24708. "type": "string"
  24709. },
  24710. "loginstatus": {
  24711. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  24712. "type": "integer"
  24713. },
  24714. "memberuserid": {
  24715. "description": "所属会员id",
  24716. "type": "integer"
  24717. },
  24718. "mobile": {
  24719. "description": "手机号",
  24720. "type": "string"
  24721. },
  24722. "modifytime": {
  24723. "description": "修改时间",
  24724. "type": "string"
  24725. },
  24726. "password": {
  24727. "description": "密码(不可解密)",
  24728. "type": "string"
  24729. },
  24730. "rolename": {
  24731. "description": "角色名称",
  24732. "type": "string"
  24733. },
  24734. "rolestatus": {
  24735. "description": "角色状态 1-启用 2-停用",
  24736. "type": "integer"
  24737. },
  24738. "roletype": {
  24739. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  24740. "type": "string"
  24741. },
  24742. "userid": {
  24743. "description": "用户id",
  24744. "type": "integer"
  24745. },
  24746. "usertype": {
  24747. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24748. "type": "integer"
  24749. }
  24750. }
  24751. },
  24752. "models.ErmcpLoginUserEx": {
  24753. "type": "object",
  24754. "properties": {
  24755. "accountstatus": {
  24756. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24757. "type": "integer"
  24758. },
  24759. "mobile": {
  24760. "description": "手机号",
  24761. "type": "string"
  24762. },
  24763. "querytype": {
  24764. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  24765. "type": "integer"
  24766. },
  24767. "roleid": {
  24768. "description": "角色id(交易账户-\u003e用户id)",
  24769. "type": "integer"
  24770. },
  24771. "rolename": {
  24772. "description": "角色名称(交易账户-\u003e用户名称)",
  24773. "type": "string"
  24774. },
  24775. "userlist": {
  24776. "description": "用户列表",
  24777. "type": "array",
  24778. "items": {
  24779. "$ref": "#/definitions/models.ErmcpLoginUser"
  24780. }
  24781. },
  24782. "usertype": {
  24783. "description": "用户类型 2-机构 7-企业成员(云平台)",
  24784. "type": "integer"
  24785. }
  24786. }
  24787. },
  24788. "models.ErmcpMiddleGoodsModel": {
  24789. "type": "object",
  24790. "properties": {
  24791. "areauserid": {
  24792. "description": "机构用户ID",
  24793. "type": "integer"
  24794. },
  24795. "createtime": {
  24796. "description": "修改时间",
  24797. "type": "string"
  24798. },
  24799. "enumdicname": {
  24800. "description": "单位名称",
  24801. "type": "string"
  24802. },
  24803. "evaluateratio": {
  24804. "description": "估价系数",
  24805. "type": "number"
  24806. },
  24807. "goodsgroupid": {
  24808. "description": "关联期货品种ID",
  24809. "type": "integer"
  24810. },
  24811. "goodsunitid": {
  24812. "description": "单位ID",
  24813. "type": "integer"
  24814. },
  24815. "isvalid": {
  24816. "description": "状态 0-无效(停用) 1-有效(正常)",
  24817. "type": "integer"
  24818. },
  24819. "middlegoodscode": {
  24820. "description": "套保品种代码",
  24821. "type": "string"
  24822. },
  24823. "middlegoodsid": {
  24824. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  24825. "type": "integer"
  24826. },
  24827. "middlegoodsname": {
  24828. "description": "套保品种名称",
  24829. "type": "string"
  24830. },
  24831. "modifytime": {
  24832. "description": "修改时间",
  24833. "type": "string"
  24834. },
  24835. "needarbitrageratio": {
  24836. "description": "套利比例",
  24837. "type": "number"
  24838. },
  24839. "needhedgeratio": {
  24840. "description": "套保比率",
  24841. "type": "number"
  24842. },
  24843. "qtydecimalplace": {
  24844. "description": "数量小数位",
  24845. "type": "integer"
  24846. },
  24847. "relatedgoodsid": {
  24848. "description": "关联交易商品ID",
  24849. "type": "integer"
  24850. },
  24851. "relatedgoodstype": {
  24852. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  24853. "type": "integer"
  24854. },
  24855. "remark": {
  24856. "description": "备注",
  24857. "type": "string"
  24858. }
  24859. }
  24860. },
  24861. "models.ErmcpMiddlegoodsRelateGoods": {
  24862. "type": "object",
  24863. "properties": {
  24864. "agreeunit": {
  24865. "description": "合约乘数",
  24866. "type": "number"
  24867. },
  24868. "convertratio": {
  24869. "description": "折算系数",
  24870. "type": "number"
  24871. },
  24872. "enumdicname": {
  24873. "description": "单位名称(交易商品)",
  24874. "type": "string"
  24875. },
  24876. "goodscode": {
  24877. "description": "交易商品代码",
  24878. "type": "string"
  24879. },
  24880. "goodsgroupid": {
  24881. "description": "交易品种id",
  24882. "type": "integer"
  24883. },
  24884. "goodsid": {
  24885. "description": "商品Id",
  24886. "type": "integer"
  24887. },
  24888. "goodsname": {
  24889. "description": "交易商品名称",
  24890. "type": "string"
  24891. },
  24892. "goodunitid": {
  24893. "description": "交易商品单位id",
  24894. "type": "integer"
  24895. },
  24896. "middlegoodsid": {
  24897. "description": "套保商品id",
  24898. "type": "integer"
  24899. },
  24900. "middlegoodsname": {
  24901. "description": "套保商品名称",
  24902. "type": "string"
  24903. },
  24904. "middlegoodsswcode": {
  24905. "description": "套保商品代码",
  24906. "type": "string"
  24907. },
  24908. "needarbitrageratio": {
  24909. "description": "应套利比例",
  24910. "type": "number"
  24911. },
  24912. "needhedgeratio": {
  24913. "description": "应套保比例",
  24914. "type": "number"
  24915. }
  24916. }
  24917. },
  24918. "models.ErmcpRole": {
  24919. "type": "object",
  24920. "properties": {
  24921. "areauserid": {
  24922. "description": "所属机构",
  24923. "type": "integer"
  24924. },
  24925. "autoid": {
  24926. "description": "角色ID(自增ID)",
  24927. "type": "integer"
  24928. },
  24929. "modifierid": {
  24930. "description": "修改人(创建人)",
  24931. "type": "integer"
  24932. },
  24933. "modifiername": {
  24934. "description": "修改人名称",
  24935. "type": "string"
  24936. },
  24937. "modifytime": {
  24938. "description": "修改时间(创建时间)",
  24939. "type": "string"
  24940. },
  24941. "rolename": {
  24942. "description": "角色名称",
  24943. "type": "string"
  24944. },
  24945. "rolestatus": {
  24946. "description": "角色状态 - 1:启用 2:停用",
  24947. "type": "integer"
  24948. },
  24949. "roletype": {
  24950. "description": "角色类型 - 1- 管理端 2- 交易端",
  24951. "type": "integer"
  24952. }
  24953. }
  24954. },
  24955. "models.ErmcpRoleMenu": {
  24956. "type": "object",
  24957. "properties": {
  24958. "iconame": {
  24959. "description": "菜单图标",
  24960. "type": "string"
  24961. },
  24962. "ishadrole": {
  24963. "description": "是否有权限",
  24964. "type": "boolean"
  24965. },
  24966. "menutype": {
  24967. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  24968. "type": "integer"
  24969. },
  24970. "parentcode": {
  24971. "description": "上级资源代码",
  24972. "type": "string"
  24973. },
  24974. "remark": {
  24975. "description": "菜单备注",
  24976. "type": "string"
  24977. },
  24978. "resourcecode": {
  24979. "description": "菜单代码",
  24980. "type": "string"
  24981. },
  24982. "resourcelevel": {
  24983. "description": "级别",
  24984. "type": "integer"
  24985. },
  24986. "resourcename": {
  24987. "description": "菜单名称",
  24988. "type": "string"
  24989. },
  24990. "roleid": {
  24991. "description": "角色id",
  24992. "type": "integer"
  24993. },
  24994. "sort": {
  24995. "description": "排序",
  24996. "type": "integer"
  24997. },
  24998. "url": {
  24999. "description": "URL",
  25000. "type": "string"
  25001. },
  25002. "userid": {
  25003. "description": "用户id",
  25004. "type": "integer"
  25005. }
  25006. }
  25007. },
  25008. "models.ErmcpRoleMenuEx": {
  25009. "type": "object",
  25010. "properties": {
  25011. "menu": {
  25012. "description": "父级菜单",
  25013. "$ref": "#/definitions/models.ErmcpRoleMenu"
  25014. },
  25015. "subMenu": {
  25016. "description": "子级菜单",
  25017. "type": "array",
  25018. "items": {
  25019. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  25020. }
  25021. }
  25022. }
  25023. },
  25024. "models.ErmcpTaAccount": {
  25025. "type": "object",
  25026. "properties": {
  25027. "accountid": {
  25028. "description": "账户id",
  25029. "type": "integer"
  25030. },
  25031. "accountname": {
  25032. "description": "账户名称",
  25033. "type": "string"
  25034. },
  25035. "currencyid": {
  25036. "description": "币种id",
  25037. "type": "integer"
  25038. },
  25039. "hedgeaccountcode": {
  25040. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  25041. "type": "string"
  25042. },
  25043. "ismain": {
  25044. "description": "是否主账户 0-否 1-是",
  25045. "type": "integer"
  25046. },
  25047. "parentaccountid": {
  25048. "description": "父账户id",
  25049. "type": "integer"
  25050. },
  25051. "relateduserid": {
  25052. "description": "关联userid",
  25053. "type": "integer"
  25054. },
  25055. "tradefeetmpid": {
  25056. "description": "手续费模板id",
  25057. "type": "integer"
  25058. },
  25059. "tradefeetmpname": {
  25060. "description": "手续费模板名称",
  25061. "type": "string"
  25062. },
  25063. "trademargintmpid": {
  25064. "description": "保证金模板id",
  25065. "type": "integer"
  25066. },
  25067. "trademargintmpname": {
  25068. "description": "保证金模板名称",
  25069. "type": "string"
  25070. },
  25071. "traderatetmpid": {
  25072. "description": "汇率模板id",
  25073. "type": "integer"
  25074. },
  25075. "traderatetmpname": {
  25076. "description": "汇率模板名称",
  25077. "type": "string"
  25078. },
  25079. "tradestatus": {
  25080. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25081. "type": "integer"
  25082. },
  25083. "userid": {
  25084. "description": "用户id",
  25085. "type": "integer"
  25086. }
  25087. }
  25088. },
  25089. "models.ErmcpTaAccountEx": {
  25090. "type": "object",
  25091. "properties": {
  25092. "mainAcc": {
  25093. "description": "主账号",
  25094. "$ref": "#/definitions/models.ErmcpTaAccountM"
  25095. },
  25096. "subacclist": {
  25097. "description": "子账号列表",
  25098. "type": "array",
  25099. "items": {
  25100. "$ref": "#/definitions/models.ErmcpTaAccount"
  25101. }
  25102. }
  25103. }
  25104. },
  25105. "models.ErmcpTaAccountInfo": {
  25106. "type": "object",
  25107. "properties": {
  25108. "accountid": {
  25109. "description": "资金账户ID",
  25110. "type": "integer"
  25111. },
  25112. "accountname": {
  25113. "description": "账户名称",
  25114. "type": "string"
  25115. },
  25116. "balance": {
  25117. "description": "期初余额",
  25118. "type": "number"
  25119. },
  25120. "capitalbalance": {
  25121. "description": "本金余额[外部子账户实际出入金余额]",
  25122. "type": "number"
  25123. },
  25124. "closepl": {
  25125. "description": "今日平仓盈亏",
  25126. "type": "number"
  25127. },
  25128. "creditdecrease": {
  25129. "description": "今日授信减少",
  25130. "type": "number"
  25131. },
  25132. "creditincrease": {
  25133. "description": "今日授信增加",
  25134. "type": "number"
  25135. },
  25136. "curdebt": {
  25137. "description": "期末欠款",
  25138. "type": "number"
  25139. },
  25140. "currencyid": {
  25141. "description": "货币ID",
  25142. "type": "integer"
  25143. },
  25144. "currentbalance": {
  25145. "description": "期末余额",
  25146. "type": "number"
  25147. },
  25148. "freezecharge": {
  25149. "description": "手续费冻结",
  25150. "type": "number"
  25151. },
  25152. "freezemargin": {
  25153. "description": "冻结保证金",
  25154. "type": "number"
  25155. },
  25156. "fromaccountid": {
  25157. "description": "所属上级账户",
  25158. "type": "integer"
  25159. },
  25160. "inamount": {
  25161. "description": "今日入金金额(包括三方入金)",
  25162. "type": "number"
  25163. },
  25164. "ismain": {
  25165. "description": "是否母账号 0:不是母账户 1:是母账户",
  25166. "type": "integer"
  25167. },
  25168. "mortgagecredit": {
  25169. "description": "授信金额",
  25170. "type": "number"
  25171. },
  25172. "oridebt": {
  25173. "description": "期初欠款",
  25174. "type": "number"
  25175. },
  25176. "orifreezecharge": {
  25177. "description": "期初手续费冻结",
  25178. "type": "number"
  25179. },
  25180. "orifreezemargin": {
  25181. "description": "期初冻结保证金",
  25182. "type": "number"
  25183. },
  25184. "orimortgagecredit": {
  25185. "description": "期初授信金额",
  25186. "type": "number"
  25187. },
  25188. "oriothercredit": {
  25189. "description": "期初其它授信金额",
  25190. "type": "number"
  25191. },
  25192. "oriotherfreezemargin": {
  25193. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  25194. "type": "number"
  25195. },
  25196. "orioutamountfreeze": {
  25197. "description": "期初出金冻结",
  25198. "type": "number"
  25199. },
  25200. "oriusedmargin": {
  25201. "description": "期初占用保证金",
  25202. "type": "number"
  25203. },
  25204. "othercredit": {
  25205. "description": "其它授信金额",
  25206. "type": "number"
  25207. },
  25208. "othercreditdecrease": {
  25209. "description": "今日其它授信减少",
  25210. "type": "number"
  25211. },
  25212. "othercreditincrease": {
  25213. "description": "今日其它授信增加",
  25214. "type": "number"
  25215. },
  25216. "otherfreezemargin": {
  25217. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  25218. "type": "number"
  25219. },
  25220. "outamount": {
  25221. "description": "今日出金金额(包括三方出金)",
  25222. "type": "number"
  25223. },
  25224. "outamountfreeze": {
  25225. "description": "出金冻结",
  25226. "type": "number"
  25227. },
  25228. "outthreshold": {
  25229. "description": "出金阈值",
  25230. "type": "number"
  25231. },
  25232. "parentaccountid": {
  25233. "description": "所属根账号",
  25234. "type": "integer"
  25235. },
  25236. "paycharge": {
  25237. "description": "今日手续费支出",
  25238. "type": "number"
  25239. },
  25240. "relateduserid": {
  25241. "description": "关联用户",
  25242. "type": "integer"
  25243. },
  25244. "signstatus": {
  25245. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  25246. "type": "integer"
  25247. },
  25248. "sublevelpath": {
  25249. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  25250. "type": "string"
  25251. },
  25252. "taaccounttype": {
  25253. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  25254. "type": "integer"
  25255. },
  25256. "thirdinamount": {
  25257. "description": "今日三方入金",
  25258. "type": "number"
  25259. },
  25260. "thirdoutamount": {
  25261. "description": "今日三方出金",
  25262. "type": "number"
  25263. },
  25264. "tradestatus": {
  25265. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25266. "type": "integer"
  25267. },
  25268. "transferamount": {
  25269. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  25270. "type": "number"
  25271. },
  25272. "usedmargin": {
  25273. "description": "占用保证金",
  25274. "type": "number"
  25275. },
  25276. "userid": {
  25277. "description": "用户ID",
  25278. "type": "integer"
  25279. }
  25280. }
  25281. },
  25282. "models.ErmcpTaAccountM": {
  25283. "type": "object",
  25284. "properties": {
  25285. "accountid": {
  25286. "description": "账户id",
  25287. "type": "integer"
  25288. },
  25289. "accountname": {
  25290. "description": "账户名称",
  25291. "type": "string"
  25292. },
  25293. "currencyid": {
  25294. "description": "币种id",
  25295. "type": "integer"
  25296. },
  25297. "fcid": {
  25298. "description": "期货公司id",
  25299. "type": "integer"
  25300. },
  25301. "fcname": {
  25302. "description": "期货公司代码",
  25303. "type": "string"
  25304. },
  25305. "hedgeaccountcode": {
  25306. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  25307. "type": "string"
  25308. },
  25309. "ismain": {
  25310. "description": "是否主账户 0-否 1-是",
  25311. "type": "integer"
  25312. },
  25313. "parentaccountid": {
  25314. "description": "父账户id",
  25315. "type": "integer"
  25316. },
  25317. "relateduserid": {
  25318. "description": "关联userid",
  25319. "type": "integer"
  25320. },
  25321. "tradefeetmpid": {
  25322. "description": "手续费模板id",
  25323. "type": "integer"
  25324. },
  25325. "tradefeetmpname": {
  25326. "description": "手续费模板名称",
  25327. "type": "string"
  25328. },
  25329. "trademargintmpid": {
  25330. "description": "保证金模板id",
  25331. "type": "integer"
  25332. },
  25333. "trademargintmpname": {
  25334. "description": "保证金模板名称",
  25335. "type": "string"
  25336. },
  25337. "traderatetmpid": {
  25338. "description": "汇率模板id",
  25339. "type": "integer"
  25340. },
  25341. "traderatetmpname": {
  25342. "description": "汇率模板名称",
  25343. "type": "string"
  25344. },
  25345. "tradestatus": {
  25346. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25347. "type": "integer"
  25348. },
  25349. "userid": {
  25350. "description": "用户id",
  25351. "type": "integer"
  25352. }
  25353. }
  25354. },
  25355. "models.ErmcpTradeConfigTMP": {
  25356. "type": "object",
  25357. "properties": {
  25358. "areauserid": {
  25359. "description": "所属机构",
  25360. "type": "integer"
  25361. },
  25362. "basiccurrencyid": {
  25363. "description": "基本币种ID[汇率] - 目标币种",
  25364. "type": "integer"
  25365. },
  25366. "mainaccountid": {
  25367. "description": "主账户ID",
  25368. "type": "integer"
  25369. },
  25370. "modifierid": {
  25371. "description": "修改人",
  25372. "type": "integer"
  25373. },
  25374. "remark": {
  25375. "description": "备注",
  25376. "type": "string"
  25377. },
  25378. "tradeconfigtmpid": {
  25379. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  25380. "type": "integer"
  25381. },
  25382. "tradeconfigtmpname": {
  25383. "description": "交易配置模板名称",
  25384. "type": "string"
  25385. },
  25386. "tradeconfigtmptype": {
  25387. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  25388. "type": "integer"
  25389. },
  25390. "updatetime": {
  25391. "description": "更新时间",
  25392. "type": "string"
  25393. }
  25394. }
  25395. },
  25396. "models.Externalexchange": {
  25397. "type": "object",
  25398. "required": [
  25399. "autoid"
  25400. ],
  25401. "properties": {
  25402. "autoid": {
  25403. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  25404. "type": "integer"
  25405. },
  25406. "exchangefullname": {
  25407. "description": "外部交易所全称",
  25408. "type": "string"
  25409. },
  25410. "exexchangecode": {
  25411. "description": "外部交易所代码",
  25412. "type": "string"
  25413. },
  25414. "exexchangename": {
  25415. "description": "外部交易所名称(简称)",
  25416. "type": "string"
  25417. },
  25418. "ismarketprice": {
  25419. "description": "是否支持市价 - 0:不支持 1:支持",
  25420. "type": "integer"
  25421. },
  25422. "quotegear": {
  25423. "description": "行情档位(1-10)",
  25424. "type": "integer"
  25425. },
  25426. "showbrokerflag": {
  25427. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  25428. "type": "integer"
  25429. },
  25430. "updatetime": {
  25431. "description": "更新时间",
  25432. "type": "string"
  25433. }
  25434. }
  25435. },
  25436. "models.Funcmenulist": {
  25437. "type": "object",
  25438. "required": [
  25439. "resourcecode"
  25440. ],
  25441. "properties": {
  25442. "iconame": {
  25443. "description": "菜单图标",
  25444. "type": "string"
  25445. },
  25446. "menutype": {
  25447. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  25448. "type": "integer"
  25449. },
  25450. "parentcode": {
  25451. "description": "上级资源代码",
  25452. "type": "string"
  25453. },
  25454. "remark": {
  25455. "description": "备注",
  25456. "type": "string"
  25457. },
  25458. "resourcecode": {
  25459. "description": "资源代码",
  25460. "type": "string"
  25461. },
  25462. "resourcelevel": {
  25463. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  25464. "type": "integer"
  25465. },
  25466. "resourcename": {
  25467. "description": "资源名",
  25468. "type": "string"
  25469. },
  25470. "sort": {
  25471. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  25472. "type": "integer"
  25473. },
  25474. "url": {
  25475. "description": "URL",
  25476. "type": "string"
  25477. }
  25478. }
  25479. },
  25480. "models.Goods": {
  25481. "type": "object",
  25482. "required": [
  25483. "goodscode",
  25484. "goodsid",
  25485. "goodsname",
  25486. "marketid"
  25487. ],
  25488. "properties": {
  25489. "agreeunit": {
  25490. "description": "合约单位",
  25491. "type": "number"
  25492. },
  25493. "areauserid": {
  25494. "description": "所属机构",
  25495. "type": "integer"
  25496. },
  25497. "auditaccountid": {
  25498. "description": "审核操作员账号",
  25499. "type": "integer"
  25500. },
  25501. "audittime": {
  25502. "description": "审核时间",
  25503. "type": "string"
  25504. },
  25505. "cancelaccountid": {
  25506. "description": "注销操作员账号",
  25507. "type": "integer"
  25508. },
  25509. "canceltime": {
  25510. "description": "注销时间",
  25511. "type": "string"
  25512. },
  25513. "closepricemode": {
  25514. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25515. "type": "integer"
  25516. },
  25517. "closepriceparam": {
  25518. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  25519. "type": "number"
  25520. },
  25521. "createtime": {
  25522. "description": "创建时间",
  25523. "type": "string"
  25524. },
  25525. "creatorid": {
  25526. "description": "创建人",
  25527. "type": "integer"
  25528. },
  25529. "currencyid": {
  25530. "description": "报价货币ID",
  25531. "type": "integer"
  25532. },
  25533. "cutmode": {
  25534. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  25535. "type": "integer"
  25536. },
  25537. "decimalplace": {
  25538. "description": "报价小数位",
  25539. "type": "integer"
  25540. },
  25541. "delistingdate": {
  25542. "description": "商品退市时间(状态:退市) -- 已作废",
  25543. "type": "string"
  25544. },
  25545. "delistingmode": {
  25546. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  25547. "type": "integer"
  25548. },
  25549. "deliveryflag": {
  25550. "description": "交割标志 - 0:不可交割 1:可交割",
  25551. "type": "integer"
  25552. },
  25553. "forceclosemode": {
  25554. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  25555. "type": "integer"
  25556. },
  25557. "forceclosevalue": {
  25558. "description": "定期强平参数 [收益权]",
  25559. "type": "integer"
  25560. },
  25561. "goodscode": {
  25562. "description": "商品代码(内部)",
  25563. "type": "string"
  25564. },
  25565. "goodscurrencyid": {
  25566. "description": "合约货币ID",
  25567. "type": "integer"
  25568. },
  25569. "goodsgroupid": {
  25570. "description": "所属商品组ID",
  25571. "type": "integer"
  25572. },
  25573. "goodsid": {
  25574. "description": "商品ID(自增ID SEQ_GOODS)",
  25575. "type": "integer"
  25576. },
  25577. "goodsname": {
  25578. "description": "商品名称",
  25579. "type": "string"
  25580. },
  25581. "goodsquotetype": {
  25582. "description": "合约报价类型: 1-直接报价 2-间接报价",
  25583. "type": "integer"
  25584. },
  25585. "goodsstatus": {
  25586. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  25587. "type": "integer"
  25588. },
  25589. "goodstradetype": {
  25590. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  25591. "type": "integer"
  25592. },
  25593. "goodunitid": {
  25594. "description": "报价单位ID",
  25595. "type": "integer"
  25596. },
  25597. "hasquoter": {
  25598. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  25599. "type": "integer"
  25600. },
  25601. "hqprotecttime": {
  25602. "description": "行情保护时间(秒)",
  25603. "type": "integer"
  25604. },
  25605. "innerdealmode": {
  25606. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25607. "type": "integer"
  25608. },
  25609. "isbuylimited": {
  25610. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25611. "type": "integer"
  25612. },
  25613. "isvisible": {
  25614. "description": "游客是否可见 - 0:不可见 1:可见",
  25615. "type": "integer"
  25616. },
  25617. "lasttradedate": {
  25618. "description": "最后交易日期(状态:待退市)",
  25619. "type": "string"
  25620. },
  25621. "listingdate": {
  25622. "description": "交易开始日期",
  25623. "type": "string"
  25624. },
  25625. "marketid": {
  25626. "description": "所属市场ID",
  25627. "type": "integer"
  25628. },
  25629. "modifierid": {
  25630. "description": "修改人",
  25631. "type": "integer"
  25632. },
  25633. "modifystatus": {
  25634. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  25635. "type": "integer"
  25636. },
  25637. "modifytime": {
  25638. "description": "修改时间",
  25639. "type": "string"
  25640. },
  25641. "outerdealmode": {
  25642. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25643. "type": "integer"
  25644. },
  25645. "outgoodscode": {
  25646. "description": "商品代码(外部)",
  25647. "type": "string"
  25648. },
  25649. "pictureurl": {
  25650. "description": "商品图片",
  25651. "type": "string"
  25652. },
  25653. "qtydecimalplace": {
  25654. "description": "成交量小数位",
  25655. "type": "integer"
  25656. },
  25657. "quotegear": {
  25658. "description": "行情档位(1-10)",
  25659. "type": "integer"
  25660. },
  25661. "quoteminunit": {
  25662. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25663. "type": "integer"
  25664. },
  25665. "quoteshowtype": {
  25666. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  25667. "type": "integer"
  25668. },
  25669. "quoteshowtypeinterval": {
  25670. "description": "行情报价间隔时间(秒)(成交价时为0)",
  25671. "type": "integer"
  25672. },
  25673. "remark": {
  25674. "description": "备注",
  25675. "type": "string"
  25676. }
  25677. }
  25678. },
  25679. "models.GoodsIDAndName": {
  25680. "type": "object",
  25681. "required": [
  25682. "goodscode",
  25683. "goodsid",
  25684. "goodsname",
  25685. "marketid"
  25686. ],
  25687. "properties": {
  25688. "goodscode": {
  25689. "description": "商品代码(内部)",
  25690. "type": "string"
  25691. },
  25692. "goodsid": {
  25693. "description": "商品ID(自增ID SEQ_GOODS)",
  25694. "type": "integer"
  25695. },
  25696. "goodsname": {
  25697. "description": "商品名称",
  25698. "type": "string"
  25699. },
  25700. "marketid": {
  25701. "description": "所属市场ID",
  25702. "type": "integer"
  25703. }
  25704. }
  25705. },
  25706. "models.Goodsgroup": {
  25707. "type": "object",
  25708. "required": [
  25709. "goodsgroupid",
  25710. "goodsgroupname",
  25711. "goodsgroupstatus",
  25712. "marketid"
  25713. ],
  25714. "properties": {
  25715. "agreeunit": {
  25716. "description": "合约单位",
  25717. "type": "number"
  25718. },
  25719. "canshort": {
  25720. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  25721. "type": "integer"
  25722. },
  25723. "closepricemode": {
  25724. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25725. "type": "integer"
  25726. },
  25727. "closepriceparam": {
  25728. "description": "强平最新价浮动比例 - 方式为2时使用",
  25729. "type": "number"
  25730. },
  25731. "createtime": {
  25732. "description": "创建时间",
  25733. "type": "string"
  25734. },
  25735. "creatorid": {
  25736. "description": "创建人",
  25737. "type": "integer"
  25738. },
  25739. "currencyid": {
  25740. "description": "报价货币ID",
  25741. "type": "integer"
  25742. },
  25743. "decimalplace": {
  25744. "description": "报价小数位",
  25745. "type": "integer"
  25746. },
  25747. "exercisetype": {
  25748. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  25749. "type": "integer"
  25750. },
  25751. "exexchangeid": {
  25752. "description": "外部交易所ID[通道交易]",
  25753. "type": "integer"
  25754. },
  25755. "goodsgroupid": {
  25756. "description": "商品组ID(自增ID)",
  25757. "type": "integer"
  25758. },
  25759. "goodsgroupname": {
  25760. "description": "商品组名称",
  25761. "type": "string"
  25762. },
  25763. "goodsgroupstatus": {
  25764. "description": "商品组状态 - 1:正常 2:注销",
  25765. "type": "integer"
  25766. },
  25767. "goodunitid": {
  25768. "description": "报价单位ID",
  25769. "type": "integer"
  25770. },
  25771. "innerdealmode": {
  25772. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25773. "type": "integer"
  25774. },
  25775. "isbuylimited": {
  25776. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25777. "type": "integer"
  25778. },
  25779. "marketid": {
  25780. "description": "所属市场ID",
  25781. "type": "integer"
  25782. },
  25783. "modifierid": {
  25784. "description": "修改人",
  25785. "type": "integer"
  25786. },
  25787. "modifytime": {
  25788. "description": "修改时间",
  25789. "type": "string"
  25790. },
  25791. "outerdealmode": {
  25792. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25793. "type": "integer"
  25794. },
  25795. "outergroupcode": {
  25796. "description": "外部商品组代码[通道交易]",
  25797. "type": "string"
  25798. },
  25799. "premiumdecimalplace": {
  25800. "description": "权利金小数位[场外期权]",
  25801. "type": "integer"
  25802. },
  25803. "premiumspreadalgorithm": {
  25804. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  25805. "type": "integer"
  25806. },
  25807. "premiumspreadvalue": {
  25808. "description": "权利金点差值[场外期权]",
  25809. "type": "number"
  25810. },
  25811. "qtydecimalplace": {
  25812. "description": "成交量小数位",
  25813. "type": "integer"
  25814. },
  25815. "quotegear": {
  25816. "description": "行情档位(1-10)",
  25817. "type": "integer"
  25818. },
  25819. "quoteminunit": {
  25820. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25821. "type": "integer"
  25822. },
  25823. "quoterid": {
  25824. "description": "报价商ID[场外期权]",
  25825. "type": "integer"
  25826. },
  25827. "quotesourcegroupid": {
  25828. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  25829. "type": "integer"
  25830. },
  25831. "syncgoodsqty": {
  25832. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  25833. "type": "integer"
  25834. }
  25835. }
  25836. },
  25837. "models.Goodssortbypreposition": {
  25838. "type": "object",
  25839. "required": [
  25840. "goodscode",
  25841. "tradedate"
  25842. ],
  25843. "properties": {
  25844. "goodscode": {
  25845. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  25846. "type": "string"
  25847. },
  25848. "goodsgroupcode": {
  25849. "description": "品种代码",
  25850. "type": "string"
  25851. },
  25852. "prepositionqty": {
  25853. "description": "昨持仓量",
  25854. "type": "integer"
  25855. },
  25856. "sortindex": {
  25857. "description": "排序",
  25858. "type": "integer"
  25859. },
  25860. "tradedate": {
  25861. "description": "交易日",
  25862. "type": "string"
  25863. },
  25864. "updatetime": {
  25865. "description": "更新时间",
  25866. "type": "string"
  25867. }
  25868. }
  25869. },
  25870. "models.Hedgeinnerholderdetail": {
  25871. "type": "object",
  25872. "required": [
  25873. "buyorsell",
  25874. "tradeid"
  25875. ],
  25876. "properties": {
  25877. "accountid": {
  25878. "description": "账号ID",
  25879. "type": "integer"
  25880. },
  25881. "buyorsell": {
  25882. "description": "方向 - 0:买 1:卖",
  25883. "type": "integer"
  25884. },
  25885. "freezeqty": {
  25886. "description": "冻结数量 - 按单平使用",
  25887. "type": "integer"
  25888. },
  25889. "goodsid": {
  25890. "description": "商品ID",
  25891. "type": "integer"
  25892. },
  25893. "holderamount": {
  25894. "description": "持仓金额 [商品币种]",
  25895. "type": "number"
  25896. },
  25897. "holderdays": {
  25898. "description": "剩余冻结天数",
  25899. "type": "integer"
  25900. },
  25901. "holderprice": {
  25902. "description": "持仓价格",
  25903. "type": "number"
  25904. },
  25905. "holderqty": {
  25906. "description": "持仓数量",
  25907. "type": "integer"
  25908. },
  25909. "marketid": {
  25910. "description": "市场ID",
  25911. "type": "integer"
  25912. },
  25913. "openprice": {
  25914. "description": "建仓价格",
  25915. "type": "number"
  25916. },
  25917. "openqty": {
  25918. "description": "建仓数量",
  25919. "type": "integer"
  25920. },
  25921. "parentaccountid": {
  25922. "description": "所属母账户",
  25923. "type": "integer"
  25924. },
  25925. "releaseamount": {
  25926. "description": "释放持仓金额[商品币种]",
  25927. "type": "number"
  25928. },
  25929. "tradeamount": {
  25930. "description": "成交金额[账户]",
  25931. "type": "number"
  25932. },
  25933. "tradedate": {
  25934. "description": "交易日(yyyyMMdd)",
  25935. "type": "string"
  25936. },
  25937. "tradeid": {
  25938. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25939. "type": "string"
  25940. },
  25941. "tradetime": {
  25942. "description": "交易时间",
  25943. "type": "string"
  25944. }
  25945. }
  25946. },
  25947. "models.Hedgemarketopenlog": {
  25948. "type": "object",
  25949. "required": [
  25950. "accountid"
  25951. ],
  25952. "properties": {
  25953. "accountid": {
  25954. "description": "资金账号[外部母账户]",
  25955. "type": "integer"
  25956. },
  25957. "fcname": {
  25958. "description": "期货公司名称",
  25959. "type": "string"
  25960. },
  25961. "handlestatus": {
  25962. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  25963. "type": "integer"
  25964. },
  25965. "marketid": {
  25966. "description": "市场ID",
  25967. "type": "integer"
  25968. },
  25969. "status": {
  25970. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  25971. "type": "integer"
  25972. },
  25973. "tradedate": {
  25974. "description": "交易日(yyyyMMdd)",
  25975. "type": "string"
  25976. },
  25977. "updatetime": {
  25978. "description": "更新时间",
  25979. "type": "string"
  25980. }
  25981. }
  25982. },
  25983. "models.HsbyBuyMyPayOrder": {
  25984. "type": "object",
  25985. "required": [
  25986. "goodscode",
  25987. "goodsname",
  25988. "tradeid",
  25989. "trademode"
  25990. ],
  25991. "properties": {
  25992. "agreeunit": {
  25993. "description": "合约单位",
  25994. "type": "number"
  25995. },
  25996. "buyaccountid": {
  25997. "description": "买方账号ID[报价币种]",
  25998. "type": "integer"
  25999. },
  26000. "buyorderid": {
  26001. "description": "买方委托单号",
  26002. "type": "string"
  26003. },
  26004. "createtime": {
  26005. "description": "创建时间",
  26006. "type": "string"
  26007. },
  26008. "currencysign": {
  26009. "description": "货币符号",
  26010. "type": "string"
  26011. },
  26012. "decimalplace": {
  26013. "description": "报价小数位",
  26014. "type": "integer"
  26015. },
  26016. "goodscode": {
  26017. "description": "商品代码(内部)",
  26018. "type": "string"
  26019. },
  26020. "goodsid": {
  26021. "description": "商品ID",
  26022. "type": "integer"
  26023. },
  26024. "goodsname": {
  26025. "description": "商品名称",
  26026. "type": "string"
  26027. },
  26028. "marketid": {
  26029. "description": "市场ID",
  26030. "type": "integer"
  26031. },
  26032. "offamount": {
  26033. "description": "优惠金额",
  26034. "type": "number"
  26035. },
  26036. "originalamount": {
  26037. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  26038. "type": "number"
  26039. },
  26040. "payamount": {
  26041. "description": "支付金额 = TradeAmount + TradeCharge",
  26042. "type": "number"
  26043. },
  26044. "payflag": {
  26045. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26046. "type": "integer"
  26047. },
  26048. "paylimitedtime": {
  26049. "description": "支付期限",
  26050. "type": "string"
  26051. },
  26052. "paytime": {
  26053. "description": "付款时间",
  26054. "type": "string"
  26055. },
  26056. "picurls1": {
  26057. "description": "预售商品介绍图片[多张用逗号分隔]",
  26058. "type": "string"
  26059. },
  26060. "picurls2": {
  26061. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  26062. "type": "string"
  26063. },
  26064. "sellaccountid": {
  26065. "description": "卖方账号ID[报价币种]",
  26066. "type": "integer"
  26067. },
  26068. "sellorderid": {
  26069. "description": "卖方委托单号",
  26070. "type": "string"
  26071. },
  26072. "tradeamount": {
  26073. "description": "成交金额",
  26074. "type": "number"
  26075. },
  26076. "tradecharge": {
  26077. "description": "成交手续费(买方)",
  26078. "type": "number"
  26079. },
  26080. "tradedate": {
  26081. "description": "交易日(yyyyMMdd)",
  26082. "type": "string"
  26083. },
  26084. "tradeid": {
  26085. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26086. "type": "string"
  26087. },
  26088. "trademode": {
  26089. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26090. "type": "integer"
  26091. },
  26092. "tradeprice": {
  26093. "description": "成交价格",
  26094. "type": "number"
  26095. },
  26096. "tradeqty": {
  26097. "description": "成交数量",
  26098. "type": "integer"
  26099. },
  26100. "vendorname1": {
  26101. "description": "预售商品供应商名称",
  26102. "type": "string"
  26103. },
  26104. "vendorname2": {
  26105. "description": "挂牌商品供应商名称",
  26106. "type": "string"
  26107. }
  26108. }
  26109. },
  26110. "models.HsbyBuyMyTradeDetail": {
  26111. "type": "object",
  26112. "required": [
  26113. "accountid",
  26114. "buyorsell",
  26115. "goodscode",
  26116. "goodsid",
  26117. "goodsname",
  26118. "marketid",
  26119. "orderid",
  26120. "qty",
  26121. "time",
  26122. "trademode"
  26123. ],
  26124. "properties": {
  26125. "accountid": {
  26126. "description": "账户ID[报价币种]",
  26127. "type": "integer"
  26128. },
  26129. "agreeunit": {
  26130. "description": "合约单位",
  26131. "type": "number"
  26132. },
  26133. "amount": {
  26134. "description": "金额 = 价格 * 数量 * 合约单位",
  26135. "type": "number"
  26136. },
  26137. "buyorsell": {
  26138. "description": "买卖 - 0:买 1:卖",
  26139. "type": "integer"
  26140. },
  26141. "currencysign": {
  26142. "description": "货币符号",
  26143. "type": "string"
  26144. },
  26145. "decimalplace": {
  26146. "description": "报价小数位",
  26147. "type": "integer"
  26148. },
  26149. "goodscode": {
  26150. "description": "商品代码(内部)",
  26151. "type": "string"
  26152. },
  26153. "goodsid": {
  26154. "description": "商品ID",
  26155. "type": "integer"
  26156. },
  26157. "goodsname": {
  26158. "description": "商品名称",
  26159. "type": "string"
  26160. },
  26161. "marketid": {
  26162. "description": "市场ID",
  26163. "type": "integer"
  26164. },
  26165. "orderamount": {
  26166. "description": "委托金额",
  26167. "type": "number"
  26168. },
  26169. "orderid": {
  26170. "description": "单号(成交单号)",
  26171. "type": "string"
  26172. },
  26173. "picurls1": {
  26174. "description": "预售商品介绍图片[多张用逗号分隔]",
  26175. "type": "string"
  26176. },
  26177. "picurls2": {
  26178. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  26179. "type": "string"
  26180. },
  26181. "price": {
  26182. "description": "价格",
  26183. "type": "number"
  26184. },
  26185. "qty": {
  26186. "description": "数量",
  26187. "type": "integer"
  26188. },
  26189. "time": {
  26190. "description": "时间",
  26191. "type": "string"
  26192. },
  26193. "trademode": {
  26194. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26195. "type": "integer"
  26196. },
  26197. "vendorname1": {
  26198. "description": "预售商品供应商名称",
  26199. "type": "string"
  26200. },
  26201. "vendorname2": {
  26202. "description": "挂牌商品供应商名称",
  26203. "type": "string"
  26204. }
  26205. }
  26206. },
  26207. "models.HsbyGoodsOrderDetail": {
  26208. "type": "object",
  26209. "required": [
  26210. "buyorsell",
  26211. "orderid",
  26212. "ordertime"
  26213. ],
  26214. "properties": {
  26215. "buyorsell": {
  26216. "description": "买卖 - 0:买 1:卖",
  26217. "type": "integer"
  26218. },
  26219. "currencysign": {
  26220. "description": "货币符号",
  26221. "type": "string"
  26222. },
  26223. "customername": {
  26224. "description": "客户名称(企业名称),已脱敏",
  26225. "type": "string"
  26226. },
  26227. "enableqty": {
  26228. "description": "可用数量",
  26229. "type": "integer"
  26230. },
  26231. "goodunit": {
  26232. "description": "报价单位",
  26233. "type": "string"
  26234. },
  26235. "orderid": {
  26236. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26237. "type": "string"
  26238. },
  26239. "orderprice": {
  26240. "description": "委托价格",
  26241. "type": "number"
  26242. },
  26243. "ordertime": {
  26244. "description": "委托时间",
  26245. "type": "string"
  26246. }
  26247. }
  26248. },
  26249. "models.HsbyListingGoodsDetail": {
  26250. "type": "object",
  26251. "required": [
  26252. "goodscode",
  26253. "goodsid",
  26254. "goodsname",
  26255. "marketid",
  26256. "trademode"
  26257. ],
  26258. "properties": {
  26259. "agreeunit": {
  26260. "description": "合约单位",
  26261. "type": "number"
  26262. },
  26263. "buymaxqty": {
  26264. "description": "购买上限 [71] - 0为不限",
  26265. "type": "integer"
  26266. },
  26267. "currency": {
  26268. "description": "货币",
  26269. "type": "string"
  26270. },
  26271. "currencysign": {
  26272. "description": "货币符号",
  26273. "type": "string"
  26274. },
  26275. "decimalplace": {
  26276. "description": "报价小数位",
  26277. "type": "integer"
  26278. },
  26279. "desccityid": {
  26280. "description": "目的地(市)ID",
  26281. "type": "integer"
  26282. },
  26283. "descprovinceid": {
  26284. "description": "目的地(省)ID",
  26285. "type": "integer"
  26286. },
  26287. "goodscode": {
  26288. "description": "商品代码(内部)",
  26289. "type": "string"
  26290. },
  26291. "goodsdesc": {
  26292. "description": "商品详情",
  26293. "type": "string"
  26294. },
  26295. "goodsid": {
  26296. "description": "商品ID(自增ID SEQ_GOODS)",
  26297. "type": "integer"
  26298. },
  26299. "goodsname": {
  26300. "description": "商品名称",
  26301. "type": "string"
  26302. },
  26303. "goodsprice": {
  26304. "description": "商品价格",
  26305. "type": "number"
  26306. },
  26307. "hotindex": {
  26308. "description": "景点热度",
  26309. "type": "integer"
  26310. },
  26311. "last": {
  26312. "description": "现价",
  26313. "type": "number"
  26314. },
  26315. "limitdown": {
  26316. "description": "跌停价",
  26317. "type": "number"
  26318. },
  26319. "limitup": {
  26320. "description": "涨停价",
  26321. "type": "number"
  26322. },
  26323. "lotsize": {
  26324. "description": "手数最小变动单位",
  26325. "type": "integer"
  26326. },
  26327. "marketid": {
  26328. "description": "所属市场ID",
  26329. "type": "integer"
  26330. },
  26331. "picurls": {
  26332. "description": "介绍图片[多张用逗号分隔]",
  26333. "type": "string"
  26334. },
  26335. "quoteminunit": {
  26336. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26337. "type": "integer"
  26338. },
  26339. "stepvalue": {
  26340. "description": "价格最小变动单位",
  26341. "type": "number"
  26342. },
  26343. "trademode": {
  26344. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26345. "type": "integer"
  26346. },
  26347. "vendorattr": {
  26348. "description": "供应商附件(多张,逗号分隔)",
  26349. "type": "string"
  26350. },
  26351. "vendorname": {
  26352. "description": "供应商名称",
  26353. "type": "string"
  26354. },
  26355. "vendorphone": {
  26356. "description": "供应商客服电话",
  26357. "type": "string"
  26358. },
  26359. "videourls": {
  26360. "description": "介绍视频[多张用逗号分隔]",
  26361. "type": "string"
  26362. }
  26363. }
  26364. },
  26365. "models.HsbyMarketGoods": {
  26366. "type": "object",
  26367. "required": [
  26368. "accountid",
  26369. "buyorsell",
  26370. "goodscode",
  26371. "goodsid",
  26372. "goodsname",
  26373. "marketid",
  26374. "orderid",
  26375. "trademode"
  26376. ],
  26377. "properties": {
  26378. "accountid": {
  26379. "description": "账户ID[报价币种]",
  26380. "type": "integer"
  26381. },
  26382. "agreeunit": {
  26383. "description": "合约单位",
  26384. "type": "number"
  26385. },
  26386. "buyorsell": {
  26387. "description": "买卖 - 0:买 1:卖",
  26388. "type": "integer"
  26389. },
  26390. "categoryid": {
  26391. "description": "类别ID(WRCATEGORY)",
  26392. "type": "integer"
  26393. },
  26394. "currency": {
  26395. "description": "货币",
  26396. "type": "string"
  26397. },
  26398. "currencysign": {
  26399. "description": "货币符号",
  26400. "type": "string"
  26401. },
  26402. "customername": {
  26403. "description": "卖家名称",
  26404. "type": "string"
  26405. },
  26406. "decimalplace": {
  26407. "description": "报价小数位",
  26408. "type": "integer"
  26409. },
  26410. "goodscode": {
  26411. "description": "商品代码(内部)",
  26412. "type": "string"
  26413. },
  26414. "goodsid": {
  26415. "description": "商品ID",
  26416. "type": "integer"
  26417. },
  26418. "goodsname": {
  26419. "description": "商品名称",
  26420. "type": "string"
  26421. },
  26422. "goodsprice": {
  26423. "description": "商品价格",
  26424. "type": "number"
  26425. },
  26426. "hascoupon": {
  26427. "description": "是否可用优惠卷",
  26428. "type": "boolean"
  26429. },
  26430. "hotindex": {
  26431. "description": "景点热度",
  26432. "type": "integer"
  26433. },
  26434. "marketid": {
  26435. "description": "市场ID",
  26436. "type": "integer"
  26437. },
  26438. "orderid": {
  26439. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26440. "type": "string"
  26441. },
  26442. "orderprice": {
  26443. "description": "委托价格",
  26444. "type": "number"
  26445. },
  26446. "orderstatus": {
  26447. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26448. "type": "integer"
  26449. },
  26450. "picurls": {
  26451. "description": "介绍图片[多张用逗号分隔]",
  26452. "type": "string"
  26453. },
  26454. "quoteminunit": {
  26455. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26456. "type": "integer"
  26457. },
  26458. "sellUserID": {
  26459. "description": "卖方UserID",
  26460. "type": "integer"
  26461. },
  26462. "trademode": {
  26463. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26464. "type": "integer"
  26465. },
  26466. "videourls": {
  26467. "description": "介绍视频[多张用逗号分隔]",
  26468. "type": "string"
  26469. }
  26470. }
  26471. },
  26472. "models.HsbyMarketGoodsDetail": {
  26473. "type": "object",
  26474. "required": [
  26475. "accountid",
  26476. "buyorsell",
  26477. "goodscode",
  26478. "goodsid",
  26479. "goodsname",
  26480. "marketid",
  26481. "orderid",
  26482. "orderqty",
  26483. "trademode"
  26484. ],
  26485. "properties": {
  26486. "accountid": {
  26487. "description": "账户ID[报价币种]",
  26488. "type": "integer"
  26489. },
  26490. "agreeunit": {
  26491. "description": "合约单位",
  26492. "type": "number"
  26493. },
  26494. "buymaxqty": {
  26495. "description": "购买上限 [71] - 0为不限",
  26496. "type": "integer"
  26497. },
  26498. "buyorsell": {
  26499. "description": "买卖 - 0:买 1:卖",
  26500. "type": "integer"
  26501. },
  26502. "cancelqty": {
  26503. "description": "撤单数量",
  26504. "type": "integer"
  26505. },
  26506. "categoryid": {
  26507. "description": "类别ID(WRCATEGORY)",
  26508. "type": "integer"
  26509. },
  26510. "currency": {
  26511. "description": "货币",
  26512. "type": "string"
  26513. },
  26514. "currencysign": {
  26515. "description": "货币符号",
  26516. "type": "string"
  26517. },
  26518. "customername": {
  26519. "description": "卖家名称",
  26520. "type": "string"
  26521. },
  26522. "decimalplace": {
  26523. "description": "报价小数位",
  26524. "type": "integer"
  26525. },
  26526. "goodscode": {
  26527. "description": "商品代码(内部)",
  26528. "type": "string"
  26529. },
  26530. "goodsdesc": {
  26531. "description": "商品详情",
  26532. "type": "string"
  26533. },
  26534. "goodsid": {
  26535. "description": "商品ID",
  26536. "type": "integer"
  26537. },
  26538. "goodsname": {
  26539. "description": "商品名称",
  26540. "type": "string"
  26541. },
  26542. "goodsprice": {
  26543. "description": "商品价格",
  26544. "type": "number"
  26545. },
  26546. "hotindex": {
  26547. "description": "景点热度",
  26548. "type": "integer"
  26549. },
  26550. "lotsize": {
  26551. "description": "手数最小变动单位",
  26552. "type": "integer"
  26553. },
  26554. "marketid": {
  26555. "description": "市场ID",
  26556. "type": "integer"
  26557. },
  26558. "orderid": {
  26559. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26560. "type": "string"
  26561. },
  26562. "orderprice": {
  26563. "description": "委托价格",
  26564. "type": "number"
  26565. },
  26566. "orderqty": {
  26567. "description": "委托数量",
  26568. "type": "integer"
  26569. },
  26570. "orderstatus": {
  26571. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26572. "type": "integer"
  26573. },
  26574. "picurls": {
  26575. "description": "介绍图片[多张用逗号分隔]",
  26576. "type": "string"
  26577. },
  26578. "quoteminunit": {
  26579. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26580. "type": "integer"
  26581. },
  26582. "sellUserID": {
  26583. "description": "卖方UserID",
  26584. "type": "integer"
  26585. },
  26586. "trademode": {
  26587. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26588. "type": "integer"
  26589. },
  26590. "tradeqty": {
  26591. "description": "成交数量",
  26592. "type": "integer"
  26593. },
  26594. "vendorattr": {
  26595. "description": "供应商附件(多张,逗号分隔)",
  26596. "type": "string"
  26597. },
  26598. "vendorname": {
  26599. "description": "供应商名称",
  26600. "type": "string"
  26601. },
  26602. "vendorphone": {
  26603. "description": "供应商客服电话",
  26604. "type": "string"
  26605. },
  26606. "videourls": {
  26607. "description": "介绍视频[多张用逗号分隔]",
  26608. "type": "string"
  26609. }
  26610. }
  26611. },
  26612. "models.HsbyMarketInfo": {
  26613. "type": "object",
  26614. "required": [
  26615. "marketid",
  26616. "marketstatus",
  26617. "trademode"
  26618. ],
  26619. "properties": {
  26620. "marketid": {
  26621. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  26622. "type": "integer"
  26623. },
  26624. "marketname": {
  26625. "description": "市场名称",
  26626. "type": "string"
  26627. },
  26628. "marketstatus": {
  26629. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  26630. "type": "integer"
  26631. },
  26632. "trademode": {
  26633. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26634. "type": "integer"
  26635. }
  26636. }
  26637. },
  26638. "models.HsbyMyGoods": {
  26639. "type": "object",
  26640. "required": [
  26641. "accountid",
  26642. "goodscode",
  26643. "goodsid",
  26644. "goodsname",
  26645. "marketid",
  26646. "trademode"
  26647. ],
  26648. "properties": {
  26649. "accountid": {
  26650. "description": "账号Id",
  26651. "type": "integer"
  26652. },
  26653. "agreeunit": {
  26654. "description": "合约单位",
  26655. "type": "number"
  26656. },
  26657. "buyaverageprice": {
  26658. "description": "持仓均价",
  26659. "type": "number"
  26660. },
  26661. "buycurholderamount": {
  26662. "description": "买当前持仓总金额[商品币种]",
  26663. "type": "number"
  26664. },
  26665. "buycurpositionqty": {
  26666. "description": "买当前持仓总数量",
  26667. "type": "integer"
  26668. },
  26669. "buymaxqty": {
  26670. "description": "购买上限 [71] - 0为不限",
  26671. "type": "integer"
  26672. },
  26673. "currencysign": {
  26674. "description": "货币符号",
  26675. "type": "string"
  26676. },
  26677. "decimalplace": {
  26678. "description": "报价小数位",
  26679. "type": "integer"
  26680. },
  26681. "enableqty": {
  26682. "description": "可用数量",
  26683. "type": "integer"
  26684. },
  26685. "goodscode": {
  26686. "description": "商品代码(内部)",
  26687. "type": "string"
  26688. },
  26689. "goodsid": {
  26690. "description": "商品Id",
  26691. "type": "integer"
  26692. },
  26693. "goodsname": {
  26694. "description": "商品名称",
  26695. "type": "string"
  26696. },
  26697. "goodsprice": {
  26698. "description": "商品价格",
  26699. "type": "number"
  26700. },
  26701. "goodsstatus": {
  26702. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  26703. "type": "integer"
  26704. },
  26705. "last": {
  26706. "description": "现价(仅使用于挂牌点选)",
  26707. "type": "number"
  26708. },
  26709. "limitdown": {
  26710. "description": "跌停价(仅使用于挂牌点选)",
  26711. "type": "number"
  26712. },
  26713. "limitup": {
  26714. "description": "涨停价(仅使用于挂牌点选)",
  26715. "type": "number"
  26716. },
  26717. "lotsize": {
  26718. "description": "手数最小变动单位",
  26719. "type": "integer"
  26720. },
  26721. "marketid": {
  26722. "description": "所属市场ID",
  26723. "type": "integer"
  26724. },
  26725. "picurls": {
  26726. "description": "介绍图片[多张用逗号分隔]",
  26727. "type": "string"
  26728. },
  26729. "quoteminunit": {
  26730. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26731. "type": "integer"
  26732. },
  26733. "stepvalue": {
  26734. "description": "价格最小变动单位",
  26735. "type": "number"
  26736. },
  26737. "trademode": {
  26738. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26739. "type": "integer"
  26740. }
  26741. }
  26742. },
  26743. "models.HsbyMyPackage": {
  26744. "type": "object",
  26745. "required": [
  26746. "goodscode",
  26747. "goodsname",
  26748. "takeorderid",
  26749. "trademode"
  26750. ],
  26751. "properties": {
  26752. "accountid": {
  26753. "description": "账户ID",
  26754. "type": "integer"
  26755. },
  26756. "address": {
  26757. "description": "提货人详细地址",
  26758. "type": "string"
  26759. },
  26760. "agreeunit": {
  26761. "description": "合约单位",
  26762. "type": "number"
  26763. },
  26764. "amount": {
  26765. "description": "提货金额",
  26766. "type": "number"
  26767. },
  26768. "auditer": {
  26769. "description": "审核人",
  26770. "type": "integer"
  26771. },
  26772. "audittime": {
  26773. "description": "审核时间",
  26774. "type": "string"
  26775. },
  26776. "averageprice": {
  26777. "description": "均价",
  26778. "type": "number"
  26779. },
  26780. "cardnum": {
  26781. "description": "提货人证件号码",
  26782. "type": "string"
  26783. },
  26784. "cardtypeid": {
  26785. "description": "提货人证件类型",
  26786. "type": "integer"
  26787. },
  26788. "checkremark": {
  26789. "description": "审核备注",
  26790. "type": "string"
  26791. },
  26792. "currencysign": {
  26793. "description": "货币符号",
  26794. "type": "string"
  26795. },
  26796. "decimalplace": {
  26797. "description": "报价小数位",
  26798. "type": "integer"
  26799. },
  26800. "goodscode": {
  26801. "description": "商品代码(内部)",
  26802. "type": "string"
  26803. },
  26804. "goodsid": {
  26805. "description": "商品ID",
  26806. "type": "integer"
  26807. },
  26808. "goodsname": {
  26809. "description": "商品名称",
  26810. "type": "string"
  26811. },
  26812. "handlestatus": {
  26813. "description": "处理状态",
  26814. "type": "integer"
  26815. },
  26816. "marketid": {
  26817. "description": "市场ID",
  26818. "type": "integer"
  26819. },
  26820. "phonenum": {
  26821. "description": "提货人联系方式",
  26822. "type": "string"
  26823. },
  26824. "picurls": {
  26825. "description": "介绍图片[多张用逗号分隔]",
  26826. "type": "string"
  26827. },
  26828. "qty": {
  26829. "description": "提货数量",
  26830. "type": "number"
  26831. },
  26832. "recivername": {
  26833. "description": "提货人姓名",
  26834. "type": "string"
  26835. },
  26836. "reqtime": {
  26837. "description": "更新时间",
  26838. "type": "string"
  26839. },
  26840. "takemode": {
  26841. "description": "提货方式 - 2:自提 3:配送",
  26842. "type": "integer"
  26843. },
  26844. "takeorderid": {
  26845. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  26846. "type": "string"
  26847. },
  26848. "takeorderstatus": {
  26849. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  26850. "type": "integer"
  26851. },
  26852. "takeremark": {
  26853. "description": "提货备注",
  26854. "type": "string"
  26855. },
  26856. "tradedate": {
  26857. "description": "交易日(yyyyMMdd)",
  26858. "type": "string"
  26859. },
  26860. "trademode": {
  26861. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26862. "type": "integer"
  26863. },
  26864. "userid": {
  26865. "description": "用户ID",
  26866. "type": "integer"
  26867. },
  26868. "vendorname": {
  26869. "description": "供应商名称",
  26870. "type": "string"
  26871. }
  26872. }
  26873. },
  26874. "models.HsbyPreGoods": {
  26875. "type": "object",
  26876. "required": [
  26877. "goodscode",
  26878. "goodsid",
  26879. "goodsname",
  26880. "marketid",
  26881. "trademode"
  26882. ],
  26883. "properties": {
  26884. "agreeunit": {
  26885. "description": "合约单位",
  26886. "type": "number"
  26887. },
  26888. "currency": {
  26889. "description": "货币",
  26890. "type": "string"
  26891. },
  26892. "currencysign": {
  26893. "description": "货币符号",
  26894. "type": "string"
  26895. },
  26896. "decimalplace": {
  26897. "description": "报价小数位",
  26898. "type": "integer"
  26899. },
  26900. "desccityid": {
  26901. "description": "目的地(市)",
  26902. "type": "integer"
  26903. },
  26904. "descprovinceid": {
  26905. "description": "目的地(省)",
  26906. "type": "integer"
  26907. },
  26908. "enableqty": {
  26909. "description": "剩余数量",
  26910. "type": "integer"
  26911. },
  26912. "goodscode": {
  26913. "description": "商品代码(内部)",
  26914. "type": "string"
  26915. },
  26916. "goodsid": {
  26917. "description": "商品ID(自增ID SEQ_GOODS)",
  26918. "type": "integer"
  26919. },
  26920. "goodsname": {
  26921. "description": "商品名称",
  26922. "type": "string"
  26923. },
  26924. "goodsstatus": {
  26925. "description": "商品状态- 2:未上市 3:上市",
  26926. "type": "integer"
  26927. },
  26928. "lasttradedate": {
  26929. "description": "最后交易日期(状态:待退市)",
  26930. "type": "string"
  26931. },
  26932. "listingdate": {
  26933. "description": "交易开始日期",
  26934. "type": "string"
  26935. },
  26936. "marketid": {
  26937. "description": "所属市场ID",
  26938. "type": "integer"
  26939. },
  26940. "picurls": {
  26941. "description": "介绍图片[多张用逗号分隔]",
  26942. "type": "string"
  26943. },
  26944. "presaledqty": {
  26945. "description": "已预售量(预售结束时更新)",
  26946. "type": "integer"
  26947. },
  26948. "presaleqty": {
  26949. "description": "预售数量",
  26950. "type": "integer"
  26951. },
  26952. "quoteminunit": {
  26953. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26954. "type": "integer"
  26955. },
  26956. "refprice": {
  26957. "description": "参考价格[一口价]",
  26958. "type": "number"
  26959. },
  26960. "relatedgoodsid": {
  26961. "description": "关联交易合约ID",
  26962. "type": "integer"
  26963. },
  26964. "trademode": {
  26965. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26966. "type": "integer"
  26967. },
  26968. "videourls": {
  26969. "description": "介绍视频[多张用逗号分隔]",
  26970. "type": "string"
  26971. }
  26972. }
  26973. },
  26974. "models.HsbyPreGoodsDetail": {
  26975. "type": "object",
  26976. "required": [
  26977. "goodscode",
  26978. "goodsid",
  26979. "goodsname",
  26980. "marketid",
  26981. "trademode"
  26982. ],
  26983. "properties": {
  26984. "agreeunit": {
  26985. "description": "合约单位",
  26986. "type": "number"
  26987. },
  26988. "buymaxqty": {
  26989. "description": "购买上限 [71] - 0为不限",
  26990. "type": "integer"
  26991. },
  26992. "currency": {
  26993. "description": "货币",
  26994. "type": "string"
  26995. },
  26996. "currencysign": {
  26997. "description": "货币符号",
  26998. "type": "string"
  26999. },
  27000. "customername": {
  27001. "description": "发行单位",
  27002. "type": "string"
  27003. },
  27004. "decimalplace": {
  27005. "description": "报价小数位",
  27006. "type": "integer"
  27007. },
  27008. "desccityid": {
  27009. "description": "目的地(市)ID",
  27010. "type": "integer"
  27011. },
  27012. "descprovinceid": {
  27013. "description": "目的地(省)ID",
  27014. "type": "integer"
  27015. },
  27016. "enableqty": {
  27017. "description": "剩余数量",
  27018. "type": "integer"
  27019. },
  27020. "goodscode": {
  27021. "description": "商品代码(内部)",
  27022. "type": "string"
  27023. },
  27024. "goodsdesc": {
  27025. "description": "商品详情",
  27026. "type": "string"
  27027. },
  27028. "goodsid": {
  27029. "description": "商品ID(自增ID SEQ_GOODS)",
  27030. "type": "integer"
  27031. },
  27032. "goodsname": {
  27033. "description": "商品名称",
  27034. "type": "string"
  27035. },
  27036. "goodsstatus": {
  27037. "description": "商品状态- 2:未上市 3:上市",
  27038. "type": "integer"
  27039. },
  27040. "goodunit": {
  27041. "description": "报价单位",
  27042. "type": "string"
  27043. },
  27044. "lasttradedate": {
  27045. "description": "最后交易日期(状态:待退市)",
  27046. "type": "string"
  27047. },
  27048. "listingdate": {
  27049. "description": "交易开始日期",
  27050. "type": "string"
  27051. },
  27052. "lotsize": {
  27053. "description": "手数最小变动单位",
  27054. "type": "integer"
  27055. },
  27056. "marketid": {
  27057. "description": "所属市场ID",
  27058. "type": "integer"
  27059. },
  27060. "picurls": {
  27061. "description": "介绍图片[多张用逗号分隔]",
  27062. "type": "string"
  27063. },
  27064. "presaledqty": {
  27065. "description": "已预售量(预售结束时更新)",
  27066. "type": "integer"
  27067. },
  27068. "presaleqty": {
  27069. "description": "预售数量",
  27070. "type": "integer"
  27071. },
  27072. "quoteminunit": {
  27073. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27074. "type": "integer"
  27075. },
  27076. "refprice": {
  27077. "description": "参考价格[一口价]",
  27078. "type": "number"
  27079. },
  27080. "relatedgoodsid": {
  27081. "description": "关联交易合约ID",
  27082. "type": "integer"
  27083. },
  27084. "stepvalue": {
  27085. "description": "价格最小变动单位",
  27086. "type": "number"
  27087. },
  27088. "trademode": {
  27089. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27090. "type": "integer"
  27091. },
  27092. "vendorattr": {
  27093. "description": "供应商附件(多张,逗号分隔)",
  27094. "type": "string"
  27095. },
  27096. "vendorname": {
  27097. "description": "供应商名称",
  27098. "type": "string"
  27099. },
  27100. "vendorphone": {
  27101. "description": "供应商客服电话",
  27102. "type": "string"
  27103. },
  27104. "videourls": {
  27105. "description": "介绍视频[多张用逗号分隔]",
  27106. "type": "string"
  27107. }
  27108. }
  27109. },
  27110. "models.HsbySellCollectionOrder": {
  27111. "type": "object",
  27112. "required": [
  27113. "goodscode",
  27114. "goodsname",
  27115. "tradeid",
  27116. "trademode"
  27117. ],
  27118. "properties": {
  27119. "agreeunit": {
  27120. "description": "合约单位",
  27121. "type": "number"
  27122. },
  27123. "buyaccountid": {
  27124. "description": "买方账号ID[报价币种]",
  27125. "type": "integer"
  27126. },
  27127. "buyorderid": {
  27128. "description": "买方委托单号",
  27129. "type": "string"
  27130. },
  27131. "createtime": {
  27132. "description": "创建时间",
  27133. "type": "string"
  27134. },
  27135. "currencysign": {
  27136. "description": "货币符号",
  27137. "type": "string"
  27138. },
  27139. "decimalplace": {
  27140. "description": "报价小数位",
  27141. "type": "integer"
  27142. },
  27143. "goodscode": {
  27144. "description": "商品代码(内部)",
  27145. "type": "string"
  27146. },
  27147. "goodsid": {
  27148. "description": "商品ID",
  27149. "type": "integer"
  27150. },
  27151. "goodsname": {
  27152. "description": "商品名称",
  27153. "type": "string"
  27154. },
  27155. "marketid": {
  27156. "description": "市场ID",
  27157. "type": "integer"
  27158. },
  27159. "offamount": {
  27160. "description": "优惠金额",
  27161. "type": "number"
  27162. },
  27163. "payamount": {
  27164. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  27165. "type": "number"
  27166. },
  27167. "payflag": {
  27168. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  27169. "type": "integer"
  27170. },
  27171. "paylimitedtime": {
  27172. "description": "支付期限",
  27173. "type": "string"
  27174. },
  27175. "paytime": {
  27176. "description": "付款时间",
  27177. "type": "string"
  27178. },
  27179. "picurls": {
  27180. "description": "商品介绍图片[多张用逗号分隔]",
  27181. "type": "string"
  27182. },
  27183. "sellaccountid": {
  27184. "description": "卖方账号ID[报价币种]",
  27185. "type": "integer"
  27186. },
  27187. "sellorderid": {
  27188. "description": "卖方委托单号",
  27189. "type": "string"
  27190. },
  27191. "tradeamount": {
  27192. "description": "成交金额",
  27193. "type": "number"
  27194. },
  27195. "tradecharge": {
  27196. "description": "成交手续费(买方)",
  27197. "type": "number"
  27198. },
  27199. "tradedate": {
  27200. "description": "交易日(yyyyMMdd)",
  27201. "type": "string"
  27202. },
  27203. "tradeid": {
  27204. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27205. "type": "string"
  27206. },
  27207. "trademode": {
  27208. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27209. "type": "integer"
  27210. },
  27211. "tradeprice": {
  27212. "description": "成交价格",
  27213. "type": "number"
  27214. },
  27215. "tradeqty": {
  27216. "description": "成交数量",
  27217. "type": "integer"
  27218. }
  27219. }
  27220. },
  27221. "models.HsbySellMyDetail": {
  27222. "type": "object",
  27223. "required": [
  27224. "accountid",
  27225. "buyorsell",
  27226. "goodscode",
  27227. "goodsid",
  27228. "goodsname",
  27229. "marketid",
  27230. "orderid",
  27231. "time",
  27232. "trademode"
  27233. ],
  27234. "properties": {
  27235. "accountid": {
  27236. "description": "账户ID[报价币种]",
  27237. "type": "integer"
  27238. },
  27239. "agreeunit": {
  27240. "description": "合约单位",
  27241. "type": "number"
  27242. },
  27243. "buyorsell": {
  27244. "description": "买卖 - 0:买 1:卖",
  27245. "type": "integer"
  27246. },
  27247. "currencysign": {
  27248. "description": "货币符号",
  27249. "type": "string"
  27250. },
  27251. "decimalplace": {
  27252. "description": "报价小数位",
  27253. "type": "integer"
  27254. },
  27255. "goodscode": {
  27256. "description": "商品代码(内部)",
  27257. "type": "string"
  27258. },
  27259. "goodsid": {
  27260. "description": "商品ID",
  27261. "type": "integer"
  27262. },
  27263. "goodsname": {
  27264. "description": "商品名称",
  27265. "type": "string"
  27266. },
  27267. "marketid": {
  27268. "description": "市场ID",
  27269. "type": "integer"
  27270. },
  27271. "orderid": {
  27272. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  27273. "type": "string"
  27274. },
  27275. "ordertype": {
  27276. "description": "单据类型:0 - 发布中, 1 - 已完成",
  27277. "type": "integer"
  27278. },
  27279. "picurls": {
  27280. "description": "介绍图片[多张用逗号分隔]",
  27281. "type": "string"
  27282. },
  27283. "price": {
  27284. "description": "价格",
  27285. "type": "number"
  27286. },
  27287. "qty": {
  27288. "description": "数量",
  27289. "type": "integer"
  27290. },
  27291. "time": {
  27292. "description": "时间",
  27293. "type": "string"
  27294. },
  27295. "trademode": {
  27296. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27297. "type": "integer"
  27298. },
  27299. "vendorname": {
  27300. "description": "供应商名称",
  27301. "type": "string"
  27302. }
  27303. }
  27304. },
  27305. "models.HsbyTopGoods": {
  27306. "type": "object",
  27307. "required": [
  27308. "goodscode",
  27309. "goodsid",
  27310. "goodsname",
  27311. "marketid",
  27312. "trademode"
  27313. ],
  27314. "properties": {
  27315. "agreeunit": {
  27316. "description": "合约单位",
  27317. "type": "number"
  27318. },
  27319. "currency": {
  27320. "description": "货币",
  27321. "type": "string"
  27322. },
  27323. "currencysign": {
  27324. "description": "货币符号",
  27325. "type": "string"
  27326. },
  27327. "decimalplace": {
  27328. "description": "报价小数位",
  27329. "type": "integer"
  27330. },
  27331. "desccityid": {
  27332. "description": "目的地(市)",
  27333. "type": "integer"
  27334. },
  27335. "descprovinceid": {
  27336. "description": "目的地(省)",
  27337. "type": "integer"
  27338. },
  27339. "goodscode": {
  27340. "description": "商品代码(内部)",
  27341. "type": "string"
  27342. },
  27343. "goodsid": {
  27344. "description": "商品ID(自增ID SEQ_GOODS)",
  27345. "type": "integer"
  27346. },
  27347. "goodsname": {
  27348. "description": "商品名称",
  27349. "type": "string"
  27350. },
  27351. "hotindex": {
  27352. "description": "景点热度",
  27353. "type": "integer"
  27354. },
  27355. "last": {
  27356. "description": "现价",
  27357. "type": "number"
  27358. },
  27359. "marketid": {
  27360. "description": "所属市场ID",
  27361. "type": "integer"
  27362. },
  27363. "picurls": {
  27364. "description": "介绍图片[多张用逗号分隔]",
  27365. "type": "string"
  27366. },
  27367. "quoteminunit": {
  27368. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27369. "type": "integer"
  27370. },
  27371. "trademode": {
  27372. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27373. "type": "integer"
  27374. },
  27375. "videourls": {
  27376. "description": "介绍视频[多张用逗号分隔]",
  27377. "type": "string"
  27378. }
  27379. }
  27380. },
  27381. "models.HybsMyBuyOrderDetail": {
  27382. "type": "object",
  27383. "required": [
  27384. "accountid",
  27385. "buyorsell",
  27386. "goodscode",
  27387. "goodsid",
  27388. "goodsname",
  27389. "marketid",
  27390. "orderid",
  27391. "orderqty",
  27392. "ordertime",
  27393. "trademode"
  27394. ],
  27395. "properties": {
  27396. "accountid": {
  27397. "description": "账户ID[报价币种]",
  27398. "type": "integer"
  27399. },
  27400. "agreeunit": {
  27401. "description": "合约单位",
  27402. "type": "number"
  27403. },
  27404. "buyorsell": {
  27405. "description": "买卖 - 0:买 1:卖",
  27406. "type": "integer"
  27407. },
  27408. "cancelqty": {
  27409. "description": "撤单数量",
  27410. "type": "integer"
  27411. },
  27412. "currencysign": {
  27413. "description": "货币符号",
  27414. "type": "string"
  27415. },
  27416. "decimalplace": {
  27417. "description": "报价小数位",
  27418. "type": "integer"
  27419. },
  27420. "goodscode": {
  27421. "description": "商品代码(内部)",
  27422. "type": "string"
  27423. },
  27424. "goodsid": {
  27425. "description": "商品ID",
  27426. "type": "integer"
  27427. },
  27428. "goodsname": {
  27429. "description": "商品名称",
  27430. "type": "string"
  27431. },
  27432. "listingselecttype": {
  27433. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  27434. "type": "integer"
  27435. },
  27436. "marketid": {
  27437. "description": "市场ID",
  27438. "type": "integer"
  27439. },
  27440. "mybuystatus": {
  27441. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  27442. "type": "integer"
  27443. },
  27444. "orderamount": {
  27445. "description": "委托金额",
  27446. "type": "number"
  27447. },
  27448. "orderid": {
  27449. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27450. "type": "string"
  27451. },
  27452. "orderprice": {
  27453. "description": "委托价格",
  27454. "type": "number"
  27455. },
  27456. "orderqty": {
  27457. "description": "委托数量",
  27458. "type": "integer"
  27459. },
  27460. "orderstatus": {
  27461. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  27462. "type": "integer"
  27463. },
  27464. "ordertime": {
  27465. "description": "委托时间",
  27466. "type": "string"
  27467. },
  27468. "picurls1": {
  27469. "description": "预售商品介绍图片[多张用逗号分隔]",
  27470. "type": "string"
  27471. },
  27472. "picurls2": {
  27473. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  27474. "type": "string"
  27475. },
  27476. "trademode": {
  27477. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27478. "type": "integer"
  27479. },
  27480. "tradeqty": {
  27481. "description": "成交数量",
  27482. "type": "integer"
  27483. },
  27484. "vendorname1": {
  27485. "description": "预售商品供应商名称",
  27486. "type": "string"
  27487. },
  27488. "vendorname2": {
  27489. "description": "挂牌商品供应商名称",
  27490. "type": "string"
  27491. }
  27492. }
  27493. },
  27494. "models.Loginaccount": {
  27495. "type": "object",
  27496. "required": [
  27497. "loginid"
  27498. ],
  27499. "properties": {
  27500. "accountname": {
  27501. "description": "账户名称",
  27502. "type": "string"
  27503. },
  27504. "canoutin": {
  27505. "description": "是否可出入金 - 0:不可 1:可",
  27506. "type": "integer"
  27507. },
  27508. "clientroleid": {
  27509. "description": "终端角色ID",
  27510. "type": "integer"
  27511. },
  27512. "haslogined": {
  27513. "description": "是否已登录 - 0:未登录 1:已登录",
  27514. "type": "integer"
  27515. },
  27516. "hasupdatedpwd": {
  27517. "description": "是否已更改密码 - 0:未修改 1:已修改",
  27518. "type": "integer"
  27519. },
  27520. "lastloginip": {
  27521. "description": "最新登录地址",
  27522. "type": "string"
  27523. },
  27524. "lastloginmode": {
  27525. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  27526. "type": "integer"
  27527. },
  27528. "lastloginremark": {
  27529. "description": "最新登录描述",
  27530. "type": "string"
  27531. },
  27532. "lastlogintime": {
  27533. "description": "最新登录时间",
  27534. "type": "string"
  27535. },
  27536. "logincode": {
  27537. "description": "登录代码",
  27538. "type": "string"
  27539. },
  27540. "loginfailnum": {
  27541. "description": "连续登录失败次数(登录成功时清零)",
  27542. "type": "integer"
  27543. },
  27544. "loginid": {
  27545. "description": "登陆账号",
  27546. "type": "integer"
  27547. },
  27548. "loginport": {
  27549. "description": "最新登录端口",
  27550. "type": "integer"
  27551. },
  27552. "loginstatus": {
  27553. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  27554. "type": "integer"
  27555. },
  27556. "loginusertype": {
  27557. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  27558. "type": "integer"
  27559. },
  27560. "mobile": {
  27561. "description": "手机号码(加密存储)",
  27562. "type": "string"
  27563. },
  27564. "modifierid": {
  27565. "description": "修改人",
  27566. "type": "integer"
  27567. },
  27568. "modifysrc": {
  27569. "description": "审核来源 - 1:管理端 2:终端",
  27570. "type": "integer"
  27571. },
  27572. "modifytime": {
  27573. "description": "修改时间",
  27574. "type": "string"
  27575. },
  27576. "password": {
  27577. "description": "登陆密码",
  27578. "type": "string"
  27579. },
  27580. "pwdwrongcount": {
  27581. "description": "密码错误次数",
  27582. "type": "integer"
  27583. },
  27584. "relateduserid": {
  27585. "description": "关联用户ID(机构)",
  27586. "type": "integer"
  27587. },
  27588. "taaccountrighttype": {
  27589. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  27590. "type": "integer"
  27591. },
  27592. "unfreezetime": {
  27593. "description": "账户解冻时间",
  27594. "type": "string"
  27595. },
  27596. "userid": {
  27597. "description": "用户ID",
  27598. "type": "integer"
  27599. }
  27600. }
  27601. },
  27602. "models.MainAccountInfo": {
  27603. "type": "object",
  27604. "properties": {
  27605. "accountid": {
  27606. "description": "账号id",
  27607. "type": "integer"
  27608. },
  27609. "accountname": {
  27610. "description": "账号名称(taaccount表中的名称)",
  27611. "type": "string"
  27612. },
  27613. "appid": {
  27614. "description": "AppID",
  27615. "type": "string"
  27616. },
  27617. "authcode": {
  27618. "description": "授权码",
  27619. "type": "string"
  27620. },
  27621. "brokerid": {
  27622. "description": "经纪商id",
  27623. "type": "string"
  27624. },
  27625. "fcid": {
  27626. "description": "期货公司id",
  27627. "type": "integer"
  27628. },
  27629. "fcname": {
  27630. "description": "期货公司代码",
  27631. "type": "string"
  27632. },
  27633. "hedgeaccountcode": {
  27634. "description": "外部账号代码(主账号登录代码)",
  27635. "type": "string"
  27636. },
  27637. "hedgeaccountpwd": {
  27638. "description": "密码",
  27639. "type": "string"
  27640. },
  27641. "ismain": {
  27642. "description": "是否主账号",
  27643. "type": "integer"
  27644. },
  27645. "relateduserid": {
  27646. "description": "关联用户id",
  27647. "type": "integer"
  27648. },
  27649. "userid": {
  27650. "description": "关联用户id",
  27651. "type": "integer"
  27652. }
  27653. }
  27654. },
  27655. "models.Market": {
  27656. "type": "object",
  27657. "required": [
  27658. "marketid",
  27659. "marketstatus",
  27660. "openmethod",
  27661. "reckonpricealgorithm",
  27662. "trademode",
  27663. "tradeproperty"
  27664. ],
  27665. "properties": {
  27666. "auctionwrtype": {
  27667. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  27668. "type": "integer"
  27669. },
  27670. "canacceptquote": {
  27671. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  27672. "type": "integer"
  27673. },
  27674. "cangoodsexercise": {
  27675. "description": "[期权]是否可现货行权- 0:否 1:是",
  27676. "type": "integer"
  27677. },
  27678. "cangoodsexercisetype": {
  27679. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  27680. "type": "integer"
  27681. },
  27682. "canmanualquotestrike": {
  27683. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  27684. "type": "integer"
  27685. },
  27686. "canmutistage": {
  27687. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  27688. "type": "integer"
  27689. },
  27690. "canpreexercise": {
  27691. "description": "[期权]是否可预申报- 0:否 1:是",
  27692. "type": "integer"
  27693. },
  27694. "clearinterval": {
  27695. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  27696. "type": "integer"
  27697. },
  27698. "contracttmp": {
  27699. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  27700. "type": "string"
  27701. },
  27702. "exchareaid": {
  27703. "description": "所属交易所,可以没有",
  27704. "type": "integer"
  27705. },
  27706. "goodstype": {
  27707. "description": "商品类型 - 1:交易商品 2:仓单商品",
  27708. "type": "integer"
  27709. },
  27710. "hasrebate": {
  27711. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  27712. "type": "integer"
  27713. },
  27714. "hastradecredit": {
  27715. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  27716. "type": "integer"
  27717. },
  27718. "haswr": {
  27719. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  27720. "type": "integer"
  27721. },
  27722. "isdeductmargin": {
  27723. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  27724. "type": "integer"
  27725. },
  27726. "isrecordsource": {
  27727. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  27728. "type": "integer"
  27729. },
  27730. "isreleasemargin": {
  27731. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  27732. "type": "integer"
  27733. },
  27734. "marginformula": {
  27735. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27736. "type": "integer"
  27737. },
  27738. "marginformula2": {
  27739. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27740. "type": "integer"
  27741. },
  27742. "marketid": {
  27743. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  27744. "type": "integer"
  27745. },
  27746. "marketname": {
  27747. "description": "市场名称",
  27748. "type": "string"
  27749. },
  27750. "marketserviceid": {
  27751. "description": "市场服务ID",
  27752. "type": "integer"
  27753. },
  27754. "marketstatus": {
  27755. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  27756. "type": "integer"
  27757. },
  27758. "markettype": {
  27759. "description": "市场类型- 1:非交易服务 2:交易服务",
  27760. "type": "integer"
  27761. },
  27762. "matchermode": {
  27763. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  27764. "type": "integer"
  27765. },
  27766. "openmethod": {
  27767. "description": "开盘模式 - 0 自动 1手动",
  27768. "type": "integer"
  27769. },
  27770. "otcuserid": {
  27771. "description": "场外期权做市商[场外期权]",
  27772. "type": "integer"
  27773. },
  27774. "outersynctime": {
  27775. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  27776. "type": "string"
  27777. },
  27778. "pendingflag": {
  27779. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  27780. "type": "integer"
  27781. },
  27782. "pendingtime": {
  27783. "description": "待开市时间[通道交易-对冲](HH:mm)",
  27784. "type": "string"
  27785. },
  27786. "performancetempid": {
  27787. "description": "履约计划模板ID - 作废",
  27788. "type": "integer"
  27789. },
  27790. "premiumquotemode": {
  27791. "description": "权利金报价方式 - 1:自动 2:手动",
  27792. "type": "integer"
  27793. },
  27794. "rebateratio": {
  27795. "description": "返利比率[竞价式]",
  27796. "type": "number"
  27797. },
  27798. "reckonorder": {
  27799. "description": "结算顺序",
  27800. "type": "integer"
  27801. },
  27802. "reckonpricealgorithm": {
  27803. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  27804. "type": "integer"
  27805. },
  27806. "reckonpriceparam": {
  27807. "description": "结算价参数",
  27808. "type": "integer"
  27809. },
  27810. "reckontime": {
  27811. "description": "结算时间[通道交易-对冲](HH:mm)",
  27812. "type": "string"
  27813. },
  27814. "roleprioritytype": {
  27815. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  27816. "type": "integer"
  27817. },
  27818. "selllistingauditflag": {
  27819. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  27820. "type": "integer"
  27821. },
  27822. "trademarkettype": {
  27823. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  27824. "type": "integer"
  27825. },
  27826. "trademode": {
  27827. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27828. "type": "integer"
  27829. },
  27830. "tradeproperty": {
  27831. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  27832. "type": "integer"
  27833. },
  27834. "tradetype": {
  27835. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  27836. "type": "integer"
  27837. }
  27838. }
  27839. },
  27840. "models.Marketrun": {
  27841. "type": "object",
  27842. "required": [
  27843. "marketid",
  27844. "nexttradedate",
  27845. "reckonflag",
  27846. "runstatus",
  27847. "tradedate",
  27848. "tradedate2"
  27849. ],
  27850. "properties": {
  27851. "afternexttradedate": {
  27852. "description": "下下交易日",
  27853. "type": "string"
  27854. },
  27855. "clearquoteflag": {
  27856. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  27857. "type": "integer"
  27858. },
  27859. "lastreckondate": {
  27860. "description": "最新交易日(结算成功)",
  27861. "type": "string"
  27862. },
  27863. "machinedate": {
  27864. "description": "机器时间",
  27865. "type": "string"
  27866. },
  27867. "manualflag": {
  27868. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  27869. "type": "integer"
  27870. },
  27871. "marketid": {
  27872. "description": "市场ID",
  27873. "type": "integer"
  27874. },
  27875. "nexttradedate": {
  27876. "description": "下一交易日",
  27877. "type": "string"
  27878. },
  27879. "pretradedate": {
  27880. "description": "上一交易日",
  27881. "type": "string"
  27882. },
  27883. "reckonflag": {
  27884. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  27885. "type": "integer"
  27886. },
  27887. "runstatus": {
  27888. "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.今日免清算",
  27889. "type": "integer"
  27890. },
  27891. "sectionid": {
  27892. "description": "时间段号[多时段时用]",
  27893. "type": "integer"
  27894. },
  27895. "tradedate": {
  27896. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  27897. "type": "string"
  27898. },
  27899. "tradedate2": {
  27900. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  27901. "type": "string"
  27902. },
  27903. "updatetime": {
  27904. "description": "更新时间",
  27905. "type": "string"
  27906. }
  27907. }
  27908. },
  27909. "models.Messageboard": {
  27910. "type": "object",
  27911. "required": [
  27912. "messageboardid"
  27913. ],
  27914. "properties": {
  27915. "contactnum": {
  27916. "description": "联系电话",
  27917. "type": "string"
  27918. },
  27919. "createtime": {
  27920. "description": "创建时间",
  27921. "type": "string"
  27922. },
  27923. "message": {
  27924. "description": "留言信息",
  27925. "type": "string"
  27926. },
  27927. "messageboardid": {
  27928. "description": "留言簿ID(SEQ_MessageBoard)",
  27929. "type": "integer"
  27930. },
  27931. "userid": {
  27932. "description": "用户ID",
  27933. "type": "integer"
  27934. }
  27935. }
  27936. },
  27937. "models.MyCoupon": {
  27938. "type": "object",
  27939. "required": [
  27940. "accountid",
  27941. "coupontypeid"
  27942. ],
  27943. "properties": {
  27944. "accountid": {
  27945. "description": "资金账户ID",
  27946. "type": "integer"
  27947. },
  27948. "areauserid": {
  27949. "description": "所属机构",
  27950. "type": "integer"
  27951. },
  27952. "conditionvalue": {
  27953. "description": "条件阈值(可为0)",
  27954. "type": "number"
  27955. },
  27956. "couponcategroy": {
  27957. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  27958. "type": "integer"
  27959. },
  27960. "couponname": {
  27961. "description": "优惠券名称",
  27962. "type": "string"
  27963. },
  27964. "coupontypeid": {
  27965. "description": "优惠券类型ID",
  27966. "type": "string"
  27967. },
  27968. "couponvalue": {
  27969. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27970. "type": "number"
  27971. },
  27972. "curfreezeqty": {
  27973. "description": "期末冻结数量",
  27974. "type": "integer"
  27975. },
  27976. "curqty": {
  27977. "description": "期末数量",
  27978. "type": "integer"
  27979. },
  27980. "isgeneral": {
  27981. "description": "是否通用券 - 0:否 1:是",
  27982. "type": "integer"
  27983. },
  27984. "isunusable": {
  27985. "description": "是否不可用",
  27986. "type": "boolean"
  27987. },
  27988. "limitedflag": {
  27989. "description": "是否指定商品 - 0:不限 1:限制",
  27990. "type": "integer"
  27991. },
  27992. "limitedgoodsids": {
  27993. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  27994. "type": "string"
  27995. },
  27996. "orifreezeqty": {
  27997. "description": "期初冻结数量",
  27998. "type": "integer"
  27999. },
  28000. "oriqty": {
  28001. "description": "期初数量",
  28002. "type": "integer"
  28003. },
  28004. "reasontype": {
  28005. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  28006. "type": "integer"
  28007. },
  28008. "todaydecrease": {
  28009. "description": "今日减少",
  28010. "type": "integer"
  28011. },
  28012. "todayincrease": {
  28013. "description": "今日增加",
  28014. "type": "integer"
  28015. },
  28016. "userid": {
  28017. "description": "用户ID",
  28018. "type": "integer"
  28019. },
  28020. "userscope": {
  28021. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  28022. "type": "string"
  28023. }
  28024. }
  28025. },
  28026. "models.MyCouponHold": {
  28027. "type": "object",
  28028. "required": [
  28029. "couponholdid"
  28030. ],
  28031. "properties": {
  28032. "accountid": {
  28033. "description": "资金账户ID",
  28034. "type": "integer"
  28035. },
  28036. "conditionvalue": {
  28037. "description": "条件阈值(可为0)",
  28038. "type": "number"
  28039. },
  28040. "couponcategroy": {
  28041. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  28042. "type": "integer"
  28043. },
  28044. "couponholdid": {
  28045. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  28046. "type": "string"
  28047. },
  28048. "couponname": {
  28049. "description": "优惠券名称",
  28050. "type": "string"
  28051. },
  28052. "coupontypeid": {
  28053. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  28054. "type": "string"
  28055. },
  28056. "couponvalue": {
  28057. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  28058. "type": "number"
  28059. },
  28060. "createtime": {
  28061. "description": "创建时间",
  28062. "type": "string"
  28063. },
  28064. "enddate": {
  28065. "description": "结束日期",
  28066. "type": "string"
  28067. },
  28068. "giveapplyid": {
  28069. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  28070. "type": "integer"
  28071. },
  28072. "holdstatus": {
  28073. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  28074. "type": "integer"
  28075. },
  28076. "isgeneral": {
  28077. "description": "是否通用券 - 0:否 1:是",
  28078. "type": "integer"
  28079. },
  28080. "limitedflag": {
  28081. "description": "是否指定商品 - 0:不限 1:限制",
  28082. "type": "integer"
  28083. },
  28084. "limitedgoodsids": {
  28085. "description": "指定商品IDs[逗号分隔]",
  28086. "type": "string"
  28087. },
  28088. "qty": {
  28089. "description": "数量(按1平铺)",
  28090. "type": "integer"
  28091. },
  28092. "startdate": {
  28093. "description": "开始日期",
  28094. "type": "string"
  28095. },
  28096. "userid": {
  28097. "description": "用户ID",
  28098. "type": "integer"
  28099. },
  28100. "userscope": {
  28101. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  28102. "type": "string"
  28103. }
  28104. }
  28105. },
  28106. "models.MyUsedCoupon": {
  28107. "type": "object",
  28108. "required": [
  28109. "coupontypeid",
  28110. "orderid"
  28111. ],
  28112. "properties": {
  28113. "accountid": {
  28114. "description": "资金账户ID(买方)",
  28115. "type": "integer"
  28116. },
  28117. "conditionvalue": {
  28118. "description": "条件阈值(可为0)",
  28119. "type": "number"
  28120. },
  28121. "couponcategroy": {
  28122. "description": "种类 - 1:现金券 2:折扣券",
  28123. "type": "integer"
  28124. },
  28125. "couponname": {
  28126. "description": "优惠券名称",
  28127. "type": "string"
  28128. },
  28129. "coupontypeid": {
  28130. "description": "优惠券类型ID(买方)",
  28131. "type": "string"
  28132. },
  28133. "couponvalue": {
  28134. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  28135. "type": "number"
  28136. },
  28137. "createtime": {
  28138. "description": "创建时间",
  28139. "type": "string"
  28140. },
  28141. "goodsid": {
  28142. "description": "商品ID",
  28143. "type": "integer"
  28144. },
  28145. "handlestatus": {
  28146. "description": "处理状态",
  28147. "type": "integer"
  28148. },
  28149. "marketid": {
  28150. "description": "市场ID",
  28151. "type": "integer"
  28152. },
  28153. "offamount": {
  28154. "description": "优惠金额",
  28155. "type": "number"
  28156. },
  28157. "orderid": {
  28158. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28159. "type": "string"
  28160. },
  28161. "sellaccountid": {
  28162. "description": "资金账户ID(卖方)",
  28163. "type": "integer"
  28164. },
  28165. "tradeamount": {
  28166. "description": "成交金额",
  28167. "type": "number"
  28168. },
  28169. "tradeid": {
  28170. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28171. "type": "string"
  28172. },
  28173. "usedqty": {
  28174. "description": "使用数量",
  28175. "type": "integer"
  28176. }
  28177. }
  28178. },
  28179. "models.OperationPrimaryMenu": {
  28180. "type": "object",
  28181. "properties": {
  28182. "Children": {
  28183. "description": "二级功能菜单",
  28184. "type": "array",
  28185. "items": {
  28186. "$ref": "#/definitions/models.OperationSecondaryMenu"
  28187. }
  28188. },
  28189. "Key": {
  28190. "description": "菜单KEY",
  28191. "type": "string"
  28192. },
  28193. "Label": {
  28194. "description": "菜单标题",
  28195. "type": "string"
  28196. }
  28197. }
  28198. },
  28199. "models.OperationSecondaryMenu": {
  28200. "type": "object",
  28201. "properties": {
  28202. "Key": {
  28203. "description": "菜单KEY",
  28204. "type": "string"
  28205. },
  28206. "Label": {
  28207. "description": "菜单标题",
  28208. "type": "string"
  28209. },
  28210. "TabList": {
  28211. "description": "三级功能菜单",
  28212. "type": "array",
  28213. "items": {
  28214. "$ref": "#/definitions/models.OperationTabMenu"
  28215. }
  28216. }
  28217. }
  28218. },
  28219. "models.OperationTabMenu": {
  28220. "type": "object",
  28221. "properties": {
  28222. "Key": {
  28223. "description": "菜单KEY",
  28224. "type": "string"
  28225. },
  28226. "Label": {
  28227. "description": "菜单标题",
  28228. "type": "string"
  28229. }
  28230. }
  28231. },
  28232. "models.QhjAccountOutInApply": {
  28233. "type": "object",
  28234. "properties": {
  28235. "accountcode": {
  28236. "description": "资金账号",
  28237. "type": "string"
  28238. },
  28239. "accountname": {
  28240. "description": "用户名称(名称)",
  28241. "type": "string"
  28242. },
  28243. "accountpwd": {
  28244. "description": "资金密码",
  28245. "type": "string"
  28246. },
  28247. "accountticket": {
  28248. "description": "最新账户服务流水号",
  28249. "type": "string"
  28250. },
  28251. "amount": {
  28252. "description": "金额",
  28253. "type": "number"
  28254. },
  28255. "applyremark": {
  28256. "description": "申请备注",
  28257. "type": "string"
  28258. },
  28259. "applystatus": {
  28260. "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: 复审通过,账户冻结金额检查中;",
  28261. "type": "integer"
  28262. },
  28263. "auditid": {
  28264. "description": "审核人",
  28265. "type": "integer"
  28266. },
  28267. "audittime": {
  28268. "description": "审核时间",
  28269. "type": "string"
  28270. },
  28271. "bank_apply_ticket": {
  28272. "description": "银行申请流水",
  28273. "type": "string"
  28274. },
  28275. "bankaccountname": {
  28276. "description": "银行账户名",
  28277. "type": "string"
  28278. },
  28279. "bankaccountno": {
  28280. "description": "银行卡号",
  28281. "type": "string"
  28282. },
  28283. "bankid": {
  28284. "description": "银行编号",
  28285. "type": "string"
  28286. },
  28287. "bankticket": {
  28288. "description": "银行流水",
  28289. "type": "string"
  28290. },
  28291. "branchbankid": {
  28292. "description": "银行支行号",
  28293. "type": "string"
  28294. },
  28295. "branchbankname": {
  28296. "description": "银行支行名称",
  28297. "type": "string"
  28298. },
  28299. "capamountout": {
  28300. "description": "出金(劣后本金) - 外部子账户",
  28301. "type": "number"
  28302. },
  28303. "certificatephotourl": {
  28304. "description": "凭证地址",
  28305. "type": "string"
  28306. },
  28307. "charge": {
  28308. "description": "手续费",
  28309. "type": "number"
  28310. },
  28311. "checkerrorflag": {
  28312. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  28313. "type": "integer"
  28314. },
  28315. "currency": {
  28316. "description": "币种",
  28317. "type": "string"
  28318. },
  28319. "cusbankid": {
  28320. "description": "托管银行编号",
  28321. "type": "string"
  28322. },
  28323. "exchticket": {
  28324. "description": "银行服务流水号",
  28325. "type": "string"
  28326. },
  28327. "executetype": {
  28328. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  28329. "type": "integer"
  28330. },
  28331. "extendinfo": {
  28332. "description": "扩展信息",
  28333. "type": "string"
  28334. },
  28335. "extoperateid": {
  28336. "description": "交易服务流水号",
  28337. "type": "integer"
  28338. },
  28339. "infamount": {
  28340. "description": "劣后金额(自有)",
  28341. "type": "number"
  28342. },
  28343. "logincode": {
  28344. "description": "登录账号(账号)",
  28345. "type": "string"
  28346. },
  28347. "netaddr": {
  28348. "description": "调转网址",
  28349. "type": "string"
  28350. },
  28351. "priamount": {
  28352. "description": "优先金额(授信)",
  28353. "type": "number"
  28354. },
  28355. "reauditid": {
  28356. "description": "复审人",
  28357. "type": "integer"
  28358. },
  28359. "reauditremark": {
  28360. "description": "复审备注",
  28361. "type": "string"
  28362. },
  28363. "reaudittime": {
  28364. "description": "复审时间",
  28365. "type": "string"
  28366. },
  28367. "relatedorderid": {
  28368. "description": "三方关联ID",
  28369. "type": "string"
  28370. },
  28371. "remark": {
  28372. "description": "备注",
  28373. "type": "string"
  28374. },
  28375. "remark2": {
  28376. "description": "备注(失败原因)",
  28377. "type": "string"
  28378. },
  28379. "soucreamount": {
  28380. "description": "原始出入金金额",
  28381. "type": "number"
  28382. },
  28383. "soucrecurrencyid": {
  28384. "description": "原始出入金币种",
  28385. "type": "integer"
  28386. },
  28387. "tradedate": {
  28388. "description": "交易日(yyyyMMdd)",
  28389. "type": "string"
  28390. },
  28391. "updatetime": {
  28392. "description": "更新时间(申请时间)",
  28393. "type": "string"
  28394. },
  28395. "userid": {
  28396. "description": "用户id",
  28397. "type": "integer"
  28398. },
  28399. "userinfotype": {
  28400. "description": "账户类型 1-个人 2-企业",
  28401. "type": "integer"
  28402. }
  28403. }
  28404. },
  28405. "models.QhjAgreementChangeLog": {
  28406. "type": "object",
  28407. "properties": {
  28408. "agreementcontent": {
  28409. "description": "协议内容",
  28410. "type": "string"
  28411. },
  28412. "agreementfrequency": {
  28413. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  28414. "type": "integer"
  28415. },
  28416. "agreementid": {
  28417. "description": "协议ID",
  28418. "type": "integer"
  28419. },
  28420. "agreementname": {
  28421. "description": "协议名称",
  28422. "type": "string"
  28423. },
  28424. "agreementno": {
  28425. "description": "协议编号",
  28426. "type": "string"
  28427. },
  28428. "agreementtype": {
  28429. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28430. "type": "integer"
  28431. },
  28432. "agreementversion": {
  28433. "description": "协议版本号",
  28434. "type": "integer"
  28435. },
  28436. "logid": {
  28437. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  28438. "type": "integer"
  28439. },
  28440. "reviserid": {
  28441. "description": "修改人",
  28442. "type": "integer"
  28443. },
  28444. "revisersrc": {
  28445. "description": "修改来源 - 1:管理端 2:终端",
  28446. "type": "integer"
  28447. },
  28448. "updatetime": {
  28449. "description": "更新时间",
  28450. "type": "string"
  28451. }
  28452. }
  28453. },
  28454. "models.QhjAgreementConfig": {
  28455. "type": "object",
  28456. "properties": {
  28457. "agreementcontent": {
  28458. "description": "协议内容",
  28459. "type": "string"
  28460. },
  28461. "agreementfrequency": {
  28462. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  28463. "type": "integer"
  28464. },
  28465. "agreementid": {
  28466. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  28467. "type": "integer"
  28468. },
  28469. "agreementname": {
  28470. "description": "协议名称",
  28471. "type": "string"
  28472. },
  28473. "agreementno": {
  28474. "description": "协议编号",
  28475. "type": "string"
  28476. },
  28477. "agreementtype": {
  28478. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28479. "type": "integer"
  28480. },
  28481. "agreementversion": {
  28482. "description": "协议版本号(从1开始每次修改加1)",
  28483. "type": "integer"
  28484. },
  28485. "createtime": {
  28486. "description": "创建时间",
  28487. "type": "string"
  28488. },
  28489. "creatorid": {
  28490. "description": "创建人",
  28491. "type": "integer"
  28492. },
  28493. "creatorsrc": {
  28494. "description": "创建来源 - 1:管理端 2:终端",
  28495. "type": "integer"
  28496. },
  28497. "isvalid": {
  28498. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  28499. "type": "integer"
  28500. },
  28501. "reviserid": {
  28502. "description": "修改人",
  28503. "type": "integer"
  28504. },
  28505. "revisersrc": {
  28506. "description": "修改来源 - 1:管理端 2:终端",
  28507. "type": "integer"
  28508. },
  28509. "updatetime": {
  28510. "description": "更新时间",
  28511. "type": "string"
  28512. }
  28513. }
  28514. },
  28515. "models.QhjAreaFinanceConfig": {
  28516. "type": "object",
  28517. "properties": {
  28518. "additionalratio": {
  28519. "description": "追加款比例",
  28520. "type": "number"
  28521. },
  28522. "advanceratio": {
  28523. "description": "预付款比例",
  28524. "type": "number"
  28525. },
  28526. "alarmratio": {
  28527. "description": "告警比例",
  28528. "type": "number"
  28529. },
  28530. "consumptiondirectreward": {
  28531. "description": "消费直推奖励值",
  28532. "type": "number"
  28533. },
  28534. "consumptionenabled": {
  28535. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  28536. "type": "integer"
  28537. },
  28538. "consumptionindirectreward": {
  28539. "description": "消费间推奖励值",
  28540. "type": "number"
  28541. },
  28542. "consumptionmodel": {
  28543. "description": "消费奖励方式 - 1:比率 2:固定",
  28544. "type": "integer"
  28545. },
  28546. "customerservicenum": {
  28547. "description": "客服电话",
  28548. "type": "string"
  28549. },
  28550. "dayinterestrate": {
  28551. "description": "日利率",
  28552. "type": "number"
  28553. },
  28554. "disableconsumptiontips": {
  28555. "description": "关闭消费奖励提示",
  28556. "type": "string"
  28557. },
  28558. "modifierid": {
  28559. "description": "修改人ID",
  28560. "type": "integer"
  28561. },
  28562. "modifysrc": {
  28563. "description": "审核来源 - 1:管理端 2:终端",
  28564. "type": "integer"
  28565. },
  28566. "modifytime": {
  28567. "description": "修改时间",
  28568. "type": "string"
  28569. },
  28570. "promotionvalue": {
  28571. "description": "推广奖励值(固定)",
  28572. "type": "number"
  28573. },
  28574. "scoreconfigvalue1": {
  28575. "description": "提货积分配置1",
  28576. "type": "integer"
  28577. },
  28578. "scoreconfigvalue2": {
  28579. "description": "提货积分配置2",
  28580. "type": "integer"
  28581. },
  28582. "userid": {
  28583. "description": "机构用户ID其他做市关系,都设置为 1",
  28584. "type": "integer"
  28585. },
  28586. "username": {
  28587. "description": "用户名称",
  28588. "type": "string"
  28589. }
  28590. }
  28591. },
  28592. "models.QhjBankAccountSign": {
  28593. "type": "object",
  28594. "properties": {
  28595. "accountcode": {
  28596. "description": "资金账号",
  28597. "type": "string"
  28598. },
  28599. "accountname": {
  28600. "description": "资金账号对应的账号名(UserName)",
  28601. "type": "string"
  28602. },
  28603. "accountname2": {
  28604. "description": "资金账号对应的账号名(UserName) - 密文",
  28605. "type": "string"
  28606. },
  28607. "accounttype": {
  28608. "description": "账户类型(UserType)",
  28609. "type": "integer"
  28610. },
  28611. "applicationtime": {
  28612. "description": "最后一次更新的时间",
  28613. "type": "string"
  28614. },
  28615. "applyexchticket": {
  28616. "description": "申请流水",
  28617. "type": "string"
  28618. },
  28619. "auditid": {
  28620. "description": "审核人",
  28621. "type": "integer"
  28622. },
  28623. "audittime": {
  28624. "description": "审核时间",
  28625. "type": "string"
  28626. },
  28627. "bankaccountname": {
  28628. "description": "签约银行卡账号名",
  28629. "type": "string"
  28630. },
  28631. "bankaccountname2": {
  28632. "description": "签约银行卡账号名 - 密文",
  28633. "type": "string"
  28634. },
  28635. "bankaccountno": {
  28636. "description": "银行卡号",
  28637. "type": "string"
  28638. },
  28639. "bankaccountno2": {
  28640. "description": "银行卡号 - 密文",
  28641. "type": "string"
  28642. },
  28643. "bankaccounttype": {
  28644. "description": "银行账户类型 - 1-对私; 2-对公",
  28645. "type": "integer"
  28646. },
  28647. "bankcardtype": {
  28648. "description": "银行卡类型",
  28649. "type": "integer"
  28650. },
  28651. "bankchildaccount": {
  28652. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  28653. "type": "string"
  28654. },
  28655. "bankcity": {
  28656. "description": "开户行城市",
  28657. "type": "string"
  28658. },
  28659. "bankid": {
  28660. "description": "签约银行ID",
  28661. "type": "string"
  28662. },
  28663. "bankname": {
  28664. "description": "签约银行名称",
  28665. "type": "string"
  28666. },
  28667. "bankprovince": {
  28668. "description": "开户行省份",
  28669. "type": "string"
  28670. },
  28671. "branchbankid": {
  28672. "description": "签约银行支行号",
  28673. "type": "string"
  28674. },
  28675. "branchbankname": {
  28676. "description": "签约银行支行名称",
  28677. "type": "string"
  28678. },
  28679. "cardno": {
  28680. "description": "证件号码",
  28681. "type": "string"
  28682. },
  28683. "cardno2": {
  28684. "description": "证件号码 - 密文",
  28685. "type": "string"
  28686. },
  28687. "cardtype": {
  28688. "description": "证件类型",
  28689. "type": "string"
  28690. },
  28691. "currency": {
  28692. "description": "币种",
  28693. "type": "string"
  28694. },
  28695. "cusbankid": {
  28696. "description": "托管银行编号",
  28697. "type": "string"
  28698. },
  28699. "direct": {
  28700. "description": "方向(可以判断那方先发起的签约)",
  28701. "type": "integer"
  28702. },
  28703. "exchticket": {
  28704. "description": "最后一次签约成功的流水号",
  28705. "type": "string"
  28706. },
  28707. "extendinfo": {
  28708. "description": "扩展信息(JSON字符串)",
  28709. "type": "string"
  28710. },
  28711. "mobilephone": {
  28712. "description": "手机号",
  28713. "type": "string"
  28714. },
  28715. "mobilephone2": {
  28716. "description": "手机号 - 密文",
  28717. "type": "string"
  28718. },
  28719. "netaddr": {
  28720. "description": "调转网址",
  28721. "type": "string"
  28722. },
  28723. "relateduserid": {
  28724. "description": "关联使用者userid",
  28725. "type": "integer"
  28726. },
  28727. "signstatus": {
  28728. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  28729. "type": "integer"
  28730. },
  28731. "updatetime": {
  28732. "description": "更新时间(签解约更新时间)",
  28733. "type": "string"
  28734. }
  28735. }
  28736. },
  28737. "models.QhjBankInfo": {
  28738. "type": "object",
  28739. "properties": {
  28740. "bankid": {
  28741. "description": "银行ID",
  28742. "type": "string"
  28743. },
  28744. "bankname": {
  28745. "description": "银行名称",
  28746. "type": "string"
  28747. },
  28748. "clearbankno": {
  28749. "description": "清算系统银行编号",
  28750. "type": "string"
  28751. },
  28752. "orderindex": {
  28753. "description": "排序顺序",
  28754. "type": "integer"
  28755. },
  28756. "status": {
  28757. "description": "状态 - 0:正常 1:注销",
  28758. "type": "integer"
  28759. }
  28760. }
  28761. },
  28762. "models.QhjBrokerApply": {
  28763. "type": "object",
  28764. "properties": {
  28765. "applicantid": {
  28766. "description": "申请人",
  28767. "type": "integer"
  28768. },
  28769. "applysrc": {
  28770. "description": "申请来源 - 1:管理端 2:终端",
  28771. "type": "integer"
  28772. },
  28773. "applystatus": {
  28774. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  28775. "type": "integer"
  28776. },
  28777. "applytime": {
  28778. "description": "申请时间",
  28779. "type": "string"
  28780. },
  28781. "auditorid": {
  28782. "description": "审核人",
  28783. "type": "integer"
  28784. },
  28785. "auditremark": {
  28786. "description": "审核备注",
  28787. "type": "string"
  28788. },
  28789. "auditsrc": {
  28790. "description": "审核来源 - 1:管理端 2:终端",
  28791. "type": "integer"
  28792. },
  28793. "audittime": {
  28794. "description": "审核时间",
  28795. "type": "string"
  28796. },
  28797. "audittradedate": {
  28798. "description": "审核交易日(yyyyMMdd)",
  28799. "type": "string"
  28800. },
  28801. "brokerapplyid": {
  28802. "description": "申请ID(SEQ_BROKERAPPLY)",
  28803. "type": "integer"
  28804. },
  28805. "cardbackphotourl": {
  28806. "description": "证件背面图片地址",
  28807. "type": "string"
  28808. },
  28809. "cardfrontphotourl": {
  28810. "description": "证件正面图片地址",
  28811. "type": "string"
  28812. },
  28813. "cardnum": {
  28814. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  28815. "type": "string"
  28816. },
  28817. "customername": {
  28818. "description": "姓名",
  28819. "type": "string"
  28820. },
  28821. "logincode": {
  28822. "description": "登录代码",
  28823. "type": "string"
  28824. },
  28825. "mobile": {
  28826. "description": "手机号码",
  28827. "type": "string"
  28828. },
  28829. "parentuserid": {
  28830. "description": "所属机构id",
  28831. "type": "integer"
  28832. },
  28833. "parentusername": {
  28834. "description": "所属机构名称",
  28835. "type": "string"
  28836. },
  28837. "refereeuserid": {
  28838. "description": "推荐人id(经纪人)",
  28839. "type": "integer"
  28840. },
  28841. "refernum": {
  28842. "description": "推荐码",
  28843. "type": "string"
  28844. },
  28845. "remark": {
  28846. "description": "备注",
  28847. "type": "string"
  28848. },
  28849. "subarealevelpath": {
  28850. "description": "层级路径",
  28851. "type": "string"
  28852. },
  28853. "tradedate": {
  28854. "description": "交易日(yyyyMMdd)",
  28855. "type": "string"
  28856. },
  28857. "userid": {
  28858. "description": "申请人用户ID",
  28859. "type": "integer"
  28860. },
  28861. "userinfotype": {
  28862. "description": "用户类型 1-个人 2-企业",
  28863. "type": "integer"
  28864. },
  28865. "username": {
  28866. "description": "用户名称",
  28867. "type": "string"
  28868. }
  28869. }
  28870. },
  28871. "models.QhjBrokerApplyEx": {
  28872. "type": "object",
  28873. "properties": {
  28874. "applylist": {
  28875. "description": "经纪人申请记录(只返回最新一条)",
  28876. "type": "array",
  28877. "items": {
  28878. "$ref": "#/definitions/models.QhjBrokerApply"
  28879. }
  28880. },
  28881. "canrecommend": {
  28882. "description": "是否经纪人 0-不是 1-是",
  28883. "type": "integer"
  28884. },
  28885. "refernum": {
  28886. "description": "推荐码",
  28887. "type": "string"
  28888. },
  28889. "userid": {
  28890. "description": "用户id",
  28891. "type": "integer"
  28892. },
  28893. "userinfotype": {
  28894. "description": "用户类型 1-个人 2-企业",
  28895. "type": "integer"
  28896. }
  28897. }
  28898. },
  28899. "models.QhjBrokerRewardLog": {
  28900. "type": "object",
  28901. "properties": {
  28902. "accountid": {
  28903. "description": "资金账号ID",
  28904. "type": "integer"
  28905. },
  28906. "createtime": {
  28907. "description": "创建时间(时间)",
  28908. "type": "string"
  28909. },
  28910. "handlestatus": {
  28911. "description": "处理状态",
  28912. "type": "integer"
  28913. },
  28914. "logid": {
  28915. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28916. "type": "string"
  28917. },
  28918. "marketid": {
  28919. "description": "市场ID",
  28920. "type": "integer"
  28921. },
  28922. "mmaccountid": {
  28923. "description": "做市商资金账号ID",
  28924. "type": "string"
  28925. },
  28926. "mmuserid": {
  28927. "description": "做市商用户ID",
  28928. "type": "string"
  28929. },
  28930. "rewardamount": {
  28931. "description": "奖励金额",
  28932. "type": "number"
  28933. },
  28934. "rewardmodel": {
  28935. "description": "消费奖励方式 - 1:比率 2:固定",
  28936. "type": "integer"
  28937. },
  28938. "rewardtype": {
  28939. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  28940. "type": "integer"
  28941. },
  28942. "rewardvalue": {
  28943. "description": "配置奖励值",
  28944. "type": "number"
  28945. },
  28946. "srcamount": {
  28947. "description": "成交金额 [消费奖励] (金额)",
  28948. "type": "number"
  28949. },
  28950. "srcgoodsid": {
  28951. "description": "来源商品ID [消费奖励]",
  28952. "type": "string"
  28953. },
  28954. "srctime": {
  28955. "description": "来源时间 (成交时间) [消费奖励]",
  28956. "type": "string"
  28957. },
  28958. "srctradeid": {
  28959. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  28960. "type": "string"
  28961. },
  28962. "srcuserid": {
  28963. "description": "来源用户ID(推广账户)",
  28964. "type": "string"
  28965. },
  28966. "srcusername": {
  28967. "description": "推广账户名称",
  28968. "type": "string"
  28969. },
  28970. "tradedate": {
  28971. "description": "交易日(yyyyMMdd)",
  28972. "type": "string"
  28973. },
  28974. "userid": {
  28975. "description": "经纪人用户ID",
  28976. "type": "integer"
  28977. }
  28978. }
  28979. },
  28980. "models.QhjContract": {
  28981. "type": "object",
  28982. "properties": {
  28983. "contractconfirmtime": {
  28984. "description": "合同确认时间(时间)",
  28985. "type": "string"
  28986. },
  28987. "currisklevel": {
  28988. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  28989. "type": "integer"
  28990. },
  28991. "decimalplace": {
  28992. "description": "商品报价小数位",
  28993. "type": "integer"
  28994. },
  28995. "enumdicname": {
  28996. "description": "单位名称",
  28997. "type": "string"
  28998. },
  28999. "goodscode": {
  29000. "description": "商品代码",
  29001. "type": "string"
  29002. },
  29003. "goodsid": {
  29004. "description": "商品ID [5:融资单]",
  29005. "type": "integer"
  29006. },
  29007. "goodsname": {
  29008. "description": "商品名称",
  29009. "type": "string"
  29010. },
  29011. "goodunitid": {
  29012. "description": "商品单位id",
  29013. "type": "integer"
  29014. },
  29015. "initmargin": {
  29016. "description": "初始保证金(首付款)",
  29017. "type": "number"
  29018. },
  29019. "lenderamount": {
  29020. "description": "贷款金额(总额|订单总额)",
  29021. "type": "number"
  29022. },
  29023. "marginratio": {
  29024. "description": "保证金比率(首付比例)",
  29025. "type": "number"
  29026. },
  29027. "payamount": {
  29028. "description": "已付(已付货款)",
  29029. "type": "number"
  29030. },
  29031. "reckonrecovermargin": {
  29032. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  29033. "type": "number"
  29034. },
  29035. "recoveredmargin": {
  29036. "description": "已追缴保证金",
  29037. "type": "number"
  29038. },
  29039. "remainamount": {
  29040. "description": "合同剩余金额(融资额)",
  29041. "type": "number"
  29042. },
  29043. "scfcontractid": {
  29044. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  29045. "type": "string"
  29046. },
  29047. "scfcontractstatus": {
  29048. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  29049. "type": "integer"
  29050. },
  29051. "scfcontracttype": {
  29052. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  29053. "type": "integer"
  29054. },
  29055. "totalinterest": {
  29056. "description": "已计总利息(利息)",
  29057. "type": "number"
  29058. },
  29059. "tradeprice": {
  29060. "description": "成交价格(成本价格)",
  29061. "type": "number"
  29062. },
  29063. "userid": {
  29064. "description": "用户ID",
  29065. "type": "integer"
  29066. },
  29067. "username": {
  29068. "description": "用户名称",
  29069. "type": "string"
  29070. },
  29071. "wrqty": {
  29072. "description": "仓单数量(数量)",
  29073. "type": "number"
  29074. }
  29075. }
  29076. },
  29077. "models.QhjContractLog": {
  29078. "type": "object",
  29079. "properties": {
  29080. "amount": {
  29081. "description": "支付金额",
  29082. "type": "number"
  29083. },
  29084. "amounttype": {
  29085. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  29086. "type": "integer"
  29087. },
  29088. "logid": {
  29089. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29090. "type": "string"
  29091. },
  29092. "remainamount": {
  29093. "description": "剩余货款",
  29094. "type": "number"
  29095. },
  29096. "scfcontractid": {
  29097. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  29098. "type": "integer"
  29099. },
  29100. "updatetime": {
  29101. "description": "更新时间",
  29102. "type": "string"
  29103. }
  29104. }
  29105. },
  29106. "models.QhjCusBankSignBankEx": {
  29107. "type": "object",
  29108. "properties": {
  29109. "banklst": {
  29110. "description": "银行列表",
  29111. "type": "array",
  29112. "items": {
  29113. "$ref": "#/definitions/models.QhjBankInfo"
  29114. }
  29115. },
  29116. "canallot": {
  29117. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  29118. "type": "integer"
  29119. },
  29120. "canallotquery": {
  29121. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  29122. "type": "integer"
  29123. },
  29124. "canbindcard": {
  29125. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  29126. "type": "integer"
  29127. },
  29128. "caninamount": {
  29129. "description": "是否可入金 - 0:不可 1:可以",
  29130. "type": "integer"
  29131. },
  29132. "caninamount2": {
  29133. "description": "是否可入金(网银端) - 0:不可 1:可以",
  29134. "type": "integer"
  29135. },
  29136. "canmodifybankcard": {
  29137. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  29138. "type": "integer"
  29139. },
  29140. "canmodifyphone": {
  29141. "description": "是否可修改手机号 - 0:不可 1:可以",
  29142. "type": "integer"
  29143. },
  29144. "canmodifysigninfo": {
  29145. "description": "是否可修改签约信息 - 0:不可 1:可以",
  29146. "type": "integer"
  29147. },
  29148. "canoutamount": {
  29149. "description": "是否可出金 - 0:不可 1:可以",
  29150. "type": "integer"
  29151. },
  29152. "canoutamount2": {
  29153. "description": "是否可出金(网银端) - 0:不可 1:可以",
  29154. "type": "integer"
  29155. },
  29156. "canrelease": {
  29157. "description": "是否可解约 - 0:不可 1:可以",
  29158. "type": "integer"
  29159. },
  29160. "canrelease2": {
  29161. "description": "是否可解约(网银端) - 0:不可 1:可以",
  29162. "type": "integer"
  29163. },
  29164. "cansign": {
  29165. "description": "是否可签约 - 0:不可 1:可以",
  29166. "type": "integer"
  29167. },
  29168. "cansign2": {
  29169. "description": "是否可签约(网银端) - 0:不可 1:可以",
  29170. "type": "integer"
  29171. },
  29172. "currency": {
  29173. "description": "币种",
  29174. "type": "string"
  29175. },
  29176. "cusbankid": {
  29177. "description": "托管银行编号(对应清算中心TRAN_NO)",
  29178. "type": "string"
  29179. },
  29180. "cusbankname": {
  29181. "description": "银行业务名称",
  29182. "type": "string"
  29183. },
  29184. "cusbankshortname": {
  29185. "description": "银行业务简称",
  29186. "type": "string"
  29187. },
  29188. "exchbankid": {
  29189. "description": "交易所开户银行ID",
  29190. "type": "string"
  29191. },
  29192. "exchpaybankaccname": {
  29193. "description": "交易所支出结算账户户名",
  29194. "type": "string"
  29195. },
  29196. "exchpaybankaccno": {
  29197. "description": "交易所支出结算账户",
  29198. "type": "string"
  29199. },
  29200. "isneedcheck": {
  29201. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  29202. "type": "integer"
  29203. },
  29204. "isneedclear": {
  29205. "description": "是否需要清算 - 0:不需要 1:需要",
  29206. "type": "integer"
  29207. },
  29208. "lastcheckstatus": {
  29209. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  29210. "type": "integer"
  29211. },
  29212. "lastchecktime": {
  29213. "description": "最后对账时间",
  29214. "type": "string"
  29215. },
  29216. "lastclearstatus": {
  29217. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  29218. "type": "integer"
  29219. },
  29220. "lastcleartime": {
  29221. "description": "最后清算时间",
  29222. "type": "string"
  29223. },
  29224. "lastsignintime": {
  29225. "description": "最后签到时间",
  29226. "type": "string"
  29227. },
  29228. "lastsignouttime": {
  29229. "description": "最后签退时间",
  29230. "type": "string"
  29231. },
  29232. "riskinfo": {
  29233. "description": "签约风险提示书",
  29234. "type": "string"
  29235. },
  29236. "signstatus": {
  29237. "description": "当前签到/签退状态 - 1:签到 2:签退",
  29238. "type": "integer"
  29239. },
  29240. "tradedate": {
  29241. "description": "交易日(yyyyMMdd)",
  29242. "type": "string"
  29243. },
  29244. "updatetime": {
  29245. "description": "当前签到/签退更新时间",
  29246. "type": "string"
  29247. }
  29248. }
  29249. },
  29250. "models.QhjCustomer": {
  29251. "type": "object",
  29252. "properties": {
  29253. "address": {
  29254. "description": "通讯地址",
  29255. "type": "string"
  29256. },
  29257. "attachment1": {
  29258. "description": "附件1",
  29259. "type": "string"
  29260. },
  29261. "attachment2": {
  29262. "description": "附件2",
  29263. "type": "string"
  29264. },
  29265. "audittime": {
  29266. "description": "审核时间",
  29267. "type": "string"
  29268. },
  29269. "cardbackphotourl": {
  29270. "description": "证件反面图片地址",
  29271. "type": "string"
  29272. },
  29273. "cardfrontphotourl": {
  29274. "description": "证件正面图片地址",
  29275. "type": "string"
  29276. },
  29277. "cardnum": {
  29278. "description": "证件号码",
  29279. "type": "string"
  29280. },
  29281. "cardtype": {
  29282. "description": "证件类型",
  29283. "type": "integer"
  29284. },
  29285. "cardtypename": {
  29286. "description": "证件类型名称",
  29287. "type": "string"
  29288. },
  29289. "cityid": {
  29290. "description": "市",
  29291. "type": "integer"
  29292. },
  29293. "cityname": {
  29294. "description": "城市名称",
  29295. "type": "string"
  29296. },
  29297. "contactname": {
  29298. "description": "联系人",
  29299. "type": "string"
  29300. },
  29301. "countryid": {
  29302. "description": "国家",
  29303. "type": "integer"
  29304. },
  29305. "countryname": {
  29306. "description": "国家名称",
  29307. "type": "string"
  29308. },
  29309. "createtime": {
  29310. "description": "创建时间",
  29311. "type": "string"
  29312. },
  29313. "customername": {
  29314. "description": "客户名称",
  29315. "type": "string"
  29316. },
  29317. "districtid": {
  29318. "description": "区域",
  29319. "type": "integer"
  29320. },
  29321. "districtname": {
  29322. "description": "地区名称",
  29323. "type": "string"
  29324. },
  29325. "email": {
  29326. "description": "邮件",
  29327. "type": "string"
  29328. },
  29329. "legalpersonname": {
  29330. "description": "法人姓名(企业)",
  29331. "type": "string"
  29332. },
  29333. "logincode": {
  29334. "description": "登录账号(代码)",
  29335. "type": "string"
  29336. },
  29337. "memberuserid": {
  29338. "description": "所属机构ID(所属会员)",
  29339. "type": "integer"
  29340. },
  29341. "memberusername": {
  29342. "description": "所属会员名称",
  29343. "type": "string"
  29344. },
  29345. "mobile": {
  29346. "description": "手机号码",
  29347. "type": "string"
  29348. },
  29349. "modifytime": {
  29350. "description": "修改时间",
  29351. "type": "string"
  29352. },
  29353. "nickname": {
  29354. "description": "昵称",
  29355. "type": "string"
  29356. },
  29357. "parentuserid": {
  29358. "description": "上级机构(所属机构)",
  29359. "type": "integer"
  29360. },
  29361. "parentusername": {
  29362. "description": "所属机构名称",
  29363. "type": "string"
  29364. },
  29365. "provinceid": {
  29366. "description": "省",
  29367. "type": "integer"
  29368. },
  29369. "provincename": {
  29370. "description": "省名称",
  29371. "type": "string"
  29372. },
  29373. "proxystatementurl": {
  29374. "description": "授权委托书",
  29375. "type": "string"
  29376. },
  29377. "remark": {
  29378. "description": "备注",
  29379. "type": "string"
  29380. },
  29381. "status": {
  29382. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  29383. "type": "integer"
  29384. },
  29385. "statusdesc": {
  29386. "description": "账户状态中文描述",
  29387. "type": "string"
  29388. },
  29389. "taxpayernum": {
  29390. "description": "纳税人识别号",
  29391. "type": "string"
  29392. },
  29393. "telphone": {
  29394. "description": "联系电话",
  29395. "type": "string"
  29396. },
  29397. "userid": {
  29398. "description": "用户ID",
  29399. "type": "integer"
  29400. },
  29401. "userinfotype": {
  29402. "description": "客户类型 1-个人 2-企业",
  29403. "type": "integer"
  29404. },
  29405. "username": {
  29406. "description": "用户名称",
  29407. "type": "string"
  29408. }
  29409. }
  29410. },
  29411. "models.QhjCustomerSignLog": {
  29412. "type": "object",
  29413. "properties": {
  29414. "agreementcontent": {
  29415. "description": "协议内容",
  29416. "type": "string"
  29417. },
  29418. "agreementid": {
  29419. "description": "协议ID",
  29420. "type": "integer"
  29421. },
  29422. "agreementname": {
  29423. "description": "协议名称",
  29424. "type": "string"
  29425. },
  29426. "agreementno": {
  29427. "description": "协议编号",
  29428. "type": "string"
  29429. },
  29430. "agreementtype": {
  29431. "description": "协议类型 - 1:注册 2:登录 3:交易",
  29432. "type": "integer"
  29433. },
  29434. "agreementversion": {
  29435. "description": "协议版本号",
  29436. "type": "integer"
  29437. },
  29438. "createtime": {
  29439. "description": "创建时间",
  29440. "type": "string"
  29441. },
  29442. "goodscode": {
  29443. "description": "商品代码",
  29444. "type": "string"
  29445. },
  29446. "goodsid": {
  29447. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29448. "type": "integer"
  29449. },
  29450. "goodsname": {
  29451. "description": "商品名称",
  29452. "type": "string"
  29453. },
  29454. "logid": {
  29455. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  29456. "type": "integer"
  29457. },
  29458. "nodetype": {
  29459. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  29460. "type": "integer"
  29461. },
  29462. "signadressurl": {
  29463. "description": "签约文件地址",
  29464. "type": "string"
  29465. },
  29466. "signtimestamp": {
  29467. "description": "签约状态时间戳",
  29468. "type": "string"
  29469. },
  29470. "userid": {
  29471. "description": "客户ID",
  29472. "type": "integer"
  29473. },
  29474. "username": {
  29475. "description": "客户名称",
  29476. "type": "string"
  29477. }
  29478. }
  29479. },
  29480. "models.QhjCustomerSignStatus": {
  29481. "type": "object",
  29482. "properties": {
  29483. "createtime": {
  29484. "description": "创建时间",
  29485. "type": "string"
  29486. },
  29487. "goodscode": {
  29488. "description": "商品代码",
  29489. "type": "string"
  29490. },
  29491. "goodsid": {
  29492. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29493. "type": "integer"
  29494. },
  29495. "goodsname": {
  29496. "description": "商品名称",
  29497. "type": "string"
  29498. },
  29499. "nodetype": {
  29500. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  29501. "type": "integer"
  29502. },
  29503. "signtimestamp": {
  29504. "description": "签约状态时间戳",
  29505. "type": "string"
  29506. },
  29507. "tradedate": {
  29508. "description": "创建交易日(yyyyMMdd)",
  29509. "type": "string"
  29510. },
  29511. "updatetime": {
  29512. "description": "更新时间",
  29513. "type": "string"
  29514. },
  29515. "userid": {
  29516. "description": "客户ID",
  29517. "type": "integer"
  29518. },
  29519. "username": {
  29520. "description": "客户名称",
  29521. "type": "string"
  29522. }
  29523. }
  29524. },
  29525. "models.QhjMgrAccountOutInApply": {
  29526. "type": "object",
  29527. "properties": {
  29528. "accountcode": {
  29529. "description": "资金账号",
  29530. "type": "string"
  29531. },
  29532. "accountname": {
  29533. "description": "用户名称(名称)",
  29534. "type": "string"
  29535. },
  29536. "accountpwd": {
  29537. "description": "资金密码",
  29538. "type": "string"
  29539. },
  29540. "accountticket": {
  29541. "description": "最新账户服务流水号",
  29542. "type": "string"
  29543. },
  29544. "amount": {
  29545. "description": "金额",
  29546. "type": "number"
  29547. },
  29548. "applyremark": {
  29549. "description": "申请备注",
  29550. "type": "string"
  29551. },
  29552. "applystatus": {
  29553. "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: 复审通过,账户冻结金额检查中;",
  29554. "type": "integer"
  29555. },
  29556. "auditid": {
  29557. "description": "审核人",
  29558. "type": "integer"
  29559. },
  29560. "audittime": {
  29561. "description": "审核时间",
  29562. "type": "string"
  29563. },
  29564. "bank_apply_ticket": {
  29565. "description": "银行申请流水",
  29566. "type": "string"
  29567. },
  29568. "bankaccountname": {
  29569. "description": "银行账户名",
  29570. "type": "string"
  29571. },
  29572. "bankaccountno": {
  29573. "description": "银行卡号",
  29574. "type": "string"
  29575. },
  29576. "bankid": {
  29577. "description": "银行编号",
  29578. "type": "string"
  29579. },
  29580. "bankname": {
  29581. "description": "银行名称",
  29582. "type": "string"
  29583. },
  29584. "bankticket": {
  29585. "description": "银行流水",
  29586. "type": "string"
  29587. },
  29588. "branchbankid": {
  29589. "description": "银行支行号",
  29590. "type": "string"
  29591. },
  29592. "branchbankname": {
  29593. "description": "银行支行名称",
  29594. "type": "string"
  29595. },
  29596. "capamountout": {
  29597. "description": "出金(劣后本金) - 外部子账户",
  29598. "type": "number"
  29599. },
  29600. "certificatephotourl": {
  29601. "description": "凭证地址",
  29602. "type": "string"
  29603. },
  29604. "charge": {
  29605. "description": "手续费",
  29606. "type": "number"
  29607. },
  29608. "checkerrorflag": {
  29609. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  29610. "type": "integer"
  29611. },
  29612. "currency": {
  29613. "description": "币种",
  29614. "type": "string"
  29615. },
  29616. "cusbankid": {
  29617. "description": "托管银行编号",
  29618. "type": "string"
  29619. },
  29620. "exchticket": {
  29621. "description": "银行服务流水号",
  29622. "type": "string"
  29623. },
  29624. "executetype": {
  29625. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  29626. "type": "integer"
  29627. },
  29628. "extendinfo": {
  29629. "description": "扩展信息",
  29630. "type": "string"
  29631. },
  29632. "extoperateid": {
  29633. "description": "交易服务流水号",
  29634. "type": "integer"
  29635. },
  29636. "infamount": {
  29637. "description": "劣后金额(自有)",
  29638. "type": "number"
  29639. },
  29640. "logincode": {
  29641. "description": "登录账号(账号)",
  29642. "type": "string"
  29643. },
  29644. "netaddr": {
  29645. "description": "调转网址",
  29646. "type": "string"
  29647. },
  29648. "priamount": {
  29649. "description": "优先金额(授信)",
  29650. "type": "number"
  29651. },
  29652. "reauditid": {
  29653. "description": "复审人",
  29654. "type": "integer"
  29655. },
  29656. "reauditremark": {
  29657. "description": "复审备注",
  29658. "type": "string"
  29659. },
  29660. "reaudittime": {
  29661. "description": "复审时间",
  29662. "type": "string"
  29663. },
  29664. "relatedorderid": {
  29665. "description": "三方关联ID",
  29666. "type": "string"
  29667. },
  29668. "remark": {
  29669. "description": "备注",
  29670. "type": "string"
  29671. },
  29672. "remark2": {
  29673. "description": "备注(失败原因)",
  29674. "type": "string"
  29675. },
  29676. "soucreamount": {
  29677. "description": "原始出入金金额",
  29678. "type": "number"
  29679. },
  29680. "soucrecurrencyid": {
  29681. "description": "原始出入金币种",
  29682. "type": "integer"
  29683. },
  29684. "tradedate": {
  29685. "description": "交易日(yyyyMMdd)",
  29686. "type": "string"
  29687. },
  29688. "updatetime": {
  29689. "description": "更新时间(申请时间)",
  29690. "type": "string"
  29691. },
  29692. "userid": {
  29693. "description": "用户id",
  29694. "type": "integer"
  29695. },
  29696. "userinfotype": {
  29697. "description": "账户类型 1-个人 2-企业",
  29698. "type": "integer"
  29699. }
  29700. }
  29701. },
  29702. "models.QhjMgrBrokerApply": {
  29703. "type": "object",
  29704. "properties": {
  29705. "applicantid": {
  29706. "description": "申请人",
  29707. "type": "integer"
  29708. },
  29709. "applysrc": {
  29710. "description": "申请来源 - 1:管理端 2:终端",
  29711. "type": "integer"
  29712. },
  29713. "applystatus": {
  29714. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  29715. "type": "integer"
  29716. },
  29717. "applytime": {
  29718. "description": "申请时间",
  29719. "type": "string"
  29720. },
  29721. "auditorid": {
  29722. "description": "审核人",
  29723. "type": "integer"
  29724. },
  29725. "auditremark": {
  29726. "description": "审核备注",
  29727. "type": "string"
  29728. },
  29729. "auditsrc": {
  29730. "description": "审核来源 - 1:管理端 2:终端",
  29731. "type": "integer"
  29732. },
  29733. "audittime": {
  29734. "description": "审核时间",
  29735. "type": "string"
  29736. },
  29737. "audittradedate": {
  29738. "description": "审核交易日(yyyyMMdd)",
  29739. "type": "string"
  29740. },
  29741. "brokerapplyid": {
  29742. "description": "申请ID(SEQ_BROKERAPPLY)",
  29743. "type": "integer"
  29744. },
  29745. "cardbackphotourl": {
  29746. "description": "证件背面图片地址",
  29747. "type": "string"
  29748. },
  29749. "cardfrontphotourl": {
  29750. "description": "证件正面图片地址",
  29751. "type": "string"
  29752. },
  29753. "cardnum": {
  29754. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  29755. "type": "string"
  29756. },
  29757. "customername": {
  29758. "description": "姓名",
  29759. "type": "string"
  29760. },
  29761. "filterstatus": {
  29762. "description": "筛选条件",
  29763. "type": "string"
  29764. },
  29765. "logincode": {
  29766. "description": "登录代码",
  29767. "type": "string"
  29768. },
  29769. "mobile": {
  29770. "description": "手机号码",
  29771. "type": "string"
  29772. },
  29773. "parentuserid": {
  29774. "description": "所属机构id",
  29775. "type": "integer"
  29776. },
  29777. "parentusername": {
  29778. "description": "所属机构名称",
  29779. "type": "string"
  29780. },
  29781. "refereeuserid": {
  29782. "description": "推荐人id(经纪人)",
  29783. "type": "integer"
  29784. },
  29785. "refernum": {
  29786. "description": "推荐码",
  29787. "type": "string"
  29788. },
  29789. "remark": {
  29790. "description": "备注",
  29791. "type": "string"
  29792. },
  29793. "subarealevelpath": {
  29794. "description": "层级路径",
  29795. "type": "string"
  29796. },
  29797. "tradedate": {
  29798. "description": "交易日(yyyyMMdd)",
  29799. "type": "string"
  29800. },
  29801. "userid": {
  29802. "description": "申请人用户ID",
  29803. "type": "integer"
  29804. },
  29805. "userinfotype": {
  29806. "description": "用户类型 1-个人 2-企业",
  29807. "type": "integer"
  29808. },
  29809. "username": {
  29810. "description": "用户名称",
  29811. "type": "string"
  29812. }
  29813. }
  29814. },
  29815. "models.QhjMgrBrokerRewardReport": {
  29816. "type": "object",
  29817. "properties": {
  29818. "createtime": {
  29819. "description": "创建时间(注册时间)",
  29820. "type": "string"
  29821. },
  29822. "cycletime": {
  29823. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  29824. "type": "string"
  29825. },
  29826. "cycletype": {
  29827. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  29828. "type": "integer"
  29829. },
  29830. "directtotalnum": {
  29831. "description": "直推总人数【期末】",
  29832. "type": "integer"
  29833. },
  29834. "indirecttotalnum": {
  29835. "description": "间推总人数【期末】",
  29836. "type": "integer"
  29837. },
  29838. "mobile": {
  29839. "description": "电话号码",
  29840. "type": "string"
  29841. },
  29842. "refereeuserid": {
  29843. "description": "推荐人id(经纪人id)",
  29844. "type": "integer"
  29845. },
  29846. "refereeusername": {
  29847. "description": "推荐人名称(经纪人) 上级经纪人名称",
  29848. "type": "string"
  29849. },
  29850. "refernum": {
  29851. "description": "推荐码",
  29852. "type": "string"
  29853. },
  29854. "subarealevelpath": {
  29855. "description": "用户层级路径",
  29856. "type": "string"
  29857. },
  29858. "todayrewardamount": {
  29859. "description": "奖励总金额【汇总】",
  29860. "type": "number"
  29861. },
  29862. "updatetime": {
  29863. "description": "更新时间",
  29864. "type": "string"
  29865. },
  29866. "userid": {
  29867. "description": "经纪人用户ID",
  29868. "type": "integer"
  29869. },
  29870. "userinfotype": {
  29871. "description": "用户类型 1-个人 2-企业",
  29872. "type": "integer"
  29873. },
  29874. "username": {
  29875. "description": "用户名称",
  29876. "type": "string"
  29877. }
  29878. }
  29879. },
  29880. "models.QhjMgrContract": {
  29881. "type": "object",
  29882. "properties": {
  29883. "contractconfirmtime": {
  29884. "description": "合同确认时间(时间)",
  29885. "type": "string"
  29886. },
  29887. "currisklevel": {
  29888. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  29889. "type": "integer"
  29890. },
  29891. "decimalplace": {
  29892. "description": "商品报价小数位",
  29893. "type": "integer"
  29894. },
  29895. "enumdicname": {
  29896. "description": "单位名称",
  29897. "type": "string"
  29898. },
  29899. "goodscode": {
  29900. "description": "商品代码",
  29901. "type": "string"
  29902. },
  29903. "goodsid": {
  29904. "description": "商品ID [5:融资单]",
  29905. "type": "integer"
  29906. },
  29907. "goodsname": {
  29908. "description": "商品名称",
  29909. "type": "string"
  29910. },
  29911. "goodunitid": {
  29912. "description": "商品单位id",
  29913. "type": "integer"
  29914. },
  29915. "initmargin": {
  29916. "description": "初始保证金(首付款)",
  29917. "type": "number"
  29918. },
  29919. "lenderamount": {
  29920. "description": "贷款金额(总额|订单总额)",
  29921. "type": "number"
  29922. },
  29923. "logincode": {
  29924. "description": "账号(登录代码)",
  29925. "type": "string"
  29926. },
  29927. "marginratio": {
  29928. "description": "保证金比率(首付比例)",
  29929. "type": "number"
  29930. },
  29931. "mobile": {
  29932. "description": "电话号码(用户资料里的电话)",
  29933. "type": "string"
  29934. },
  29935. "payamount": {
  29936. "description": "已付(已付货款)",
  29937. "type": "number"
  29938. },
  29939. "reckonrecovermargin": {
  29940. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  29941. "type": "number"
  29942. },
  29943. "recoveredmargin": {
  29944. "description": "已追缴保证金",
  29945. "type": "number"
  29946. },
  29947. "remainamount": {
  29948. "description": "合同剩余金额(融资额)",
  29949. "type": "number"
  29950. },
  29951. "scfcontractid": {
  29952. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  29953. "type": "string"
  29954. },
  29955. "scfcontractstatus": {
  29956. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  29957. "type": "integer"
  29958. },
  29959. "scfcontracttype": {
  29960. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  29961. "type": "integer"
  29962. },
  29963. "totalinterest": {
  29964. "description": "已计总利息(利息)",
  29965. "type": "number"
  29966. },
  29967. "tradedate": {
  29968. "description": "交易日",
  29969. "type": "string"
  29970. },
  29971. "tradeprice": {
  29972. "description": "成交价格(成本价格)",
  29973. "type": "number"
  29974. },
  29975. "userid": {
  29976. "description": "用户ID",
  29977. "type": "integer"
  29978. },
  29979. "userinfotype": {
  29980. "description": "用户类型 1-个人 2-企业",
  29981. "type": "integer"
  29982. },
  29983. "username": {
  29984. "description": "用户名称",
  29985. "type": "string"
  29986. },
  29987. "wrqty": {
  29988. "description": "仓单数量(数量)",
  29989. "type": "number"
  29990. }
  29991. }
  29992. },
  29993. "models.QhjMgrCustomer": {
  29994. "type": "object",
  29995. "properties": {
  29996. "address": {
  29997. "description": "通讯地址",
  29998. "type": "string"
  29999. },
  30000. "attachment1": {
  30001. "description": "附件1",
  30002. "type": "string"
  30003. },
  30004. "audittime": {
  30005. "description": "审核时间",
  30006. "type": "string"
  30007. },
  30008. "birthday": {
  30009. "description": "生日",
  30010. "type": "string"
  30011. },
  30012. "brokerid": {
  30013. "description": "所属客户经理id",
  30014. "type": "integer"
  30015. },
  30016. "brokername": {
  30017. "description": "所属客户经理名称",
  30018. "type": "string"
  30019. },
  30020. "cardbackphotourl": {
  30021. "description": "证件反面图片地址",
  30022. "type": "string"
  30023. },
  30024. "cardfrontphotourl": {
  30025. "description": "证件正面图片地址",
  30026. "type": "string"
  30027. },
  30028. "cardnum": {
  30029. "description": "证件号码",
  30030. "type": "string"
  30031. },
  30032. "cardtype": {
  30033. "description": "证件类型",
  30034. "type": "integer"
  30035. },
  30036. "cardtypename": {
  30037. "description": "证件类型名称",
  30038. "type": "string"
  30039. },
  30040. "cityid": {
  30041. "description": "市",
  30042. "type": "integer"
  30043. },
  30044. "cityname": {
  30045. "description": "城市名称",
  30046. "type": "string"
  30047. },
  30048. "contactname": {
  30049. "description": "联系人",
  30050. "type": "string"
  30051. },
  30052. "countryid": {
  30053. "description": "国家",
  30054. "type": "integer"
  30055. },
  30056. "countryname": {
  30057. "description": "国家名称",
  30058. "type": "string"
  30059. },
  30060. "createtime": {
  30061. "description": "创建时间",
  30062. "type": "string"
  30063. },
  30064. "customername": {
  30065. "description": "客户名称",
  30066. "type": "string"
  30067. },
  30068. "districtid": {
  30069. "description": "区域",
  30070. "type": "integer"
  30071. },
  30072. "districtname": {
  30073. "description": "地区名称",
  30074. "type": "string"
  30075. },
  30076. "email": {
  30077. "description": "邮件",
  30078. "type": "string"
  30079. },
  30080. "legalpersonname": {
  30081. "description": "法人姓名(企业)",
  30082. "type": "string"
  30083. },
  30084. "logincode": {
  30085. "description": "登录账号(代码)",
  30086. "type": "string"
  30087. },
  30088. "memberuserid": {
  30089. "description": "所属机构ID(所属会员)",
  30090. "type": "integer"
  30091. },
  30092. "memberusername": {
  30093. "description": "所属会员名称",
  30094. "type": "string"
  30095. },
  30096. "mobile": {
  30097. "description": "手机号码",
  30098. "type": "string"
  30099. },
  30100. "modifytime": {
  30101. "description": "修改时间",
  30102. "type": "string"
  30103. },
  30104. "nickname": {
  30105. "description": "昵称",
  30106. "type": "string"
  30107. },
  30108. "parentuserid": {
  30109. "description": "上级机构(所属机构)",
  30110. "type": "integer"
  30111. },
  30112. "parentusername": {
  30113. "description": "所属机构名称",
  30114. "type": "string"
  30115. },
  30116. "provinceid": {
  30117. "description": "省",
  30118. "type": "integer"
  30119. },
  30120. "provincename": {
  30121. "description": "省名称",
  30122. "type": "string"
  30123. },
  30124. "proxystatementurl": {
  30125. "description": "授权委托书",
  30126. "type": "string"
  30127. },
  30128. "querytype": {
  30129. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  30130. "type": "integer"
  30131. },
  30132. "remark": {
  30133. "description": "备注",
  30134. "type": "string"
  30135. },
  30136. "sex": {
  30137. "description": "性别 0-女 1-男",
  30138. "type": "integer"
  30139. },
  30140. "status": {
  30141. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30142. "type": "integer"
  30143. },
  30144. "statusdesc": {
  30145. "description": "账户状态中文描述",
  30146. "type": "string"
  30147. },
  30148. "taxpayernum": {
  30149. "description": "纳税人识别号",
  30150. "type": "string"
  30151. },
  30152. "telphone": {
  30153. "description": "联系电话",
  30154. "type": "string"
  30155. },
  30156. "userid": {
  30157. "description": "用户ID",
  30158. "type": "integer"
  30159. },
  30160. "userinfotype": {
  30161. "description": "客户类型 1-个人 2-企业",
  30162. "type": "integer"
  30163. },
  30164. "username": {
  30165. "description": "用户名称",
  30166. "type": "string"
  30167. }
  30168. }
  30169. },
  30170. "models.QhjMgrPickGoods": {
  30171. "type": "object",
  30172. "properties": {
  30173. "enumdicname": {
  30174. "description": "单位名称(提货商品)",
  30175. "type": "string"
  30176. },
  30177. "goodsid": {
  30178. "description": "商品id",
  30179. "type": "integer"
  30180. },
  30181. "imageaddress": {
  30182. "description": "图片",
  30183. "type": "string"
  30184. },
  30185. "modifierid": {
  30186. "description": "修改人",
  30187. "type": "integer"
  30188. },
  30189. "modifiername": {
  30190. "description": "修改人名称",
  30191. "type": "string"
  30192. },
  30193. "modifysrc": {
  30194. "description": "修改来源 - 1:管理端 2:终端",
  30195. "type": "integer"
  30196. },
  30197. "pickupgoodsagreeunit": {
  30198. "description": "合约乘数",
  30199. "type": "number"
  30200. },
  30201. "pickupgoodsdesc": {
  30202. "description": "描述",
  30203. "type": "string"
  30204. },
  30205. "pickupgoodsid": {
  30206. "description": "提货商品ID",
  30207. "type": "string"
  30208. },
  30209. "pickupgoodsname": {
  30210. "description": "提货商品名称",
  30211. "type": "string"
  30212. },
  30213. "pickupgoodsstatus": {
  30214. "description": "状态 - 1:正常 2:停用 3:注销",
  30215. "type": "integer"
  30216. },
  30217. "pickupgoodsunitid": {
  30218. "description": "单位ID",
  30219. "type": "integer"
  30220. },
  30221. "pickupratio": {
  30222. "description": "提货系数",
  30223. "type": "number"
  30224. },
  30225. "preparedays": {
  30226. "description": "备货期(天)",
  30227. "type": "integer"
  30228. },
  30229. "remark": {
  30230. "description": "备注",
  30231. "type": "string"
  30232. },
  30233. "updatetime": {
  30234. "description": "更新时间",
  30235. "type": "string"
  30236. }
  30237. }
  30238. },
  30239. "models.QhjMgrPositionRsp": {
  30240. "type": "object",
  30241. "properties": {
  30242. "accountid": {
  30243. "description": "账号Id",
  30244. "type": "integer"
  30245. },
  30246. "accountname": {
  30247. "description": "用户名称",
  30248. "type": "string"
  30249. },
  30250. "agreeunit": {
  30251. "description": "合约乘数",
  30252. "type": "number"
  30253. },
  30254. "averageprice": {
  30255. "description": "均价",
  30256. "type": "number"
  30257. },
  30258. "avialqty": {
  30259. "description": "可用数量",
  30260. "type": "number"
  30261. },
  30262. "decimalplace": {
  30263. "description": "报价小数位",
  30264. "type": "integer"
  30265. },
  30266. "enumdicname": {
  30267. "description": "单位名称(商品)",
  30268. "type": "string"
  30269. },
  30270. "frozenqty": {
  30271. "description": "冻结数量",
  30272. "type": "number"
  30273. },
  30274. "goodscode": {
  30275. "description": "商品代码(内部)",
  30276. "type": "string"
  30277. },
  30278. "goodsid": {
  30279. "description": "商品Id",
  30280. "type": "integer"
  30281. },
  30282. "goodsname": {
  30283. "description": "商品名称",
  30284. "type": "string"
  30285. },
  30286. "goodunitid": {
  30287. "description": "报价单位ID",
  30288. "type": "integer"
  30289. },
  30290. "holderamount": {
  30291. "description": "金额",
  30292. "type": "number"
  30293. },
  30294. "holderqty": {
  30295. "description": "持有数量",
  30296. "type": "number"
  30297. },
  30298. "holdertype": {
  30299. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  30300. "type": "integer"
  30301. },
  30302. "logincode": {
  30303. "description": "登录代码(账户)",
  30304. "type": "string"
  30305. },
  30306. "marketid": {
  30307. "description": "市场id",
  30308. "type": "integer"
  30309. },
  30310. "qtydecimalplace": {
  30311. "description": "成交量小数位",
  30312. "type": "integer"
  30313. },
  30314. "trademode": {
  30315. "description": "交易模式",
  30316. "type": "integer"
  30317. },
  30318. "userid": {
  30319. "description": "用户id",
  30320. "type": "integer"
  30321. },
  30322. "userinfotype": {
  30323. "description": "账户类型 1-个人 2-企业",
  30324. "type": "integer"
  30325. }
  30326. }
  30327. },
  30328. "models.QhjMgrSubArea": {
  30329. "type": "object",
  30330. "properties": {
  30331. "accountname": {
  30332. "description": "账户名称(机构名称)",
  30333. "type": "string"
  30334. },
  30335. "memberuserid": {
  30336. "description": "所属会员ID",
  30337. "type": "integer"
  30338. },
  30339. "parenttopuser": {
  30340. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  30341. "type": "string"
  30342. },
  30343. "parentuserid": {
  30344. "description": "所属机构ID",
  30345. "type": "integer"
  30346. },
  30347. "rootuserid": {
  30348. "description": "根用户ID",
  30349. "type": "string"
  30350. },
  30351. "subaccountlevel": {
  30352. "description": "子账户层数",
  30353. "type": "integer"
  30354. },
  30355. "subarealevelpath": {
  30356. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  30357. "type": "string"
  30358. },
  30359. "userid": {
  30360. "description": "用户ID",
  30361. "type": "integer"
  30362. },
  30363. "usertype": {
  30364. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30365. "type": "integer"
  30366. }
  30367. }
  30368. },
  30369. "models.QhjMgrTradeDetailRsp": {
  30370. "type": "object",
  30371. "properties": {
  30372. "accountid": {
  30373. "description": "资金账号",
  30374. "type": "integer"
  30375. },
  30376. "accountname": {
  30377. "description": "用户名称",
  30378. "type": "string"
  30379. },
  30380. "agreeunit": {
  30381. "description": "合约乘数",
  30382. "type": "number"
  30383. },
  30384. "buyorsell": {
  30385. "description": "成交类型(方向) 0:买 1:卖",
  30386. "type": "integer"
  30387. },
  30388. "decimalplace": {
  30389. "description": "报价小数位",
  30390. "type": "integer"
  30391. },
  30392. "enumdicname": {
  30393. "description": "单位名称(商品)",
  30394. "type": "string"
  30395. },
  30396. "goodscode": {
  30397. "description": "商品代码(内部)",
  30398. "type": "string"
  30399. },
  30400. "goodsid": {
  30401. "description": "商品id",
  30402. "type": "integer"
  30403. },
  30404. "goodsname": {
  30405. "description": "商品名称",
  30406. "type": "string"
  30407. },
  30408. "goodunitid": {
  30409. "description": "报价单位ID",
  30410. "type": "integer"
  30411. },
  30412. "logincode": {
  30413. "description": "登录代码(账户)",
  30414. "type": "string"
  30415. },
  30416. "marketid": {
  30417. "description": "市场id",
  30418. "type": "integer"
  30419. },
  30420. "orderid": {
  30421. "description": "关联委托单号",
  30422. "type": "string"
  30423. },
  30424. "qtydecimalplace": {
  30425. "description": "成交量小数位",
  30426. "type": "integer"
  30427. },
  30428. "tradeamount": {
  30429. "description": "金额",
  30430. "type": "number"
  30431. },
  30432. "tradedate": {
  30433. "description": "交易日",
  30434. "type": "string"
  30435. },
  30436. "tradeid": {
  30437. "description": "成交单号",
  30438. "type": "string"
  30439. },
  30440. "trademode": {
  30441. "description": "交易模式",
  30442. "type": "integer"
  30443. },
  30444. "tradeprice": {
  30445. "description": "价格",
  30446. "type": "number"
  30447. },
  30448. "tradeqty": {
  30449. "description": "数量",
  30450. "type": "number"
  30451. },
  30452. "tradetime": {
  30453. "description": "成交时间",
  30454. "type": "string"
  30455. },
  30456. "userid": {
  30457. "description": "用户id",
  30458. "type": "integer"
  30459. },
  30460. "userinfotype": {
  30461. "description": "账户类型 1-个人 2-企业",
  30462. "type": "integer"
  30463. }
  30464. }
  30465. },
  30466. "models.QhjMgrTradeOrderDetailRsp": {
  30467. "type": "object",
  30468. "properties": {
  30469. "accountid": {
  30470. "description": "资金账号",
  30471. "type": "integer"
  30472. },
  30473. "accountname": {
  30474. "description": "用户名称",
  30475. "type": "string"
  30476. },
  30477. "agreeunit": {
  30478. "description": "合约乘数",
  30479. "type": "number"
  30480. },
  30481. "amount": {
  30482. "description": "金额",
  30483. "type": "number"
  30484. },
  30485. "decimalplace": {
  30486. "description": "报价小数位",
  30487. "type": "integer"
  30488. },
  30489. "enumdicname": {
  30490. "description": "单位名称(商品)",
  30491. "type": "string"
  30492. },
  30493. "goodscode": {
  30494. "description": "商品代码(内部)",
  30495. "type": "string"
  30496. },
  30497. "goodsid": {
  30498. "description": "商品id",
  30499. "type": "integer"
  30500. },
  30501. "goodsname": {
  30502. "description": "商品名称",
  30503. "type": "string"
  30504. },
  30505. "goodunitid": {
  30506. "description": "报价单位ID",
  30507. "type": "integer"
  30508. },
  30509. "logincode": {
  30510. "description": "登录代码(账户)",
  30511. "type": "string"
  30512. },
  30513. "marketid": {
  30514. "description": "市场id",
  30515. "type": "integer"
  30516. },
  30517. "orderid": {
  30518. "description": "关联委托单号",
  30519. "type": "string"
  30520. },
  30521. "orderprice": {
  30522. "description": "价格",
  30523. "type": "number"
  30524. },
  30525. "orderqty": {
  30526. "description": "数量",
  30527. "type": "number"
  30528. },
  30529. "orderstatus": {
  30530. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30531. "type": "integer"
  30532. },
  30533. "ordertime": {
  30534. "description": "委托时间",
  30535. "type": "string"
  30536. },
  30537. "qtydecimalplace": {
  30538. "description": "成交量小数位",
  30539. "type": "integer"
  30540. },
  30541. "tradedate": {
  30542. "description": "交易日",
  30543. "type": "string"
  30544. },
  30545. "trademode": {
  30546. "description": "交易模式",
  30547. "type": "integer"
  30548. },
  30549. "userid": {
  30550. "description": "用户id",
  30551. "type": "integer"
  30552. },
  30553. "userinfotype": {
  30554. "description": "账户类型 1-个人 2-企业",
  30555. "type": "integer"
  30556. }
  30557. }
  30558. },
  30559. "models.QhjMgrTradePayOrder": {
  30560. "type": "object",
  30561. "properties": {
  30562. "accountname": {
  30563. "description": "用户名称",
  30564. "type": "string"
  30565. },
  30566. "advanceratio": {
  30567. "description": "首付比率",
  30568. "type": "number"
  30569. },
  30570. "agreeunit": {
  30571. "description": "合约乘数",
  30572. "type": "number"
  30573. },
  30574. "buyaccountid": {
  30575. "description": "买方账号ID[报价币种]",
  30576. "type": "integer"
  30577. },
  30578. "buyorderid": {
  30579. "description": "买方委托单号(关联单号)",
  30580. "type": "string"
  30581. },
  30582. "createtime": {
  30583. "description": "创建时间",
  30584. "type": "string"
  30585. },
  30586. "decimalplace": {
  30587. "description": "报价小数位",
  30588. "type": "integer"
  30589. },
  30590. "enumdicname": {
  30591. "description": "单位名称(商品)",
  30592. "type": "string"
  30593. },
  30594. "goodscode": {
  30595. "description": "商品代码(内部)",
  30596. "type": "string"
  30597. },
  30598. "goodsid": {
  30599. "description": "商品ID",
  30600. "type": "integer"
  30601. },
  30602. "goodsname": {
  30603. "description": "商品名称",
  30604. "type": "string"
  30605. },
  30606. "goodunitid": {
  30607. "description": "报价单位ID",
  30608. "type": "integer"
  30609. },
  30610. "logincode": {
  30611. "description": "登录代码(账户)",
  30612. "type": "string"
  30613. },
  30614. "marketid": {
  30615. "description": "市场id",
  30616. "type": "integer"
  30617. },
  30618. "offamount": {
  30619. "description": "优惠金额",
  30620. "type": "number"
  30621. },
  30622. "operatetype": {
  30623. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30624. "type": "integer"
  30625. },
  30626. "payamount": {
  30627. "description": "支付金额(金额)",
  30628. "type": "number"
  30629. },
  30630. "payflag": {
  30631. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30632. "type": "integer"
  30633. },
  30634. "paylimitedtime": {
  30635. "description": "支付期限",
  30636. "type": "string"
  30637. },
  30638. "paytime": {
  30639. "description": "付款时间",
  30640. "type": "string"
  30641. },
  30642. "qtydecimalplace": {
  30643. "description": "成交量小数位",
  30644. "type": "integer"
  30645. },
  30646. "sellaccountid": {
  30647. "description": "卖方账号ID[报价币种]",
  30648. "type": "integer"
  30649. },
  30650. "sellorderid": {
  30651. "description": "卖方委托单号",
  30652. "type": "string"
  30653. },
  30654. "tradeamount": {
  30655. "description": "成交金额(优惠后金额)",
  30656. "type": "number"
  30657. },
  30658. "tradecharge": {
  30659. "description": "成交手续费(买方)",
  30660. "type": "number"
  30661. },
  30662. "tradedate": {
  30663. "description": "交易日(yyyyMMdd)",
  30664. "type": "string"
  30665. },
  30666. "tradeid": {
  30667. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30668. "type": "string"
  30669. },
  30670. "trademode": {
  30671. "description": "交易模式",
  30672. "type": "integer"
  30673. },
  30674. "tradeprice": {
  30675. "description": "成交价格(价格)",
  30676. "type": "number"
  30677. },
  30678. "tradeqty": {
  30679. "description": "成交数量(数量)",
  30680. "type": "number"
  30681. },
  30682. "tradetime": {
  30683. "description": "成交时间",
  30684. "type": "string"
  30685. },
  30686. "userid": {
  30687. "description": "用户id",
  30688. "type": "integer"
  30689. },
  30690. "userinfotype": {
  30691. "description": "账户类型 1-个人 2-企业",
  30692. "type": "integer"
  30693. }
  30694. }
  30695. },
  30696. "models.QhjMyTeamEx": {
  30697. "type": "object",
  30698. "properties": {
  30699. "accountname": {
  30700. "description": "用户名称",
  30701. "type": "string"
  30702. },
  30703. "accountstatus": {
  30704. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30705. "type": "integer"
  30706. },
  30707. "createtime": {
  30708. "description": "创建时间",
  30709. "type": "string"
  30710. },
  30711. "mobile": {
  30712. "description": "手机号码",
  30713. "type": "string"
  30714. },
  30715. "refereeuserid": {
  30716. "description": "推荐人id",
  30717. "type": "integer"
  30718. },
  30719. "refernum": {
  30720. "description": "推荐码",
  30721. "type": "string"
  30722. },
  30723. "subList": {
  30724. "type": "array",
  30725. "items": {
  30726. "$ref": "#/definitions/models.QhjMyTeamEx"
  30727. }
  30728. },
  30729. "userid": {
  30730. "description": "用户id",
  30731. "type": "integer"
  30732. },
  30733. "userinfotype": {
  30734. "description": "用户类型 1-个人 2-企业",
  30735. "type": "integer"
  30736. }
  30737. }
  30738. },
  30739. "models.QhjNodeAgreementConfig": {
  30740. "type": "object",
  30741. "properties": {
  30742. "agreementcontent": {
  30743. "description": "协议内容",
  30744. "type": "string"
  30745. },
  30746. "agreementid": {
  30747. "description": "协议ID",
  30748. "type": "integer"
  30749. },
  30750. "agreementname": {
  30751. "description": "协议名称",
  30752. "type": "string"
  30753. },
  30754. "agreementno": {
  30755. "description": "协议编号",
  30756. "type": "string"
  30757. },
  30758. "agreementtype": {
  30759. "description": "协议类型 - 1:注册 2:登录 3:交易",
  30760. "type": "integer"
  30761. },
  30762. "agreementversion": {
  30763. "description": "协议版本号",
  30764. "type": "integer"
  30765. },
  30766. "configid": {
  30767. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  30768. "type": "integer"
  30769. },
  30770. "createtime": {
  30771. "description": "创建时间",
  30772. "type": "string"
  30773. },
  30774. "goodsid": {
  30775. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  30776. "type": "integer"
  30777. },
  30778. "nodetype": {
  30779. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  30780. "type": "integer"
  30781. }
  30782. }
  30783. },
  30784. "models.QhjParentAreaList": {
  30785. "type": "object",
  30786. "properties": {
  30787. "accountname": {
  30788. "description": "账户名称(机构名称)",
  30789. "type": "string"
  30790. },
  30791. "userid": {
  30792. "description": "用户ID",
  30793. "type": "integer"
  30794. },
  30795. "usertype": {
  30796. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30797. "type": "integer"
  30798. }
  30799. }
  30800. },
  30801. "models.QhjPayOrder": {
  30802. "type": "object",
  30803. "properties": {
  30804. "advanceratio": {
  30805. "description": "首付比率",
  30806. "type": "number"
  30807. },
  30808. "buyaccountid": {
  30809. "description": "买方账号ID[报价币种]",
  30810. "type": "integer"
  30811. },
  30812. "buyorderid": {
  30813. "description": "买方委托单号",
  30814. "type": "string"
  30815. },
  30816. "createtime": {
  30817. "description": "创建时间",
  30818. "type": "string"
  30819. },
  30820. "decimalplace": {
  30821. "description": "商品报价小数位",
  30822. "type": "integer"
  30823. },
  30824. "enumdicname": {
  30825. "description": "单位名称",
  30826. "type": "string"
  30827. },
  30828. "goodscode": {
  30829. "description": "商品代码",
  30830. "type": "string"
  30831. },
  30832. "goodsid": {
  30833. "description": "商品ID",
  30834. "type": "integer"
  30835. },
  30836. "goodsname": {
  30837. "description": "商品名称",
  30838. "type": "string"
  30839. },
  30840. "goodunitid": {
  30841. "description": "商品单位id",
  30842. "type": "integer"
  30843. },
  30844. "marketid": {
  30845. "description": "市场ID",
  30846. "type": "integer"
  30847. },
  30848. "offamount": {
  30849. "description": "优惠金额",
  30850. "type": "number"
  30851. },
  30852. "operatetype": {
  30853. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30854. "type": "integer"
  30855. },
  30856. "payamount": {
  30857. "description": "支付金额",
  30858. "type": "number"
  30859. },
  30860. "payflag": {
  30861. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30862. "type": "integer"
  30863. },
  30864. "paylimitedtime": {
  30865. "description": "支付期限",
  30866. "type": "string"
  30867. },
  30868. "paytime": {
  30869. "description": "付款时间",
  30870. "type": "string"
  30871. },
  30872. "qtydecimalplace": {
  30873. "description": "成交量小数位",
  30874. "type": "integer"
  30875. },
  30876. "sellaccountid": {
  30877. "description": "卖方账号ID[报价币种]",
  30878. "type": "integer"
  30879. },
  30880. "sellorderid": {
  30881. "description": "卖方委托单号",
  30882. "type": "string"
  30883. },
  30884. "tradeamount": {
  30885. "description": "成交金额(优惠后金额)",
  30886. "type": "number"
  30887. },
  30888. "tradecharge": {
  30889. "description": "成交手续费(买方)",
  30890. "type": "number"
  30891. },
  30892. "tradedate": {
  30893. "description": "交易日(yyyyMMdd)",
  30894. "type": "string"
  30895. },
  30896. "tradeid": {
  30897. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30898. "type": "string"
  30899. },
  30900. "tradeprice": {
  30901. "description": "成交价格",
  30902. "type": "number"
  30903. },
  30904. "tradeqty": {
  30905. "description": "成交数量",
  30906. "type": "number"
  30907. }
  30908. }
  30909. },
  30910. "models.QhjPickArea": {
  30911. "type": "object",
  30912. "properties": {
  30913. "address": {
  30914. "description": "详细地址",
  30915. "type": "string"
  30916. },
  30917. "cityid": {
  30918. "description": "市",
  30919. "type": "integer"
  30920. },
  30921. "cityname": {
  30922. "description": "城市名称",
  30923. "type": "string"
  30924. },
  30925. "countryid": {
  30926. "description": "国家",
  30927. "type": "integer"
  30928. },
  30929. "countryname": {
  30930. "description": "国家名称",
  30931. "type": "string"
  30932. },
  30933. "districtid": {
  30934. "description": "地区",
  30935. "type": "integer"
  30936. },
  30937. "districtname": {
  30938. "description": "地区名称",
  30939. "type": "string"
  30940. },
  30941. "fromuserid": {
  30942. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  30943. "type": "integer"
  30944. },
  30945. "fromusername": {
  30946. "description": "所属机构名称",
  30947. "type": "string"
  30948. },
  30949. "provinceid": {
  30950. "description": "省",
  30951. "type": "integer"
  30952. },
  30953. "provincename": {
  30954. "description": "省名称",
  30955. "type": "string"
  30956. },
  30957. "suborgtype": {
  30958. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  30959. "type": "integer"
  30960. },
  30961. "userid": {
  30962. "description": "机构用户ID 其他做市关系,都设置为 1",
  30963. "type": "integer"
  30964. },
  30965. "username": {
  30966. "description": "机构用户名称(门店门称)",
  30967. "type": "string"
  30968. }
  30969. }
  30970. },
  30971. "models.QhjPickGoods": {
  30972. "type": "object",
  30973. "properties": {
  30974. "enumdicname": {
  30975. "description": "单位名称(提货商品)",
  30976. "type": "string"
  30977. },
  30978. "goodsid": {
  30979. "description": "商品id",
  30980. "type": "integer"
  30981. },
  30982. "imageaddress": {
  30983. "description": "图片",
  30984. "type": "string"
  30985. },
  30986. "modifierid": {
  30987. "description": "修改人",
  30988. "type": "integer"
  30989. },
  30990. "modifiername": {
  30991. "description": "修改人名称",
  30992. "type": "string"
  30993. },
  30994. "modifysrc": {
  30995. "description": "修改来源 - 1:管理端 2:终端",
  30996. "type": "integer"
  30997. },
  30998. "pickupgoodsagreeunit": {
  30999. "description": "合约乘数",
  31000. "type": "number"
  31001. },
  31002. "pickupgoodsdesc": {
  31003. "description": "描述",
  31004. "type": "string"
  31005. },
  31006. "pickupgoodsid": {
  31007. "description": "提货商品ID",
  31008. "type": "string"
  31009. },
  31010. "pickupgoodsname": {
  31011. "description": "提货商品名称",
  31012. "type": "string"
  31013. },
  31014. "pickupgoodsstatus": {
  31015. "description": "状态 - 1:正常 2:停用 3:注销",
  31016. "type": "integer"
  31017. },
  31018. "pickupgoodsunitid": {
  31019. "description": "单位ID",
  31020. "type": "integer"
  31021. },
  31022. "pickupratio": {
  31023. "description": "提货系数",
  31024. "type": "number"
  31025. },
  31026. "preparedays": {
  31027. "description": "备货期(天)",
  31028. "type": "integer"
  31029. },
  31030. "remark": {
  31031. "description": "备注",
  31032. "type": "string"
  31033. },
  31034. "updatetime": {
  31035. "description": "更新时间",
  31036. "type": "string"
  31037. }
  31038. }
  31039. },
  31040. "models.QhjRSTriggerLog": {
  31041. "type": "object",
  31042. "properties": {
  31043. "accountid": {
  31044. "description": "用户资金账户",
  31045. "type": "integer"
  31046. },
  31047. "accountname": {
  31048. "description": "账号名称(ACCOUNTID对应的名称)",
  31049. "type": "string"
  31050. },
  31051. "currencyid": {
  31052. "description": "币种id",
  31053. "type": "integer"
  31054. },
  31055. "currencyname": {
  31056. "description": "币种名称",
  31057. "type": "string"
  31058. },
  31059. "decimalplace": {
  31060. "description": "商品报价小数位",
  31061. "type": "integer"
  31062. },
  31063. "enumdicname": {
  31064. "description": "单位名称",
  31065. "type": "string"
  31066. },
  31067. "goodscode": {
  31068. "description": "定投商品代码",
  31069. "type": "string"
  31070. },
  31071. "goodsid": {
  31072. "description": "定投商品ID",
  31073. "type": "integer"
  31074. },
  31075. "goodsname": {
  31076. "description": "定投商品名称",
  31077. "type": "string"
  31078. },
  31079. "goodunitid": {
  31080. "description": "定投商品单位id",
  31081. "type": "integer"
  31082. },
  31083. "logid": {
  31084. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  31085. "type": "string"
  31086. },
  31087. "logincode": {
  31088. "description": "账号(登录代码)",
  31089. "type": "string"
  31090. },
  31091. "qtydecimalplace": {
  31092. "description": "成交量小数位",
  31093. "type": "integer"
  31094. },
  31095. "regularlycycle": {
  31096. "description": "定投频率 - 1:每周 2:每月",
  31097. "type": "integer"
  31098. },
  31099. "regularlycyclevalue": {
  31100. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  31101. "type": "string"
  31102. },
  31103. "regularlymode": {
  31104. "description": "定投方式 - 1:按数量 2:按金额",
  31105. "type": "integer"
  31106. },
  31107. "regularlymodevalue": {
  31108. "description": "定投方式值 - 数量或金额",
  31109. "type": "number"
  31110. },
  31111. "regularlystrategyid": {
  31112. "description": "定投策略ID",
  31113. "type": "integer"
  31114. },
  31115. "retcode": {
  31116. "description": "错误码",
  31117. "type": "string"
  31118. },
  31119. "tradeid": {
  31120. "description": "成交单ID",
  31121. "type": "string"
  31122. },
  31123. "triggeramount": {
  31124. "description": "触发金额",
  31125. "type": "number"
  31126. },
  31127. "triggerqty": {
  31128. "description": "触发数量",
  31129. "type": "number"
  31130. },
  31131. "triggerstatus": {
  31132. "description": "触发状态 - 1:成功 2:失败",
  31133. "type": "integer"
  31134. },
  31135. "triggertime": {
  31136. "description": "触发时间",
  31137. "type": "string"
  31138. },
  31139. "triggertradedate": {
  31140. "description": "触发交易日",
  31141. "type": "string"
  31142. },
  31143. "userid": {
  31144. "description": "所属用户ID",
  31145. "type": "integer"
  31146. },
  31147. "userinfotype": {
  31148. "description": "用户类型 1-个人 2-企业",
  31149. "type": "integer"
  31150. },
  31151. "username": {
  31152. "description": "用户名称(userid对应的名称)",
  31153. "type": "string"
  31154. }
  31155. }
  31156. },
  31157. "models.QhjRStrategy": {
  31158. "type": "object",
  31159. "properties": {
  31160. "accountid": {
  31161. "description": "用户资金账户",
  31162. "type": "integer"
  31163. },
  31164. "accountname": {
  31165. "description": "账号名称(ACCOUNTID对应的名称)",
  31166. "type": "string"
  31167. },
  31168. "currencyid": {
  31169. "description": "币种id",
  31170. "type": "integer"
  31171. },
  31172. "currencyname": {
  31173. "description": "币种名称",
  31174. "type": "string"
  31175. },
  31176. "decimalplace": {
  31177. "description": "商品报价小数位",
  31178. "type": "integer"
  31179. },
  31180. "enumdicname": {
  31181. "description": "单位名称",
  31182. "type": "string"
  31183. },
  31184. "goodscode": {
  31185. "description": "定投商品代码",
  31186. "type": "string"
  31187. },
  31188. "goodsid": {
  31189. "description": "定投商品ID",
  31190. "type": "integer"
  31191. },
  31192. "goodsname": {
  31193. "description": "定投商品名称",
  31194. "type": "string"
  31195. },
  31196. "goodunitid": {
  31197. "description": "定投商品单位id",
  31198. "type": "integer"
  31199. },
  31200. "lasteffecttradedate": {
  31201. "description": "最新生效交易日",
  31202. "type": "string"
  31203. },
  31204. "laststoptradedate": {
  31205. "description": "最新暂停交易日",
  31206. "type": "string"
  31207. },
  31208. "lasttriggertradedate": {
  31209. "description": "最新触发交易日",
  31210. "type": "string"
  31211. },
  31212. "logincode": {
  31213. "description": "账号(登录代码)",
  31214. "type": "string"
  31215. },
  31216. "nexttriggeramount": {
  31217. "description": "下次触发金额",
  31218. "type": "number"
  31219. },
  31220. "nexttriggerdate": {
  31221. "description": "下次触发日期",
  31222. "type": "string"
  31223. },
  31224. "nexttriggerqty": {
  31225. "description": "下次触发数量 [按小数位放大值]",
  31226. "type": "number"
  31227. },
  31228. "qtydecimalplace": {
  31229. "description": "成交量小数位",
  31230. "type": "integer"
  31231. },
  31232. "regularlycycle": {
  31233. "description": "定投频率 - 1:每周 2:每月",
  31234. "type": "integer"
  31235. },
  31236. "regularlycyclevalue": {
  31237. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  31238. "type": "string"
  31239. },
  31240. "regularlymode": {
  31241. "description": "定投方式 - 1:按数量 2:按金额",
  31242. "type": "integer"
  31243. },
  31244. "regularlymodevalue": {
  31245. "description": "定投方式值 - 数量或金额",
  31246. "type": "number"
  31247. },
  31248. "regularlystrategyid": {
  31249. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  31250. "type": "integer"
  31251. },
  31252. "regularlystrategystatus": {
  31253. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  31254. "type": "integer"
  31255. },
  31256. "remark": {
  31257. "description": "备注",
  31258. "type": "string"
  31259. },
  31260. "triggersuccesstimes": {
  31261. "description": "累计定投成功次数",
  31262. "type": "string"
  31263. },
  31264. "triggertotalamount": {
  31265. "description": "累计定投金额(成功)",
  31266. "type": "number"
  31267. },
  31268. "triggertotalqty": {
  31269. "description": "累计定投数量(成功) [按小数位放大值]",
  31270. "type": "number"
  31271. },
  31272. "triggertotaltimes": {
  31273. "description": "累计定投总次数",
  31274. "type": "string"
  31275. },
  31276. "updatesrc": {
  31277. "description": "更新来源 - 1:管理端 2:终端",
  31278. "type": "integer"
  31279. },
  31280. "updatetime": {
  31281. "description": "更新时间",
  31282. "type": "string"
  31283. },
  31284. "updatorid": {
  31285. "description": "更新人",
  31286. "type": "string"
  31287. },
  31288. "userid": {
  31289. "description": "所属用户ID",
  31290. "type": "integer"
  31291. },
  31292. "userinfotype": {
  31293. "description": "用户类型 1-个人 2-企业",
  31294. "type": "integer"
  31295. },
  31296. "username": {
  31297. "description": "用户名称(userid对应的名称)",
  31298. "type": "string"
  31299. }
  31300. }
  31301. },
  31302. "models.QhjReckonPriceLog": {
  31303. "type": "object",
  31304. "properties": {
  31305. "decimalplace": {
  31306. "description": "商品报价小数位",
  31307. "type": "integer"
  31308. },
  31309. "goodscode": {
  31310. "description": "商品代码",
  31311. "type": "string"
  31312. },
  31313. "goodsid": {
  31314. "description": "商品ID",
  31315. "type": "integer"
  31316. },
  31317. "goodsname": {
  31318. "description": "商品名称",
  31319. "type": "string"
  31320. },
  31321. "lastreckonprice": {
  31322. "description": "上日结算价",
  31323. "type": "number"
  31324. },
  31325. "nextdnlimitprice": {
  31326. "description": "下个交易日跌停价",
  31327. "type": "number"
  31328. },
  31329. "nexttrade": {
  31330. "description": "下个交易日",
  31331. "type": "string"
  31332. },
  31333. "nextuplimitprice": {
  31334. "description": "下个交易日涨停价",
  31335. "type": "number"
  31336. },
  31337. "reckonprice": {
  31338. "description": "今日结算价(定投价)",
  31339. "type": "number"
  31340. },
  31341. "reckontime": {
  31342. "description": "结算时间",
  31343. "type": "string"
  31344. },
  31345. "totalholderqty": {
  31346. "description": "总持仓数",
  31347. "type": "integer"
  31348. },
  31349. "totalstock": {
  31350. "description": "总库存",
  31351. "type": "integer"
  31352. },
  31353. "tradedate": {
  31354. "description": "交易日",
  31355. "type": "string"
  31356. },
  31357. "updowncount": {
  31358. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  31359. "type": "integer"
  31360. },
  31361. "updownflag": {
  31362. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  31363. "type": "integer"
  31364. },
  31365. "updownrate": {
  31366. "description": "今日涨跌幅",
  31367. "type": "number"
  31368. },
  31369. "updownrate_2d": {
  31370. "description": "连续两日涨跌幅",
  31371. "type": "number"
  31372. },
  31373. "updownrate_3d": {
  31374. "description": "连续三日涨跌幅",
  31375. "type": "number"
  31376. }
  31377. }
  31378. },
  31379. "models.QhjScoreLog": {
  31380. "type": "object",
  31381. "properties": {
  31382. "accountid": {
  31383. "description": "账户ID",
  31384. "type": "integer"
  31385. },
  31386. "createtime": {
  31387. "description": "创建时间(时间)",
  31388. "type": "string"
  31389. },
  31390. "goodsid": {
  31391. "description": "商品ID",
  31392. "type": "integer"
  31393. },
  31394. "hasuploaded": {
  31395. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  31396. "type": "integer"
  31397. },
  31398. "logid": {
  31399. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31400. "type": "string"
  31401. },
  31402. "marketid": {
  31403. "description": "市场ID",
  31404. "type": "integer"
  31405. },
  31406. "relatedamount": {
  31407. "description": "关联金额",
  31408. "type": "number"
  31409. },
  31410. "relatedorderid": {
  31411. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  31412. "type": "string"
  31413. },
  31414. "scoreconfigvalue1": {
  31415. "description": "积分配置1",
  31416. "type": "integer"
  31417. },
  31418. "scoreconfigvalue2": {
  31419. "description": "积分配置1",
  31420. "type": "integer"
  31421. },
  31422. "scoretype": {
  31423. "description": "积分类型 - 1:提货积分",
  31424. "type": "integer"
  31425. },
  31426. "scorevalue": {
  31427. "description": "积分",
  31428. "type": "number"
  31429. },
  31430. "tradedate": {
  31431. "description": "交易日(yyyyMMdd)",
  31432. "type": "string"
  31433. },
  31434. "uploadedtime": {
  31435. "description": "同步时间",
  31436. "type": "string"
  31437. },
  31438. "userid": {
  31439. "description": "用户ID",
  31440. "type": "integer"
  31441. }
  31442. }
  31443. },
  31444. "models.QhjSiteColumnDetail": {
  31445. "type": "object",
  31446. "properties": {
  31447. "author": {
  31448. "description": "作者",
  31449. "type": "string"
  31450. },
  31451. "brief": {
  31452. "description": "简介",
  31453. "type": "string"
  31454. },
  31455. "columnid": {
  31456. "description": "所属栏目",
  31457. "type": "integer"
  31458. },
  31459. "context": {
  31460. "description": "内容",
  31461. "type": "string"
  31462. },
  31463. "coverimage": {
  31464. "description": "封面图片",
  31465. "type": "string"
  31466. },
  31467. "creaedate": {
  31468. "description": "创建时间",
  31469. "type": "string"
  31470. },
  31471. "creatorid": {
  31472. "description": "创建人",
  31473. "type": "integer"
  31474. },
  31475. "hits": {
  31476. "description": "点击数",
  31477. "type": "integer"
  31478. },
  31479. "id": {
  31480. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  31481. "type": "integer"
  31482. },
  31483. "isshow": {
  31484. "description": "是否展示 - 0:不展示 1:展示",
  31485. "type": "integer"
  31486. },
  31487. "istop": {
  31488. "description": "是否置顶 - 0:不置 1:置顶",
  31489. "type": "integer"
  31490. },
  31491. "modifierid": {
  31492. "description": "操作人",
  31493. "type": "integer"
  31494. },
  31495. "publishdate": {
  31496. "description": "发布日期",
  31497. "type": "string"
  31498. },
  31499. "status": {
  31500. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  31501. "type": "integer"
  31502. },
  31503. "title": {
  31504. "description": "标题",
  31505. "type": "string"
  31506. },
  31507. "updatedate": {
  31508. "description": "修改时间",
  31509. "type": "string"
  31510. },
  31511. "userid": {
  31512. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  31513. "type": "integer"
  31514. },
  31515. "username": {
  31516. "description": "用户名称",
  31517. "type": "string"
  31518. }
  31519. }
  31520. },
  31521. "models.QhjTeamOrder": {
  31522. "type": "object",
  31523. "properties": {
  31524. "accountid": {
  31525. "description": "账户ID[报价币种]",
  31526. "type": "integer"
  31527. },
  31528. "accountname": {
  31529. "description": "账户名称",
  31530. "type": "string"
  31531. },
  31532. "agreeunit": {
  31533. "description": "合约乘数",
  31534. "type": "number"
  31535. },
  31536. "buyorsell": {
  31537. "description": "方向 - 0:买 1:卖",
  31538. "type": "integer"
  31539. },
  31540. "decimalplace": {
  31541. "description": "报价小数位",
  31542. "type": "integer"
  31543. },
  31544. "enumdicname": {
  31545. "description": "单位名称",
  31546. "type": "string"
  31547. },
  31548. "goodscode": {
  31549. "description": "商品代码(内部)",
  31550. "type": "string"
  31551. },
  31552. "goodsid": {
  31553. "description": "商品ID",
  31554. "type": "integer"
  31555. },
  31556. "goodsname": {
  31557. "description": "商品名称",
  31558. "type": "string"
  31559. },
  31560. "goodunitid": {
  31561. "description": "报价单位ID",
  31562. "type": "integer"
  31563. },
  31564. "marketid": {
  31565. "description": "市场ID",
  31566. "type": "integer"
  31567. },
  31568. "marketname": {
  31569. "description": "市场名称",
  31570. "type": "string"
  31571. },
  31572. "qtydecimalplace": {
  31573. "description": "成交量小数位",
  31574. "type": "integer"
  31575. },
  31576. "refereeuserid": {
  31577. "description": "推荐人ID",
  31578. "type": "integer"
  31579. },
  31580. "tradeamount": {
  31581. "description": "成交金额[账户币种,用于所有权]",
  31582. "type": "number"
  31583. },
  31584. "tradedate": {
  31585. "description": "交易日(yyyyMMdd)",
  31586. "type": "string"
  31587. },
  31588. "trademode": {
  31589. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31590. "type": "integer"
  31591. },
  31592. "tradeprice": {
  31593. "description": "成交价格",
  31594. "type": "number"
  31595. },
  31596. "tradeqty": {
  31597. "description": "成交数量",
  31598. "type": "number"
  31599. },
  31600. "tradetime": {
  31601. "description": "成交时间",
  31602. "type": "string"
  31603. },
  31604. "userid": {
  31605. "description": "用户ID",
  31606. "type": "integer"
  31607. }
  31608. }
  31609. },
  31610. "models.QhjTradeGoodsPickup": {
  31611. "type": "object",
  31612. "properties": {
  31613. "accountid": {
  31614. "description": "账户ID",
  31615. "type": "integer"
  31616. },
  31617. "address": {
  31618. "description": "提货人详细地址",
  31619. "type": "string"
  31620. },
  31621. "amount": {
  31622. "description": "提货金额",
  31623. "type": "number"
  31624. },
  31625. "artradedate": {
  31626. "description": "自动收货交易日(yyyyMMdd)",
  31627. "type": "string"
  31628. },
  31629. "auditer": {
  31630. "description": "审核人",
  31631. "type": "integer"
  31632. },
  31633. "auditsrc": {
  31634. "description": "更新来源 - 1:管理端 2:终端",
  31635. "type": "integer"
  31636. },
  31637. "audittime": {
  31638. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  31639. "type": "string"
  31640. },
  31641. "audittradedate": {
  31642. "description": "审核交易日(yyyyMMdd)",
  31643. "type": "string"
  31644. },
  31645. "cardnum": {
  31646. "description": "提货人证件号码",
  31647. "type": "string"
  31648. },
  31649. "cardtypeid": {
  31650. "description": "提货人证件类型",
  31651. "type": "integer"
  31652. },
  31653. "checkremark": {
  31654. "description": "审核备注",
  31655. "type": "string"
  31656. },
  31657. "cityid": {
  31658. "description": "市",
  31659. "type": "integer"
  31660. },
  31661. "cityname": {
  31662. "description": "城市名称",
  31663. "type": "string"
  31664. },
  31665. "confirmtime": {
  31666. "description": "取货时间 或 收货时间",
  31667. "type": "string"
  31668. },
  31669. "countryid": {
  31670. "description": "国家",
  31671. "type": "integer"
  31672. },
  31673. "countryname": {
  31674. "description": "国家名称",
  31675. "type": "string"
  31676. },
  31677. "decimalplace": {
  31678. "description": "商品报价小数位",
  31679. "type": "integer"
  31680. },
  31681. "districtid": {
  31682. "description": "地区",
  31683. "type": "integer"
  31684. },
  31685. "districtname": {
  31686. "description": "地区名称",
  31687. "type": "string"
  31688. },
  31689. "enumdicname": {
  31690. "description": "单位名称(提货商品)",
  31691. "type": "string"
  31692. },
  31693. "expresscompany": {
  31694. "description": "物流公司",
  31695. "type": "string"
  31696. },
  31697. "expressnum": {
  31698. "description": "物流单号",
  31699. "type": "string"
  31700. },
  31701. "goodsagreeunit": {
  31702. "description": "交易商品乘数",
  31703. "type": "number"
  31704. },
  31705. "goodscode": {
  31706. "description": "商品代码",
  31707. "type": "string"
  31708. },
  31709. "goodsid": {
  31710. "description": "商品ID",
  31711. "type": "integer"
  31712. },
  31713. "goodsname": {
  31714. "description": "商品名称",
  31715. "type": "string"
  31716. },
  31717. "goodsqty": {
  31718. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  31719. "type": "number"
  31720. },
  31721. "handlestatus": {
  31722. "description": "处理状态",
  31723. "type": "integer"
  31724. },
  31725. "logincode": {
  31726. "description": "账号(登录代码, 有可能为空)",
  31727. "type": "string"
  31728. },
  31729. "marketid": {
  31730. "description": "市场ID",
  31731. "type": "integer"
  31732. },
  31733. "phonenum": {
  31734. "description": "提货人联系方式",
  31735. "type": "string"
  31736. },
  31737. "pickupgoodsagreeunit": {
  31738. "description": "提货商品合约乘数",
  31739. "type": "number"
  31740. },
  31741. "pickupgoodsid": {
  31742. "description": "提货商品ID",
  31743. "type": "string"
  31744. },
  31745. "pickupgoodsname": {
  31746. "description": "提货商品名称",
  31747. "type": "string"
  31748. },
  31749. "pickupgoodsqty": {
  31750. "description": "提货商品手数(数量)",
  31751. "type": "number"
  31752. },
  31753. "pickupgoodsunitid": {
  31754. "description": "单位ID(提货商品)",
  31755. "type": "integer"
  31756. },
  31757. "pickupratio": {
  31758. "description": "提货系数",
  31759. "type": "number"
  31760. },
  31761. "preparedays": {
  31762. "description": "备货期(天)-提货单明细表",
  31763. "type": "integer"
  31764. },
  31765. "provinceid": {
  31766. "description": "省",
  31767. "type": "integer"
  31768. },
  31769. "provincename": {
  31770. "description": "省名称",
  31771. "type": "string"
  31772. },
  31773. "qty": {
  31774. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  31775. "type": "number"
  31776. },
  31777. "qtydecimalplace": {
  31778. "description": "商品数量小数位",
  31779. "type": "integer"
  31780. },
  31781. "recivername": {
  31782. "description": "提货人姓名",
  31783. "type": "string"
  31784. },
  31785. "reqtime": {
  31786. "description": "提货申请时间",
  31787. "type": "string"
  31788. },
  31789. "storeuserid": {
  31790. "description": "门店用户ID (千海金)",
  31791. "type": "integer"
  31792. },
  31793. "storeusername": {
  31794. "description": "门店用户名称",
  31795. "type": "string"
  31796. },
  31797. "takemode": {
  31798. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  31799. "type": "integer"
  31800. },
  31801. "takeorderid": {
  31802. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  31803. "type": "string"
  31804. },
  31805. "takeorderstatus": {
  31806. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  31807. "type": "integer"
  31808. },
  31809. "takeremark": {
  31810. "description": "提货备注",
  31811. "type": "string"
  31812. },
  31813. "tradedate": {
  31814. "description": "交易日(yyyyMMdd)",
  31815. "type": "string"
  31816. },
  31817. "updatetime": {
  31818. "description": "更新时间",
  31819. "type": "string"
  31820. },
  31821. "userid": {
  31822. "description": "用户ID",
  31823. "type": "integer"
  31824. },
  31825. "userinfotype": {
  31826. "description": "客户类型 1-个人 2-企业",
  31827. "type": "integer"
  31828. },
  31829. "username": {
  31830. "description": "用户名称",
  31831. "type": "string"
  31832. }
  31833. }
  31834. },
  31835. "models.QhjUserNodeCfgAndStatus": {
  31836. "type": "object",
  31837. "properties": {
  31838. "agreementcontent": {
  31839. "description": "协议内容",
  31840. "type": "string"
  31841. },
  31842. "agreementid": {
  31843. "description": "协议ID",
  31844. "type": "integer"
  31845. },
  31846. "agreementname": {
  31847. "description": "协议名称",
  31848. "type": "string"
  31849. },
  31850. "agreementno": {
  31851. "description": "协议编号",
  31852. "type": "string"
  31853. },
  31854. "agreementtype": {
  31855. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31856. "type": "integer"
  31857. },
  31858. "agreementversion": {
  31859. "description": "协议版本号",
  31860. "type": "integer"
  31861. },
  31862. "configid": {
  31863. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  31864. "type": "integer"
  31865. },
  31866. "createtime": {
  31867. "description": "创建时间",
  31868. "type": "string"
  31869. },
  31870. "goodsid": {
  31871. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  31872. "type": "integer"
  31873. },
  31874. "nodetype": {
  31875. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  31876. "type": "integer"
  31877. },
  31878. "signtimestamp": {
  31879. "description": "签约状态时间戳(最近一次)",
  31880. "type": "string"
  31881. },
  31882. "tradedate": {
  31883. "description": "签约交易日(yyyyMMdd)",
  31884. "type": "string"
  31885. },
  31886. "userid": {
  31887. "description": "客户ID",
  31888. "type": "integer"
  31889. }
  31890. }
  31891. },
  31892. "models.Qhjgoodsex": {
  31893. "type": "object",
  31894. "properties": {
  31895. "canfinance": {
  31896. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  31897. "type": "integer"
  31898. },
  31899. "canregularlybuy": {
  31900. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  31901. "type": "integer"
  31902. },
  31903. "defaulttradeuserid": {
  31904. "description": "默认交易用户ID",
  31905. "type": "integer"
  31906. },
  31907. "deliverygoodsid": {
  31908. "description": "现货品种ID",
  31909. "type": "integer"
  31910. },
  31911. "goodsid": {
  31912. "description": "商品ID(自增ID SEQ_GOODS)",
  31913. "type": "integer"
  31914. },
  31915. "minamount": {
  31916. "description": "最小购买金额",
  31917. "type": "number"
  31918. },
  31919. "regularlybuyminamount": {
  31920. "description": "定投最小金额",
  31921. "type": "number"
  31922. },
  31923. "regularlybuyminqty": {
  31924. "description": "定投最小数量",
  31925. "type": "number"
  31926. },
  31927. "spotgoodsbrandid": {
  31928. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  31929. "type": "integer"
  31930. },
  31931. "visibilityforenterprise": {
  31932. "description": "企业客户是否可见 - 0:不可见 1:可见",
  31933. "type": "integer"
  31934. },
  31935. "visibilityforpersonal": {
  31936. "description": "个人客户是否可见 - 0:不可见 1:可见",
  31937. "type": "integer"
  31938. },
  31939. "wrstandardid": {
  31940. "description": "现货商品ID",
  31941. "type": "integer"
  31942. }
  31943. }
  31944. },
  31945. "models.QueryErrorInfosRsp": {
  31946. "type": "object",
  31947. "required": [
  31948. "errorid"
  31949. ],
  31950. "properties": {
  31951. "description": {
  31952. "description": "异常描述",
  31953. "type": "string"
  31954. },
  31955. "errorcode": {
  31956. "description": "异常代码",
  31957. "type": "string"
  31958. },
  31959. "errorid": {
  31960. "description": "异常ID",
  31961. "type": "integer"
  31962. },
  31963. "modulecode": {
  31964. "description": "所属模块",
  31965. "type": "string"
  31966. },
  31967. "operatecode": {
  31968. "description": "所属操作",
  31969. "type": "string"
  31970. },
  31971. "rownumber": {
  31972. "description": "行号",
  31973. "type": "string"
  31974. }
  31975. }
  31976. },
  31977. "models.QueryHedgeOrderDetailRsp": {
  31978. "type": "object",
  31979. "properties": {
  31980. "accountid": {
  31981. "description": "账户ID",
  31982. "type": "integer"
  31983. },
  31984. "buyorsell": {
  31985. "description": "买卖 - 0:买 1:卖",
  31986. "type": "integer"
  31987. },
  31988. "cancellogincode": {
  31989. "description": "撤单人",
  31990. "type": "string"
  31991. },
  31992. "channelbuildtype": {
  31993. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  31994. "type": "integer"
  31995. },
  31996. "channelinnerorderstatus": {
  31997. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  31998. "type": "integer"
  31999. },
  32000. "channeloperatetype": {
  32001. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  32002. "type": "integer"
  32003. },
  32004. "closetype": {
  32005. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  32006. "type": "integer"
  32007. },
  32008. "curexchangerate": {
  32009. "description": "当前汇率",
  32010. "type": "number"
  32011. },
  32012. "decimalplace": {
  32013. "description": "商品报价小数位",
  32014. "type": "integer"
  32015. },
  32016. "exchangefullname": {
  32017. "description": "外部交易所全称",
  32018. "type": "string"
  32019. },
  32020. "goodscode": {
  32021. "description": "商品代码(内部)",
  32022. "type": "string"
  32023. },
  32024. "goodsid": {
  32025. "description": "商品ID",
  32026. "type": "integer"
  32027. },
  32028. "goodsname": {
  32029. "description": "商品名称",
  32030. "type": "string"
  32031. },
  32032. "marketid": {
  32033. "description": "市场ID",
  32034. "type": "integer"
  32035. },
  32036. "openfreezemargin": {
  32037. "description": "冻结保证金(冻结交易金额)",
  32038. "type": "number"
  32039. },
  32040. "orderid": {
  32041. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32042. "type": "string"
  32043. },
  32044. "orderlogincode": {
  32045. "description": "委托人",
  32046. "type": "string"
  32047. },
  32048. "orderprice": {
  32049. "description": "委托价格(账户)",
  32050. "type": "number"
  32051. },
  32052. "orderqty": {
  32053. "description": "委托数量",
  32054. "type": "integer"
  32055. },
  32056. "ordertime": {
  32057. "description": "委托时间",
  32058. "type": "string"
  32059. },
  32060. "pricemode": {
  32061. "description": "取价方式 - 1:市价 2: 限价",
  32062. "type": "integer"
  32063. },
  32064. "tradedate": {
  32065. "description": "交易日(yyyyMMdd)",
  32066. "type": "string"
  32067. },
  32068. "tradeqty": {
  32069. "description": "成交数量",
  32070. "type": "integer"
  32071. }
  32072. }
  32073. },
  32074. "models.QueryHedgeTradeDetailRsp": {
  32075. "type": "object",
  32076. "properties": {
  32077. "accountid": {
  32078. "description": "账号ID",
  32079. "type": "integer"
  32080. },
  32081. "buyorsell": {
  32082. "description": "方向 - 0:买 1:卖",
  32083. "type": "integer"
  32084. },
  32085. "channelbuildtype": {
  32086. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  32087. "type": "integer"
  32088. },
  32089. "closecharge": {
  32090. "description": "平仓手续费(账户)",
  32091. "type": "number"
  32092. },
  32093. "closecharge2": {
  32094. "description": "平仓手续费(商品)",
  32095. "type": "number"
  32096. },
  32097. "closepl": {
  32098. "description": "平仓盈亏(账户)",
  32099. "type": "number"
  32100. },
  32101. "closepl2": {
  32102. "description": "平仓盈亏(商品)",
  32103. "type": "number"
  32104. },
  32105. "closepl3": {
  32106. "description": "平仓盈亏(账户)(逐笔)",
  32107. "type": "number"
  32108. },
  32109. "closepl4": {
  32110. "description": "平仓盈亏(商品)(逐笔)",
  32111. "type": "number"
  32112. },
  32113. "closetype": {
  32114. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  32115. "type": "integer"
  32116. },
  32117. "curexchangerate": {
  32118. "description": "当前汇率",
  32119. "type": "number"
  32120. },
  32121. "decimalplace": {
  32122. "description": "商品报价小数位",
  32123. "type": "integer"
  32124. },
  32125. "exchangefullname": {
  32126. "description": "外部交易所全称",
  32127. "type": "string"
  32128. },
  32129. "goodscode": {
  32130. "description": "商品代码(内部)",
  32131. "type": "string"
  32132. },
  32133. "goodsid": {
  32134. "description": "商品ID",
  32135. "type": "integer"
  32136. },
  32137. "goodsname": {
  32138. "description": "商品名称",
  32139. "type": "string"
  32140. },
  32141. "marketid": {
  32142. "description": "市场ID",
  32143. "type": "integer"
  32144. },
  32145. "opencharge": {
  32146. "description": "建仓手续费(账户)",
  32147. "type": "number"
  32148. },
  32149. "opencharge2": {
  32150. "description": "建仓手续费(商品)",
  32151. "type": "number"
  32152. },
  32153. "orderid": {
  32154. "description": "委托单号",
  32155. "type": "string"
  32156. },
  32157. "orderlogincode": {
  32158. "description": "委托人",
  32159. "type": "string"
  32160. },
  32161. "tradeamount": {
  32162. "description": "成交金额(账户)",
  32163. "type": "number"
  32164. },
  32165. "tradedate": {
  32166. "description": "交易日(yyyyMMdd)",
  32167. "type": "string"
  32168. },
  32169. "tradeid": {
  32170. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32171. "type": "string"
  32172. },
  32173. "tradeprice": {
  32174. "description": "成交价格",
  32175. "type": "number"
  32176. },
  32177. "tradeqty": {
  32178. "description": "成交数量",
  32179. "type": "integer"
  32180. },
  32181. "tradetime": {
  32182. "description": "成交时间",
  32183. "type": "string"
  32184. },
  32185. "tradetype": {
  32186. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  32187. "type": "integer"
  32188. }
  32189. }
  32190. },
  32191. "models.QuotePrimaryMenu": {
  32192. "type": "object",
  32193. "properties": {
  32194. "Index": {
  32195. "description": "序号",
  32196. "type": "integer"
  32197. },
  32198. "Key": {
  32199. "description": "键名",
  32200. "type": "string"
  32201. },
  32202. "Name": {
  32203. "description": "菜单名称",
  32204. "type": "string"
  32205. },
  32206. "SubMenus": {
  32207. "description": "子菜单",
  32208. "type": "array",
  32209. "items": {
  32210. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  32211. }
  32212. },
  32213. "SubTitleType": {
  32214. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  32215. "type": "integer"
  32216. },
  32217. "TradeModes": {
  32218. "description": "包含市场交易类型",
  32219. "type": "string"
  32220. }
  32221. }
  32222. },
  32223. "models.QuoteSecondaryMenu": {
  32224. "type": "object",
  32225. "properties": {
  32226. "ExExchangeCode": {
  32227. "description": "外部交易所代码",
  32228. "type": "string"
  32229. },
  32230. "ExExchangeID": {
  32231. "description": "外部交易所ID",
  32232. "type": "integer"
  32233. },
  32234. "GoodsGroupIDs": {
  32235. "description": "商品组ID列表",
  32236. "type": "array",
  32237. "items": {
  32238. "type": "integer"
  32239. }
  32240. },
  32241. "Index": {
  32242. "description": "序号",
  32243. "type": "integer"
  32244. },
  32245. "MarketID": {
  32246. "description": "市场ID",
  32247. "type": "integer"
  32248. },
  32249. "MenuTitle": {
  32250. "description": "菜单标题(市场名称或外部交易所名称)",
  32251. "type": "string"
  32252. },
  32253. "TradeMode": {
  32254. "description": "交易模式",
  32255. "type": "integer"
  32256. }
  32257. }
  32258. },
  32259. "models.RoleMenu": {
  32260. "type": "object",
  32261. "properties": {
  32262. "hasright": {
  32263. "description": "是否有权限 0-没有权限 1-有权限",
  32264. "type": "integer"
  32265. },
  32266. "iconame": {
  32267. "description": "菜单图标",
  32268. "type": "string"
  32269. },
  32270. "menutype": {
  32271. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  32272. "type": "integer"
  32273. },
  32274. "parentcode": {
  32275. "description": "上级资源代码",
  32276. "type": "string"
  32277. },
  32278. "remark": {
  32279. "description": "菜单备注",
  32280. "type": "string"
  32281. },
  32282. "resourcecode": {
  32283. "description": "菜单代码",
  32284. "type": "string"
  32285. },
  32286. "resourcelevel": {
  32287. "description": "级别",
  32288. "type": "integer"
  32289. },
  32290. "resourcename": {
  32291. "description": "菜单名称",
  32292. "type": "string"
  32293. },
  32294. "roleid": {
  32295. "description": "角色id",
  32296. "type": "integer"
  32297. },
  32298. "sort": {
  32299. "description": "排序",
  32300. "type": "integer"
  32301. },
  32302. "subMenu": {
  32303. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  32304. "type": "array",
  32305. "items": {
  32306. "$ref": "#/definitions/models.RoleMenu"
  32307. }
  32308. },
  32309. "url": {
  32310. "description": "URL",
  32311. "type": "string"
  32312. },
  32313. "userid": {
  32314. "description": "用户id",
  32315. "type": "integer"
  32316. }
  32317. }
  32318. },
  32319. "models.SearchGoods": {
  32320. "type": "object",
  32321. "required": [
  32322. "goodscode",
  32323. "goodsid",
  32324. "goodsname",
  32325. "marketid",
  32326. "trademode"
  32327. ],
  32328. "properties": {
  32329. "goodscode": {
  32330. "description": "商品代码(内部)",
  32331. "type": "string"
  32332. },
  32333. "goodsid": {
  32334. "description": "商品ID(自增ID SEQ_GOODS)",
  32335. "type": "integer"
  32336. },
  32337. "goodsname": {
  32338. "description": "商品名称",
  32339. "type": "string"
  32340. },
  32341. "marketid": {
  32342. "description": "所属市场ID",
  32343. "type": "integer"
  32344. },
  32345. "marketname": {
  32346. "description": "市场名称",
  32347. "type": "string"
  32348. },
  32349. "trademode": {
  32350. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  32351. "type": "integer"
  32352. }
  32353. }
  32354. },
  32355. "models.Systemparam": {
  32356. "type": "object",
  32357. "required": [
  32358. "paramcode"
  32359. ],
  32360. "properties": {
  32361. "loginid": {
  32362. "description": "更新用户账号,登录账号",
  32363. "type": "string"
  32364. },
  32365. "modifyflag": {
  32366. "description": "修改标志0 不允许修改 1 允许修改",
  32367. "type": "integer"
  32368. },
  32369. "paramcode": {
  32370. "description": "参数代码",
  32371. "type": "string"
  32372. },
  32373. "paramname": {
  32374. "description": "参数名",
  32375. "type": "string"
  32376. },
  32377. "paramtype": {
  32378. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  32379. "type": "integer"
  32380. },
  32381. "paramvalue": {
  32382. "description": "参数值",
  32383. "type": "string"
  32384. },
  32385. "paramvalue2": {
  32386. "description": "参数值(CLOB)",
  32387. "type": "string"
  32388. },
  32389. "regexpress": {
  32390. "description": "正则表达式",
  32391. "type": "string"
  32392. },
  32393. "remark": {
  32394. "description": "备注",
  32395. "type": "string"
  32396. },
  32397. "serverip": {
  32398. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  32399. "type": "string"
  32400. },
  32401. "showflag": {
  32402. "description": "是否显示0 不显示 1 显示",
  32403. "type": "integer"
  32404. },
  32405. "updatetime": {
  32406. "description": "更新时间",
  32407. "type": "string"
  32408. },
  32409. "userid": {
  32410. "description": "更新用户ID",
  32411. "type": "integer"
  32412. }
  32413. }
  32414. },
  32415. "models.Szdz3convertconfig": {
  32416. "type": "object",
  32417. "required": [
  32418. "converttype",
  32419. "innergoodsid",
  32420. "outergoodscode"
  32421. ],
  32422. "properties": {
  32423. "canin": {
  32424. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  32425. "type": "integer"
  32426. },
  32427. "canout": {
  32428. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  32429. "type": "integer"
  32430. },
  32431. "converttype": {
  32432. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  32433. "type": "integer"
  32434. },
  32435. "createtime": {
  32436. "description": "创建时间",
  32437. "type": "string"
  32438. },
  32439. "creatorid": {
  32440. "description": "创建人",
  32441. "type": "integer"
  32442. },
  32443. "daymaxvalue": {
  32444. "description": "当日最大转入限制",
  32445. "type": "number"
  32446. },
  32447. "freezedays": {
  32448. "description": "冻结天数 [5:花生米转交易]",
  32449. "type": "integer"
  32450. },
  32451. "innergoodsid": {
  32452. "description": "内部商品ID[交易]",
  32453. "type": "integer"
  32454. },
  32455. "inratio": {
  32456. "description": "目标值",
  32457. "type": "integer"
  32458. },
  32459. "modifierid": {
  32460. "description": "修改人",
  32461. "type": "integer"
  32462. },
  32463. "modifytime": {
  32464. "description": "修改时间",
  32465. "type": "string"
  32466. },
  32467. "outergoodscode": {
  32468. "description": "外部商品代码[JD\\PD]",
  32469. "type": "string"
  32470. },
  32471. "outratio": {
  32472. "description": "源值",
  32473. "type": "integer"
  32474. },
  32475. "pddecimalplace": {
  32476. "description": "PD小数位",
  32477. "type": "integer"
  32478. },
  32479. "timemaxvalue": {
  32480. "description": "单次最大转入限制",
  32481. "type": "number"
  32482. },
  32483. "timeminvalue": {
  32484. "description": "单次最小转入限制",
  32485. "type": "number"
  32486. }
  32487. }
  32488. },
  32489. "models.Szdz3searchwhitelist": {
  32490. "type": "object",
  32491. "required": [
  32492. "userid"
  32493. ],
  32494. "properties": {
  32495. "createtime": {
  32496. "description": "创建时间",
  32497. "type": "string"
  32498. },
  32499. "creatorid": {
  32500. "description": "创建人",
  32501. "type": "integer"
  32502. },
  32503. "modifierid": {
  32504. "description": "修改人",
  32505. "type": "integer"
  32506. },
  32507. "modifytime": {
  32508. "description": "修改时间",
  32509. "type": "string"
  32510. },
  32511. "userid": {
  32512. "description": "用户ID",
  32513. "type": "integer"
  32514. }
  32515. }
  32516. },
  32517. "models.TBGoods": {
  32518. "type": "object",
  32519. "properties": {
  32520. "agreeunit": {
  32521. "description": "合约乘数",
  32522. "type": "number"
  32523. },
  32524. "enumdicname": {
  32525. "description": "单位名称",
  32526. "type": "string"
  32527. },
  32528. "goodscode": {
  32529. "description": "商品代码(内部)",
  32530. "type": "string"
  32531. },
  32532. "goodsid": {
  32533. "description": "商品ID(自增ID SEQ_GOODS)",
  32534. "type": "integer"
  32535. },
  32536. "goodsname": {
  32537. "description": "商品名称",
  32538. "type": "string"
  32539. }
  32540. }
  32541. },
  32542. "models.TBGoodsGroup": {
  32543. "type": "object",
  32544. "properties": {
  32545. "GDLST": {
  32546. "description": "商品列表",
  32547. "type": "array",
  32548. "items": {
  32549. "$ref": "#/definitions/models.TBGoods"
  32550. }
  32551. },
  32552. "convertratio": {
  32553. "description": "折算系数",
  32554. "type": "number"
  32555. },
  32556. "enumdicname": {
  32557. "description": "单位名称",
  32558. "type": "string"
  32559. },
  32560. "exexchangecode": {
  32561. "description": "交易所代码",
  32562. "type": "string"
  32563. },
  32564. "exexchangename": {
  32565. "description": "交易所名称",
  32566. "type": "string"
  32567. },
  32568. "goodsgroupid": {
  32569. "description": "商品组ID(自增ID)",
  32570. "type": "integer"
  32571. },
  32572. "goodsgroupname": {
  32573. "description": "商品组名称",
  32574. "type": "string"
  32575. },
  32576. "goodunitid": {
  32577. "description": "报价单位ID",
  32578. "type": "integer"
  32579. }
  32580. }
  32581. },
  32582. "models.TBMiddleGoods": {
  32583. "type": "object",
  32584. "properties": {
  32585. "GPLST": {
  32586. "description": "期货品种列表",
  32587. "type": "array",
  32588. "items": {
  32589. "$ref": "#/definitions/models.TBGoodsGroup"
  32590. }
  32591. },
  32592. "WDLST": {
  32593. "description": "商品信息列表(现货品类)",
  32594. "type": "array",
  32595. "items": {
  32596. "$ref": "#/definitions/models.TBWrstandard"
  32597. }
  32598. },
  32599. "areauserid": {
  32600. "description": "机构用户ID",
  32601. "type": "integer"
  32602. },
  32603. "enumdicname": {
  32604. "description": "单位名称",
  32605. "type": "string"
  32606. },
  32607. "goodsunitid": {
  32608. "description": "套保品种单位id",
  32609. "type": "integer"
  32610. },
  32611. "middlegoodscode": {
  32612. "description": "套保品种代码",
  32613. "type": "string"
  32614. },
  32615. "middlegoodsid": {
  32616. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  32617. "type": "integer"
  32618. },
  32619. "middlegoodsname": {
  32620. "description": "套保品种名称",
  32621. "type": "string"
  32622. },
  32623. "needarbitrageratio": {
  32624. "description": "套利比率",
  32625. "type": "number"
  32626. },
  32627. "needhedgeratio": {
  32628. "description": "套保比率",
  32629. "type": "number"
  32630. }
  32631. }
  32632. },
  32633. "models.TBWrstandard": {
  32634. "type": "object",
  32635. "properties": {
  32636. "convertratio": {
  32637. "description": "折算系数",
  32638. "type": "number"
  32639. },
  32640. "deliverygoodsname": {
  32641. "description": "品种名称",
  32642. "type": "string"
  32643. },
  32644. "enumdicname": {
  32645. "description": "单位名称",
  32646. "type": "string"
  32647. },
  32648. "vatrate": {
  32649. "description": "增值税率",
  32650. "type": "number"
  32651. },
  32652. "wrstandardcode": {
  32653. "description": "现货商品代码",
  32654. "type": "string"
  32655. },
  32656. "wrstandardid": {
  32657. "description": "现货商品ID(SEQ_WRSTANDARD)",
  32658. "type": "integer"
  32659. },
  32660. "wrstandardname": {
  32661. "description": "现货商品名称",
  32662. "type": "string"
  32663. }
  32664. }
  32665. },
  32666. "models.Taaccount": {
  32667. "type": "object",
  32668. "required": [
  32669. "accountid",
  32670. "userid"
  32671. ],
  32672. "properties": {
  32673. "accountflag": {
  32674. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  32675. "type": "integer"
  32676. },
  32677. "accountid": {
  32678. "description": "资金账户ID",
  32679. "type": "integer"
  32680. },
  32681. "accountname": {
  32682. "description": "账户名称",
  32683. "type": "string"
  32684. },
  32685. "balance": {
  32686. "description": "期初余额",
  32687. "type": "number"
  32688. },
  32689. "capitalbalance": {
  32690. "description": "本金余额[外部子账户实际出入金余额]",
  32691. "type": "number"
  32692. },
  32693. "changeflag": {
  32694. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  32695. "type": "integer"
  32696. },
  32697. "changetime": {
  32698. "description": "账户状态变更时间",
  32699. "type": "string"
  32700. },
  32701. "closepl": {
  32702. "description": "今日平仓盈亏",
  32703. "type": "number"
  32704. },
  32705. "creditdecrease": {
  32706. "description": "今日授信减少",
  32707. "type": "number"
  32708. },
  32709. "creditincrease": {
  32710. "description": "今日授信增加",
  32711. "type": "number"
  32712. },
  32713. "curamount": {
  32714. "description": "总市值(从持仓中统计)",
  32715. "type": "number"
  32716. },
  32717. "currencyid": {
  32718. "description": "货币ID",
  32719. "type": "integer"
  32720. },
  32721. "currentbalance": {
  32722. "description": "期末余额",
  32723. "type": "number"
  32724. },
  32725. "freezecharge": {
  32726. "description": "手续费冻结",
  32727. "type": "number"
  32728. },
  32729. "freezemargin": {
  32730. "description": "冻结保证金",
  32731. "type": "number"
  32732. },
  32733. "fromaccountid": {
  32734. "description": "所属上级账户",
  32735. "type": "integer"
  32736. },
  32737. "inamount": {
  32738. "description": "今日入金金额(包括三方入金)",
  32739. "type": "number"
  32740. },
  32741. "ismain": {
  32742. "description": "是否母账号 0:不是母账户 1:是母账户",
  32743. "type": "integer"
  32744. },
  32745. "ismarketaccount": {
  32746. "description": "是否机构接单账号 0:不是 1:是",
  32747. "type": "integer"
  32748. },
  32749. "isreckonaccount": {
  32750. "description": "是否机构分润账号 0:不是 1:是",
  32751. "type": "integer"
  32752. },
  32753. "mortgagecredit": {
  32754. "description": "授信金额",
  32755. "type": "number"
  32756. },
  32757. "orifreezecharge": {
  32758. "description": "期初手续费冻结",
  32759. "type": "number"
  32760. },
  32761. "orifreezemargin": {
  32762. "description": "期初冻结保证金",
  32763. "type": "number"
  32764. },
  32765. "orimortgagecredit": {
  32766. "description": "期初授信金额",
  32767. "type": "number"
  32768. },
  32769. "oriothercredit": {
  32770. "description": "期初其它授信金额",
  32771. "type": "number"
  32772. },
  32773. "oriotherfreezemargin": {
  32774. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  32775. "type": "number"
  32776. },
  32777. "orioutamountfreeze": {
  32778. "description": "期初出金冻结",
  32779. "type": "number"
  32780. },
  32781. "oriusedmargin": {
  32782. "description": "期初占用保证金",
  32783. "type": "number"
  32784. },
  32785. "othercredit": {
  32786. "description": "其它授信金额",
  32787. "type": "number"
  32788. },
  32789. "othercreditdecrease": {
  32790. "description": "今日其它授信减少",
  32791. "type": "number"
  32792. },
  32793. "othercreditincrease": {
  32794. "description": "今日其它授信增加",
  32795. "type": "number"
  32796. },
  32797. "otherfreezemargin": {
  32798. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  32799. "type": "number"
  32800. },
  32801. "otherincome": {
  32802. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  32803. "type": "number"
  32804. },
  32805. "otherpay": {
  32806. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  32807. "type": "number"
  32808. },
  32809. "outamount": {
  32810. "description": "今日出金金额(包括三方出金)",
  32811. "type": "number"
  32812. },
  32813. "outamountfreeze": {
  32814. "description": "出金冻结",
  32815. "type": "number"
  32816. },
  32817. "outthreshold": {
  32818. "description": "出金阈值",
  32819. "type": "number"
  32820. },
  32821. "parentaccountid": {
  32822. "description": "所属根账号",
  32823. "type": "integer"
  32824. },
  32825. "paycharge": {
  32826. "description": "今日手续费支出",
  32827. "type": "number"
  32828. },
  32829. "relatedaccountstatus": {
  32830. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  32831. "type": "integer"
  32832. },
  32833. "relateduserid": {
  32834. "description": "关联用户",
  32835. "type": "integer"
  32836. },
  32837. "remainamount": {
  32838. "description": "融资额(从融资合同中统计)",
  32839. "type": "number"
  32840. },
  32841. "serivcegroup": {
  32842. "description": "服务分组",
  32843. "type": "integer"
  32844. },
  32845. "signstatus": {
  32846. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  32847. "type": "integer"
  32848. },
  32849. "sublevelpath": {
  32850. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  32851. "type": "string"
  32852. },
  32853. "taaccounttype": {
  32854. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  32855. "type": "integer"
  32856. },
  32857. "thirdinamount": {
  32858. "description": "今日三方入金",
  32859. "type": "number"
  32860. },
  32861. "thirdoutamount": {
  32862. "description": "今日三方出金",
  32863. "type": "number"
  32864. },
  32865. "tradestatus": {
  32866. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  32867. "type": "integer"
  32868. },
  32869. "tradestatuschangetime": {
  32870. "description": "激活时间",
  32871. "type": "string"
  32872. },
  32873. "transferamount": {
  32874. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  32875. "type": "number"
  32876. },
  32877. "usedmargin": {
  32878. "description": "占用保证金",
  32879. "type": "number"
  32880. },
  32881. "userid": {
  32882. "description": "用户ID",
  32883. "type": "integer"
  32884. }
  32885. }
  32886. },
  32887. "models.Tablecolumnconfig": {
  32888. "type": "object",
  32889. "required": [
  32890. "autoid"
  32891. ],
  32892. "properties": {
  32893. "aligntype": {
  32894. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  32895. "type": "integer"
  32896. },
  32897. "autoid": {
  32898. "description": "AutoID",
  32899. "type": "integer"
  32900. },
  32901. "columnfield": {
  32902. "description": "列字段",
  32903. "type": "string"
  32904. },
  32905. "columntitle": {
  32906. "description": "列Title",
  32907. "type": "string"
  32908. },
  32909. "columnwidth": {
  32910. "description": "列宽",
  32911. "type": "string"
  32912. },
  32913. "formatterstring": {
  32914. "description": "格式化字符",
  32915. "type": "string"
  32916. },
  32917. "formattertype": {
  32918. "description": "格式化类型",
  32919. "type": "string"
  32920. },
  32921. "groupname": {
  32922. "description": "表头分组名称",
  32923. "type": "string"
  32924. },
  32925. "isshow": {
  32926. "description": "是否显示 - 0:不显示 1:显示",
  32927. "type": "integer"
  32928. },
  32929. "needsummary": {
  32930. "description": "是否需要汇总 - 0:不需要 1:需要",
  32931. "type": "integer"
  32932. },
  32933. "orderindex": {
  32934. "description": "顺序",
  32935. "type": "integer"
  32936. },
  32937. "remark": {
  32938. "description": "备注",
  32939. "type": "string"
  32940. },
  32941. "summarytype": {
  32942. "description": "汇总类型 - 1:加总 2:最后一个",
  32943. "type": "integer"
  32944. },
  32945. "tablekey": {
  32946. "description": "列表Key",
  32947. "type": "string"
  32948. }
  32949. }
  32950. },
  32951. "models.TjmdMarketSection": {
  32952. "type": "object",
  32953. "properties": {
  32954. "marketsectionid": {
  32955. "description": "市场版块ID(SEQ_MARKETSECTION)",
  32956. "type": "integer"
  32957. },
  32958. "marketsectionname": {
  32959. "description": "市场版块名称",
  32960. "type": "string"
  32961. },
  32962. "mlist": {
  32963. "description": "市场列表(板块下面有多少个市场)",
  32964. "type": "array",
  32965. "items": {
  32966. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  32967. }
  32968. },
  32969. "orderindex": {
  32970. "description": "排序",
  32971. "type": "integer"
  32972. },
  32973. "pictureurl": {
  32974. "description": "图片url, 规格(90*90)",
  32975. "type": "string"
  32976. },
  32977. "remark": {
  32978. "description": "备注",
  32979. "type": "string"
  32980. }
  32981. }
  32982. },
  32983. "models.TjmdMarketSectionConfig": {
  32984. "type": "object",
  32985. "properties": {
  32986. "auctionwrtype": {
  32987. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  32988. "type": "integer"
  32989. },
  32990. "canacceptquote": {
  32991. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  32992. "type": "integer"
  32993. },
  32994. "cangoodsexercise": {
  32995. "description": "[期权]是否可现货行权- 0:否 1:是",
  32996. "type": "integer"
  32997. },
  32998. "cangoodsexercisetype": {
  32999. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  33000. "type": "integer"
  33001. },
  33002. "canmanualquotestrike": {
  33003. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  33004. "type": "integer"
  33005. },
  33006. "canmutistage": {
  33007. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  33008. "type": "integer"
  33009. },
  33010. "canpreexercise": {
  33011. "description": "[期权]是否可预申报- 0:否 1:是",
  33012. "type": "integer"
  33013. },
  33014. "clearinterval": {
  33015. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  33016. "type": "integer"
  33017. },
  33018. "contracttmp": {
  33019. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  33020. "type": "string"
  33021. },
  33022. "exchareaid": {
  33023. "description": "所属交易所,可以没有",
  33024. "type": "integer"
  33025. },
  33026. "financemarketid": {
  33027. "description": "融资回购市场ID [仓单贸易]",
  33028. "type": "integer"
  33029. },
  33030. "goodstype": {
  33031. "description": "商品类型 - 1:交易商品 2:仓单商品",
  33032. "type": "integer"
  33033. },
  33034. "hasrebate": {
  33035. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  33036. "type": "integer"
  33037. },
  33038. "hastradecredit": {
  33039. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  33040. "type": "integer"
  33041. },
  33042. "haswr": {
  33043. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  33044. "type": "integer"
  33045. },
  33046. "isdeductmargin": {
  33047. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  33048. "type": "integer"
  33049. },
  33050. "isrecordsource": {
  33051. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  33052. "type": "integer"
  33053. },
  33054. "isreleasemargin": {
  33055. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  33056. "type": "integer"
  33057. },
  33058. "isupdatereckonprice": {
  33059. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  33060. "type": "integer"
  33061. },
  33062. "listingmode": {
  33063. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  33064. "type": "integer"
  33065. },
  33066. "marginformula": {
  33067. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  33068. "type": "integer"
  33069. },
  33070. "marginformula2": {
  33071. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  33072. "type": "integer"
  33073. },
  33074. "marketid": {
  33075. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  33076. "type": "integer"
  33077. },
  33078. "marketname": {
  33079. "description": "市场名称",
  33080. "type": "string"
  33081. },
  33082. "marketsectionid": {
  33083. "description": "市场版块ID(SEQ_MARKETSECTION)",
  33084. "type": "integer"
  33085. },
  33086. "marketserviceid": {
  33087. "description": "市场服务ID",
  33088. "type": "integer"
  33089. },
  33090. "marketstatus": {
  33091. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  33092. "type": "integer"
  33093. },
  33094. "markettype": {
  33095. "description": "市场类型- 1:非交易服务 2:交易服务",
  33096. "type": "integer"
  33097. },
  33098. "matchermode": {
  33099. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  33100. "type": "integer"
  33101. },
  33102. "nowrquotaflag": {
  33103. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  33104. "type": "integer"
  33105. },
  33106. "openmethod": {
  33107. "description": "开盘模式 - 0 自动 1手动",
  33108. "type": "integer"
  33109. },
  33110. "orderindex": {
  33111. "description": "排序",
  33112. "type": "integer"
  33113. },
  33114. "otcuserid": {
  33115. "description": "场外期权做市商[场外期权]",
  33116. "type": "integer"
  33117. },
  33118. "outersynctime": {
  33119. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  33120. "type": "string"
  33121. },
  33122. "paylaterflag": {
  33123. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  33124. "type": "integer"
  33125. },
  33126. "pendingflag": {
  33127. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  33128. "type": "integer"
  33129. },
  33130. "pendingtime": {
  33131. "description": "待开市时间[通道交易-对冲](HH:mm)",
  33132. "type": "string"
  33133. },
  33134. "performancetempid": {
  33135. "description": "履约计划模板ID - 作废",
  33136. "type": "integer"
  33137. },
  33138. "premiumquotemode": {
  33139. "description": "权利金报价方式 - 1:自动 2:手动",
  33140. "type": "integer"
  33141. },
  33142. "rebateratio": {
  33143. "description": "返利比率[竞价式]",
  33144. "type": "number"
  33145. },
  33146. "reckonorder": {
  33147. "description": "结算顺序",
  33148. "type": "integer"
  33149. },
  33150. "reckonpricealgorithm": {
  33151. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  33152. "type": "integer"
  33153. },
  33154. "reckonpriceparam": {
  33155. "description": "结算价参数",
  33156. "type": "integer"
  33157. },
  33158. "reckontime": {
  33159. "description": "结算时间[通道交易-对冲](HH:mm)",
  33160. "type": "string"
  33161. },
  33162. "roleprioritytype": {
  33163. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  33164. "type": "integer"
  33165. },
  33166. "selllistingauditflag": {
  33167. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  33168. "type": "integer"
  33169. },
  33170. "trademarkettype": {
  33171. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  33172. "type": "integer"
  33173. },
  33174. "trademode": {
  33175. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  33176. "type": "integer"
  33177. },
  33178. "tradeproperty": {
  33179. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  33180. "type": "integer"
  33181. },
  33182. "tradetype": {
  33183. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  33184. "type": "integer"
  33185. },
  33186. "updatereckonpriceinterval": {
  33187. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  33188. "type": "integer"
  33189. }
  33190. }
  33191. },
  33192. "models.TjmdQuoteGoods": {
  33193. "type": "object",
  33194. "properties": {
  33195. "buyqty": {
  33196. "description": "买量(暂不做, 无值, 保留字段)",
  33197. "type": "number"
  33198. },
  33199. "decimalplace": {
  33200. "description": "报价小数位",
  33201. "type": "integer"
  33202. },
  33203. "goodscode": {
  33204. "description": "合约代码",
  33205. "type": "string"
  33206. },
  33207. "goodsgroupid": {
  33208. "description": "商品组ID(自增ID)",
  33209. "type": "integer"
  33210. },
  33211. "goodsgroupname": {
  33212. "description": "商品组名称",
  33213. "type": "string"
  33214. },
  33215. "goodsid": {
  33216. "description": "合约id",
  33217. "type": "integer"
  33218. },
  33219. "goodsname": {
  33220. "description": "合约名称",
  33221. "type": "string"
  33222. },
  33223. "refgoodscode": {
  33224. "description": "标的合约代码",
  33225. "type": "string"
  33226. },
  33227. "refgoodsid": {
  33228. "description": "标的合约id",
  33229. "type": "integer"
  33230. },
  33231. "refgoodsname": {
  33232. "description": "标的合约名称",
  33233. "type": "string"
  33234. },
  33235. "sellqty": {
  33236. "description": "卖量(暂不做, 无值, 保留字段)",
  33237. "type": "number"
  33238. }
  33239. }
  33240. },
  33241. "models.TjmdTodayAccountMargin": {
  33242. "type": "object",
  33243. "properties": {
  33244. "accountid": {
  33245. "description": "账号ID",
  33246. "type": "integer"
  33247. },
  33248. "goodsid": {
  33249. "description": "商品ID",
  33250. "type": "integer"
  33251. },
  33252. "infoc": {
  33253. "description": "配置参数",
  33254. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  33255. },
  33256. "marketid": {
  33257. "description": "市场ID",
  33258. "type": "integer"
  33259. }
  33260. }
  33261. },
  33262. "models.TjmdTradeOrderDetail": {
  33263. "type": "object",
  33264. "properties": {
  33265. "buyorsell": {
  33266. "description": "买卖方向 0-买 1-卖",
  33267. "type": "integer"
  33268. },
  33269. "goodsid": {
  33270. "description": "商品id",
  33271. "type": "integer"
  33272. },
  33273. "marketmaxsub": {
  33274. "description": "市价最大偏移范围 [浮动价 - 点差]",
  33275. "type": "number"
  33276. },
  33277. "orderid": {
  33278. "description": "委托单号",
  33279. "type": "string"
  33280. },
  33281. "orderprice": {
  33282. "description": "委托价格",
  33283. "type": "number"
  33284. },
  33285. "orderqty": {
  33286. "description": "委托数量",
  33287. "type": "integer"
  33288. },
  33289. "pricemode": {
  33290. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  33291. "type": "integer"
  33292. },
  33293. "userid": {
  33294. "description": "用户id",
  33295. "type": "integer"
  33296. },
  33297. "username": {
  33298. "description": "用户名称(已脱敏)",
  33299. "type": "string"
  33300. }
  33301. }
  33302. },
  33303. "models.TjmdTransferApply": {
  33304. "type": "object",
  33305. "properties": {
  33306. "applyid": {
  33307. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  33308. "type": "integer"
  33309. },
  33310. "applystatus": {
  33311. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  33312. "type": "integer"
  33313. },
  33314. "applytime": {
  33315. "description": "申请时间(时间)",
  33316. "type": "string"
  33317. },
  33318. "auditremark": {
  33319. "description": "审核备注(拒绝原因?)",
  33320. "type": "string"
  33321. },
  33322. "begindate": {
  33323. "description": "开始交易日(yyyymmdd)",
  33324. "type": "string"
  33325. },
  33326. "buyorsell": {
  33327. "description": "买卖 - 0:买 1:卖",
  33328. "type": "integer"
  33329. },
  33330. "enddate": {
  33331. "description": "结束交易日(yyyymmdd)",
  33332. "type": "string"
  33333. },
  33334. "goodscode": {
  33335. "description": "商品代码",
  33336. "type": "string"
  33337. },
  33338. "goodsid": {
  33339. "description": "商品ID",
  33340. "type": "integer"
  33341. },
  33342. "goodsname": {
  33343. "description": "商品名称",
  33344. "type": "string"
  33345. },
  33346. "marketid": {
  33347. "description": "市场ID",
  33348. "type": "integer"
  33349. },
  33350. "qty": {
  33351. "description": "转让数量(数量)",
  33352. "type": "number"
  33353. },
  33354. "tradeid": {
  33355. "description": "成交单号(关联持仓)",
  33356. "type": "string"
  33357. },
  33358. "transferamount": {
  33359. "description": "转让总金额(金额)",
  33360. "type": "number"
  33361. },
  33362. "transferprice": {
  33363. "description": "转让价格(协议价格)",
  33364. "type": "number"
  33365. }
  33366. }
  33367. },
  33368. "models.TradeHolderDetail": {
  33369. "type": "object",
  33370. "properties": {
  33371. "accountid": {
  33372. "description": "账号ID",
  33373. "type": "integer"
  33374. },
  33375. "agreeunit": {
  33376. "description": "合约乘数",
  33377. "type": "number"
  33378. },
  33379. "buyorsell": {
  33380. "description": "方向 - 0:买 1:卖",
  33381. "type": "integer"
  33382. },
  33383. "currencyid": {
  33384. "description": "商品币种id",
  33385. "type": "integer"
  33386. },
  33387. "currencyname": {
  33388. "description": "币种名称",
  33389. "type": "string"
  33390. },
  33391. "decimalplace": {
  33392. "description": "商品价格小数位",
  33393. "type": "integer"
  33394. },
  33395. "enumdicname": {
  33396. "description": "商品单位名称",
  33397. "type": "string"
  33398. },
  33399. "expirecycle": {
  33400. "description": "行权周期(天) - 1:滚动行权时填写",
  33401. "type": "integer"
  33402. },
  33403. "expiredate": {
  33404. "description": "行权日(yyyyMMdd) - 到期日",
  33405. "type": "string"
  33406. },
  33407. "expiretype": {
  33408. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  33409. "type": "integer"
  33410. },
  33411. "freezeqty": {
  33412. "description": "冻结数量",
  33413. "type": "number"
  33414. },
  33415. "goodscode": {
  33416. "description": "商品代码",
  33417. "type": "string"
  33418. },
  33419. "goodsid": {
  33420. "description": "商品ID",
  33421. "type": "integer"
  33422. },
  33423. "goodsname": {
  33424. "description": "商品名称",
  33425. "type": "string"
  33426. },
  33427. "goodunitid": {
  33428. "description": "商品单位id",
  33429. "type": "integer"
  33430. },
  33431. "holderamount": {
  33432. "description": "持仓金额",
  33433. "type": "number"
  33434. },
  33435. "holdercredit": {
  33436. "description": "持仓授信金额",
  33437. "type": "number"
  33438. },
  33439. "holderdays": {
  33440. "description": "剩余冻结天数",
  33441. "type": "integer"
  33442. },
  33443. "holderprice": {
  33444. "description": "持仓价格",
  33445. "type": "number"
  33446. },
  33447. "holderqty": {
  33448. "description": "持仓数量",
  33449. "type": "number"
  33450. },
  33451. "isconfirmexercise": {
  33452. "description": "是否确认行权- 0:否 1:是",
  33453. "type": "integer"
  33454. },
  33455. "ispreexercise": {
  33456. "description": "是否预申报- 0:否 1:是 2:不可行权",
  33457. "type": "integer"
  33458. },
  33459. "marketid": {
  33460. "description": "市场id",
  33461. "type": "integer"
  33462. },
  33463. "marketname": {
  33464. "description": "市场名称",
  33465. "type": "string"
  33466. },
  33467. "openprice": {
  33468. "description": "建仓价格",
  33469. "type": "number"
  33470. },
  33471. "openqty": {
  33472. "description": "建仓数量",
  33473. "type": "number"
  33474. },
  33475. "optiontype": {
  33476. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  33477. "type": "integer"
  33478. },
  33479. "preexerciseprice": {
  33480. "description": "预申报价格",
  33481. "type": "number"
  33482. },
  33483. "premium": {
  33484. "description": "权利金",
  33485. "type": "number"
  33486. },
  33487. "qtydecimalplace": {
  33488. "description": "商品成交量小数位",
  33489. "type": "integer"
  33490. },
  33491. "refgoodscode": {
  33492. "description": "标的合约代码",
  33493. "type": "string"
  33494. },
  33495. "refgoodsid": {
  33496. "description": "标的合约id",
  33497. "type": "integer"
  33498. },
  33499. "releaseamount": {
  33500. "description": "释放持仓金额",
  33501. "type": "number"
  33502. },
  33503. "releaseholdercredit": {
  33504. "description": "释放持仓授信金额",
  33505. "type": "number"
  33506. },
  33507. "taname": {
  33508. "description": "资金账号名称",
  33509. "type": "string"
  33510. },
  33511. "tradeamount": {
  33512. "description": "成交金额",
  33513. "type": "number"
  33514. },
  33515. "tradedate": {
  33516. "description": "交易日(yyyyMMdd)",
  33517. "type": "string"
  33518. },
  33519. "tradeid": {
  33520. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33521. "type": "string"
  33522. },
  33523. "trademode": {
  33524. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  33525. "type": "integer"
  33526. },
  33527. "tradeproperty": {
  33528. "description": "交易属性",
  33529. "type": "integer"
  33530. },
  33531. "tradetime": {
  33532. "description": "交易时间",
  33533. "type": "string"
  33534. },
  33535. "userid": {
  33536. "description": "用户id",
  33537. "type": "integer"
  33538. },
  33539. "username": {
  33540. "description": "用户名称",
  33541. "type": "string"
  33542. }
  33543. }
  33544. },
  33545. "models.UserCollectConfig": {
  33546. "type": "object",
  33547. "properties": {
  33548. "accountstatus": {
  33549. "description": "账户状态 - 1:正常 2:停用 3:注销",
  33550. "type": "integer"
  33551. },
  33552. "collectaccountname": {
  33553. "description": "收款人账户名称",
  33554. "type": "string"
  33555. },
  33556. "collectaccountno": {
  33557. "description": "收款人账户",
  33558. "type": "string"
  33559. },
  33560. "collectbankname": {
  33561. "description": "收款人开户行",
  33562. "type": "string"
  33563. },
  33564. "collectbranchbankname": {
  33565. "description": "收款人开户支行",
  33566. "type": "string"
  33567. },
  33568. "collectconfigid": {
  33569. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  33570. "type": "string"
  33571. },
  33572. "remark": {
  33573. "description": "备注",
  33574. "type": "string"
  33575. },
  33576. "userid": {
  33577. "description": "收款人用户ID",
  33578. "type": "integer"
  33579. }
  33580. }
  33581. },
  33582. "models.UserReceiveInfo": {
  33583. "type": "object",
  33584. "properties": {
  33585. "address": {
  33586. "description": "提货人详细地址",
  33587. "type": "string"
  33588. },
  33589. "autoid": {
  33590. "description": "AutoID",
  33591. "type": "integer"
  33592. },
  33593. "cardnum": {
  33594. "description": "证件号码(加密存储)",
  33595. "type": "string"
  33596. },
  33597. "cardtypeid": {
  33598. "description": "证件类型",
  33599. "type": "integer"
  33600. },
  33601. "cityid": {
  33602. "description": "市",
  33603. "type": "integer"
  33604. },
  33605. "cityname": {
  33606. "description": "城市名称",
  33607. "type": "string"
  33608. },
  33609. "countryid": {
  33610. "description": "国家",
  33611. "type": "integer"
  33612. },
  33613. "countryname": {
  33614. "description": "国家名称",
  33615. "type": "string"
  33616. },
  33617. "districtid": {
  33618. "description": "地区",
  33619. "type": "integer"
  33620. },
  33621. "districtname": {
  33622. "description": "地区名称",
  33623. "type": "string"
  33624. },
  33625. "hasencrypt": {
  33626. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33627. "type": "integer"
  33628. },
  33629. "isdefault": {
  33630. "description": "是否默认地址 - 0:否 1:是",
  33631. "type": "integer"
  33632. },
  33633. "phonenum": {
  33634. "description": "提货人联系方式(加密存储)",
  33635. "type": "string"
  33636. },
  33637. "provinceid": {
  33638. "description": "省",
  33639. "type": "integer"
  33640. },
  33641. "provincename": {
  33642. "description": "省名称",
  33643. "type": "string"
  33644. },
  33645. "receivername": {
  33646. "description": "提货人姓名",
  33647. "type": "string"
  33648. },
  33649. "takeremark": {
  33650. "description": "提货备注",
  33651. "type": "string"
  33652. },
  33653. "userid": {
  33654. "description": "用户ID",
  33655. "type": "integer"
  33656. }
  33657. }
  33658. },
  33659. "models.Useraccount": {
  33660. "type": "object",
  33661. "required": [
  33662. "userid"
  33663. ],
  33664. "properties": {
  33665. "accountname": {
  33666. "description": "账户名称(机构名称)",
  33667. "type": "string"
  33668. },
  33669. "accountstatus": {
  33670. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  33671. "type": "integer"
  33672. },
  33673. "applysrc": {
  33674. "description": "申请来源 - 1:管理端 2:终端",
  33675. "type": "integer"
  33676. },
  33677. "auditremark": {
  33678. "description": "审核备注",
  33679. "type": "string"
  33680. },
  33681. "auditsrc": {
  33682. "description": "审核来源 - 1:管理端 2:终端",
  33683. "type": "integer"
  33684. },
  33685. "audittime": {
  33686. "description": "审核时间",
  33687. "type": "string"
  33688. },
  33689. "audituserid": {
  33690. "description": "审核人",
  33691. "type": "integer"
  33692. },
  33693. "broker": {
  33694. "description": "所属经纪人ID",
  33695. "type": "integer"
  33696. },
  33697. "canceltime": {
  33698. "description": "销户时间",
  33699. "type": "string"
  33700. },
  33701. "canceluserid": {
  33702. "description": "销户人",
  33703. "type": "integer"
  33704. },
  33705. "canrecommend": {
  33706. "description": "是否可推荐 - 0:不可 1;可",
  33707. "type": "integer"
  33708. },
  33709. "createtime": {
  33710. "description": "创建时间",
  33711. "type": "string"
  33712. },
  33713. "creatorid": {
  33714. "description": "创建人",
  33715. "type": "integer"
  33716. },
  33717. "hasauth": {
  33718. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  33719. "type": "integer"
  33720. },
  33721. "isanonymous": {
  33722. "description": "是否匿名下单 - 0:否 1:是",
  33723. "type": "integer"
  33724. },
  33725. "maxinvestornum": {
  33726. "description": "最大用户数(经纪会员下投资者个数)",
  33727. "type": "integer"
  33728. },
  33729. "memberuserid": {
  33730. "description": "所属会员ID",
  33731. "type": "integer"
  33732. },
  33733. "modifierid": {
  33734. "description": "修改人",
  33735. "type": "integer"
  33736. },
  33737. "modifyremark": {
  33738. "description": "变更备注",
  33739. "type": "string"
  33740. },
  33741. "modifystatus": {
  33742. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  33743. "type": "integer"
  33744. },
  33745. "modifytime": {
  33746. "description": "修改时间",
  33747. "type": "string"
  33748. },
  33749. "parenttopuser": {
  33750. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  33751. "type": "string"
  33752. },
  33753. "parentuserid": {
  33754. "description": "所属机构ID",
  33755. "type": "integer"
  33756. },
  33757. "reckonaccountid": {
  33758. "description": "默认结算资金账号ID(机构分润使用) 作废",
  33759. "type": "integer"
  33760. },
  33761. "refercount": {
  33762. "description": "推荐总人数",
  33763. "type": "integer"
  33764. },
  33765. "refereeuserid": {
  33766. "description": "推荐人ID",
  33767. "type": "integer"
  33768. },
  33769. "refernum": {
  33770. "description": "推荐码",
  33771. "type": "string"
  33772. },
  33773. "rootuserid": {
  33774. "description": "根用户ID",
  33775. "type": "integer"
  33776. },
  33777. "subaccountlevel": {
  33778. "description": "子账户层数",
  33779. "type": "integer"
  33780. },
  33781. "subarealevelpath": {
  33782. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  33783. "type": "string"
  33784. },
  33785. "userid": {
  33786. "description": "用户ID",
  33787. "type": "integer"
  33788. },
  33789. "usertype": {
  33790. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  33791. "type": "integer"
  33792. }
  33793. }
  33794. },
  33795. "models.Userfavoritegoods": {
  33796. "type": "object",
  33797. "required": [
  33798. "goodsid"
  33799. ],
  33800. "properties": {
  33801. "goodsid": {
  33802. "description": "商品ID",
  33803. "type": "integer"
  33804. }
  33805. }
  33806. },
  33807. "models.Userinfo": {
  33808. "type": "object",
  33809. "required": [
  33810. "userid"
  33811. ],
  33812. "properties": {
  33813. "address": {
  33814. "description": "地址",
  33815. "type": "string"
  33816. },
  33817. "attachment1": {
  33818. "description": "附件1",
  33819. "type": "string"
  33820. },
  33821. "attachment2": {
  33822. "description": "附件2",
  33823. "type": "string"
  33824. },
  33825. "bankaccount": {
  33826. "description": "银行帐号 (加密存储)",
  33827. "type": "string"
  33828. },
  33829. "bankaccountname": {
  33830. "description": "收款人名称",
  33831. "type": "string"
  33832. },
  33833. "bankcardfrontphotourl": {
  33834. "description": "银行卡正面照地址",
  33835. "type": "string"
  33836. },
  33837. "bankid": {
  33838. "description": "银行编码",
  33839. "type": "string"
  33840. },
  33841. "bankname": {
  33842. "description": "银行名称",
  33843. "type": "string"
  33844. },
  33845. "biznature": {
  33846. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  33847. "type": "integer"
  33848. },
  33849. "bizscope": {
  33850. "description": "企业经营范围(企业)",
  33851. "type": "string"
  33852. },
  33853. "cardbackphotourl": {
  33854. "description": "证件背面图片地址",
  33855. "type": "string"
  33856. },
  33857. "cardfrontphotourl": {
  33858. "description": "证件正面图片地址",
  33859. "type": "string"
  33860. },
  33861. "cardnum": {
  33862. "description": "证件号码(加密存储)",
  33863. "type": "string"
  33864. },
  33865. "cardtypeid": {
  33866. "description": "证件类型ID",
  33867. "type": "integer"
  33868. },
  33869. "cityid": {
  33870. "description": "市",
  33871. "type": "integer"
  33872. },
  33873. "company": {
  33874. "description": "公司(个人)",
  33875. "type": "string"
  33876. },
  33877. "contactname": {
  33878. "description": "联系人",
  33879. "type": "string"
  33880. },
  33881. "countryid": {
  33882. "description": "国家",
  33883. "type": "integer"
  33884. },
  33885. "createtime": {
  33886. "description": "创建时间",
  33887. "type": "string"
  33888. },
  33889. "creatorid": {
  33890. "description": "创建人",
  33891. "type": "integer"
  33892. },
  33893. "customername": {
  33894. "description": "客户名称(企业名称)",
  33895. "type": "string"
  33896. },
  33897. "districtid": {
  33898. "description": "地区",
  33899. "type": "integer"
  33900. },
  33901. "email": {
  33902. "description": "邮件(加密存储)",
  33903. "type": "string"
  33904. },
  33905. "fax": {
  33906. "description": "传真(加密存储)",
  33907. "type": "string"
  33908. },
  33909. "halfbodyphotourl": {
  33910. "description": "半身照地址",
  33911. "type": "string"
  33912. },
  33913. "hasencrypt": {
  33914. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33915. "type": "integer"
  33916. },
  33917. "headurl": {
  33918. "description": "头像地址",
  33919. "type": "string"
  33920. },
  33921. "legalcardbackphotourl": {
  33922. "description": "法人身份证背面照地址",
  33923. "type": "string"
  33924. },
  33925. "legalcardfrontphotourl": {
  33926. "description": "法人身份证正面照地址",
  33927. "type": "string"
  33928. },
  33929. "legalpersonname": {
  33930. "description": "法人姓名(企业)",
  33931. "type": "string"
  33932. },
  33933. "mobile": {
  33934. "description": "手机号码(加密存储)",
  33935. "type": "string"
  33936. },
  33937. "mobile2": {
  33938. "description": "手机号码[明文-尚志]",
  33939. "type": "string"
  33940. },
  33941. "modifierid": {
  33942. "description": "修改人",
  33943. "type": "integer"
  33944. },
  33945. "modifiertime": {
  33946. "description": "修改时间",
  33947. "type": "string"
  33948. },
  33949. "needinvoice": {
  33950. "description": "是否需要发票 - 0:不需要 1:需要",
  33951. "type": "integer"
  33952. },
  33953. "nickname": {
  33954. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  33955. "type": "string"
  33956. },
  33957. "openmode": {
  33958. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  33959. "type": "integer"
  33960. },
  33961. "otherurl": {
  33962. "description": "其它图片地址[使用分号分隔]",
  33963. "type": "string"
  33964. },
  33965. "postalcode": {
  33966. "description": "邮政编码",
  33967. "type": "string"
  33968. },
  33969. "provinceid": {
  33970. "description": "省",
  33971. "type": "integer"
  33972. },
  33973. "qq": {
  33974. "description": "QQ(加密存储",
  33975. "type": "string"
  33976. },
  33977. "remark": {
  33978. "description": "备注",
  33979. "type": "string"
  33980. },
  33981. "sex": {
  33982. "description": "用户性别 0: 女 1: 男",
  33983. "type": "integer"
  33984. },
  33985. "signpdfurl": {
  33986. "description": "签约pdf文件",
  33987. "type": "string"
  33988. },
  33989. "telphone": {
  33990. "description": "联系电话(加密存储)",
  33991. "type": "string"
  33992. },
  33993. "userid": {
  33994. "description": "用户ID",
  33995. "type": "integer"
  33996. },
  33997. "userinfotype": {
  33998. "description": "用户信息类型 - 1:个人 2:企业",
  33999. "type": "integer"
  34000. },
  34001. "userstatus": {
  34002. "description": "用户状态 - 1:正常 2:注销",
  34003. "type": "integer"
  34004. },
  34005. "usertype": {
  34006. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  34007. "type": "integer"
  34008. },
  34009. "wechat": {
  34010. "description": "微信(加密存储)",
  34011. "type": "string"
  34012. },
  34013. "wskhinfo": {
  34014. "description": "开户申请信息(JSON)",
  34015. "type": "string"
  34016. }
  34017. }
  34018. },
  34019. "models.WRSConverTDetail": {
  34020. "type": "object",
  34021. "properties": {
  34022. "convertratio": {
  34023. "description": "套保系数",
  34024. "type": "number"
  34025. },
  34026. "deliverygoodscode": {
  34027. "description": "现货商品代码",
  34028. "type": "string"
  34029. },
  34030. "deliverygoodsid": {
  34031. "description": "现货品种ID",
  34032. "type": "integer"
  34033. },
  34034. "deliverygoodsname": {
  34035. "description": "现货商品名称",
  34036. "type": "string"
  34037. },
  34038. "enumdicname": {
  34039. "description": "单位名称",
  34040. "type": "string"
  34041. },
  34042. "goodsunitid": {
  34043. "description": "套保品种单位id",
  34044. "type": "integer"
  34045. },
  34046. "middlegoodscode": {
  34047. "description": "套保品种代码",
  34048. "type": "string"
  34049. },
  34050. "middlegoodsid": {
  34051. "description": "套保品种ID",
  34052. "type": "integer"
  34053. },
  34054. "middlegoodsname": {
  34055. "description": "套保品种名称",
  34056. "type": "string"
  34057. },
  34058. "modifytime": {
  34059. "description": "修改时间",
  34060. "type": "string"
  34061. },
  34062. "wrstandardid": {
  34063. "description": "品类ID",
  34064. "type": "integer"
  34065. }
  34066. }
  34067. },
  34068. "models.WRStandardInfo": {
  34069. "type": "object",
  34070. "required": [
  34071. "wrstandardid"
  34072. ],
  34073. "properties": {
  34074. "areauserid": {
  34075. "description": "所属机构",
  34076. "type": "integer"
  34077. },
  34078. "convertfactor": {
  34079. "description": "标仓系数",
  34080. "type": "number"
  34081. },
  34082. "createtime": {
  34083. "description": "创建时间",
  34084. "type": "string"
  34085. },
  34086. "creatorid": {
  34087. "description": "创建人",
  34088. "type": "integer"
  34089. },
  34090. "deliverygoodsid": {
  34091. "description": "品种ID",
  34092. "type": "integer"
  34093. },
  34094. "deliverygoodsname": {
  34095. "description": "交割商品名称",
  34096. "type": "string"
  34097. },
  34098. "factoryitemjson": {
  34099. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  34100. "type": "string"
  34101. },
  34102. "isvalid": {
  34103. "description": "是否有效 - 0:无效 1:有效",
  34104. "type": "integer"
  34105. },
  34106. "minivalue": {
  34107. "description": "最小变动值",
  34108. "type": "integer"
  34109. },
  34110. "minivaluedp": {
  34111. "description": "最小变动值小数位",
  34112. "type": "integer"
  34113. },
  34114. "realminivalue": {
  34115. "description": "实际最小变动值",
  34116. "type": "integer"
  34117. },
  34118. "realminivaluedp": {
  34119. "description": "实际最小变动值小数位",
  34120. "type": "integer"
  34121. },
  34122. "remark": {
  34123. "description": "备注",
  34124. "type": "string"
  34125. },
  34126. "unitid": {
  34127. "description": "单位ID",
  34128. "type": "integer"
  34129. },
  34130. "unitname": {
  34131. "description": "单位",
  34132. "type": "string"
  34133. },
  34134. "updatetime": {
  34135. "description": "更新时间",
  34136. "type": "string"
  34137. },
  34138. "updatorid": {
  34139. "description": "更新人",
  34140. "type": "integer"
  34141. },
  34142. "wrsstatus": {
  34143. "description": "状态 - 作废 - 0:未激活 1:正常",
  34144. "type": "integer"
  34145. },
  34146. "wrstandardcode": {
  34147. "description": "现货品类代码",
  34148. "type": "string"
  34149. },
  34150. "wrstandardid": {
  34151. "description": "现货品类ID(SEQ_WRSTANDARD)",
  34152. "type": "integer"
  34153. },
  34154. "wrstandardname": {
  34155. "description": "现货品类名称",
  34156. "type": "string"
  34157. }
  34158. }
  34159. },
  34160. "models.WRTradeBargainApply": {
  34161. "type": "object",
  34162. "properties": {
  34163. "accountid": {
  34164. "description": "摘牌资金账号",
  34165. "type": "integer"
  34166. },
  34167. "applyprice": {
  34168. "description": "申请价格(议价价格)",
  34169. "type": "string"
  34170. },
  34171. "applyqty": {
  34172. "description": "摘牌数量(议价数量)",
  34173. "type": "number"
  34174. },
  34175. "applyremark": {
  34176. "description": "申请备注",
  34177. "type": "string"
  34178. },
  34179. "applystatus": {
  34180. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  34181. "type": "integer"
  34182. },
  34183. "applytime": {
  34184. "description": "申请时间(议价时间)",
  34185. "type": "string"
  34186. },
  34187. "begindate": {
  34188. "description": "开始交易日(yyyymmdd)",
  34189. "type": "string"
  34190. },
  34191. "buyorsell": {
  34192. "description": "买卖(挂牌类型) - 0:买 1:卖",
  34193. "type": "integer"
  34194. },
  34195. "confirmremark": {
  34196. "description": "确认备注",
  34197. "type": "string"
  34198. },
  34199. "confirmtime": {
  34200. "description": "确认时间",
  34201. "type": "string"
  34202. },
  34203. "confirmuserid": {
  34204. "description": "确认人",
  34205. "type": "integer"
  34206. },
  34207. "deliverygoodscode": {
  34208. "description": "品种代码",
  34209. "type": "string"
  34210. },
  34211. "deliverygoodsid": {
  34212. "description": "品种ID",
  34213. "type": "integer"
  34214. },
  34215. "deliverygoodsname": {
  34216. "description": "品种名称",
  34217. "type": "string"
  34218. },
  34219. "deliverymonth": {
  34220. "description": "交收月",
  34221. "type": "string"
  34222. },
  34223. "enddate": {
  34224. "description": "结束交易日(yyyymmdd)",
  34225. "type": "string"
  34226. },
  34227. "enumdicname": {
  34228. "description": "单位名称",
  34229. "type": "string"
  34230. },
  34231. "fixedprice": {
  34232. "description": "挂牌价格",
  34233. "type": "number"
  34234. },
  34235. "handlestatus": {
  34236. "description": "处理状态",
  34237. "type": "integer"
  34238. },
  34239. "marginvalue": {
  34240. "description": "履约保证金比例",
  34241. "type": "number"
  34242. },
  34243. "marketid": {
  34244. "description": "市场ID",
  34245. "type": "integer"
  34246. },
  34247. "matchaccountid": {
  34248. "description": "挂牌方资金账号",
  34249. "type": "integer"
  34250. },
  34251. "matchuserid": {
  34252. "description": "挂牌方用户id",
  34253. "type": "integer"
  34254. },
  34255. "matchusername": {
  34256. "description": "挂牌方用户名称(已脱敏)",
  34257. "type": "string"
  34258. },
  34259. "minivalue": {
  34260. "description": "现货商品最小变动值",
  34261. "type": "integer"
  34262. },
  34263. "optioncompare": {
  34264. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34265. "type": "string"
  34266. },
  34267. "orderqty": {
  34268. "description": "挂牌数量",
  34269. "type": "integer"
  34270. },
  34271. "refprice": {
  34272. "description": "参考价格",
  34273. "type": "string"
  34274. },
  34275. "retcode": {
  34276. "description": "委托返回代码",
  34277. "type": "integer"
  34278. },
  34279. "templatename": {
  34280. "description": "履约方式(履约模板名称)",
  34281. "type": "string"
  34282. },
  34283. "tradedate": {
  34284. "description": "交易日(yyyyMMdd)",
  34285. "type": "string"
  34286. },
  34287. "userid": {
  34288. "description": "摘牌人用户ID(议价人ID)",
  34289. "type": "integer"
  34290. },
  34291. "username": {
  34292. "description": "议价人名字(已脱敏)",
  34293. "type": "string"
  34294. },
  34295. "validtime": {
  34296. "description": "有效期限",
  34297. "type": "string"
  34298. },
  34299. "warehouseid": {
  34300. "description": "仓库ID",
  34301. "type": "integer"
  34302. },
  34303. "warehousename": {
  34304. "description": "仓库名称",
  34305. "type": "string"
  34306. },
  34307. "wrbargainid": {
  34308. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  34309. "type": "string"
  34310. },
  34311. "wrfactortypeid": {
  34312. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34313. "type": "string"
  34314. },
  34315. "wrfactortypename": {
  34316. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34317. "type": "string"
  34318. },
  34319. "wrstandardcode": {
  34320. "description": "现货商品代码",
  34321. "type": "string"
  34322. },
  34323. "wrstandardid": {
  34324. "description": "现货商品ID",
  34325. "type": "integer"
  34326. },
  34327. "wrstandardname": {
  34328. "description": "商品名称",
  34329. "type": "string"
  34330. },
  34331. "wrtradeorderid": {
  34332. "description": "关联委托单ID",
  34333. "type": "string"
  34334. },
  34335. "wrtypename": {
  34336. "description": "商品",
  34337. "type": "string"
  34338. }
  34339. }
  34340. },
  34341. "models.Warehouseinfo": {
  34342. "type": "object",
  34343. "required": [
  34344. "autoid",
  34345. "warehousecode"
  34346. ],
  34347. "properties": {
  34348. "address": {
  34349. "description": "详细地址",
  34350. "type": "string"
  34351. },
  34352. "areauserid": {
  34353. "description": "所属机构",
  34354. "type": "integer"
  34355. },
  34356. "autoid": {
  34357. "description": "自增ID",
  34358. "type": "integer"
  34359. },
  34360. "cityid": {
  34361. "description": "市",
  34362. "type": "integer"
  34363. },
  34364. "contactname": {
  34365. "description": "联系人",
  34366. "type": "string"
  34367. },
  34368. "contactnum": {
  34369. "description": "联系电话",
  34370. "type": "string"
  34371. },
  34372. "countryid": {
  34373. "description": "国家",
  34374. "type": "integer"
  34375. },
  34376. "createtime": {
  34377. "description": "创建时间",
  34378. "type": "string"
  34379. },
  34380. "districtid": {
  34381. "description": "区",
  34382. "type": "integer"
  34383. },
  34384. "hasvideo": {
  34385. "description": "是否有视频 - 0:无 1:有",
  34386. "type": "integer"
  34387. },
  34388. "provinceid": {
  34389. "description": "省",
  34390. "type": "integer"
  34391. },
  34392. "remark": {
  34393. "description": "审核备注",
  34394. "type": "string"
  34395. },
  34396. "videourl": {
  34397. "description": "视频地址",
  34398. "type": "string"
  34399. },
  34400. "warehousecode": {
  34401. "description": "仓库代码",
  34402. "type": "string"
  34403. },
  34404. "warehousename": {
  34405. "description": "仓库名称",
  34406. "type": "string"
  34407. },
  34408. "warehousestatus": {
  34409. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  34410. "type": "integer"
  34411. },
  34412. "warehousetype": {
  34413. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  34414. "type": "integer"
  34415. }
  34416. }
  34417. },
  34418. "models.WrAverageTradePrice": {
  34419. "type": "object",
  34420. "properties": {
  34421. "averageprice": {
  34422. "description": "成交均价",
  34423. "type": "number"
  34424. },
  34425. "tradedate": {
  34426. "description": "交易日yyyymm",
  34427. "type": "string"
  34428. }
  34429. }
  34430. },
  34431. "models.WrBrandAndYears": {
  34432. "type": "object",
  34433. "properties": {
  34434. "brandlst": {
  34435. "description": "品牌列表",
  34436. "type": "array",
  34437. "items": {
  34438. "$ref": "#/definitions/models.DgFactoryItem"
  34439. }
  34440. },
  34441. "yearslst": {
  34442. "description": "年份列表",
  34443. "type": "array",
  34444. "items": {
  34445. "$ref": "#/definitions/models.DgFactoryItem"
  34446. }
  34447. }
  34448. }
  34449. },
  34450. "models.WrBsGoodsInfo": {
  34451. "type": "object",
  34452. "properties": {
  34453. "buyorsell": {
  34454. "description": "买卖方向 0-买 1-卖",
  34455. "type": "integer"
  34456. },
  34457. "goodsid": {
  34458. "description": "交易合约ID",
  34459. "type": "integer"
  34460. },
  34461. "lstitem": {
  34462. "description": "商品信息项",
  34463. "type": "array",
  34464. "items": {
  34465. "$ref": "#/definitions/models.WrTypeItem"
  34466. }
  34467. },
  34468. "lststep": {
  34469. "description": "履约规则",
  34470. "type": "array",
  34471. "items": {
  34472. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34473. }
  34474. }
  34475. }
  34476. },
  34477. "models.WrBuybackDetail": {
  34478. "type": "object",
  34479. "properties": {
  34480. "buybackamount": {
  34481. "description": "回购金额",
  34482. "type": "number"
  34483. },
  34484. "buybackqty": {
  34485. "description": "回购数量",
  34486. "type": "number"
  34487. },
  34488. "buybackreleasemargin": {
  34489. "description": "回购释放保证金",
  34490. "type": "number"
  34491. },
  34492. "buybacktime": {
  34493. "description": "回购时间",
  34494. "type": "string"
  34495. },
  34496. "errordesc": {
  34497. "description": "错误描述",
  34498. "type": "string"
  34499. },
  34500. "handlestatus": {
  34501. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  34502. "type": "integer"
  34503. },
  34504. "relatedwrid": {
  34505. "description": "关联仓单ID",
  34506. "type": "integer"
  34507. },
  34508. "scfcontractid": {
  34509. "description": "SCF合同ID",
  34510. "type": "string"
  34511. },
  34512. "scfwrbuybackid": {
  34513. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  34514. "type": "integer"
  34515. },
  34516. "tradedate": {
  34517. "description": "交易日(yyyyMMdd)",
  34518. "type": "string"
  34519. }
  34520. }
  34521. },
  34522. "models.WrClientAdSpaceConfig": {
  34523. "type": "object",
  34524. "properties": {
  34525. "adspaceid": {
  34526. "description": "广告位ID",
  34527. "type": "integer"
  34528. },
  34529. "adspacename": {
  34530. "description": "广告位名称",
  34531. "type": "string"
  34532. },
  34533. "adspacetype": {
  34534. "description": "广告位类型 - 1:固定广告位",
  34535. "type": "integer"
  34536. },
  34537. "areauserid": {
  34538. "description": "所属机构ID",
  34539. "type": "integer"
  34540. },
  34541. "createdate": {
  34542. "description": "创建时间",
  34543. "type": "string"
  34544. },
  34545. "imagepath": {
  34546. "description": "图片",
  34547. "type": "string"
  34548. },
  34549. "modifierid": {
  34550. "description": "操作人",
  34551. "type": "integer"
  34552. },
  34553. "recsize": {
  34554. "description": "推荐尺寸",
  34555. "type": "string"
  34556. },
  34557. "title": {
  34558. "description": "标题",
  34559. "type": "string"
  34560. },
  34561. "updatedate": {
  34562. "description": "更新时间",
  34563. "type": "string"
  34564. },
  34565. "urlcontent": {
  34566. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  34567. "type": "string"
  34568. },
  34569. "urltype": {
  34570. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  34571. "type": "integer"
  34572. }
  34573. }
  34574. },
  34575. "models.WrDeliveryAvalidHoldLB": {
  34576. "type": "object",
  34577. "properties": {
  34578. "accountid": {
  34579. "description": "资金账号",
  34580. "type": "integer"
  34581. },
  34582. "avalidqty": {
  34583. "description": "数量(可点选数量)",
  34584. "type": "number"
  34585. },
  34586. "deliverygoodsid": {
  34587. "description": "品种id",
  34588. "type": "integer"
  34589. },
  34590. "enumdicname": {
  34591. "description": "单位名称",
  34592. "type": "string"
  34593. },
  34594. "goodsid": {
  34595. "description": "x合约商品id",
  34596. "type": "integer"
  34597. },
  34598. "ladingbillid": {
  34599. "description": "提单id",
  34600. "type": "string"
  34601. },
  34602. "pgoodscode": {
  34603. "description": "p商品代码(点价合约)",
  34604. "type": "string"
  34605. },
  34606. "pgoodsid": {
  34607. "description": "p商品id(点价合约)",
  34608. "type": "integer"
  34609. },
  34610. "pgoodsname": {
  34611. "description": "p商品名称(点价合约)",
  34612. "type": "string"
  34613. },
  34614. "pricemove": {
  34615. "description": "升贴水",
  34616. "type": "number"
  34617. },
  34618. "subnum": {
  34619. "description": "提单子id",
  34620. "type": "integer"
  34621. },
  34622. "userid": {
  34623. "description": "用户id",
  34624. "type": "integer"
  34625. },
  34626. "username": {
  34627. "description": "仓单持有人",
  34628. "type": "string"
  34629. },
  34630. "warehousecode": {
  34631. "description": "仓库代码",
  34632. "type": "string"
  34633. },
  34634. "warehouseid": {
  34635. "description": "仓库id",
  34636. "type": "integer"
  34637. },
  34638. "warehousename": {
  34639. "description": "仓库名称",
  34640. "type": "string"
  34641. },
  34642. "wrfactortypeid": {
  34643. "description": "仓单要素id",
  34644. "type": "string"
  34645. },
  34646. "wrstandardcode": {
  34647. "description": "品代码",
  34648. "type": "string"
  34649. },
  34650. "wrstandardid": {
  34651. "description": "品类d",
  34652. "type": "integer"
  34653. },
  34654. "wrstandardname": {
  34655. "description": "品类名称",
  34656. "type": "string"
  34657. },
  34658. "wrtypename": {
  34659. "description": "商品",
  34660. "type": "string"
  34661. },
  34662. "xgoodscode": {
  34663. "description": "x合约代码",
  34664. "type": "string"
  34665. },
  34666. "xgoodsname": {
  34667. "description": "x合约名称",
  34668. "type": "string"
  34669. }
  34670. }
  34671. },
  34672. "models.WrDeliveryDetail": {
  34673. "type": "object",
  34674. "properties": {
  34675. "accountid": {
  34676. "description": "账号ID",
  34677. "type": "integer"
  34678. },
  34679. "averageprice": {
  34680. "description": "交割均价 = 交割金额 / 交割数量",
  34681. "type": "number"
  34682. },
  34683. "begindate": {
  34684. "description": "开始交易日(yyyymmdd)",
  34685. "type": "string"
  34686. },
  34687. "buyorsell": {
  34688. "description": "方向 - 0:买 1:卖",
  34689. "type": "integer"
  34690. },
  34691. "deliveryamount": {
  34692. "description": "货款金额(X总货款+P总货款)",
  34693. "type": "number"
  34694. },
  34695. "deliveryid": {
  34696. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  34697. "type": "string"
  34698. },
  34699. "deliveryorderid": {
  34700. "description": "申报单号",
  34701. "type": "string"
  34702. },
  34703. "deliverypricemove": {
  34704. "description": "升贴水(升贴水总额)",
  34705. "type": "number"
  34706. },
  34707. "deliveryqty": {
  34708. "description": "交收数量(点选数量)",
  34709. "type": "number"
  34710. },
  34711. "deliverystatus": {
  34712. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  34713. "type": "integer"
  34714. },
  34715. "deliverytime": {
  34716. "description": "交割时间",
  34717. "type": "string"
  34718. },
  34719. "deliverytotalamount": {
  34720. "description": "交收金额",
  34721. "type": "number"
  34722. },
  34723. "enddate": {
  34724. "description": "结束交易日(yyyymmdd)",
  34725. "type": "string"
  34726. },
  34727. "enumdicname": {
  34728. "description": "单位名称",
  34729. "type": "string"
  34730. },
  34731. "matchaccountid": {
  34732. "description": "对手账号ID",
  34733. "type": "integer"
  34734. },
  34735. "matchusername": {
  34736. "description": "对手方名称(仓单持有人)",
  34737. "type": "string"
  34738. },
  34739. "p1goodsremainamount": {
  34740. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  34741. "type": "number"
  34742. },
  34743. "pdeliverycloseqty": {
  34744. "description": "p合约平仓数量",
  34745. "type": "number"
  34746. },
  34747. "pdeliveryprice": {
  34748. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  34749. "type": "number"
  34750. },
  34751. "pgoodscode": {
  34752. "description": "商品代码",
  34753. "type": "string"
  34754. },
  34755. "pgoodsid": {
  34756. "description": "p点选合约id",
  34757. "type": "integer"
  34758. },
  34759. "pgoodsname": {
  34760. "description": "商品名称",
  34761. "type": "string"
  34762. },
  34763. "ppricemode": {
  34764. "description": "点价价格方式 - 1:商品价 2:固定值",
  34765. "type": "integer"
  34766. },
  34767. "tradedate": {
  34768. "description": "交易日(yyyymmdd)",
  34769. "type": "string"
  34770. },
  34771. "userid": {
  34772. "description": "用户id",
  34773. "type": "integer"
  34774. },
  34775. "username": {
  34776. "description": "用户名称",
  34777. "type": "string"
  34778. },
  34779. "warehousename": {
  34780. "description": "仓库名称",
  34781. "type": "string"
  34782. },
  34783. "wrfactortypeid": {
  34784. "description": "仓单要素类型ID",
  34785. "type": "string"
  34786. },
  34787. "wrtypename": {
  34788. "description": "商品",
  34789. "type": "string"
  34790. },
  34791. "xdeliverycloseqty": {
  34792. "description": "合约数量",
  34793. "type": "number"
  34794. },
  34795. "xgoodsamount": {
  34796. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  34797. "type": "number"
  34798. },
  34799. "xgoodscode": {
  34800. "description": "商品代码",
  34801. "type": "string"
  34802. },
  34803. "xgoodsid": {
  34804. "description": "x交易合约ID",
  34805. "type": "integer"
  34806. },
  34807. "xgoodsname": {
  34808. "description": "商品名称",
  34809. "type": "string"
  34810. }
  34811. }
  34812. },
  34813. "models.WrDeliveryGoodsSection": {
  34814. "type": "object",
  34815. "properties": {
  34816. "dglst": {
  34817. "description": "板块商品列表",
  34818. "type": "array",
  34819. "items": {
  34820. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  34821. }
  34822. },
  34823. "imagepath": {
  34824. "description": "图片地址",
  34825. "type": "string"
  34826. },
  34827. "orderindex": {
  34828. "description": "排序",
  34829. "type": "integer"
  34830. },
  34831. "sectionid": {
  34832. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  34833. "type": "integer"
  34834. },
  34835. "sectionname": {
  34836. "description": "版块名称",
  34837. "type": "string"
  34838. },
  34839. "sectiontype": {
  34840. "description": "版块类型 - 1:指数版块 2:普通版块",
  34841. "type": "integer"
  34842. }
  34843. }
  34844. },
  34845. "models.WrDeliveryGoodsSectionConfig": {
  34846. "type": "object",
  34847. "properties": {
  34848. "deliverygoodscode": {
  34849. "description": "现货商品代码",
  34850. "type": "string"
  34851. },
  34852. "deliverygoodsid": {
  34853. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  34854. "type": "integer"
  34855. },
  34856. "deliverygoodsname": {
  34857. "description": "现货商品名称",
  34858. "type": "string"
  34859. },
  34860. "orderindex": {
  34861. "description": "排序",
  34862. "type": "integer"
  34863. }
  34864. }
  34865. },
  34866. "models.WrDraftUserInfo": {
  34867. "type": "object",
  34868. "properties": {
  34869. "address": {
  34870. "description": "地址",
  34871. "type": "string"
  34872. },
  34873. "attachment1": {
  34874. "description": "附件1",
  34875. "type": "string"
  34876. },
  34877. "attachment2": {
  34878. "description": "附件2",
  34879. "type": "string"
  34880. },
  34881. "attachment3": {
  34882. "description": "附件3",
  34883. "type": "string"
  34884. },
  34885. "attachment4": {
  34886. "description": "附件4",
  34887. "type": "string"
  34888. },
  34889. "attachment5": {
  34890. "description": "附件5",
  34891. "type": "string"
  34892. },
  34893. "bankaccount": {
  34894. "description": "银行帐号 (加密存储)",
  34895. "type": "string"
  34896. },
  34897. "bankaccountname": {
  34898. "description": "收款人名称",
  34899. "type": "string"
  34900. },
  34901. "bankcardfrontphotourl": {
  34902. "description": "银行卡正面照地址",
  34903. "type": "string"
  34904. },
  34905. "bankid": {
  34906. "description": "银行编码",
  34907. "type": "string"
  34908. },
  34909. "bankname": {
  34910. "description": "银行名称",
  34911. "type": "string"
  34912. },
  34913. "birthday": {
  34914. "description": "生日(个人:年月日)",
  34915. "type": "string"
  34916. },
  34917. "biznature": {
  34918. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  34919. "type": "integer"
  34920. },
  34921. "bizscope": {
  34922. "description": "企业经营范围(企业)",
  34923. "type": "string"
  34924. },
  34925. "biztype": {
  34926. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  34927. "type": "integer"
  34928. },
  34929. "cardbackphotourl": {
  34930. "description": "证件背面图片地址",
  34931. "type": "string"
  34932. },
  34933. "cardfrontphotourl": {
  34934. "description": "证件正面图片地址",
  34935. "type": "string"
  34936. },
  34937. "cardnum": {
  34938. "description": "证件号码(加密存储)",
  34939. "type": "string"
  34940. },
  34941. "cardtypeid": {
  34942. "description": "证件类型ID",
  34943. "type": "integer"
  34944. },
  34945. "cityid": {
  34946. "description": "市",
  34947. "type": "integer"
  34948. },
  34949. "company": {
  34950. "description": "公司(个人)",
  34951. "type": "string"
  34952. },
  34953. "contactcardbackphotourl": {
  34954. "description": "联系人证件背面图片地址",
  34955. "type": "string"
  34956. },
  34957. "contactcardfrontphotourl": {
  34958. "description": "联系人证件正面图片地址",
  34959. "type": "string"
  34960. },
  34961. "contactname": {
  34962. "description": "联系人",
  34963. "type": "string"
  34964. },
  34965. "countryid": {
  34966. "description": "国家",
  34967. "type": "integer"
  34968. },
  34969. "createtime": {
  34970. "description": "创建时间",
  34971. "type": "string"
  34972. },
  34973. "creatorid": {
  34974. "description": "创建人",
  34975. "type": "integer"
  34976. },
  34977. "creditquota": {
  34978. "description": "授信额度(金瑞)",
  34979. "type": "number"
  34980. },
  34981. "customername": {
  34982. "description": "客户名称(企业名称)",
  34983. "type": "string"
  34984. },
  34985. "districtid": {
  34986. "description": "地区",
  34987. "type": "integer"
  34988. },
  34989. "email": {
  34990. "description": "邮件(加密存储)",
  34991. "type": "string"
  34992. },
  34993. "fax": {
  34994. "description": "传真(加密存储)",
  34995. "type": "string"
  34996. },
  34997. "halfbodyphotourl": {
  34998. "description": "半身照地址",
  34999. "type": "string"
  35000. },
  35001. "hasencrypt": {
  35002. "description": "数据是否已加密 - 0:未加密 1:已加密",
  35003. "type": "integer"
  35004. },
  35005. "headurl": {
  35006. "description": "头像地址",
  35007. "type": "string"
  35008. },
  35009. "legalcardbackphotourl": {
  35010. "description": "法人身份证背面照地址",
  35011. "type": "string"
  35012. },
  35013. "legalcardfrontphotourl": {
  35014. "description": "法人身份证正面照地址",
  35015. "type": "string"
  35016. },
  35017. "legalpersonname": {
  35018. "description": "法人姓名(企业)",
  35019. "type": "string"
  35020. },
  35021. "mobile": {
  35022. "description": "手机号码(加密存储)",
  35023. "type": "string"
  35024. },
  35025. "mobile2": {
  35026. "description": "手机号码[明文-尚志]",
  35027. "type": "string"
  35028. },
  35029. "modifierid": {
  35030. "description": "修改人",
  35031. "type": "integer"
  35032. },
  35033. "modifiertime": {
  35034. "description": "修改时间",
  35035. "type": "string"
  35036. },
  35037. "needinvoice": {
  35038. "description": "是否需要发票 - 0:不需要 1:需要",
  35039. "type": "integer"
  35040. },
  35041. "nickname": {
  35042. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  35043. "type": "string"
  35044. },
  35045. "openmode": {
  35046. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  35047. "type": "integer"
  35048. },
  35049. "otherurl": {
  35050. "description": "其它图片地址[使用分号分隔]",
  35051. "type": "string"
  35052. },
  35053. "postalcode": {
  35054. "description": "邮政编码",
  35055. "type": "string"
  35056. },
  35057. "provinceid": {
  35058. "description": "省",
  35059. "type": "integer"
  35060. },
  35061. "proxystatementurl": {
  35062. "description": "授权委托书",
  35063. "type": "string"
  35064. },
  35065. "qq": {
  35066. "description": "QQ(加密存储",
  35067. "type": "string"
  35068. },
  35069. "remark": {
  35070. "description": "备注",
  35071. "type": "string"
  35072. },
  35073. "sex": {
  35074. "description": "用户性别 0: 女 1: 男",
  35075. "type": "integer"
  35076. },
  35077. "signpdfurl": {
  35078. "description": "签约pdf文件",
  35079. "type": "string"
  35080. },
  35081. "taxpayernum": {
  35082. "description": "纳税人识别号",
  35083. "type": "string"
  35084. },
  35085. "telphone": {
  35086. "description": "联系电话(加密存储)",
  35087. "type": "string"
  35088. },
  35089. "userid": {
  35090. "description": "用户ID",
  35091. "type": "integer"
  35092. },
  35093. "userinfotype": {
  35094. "description": "用户信息类型 - 1:个人 2:企业",
  35095. "type": "integer"
  35096. },
  35097. "userstatus": {
  35098. "description": "用户状态 - 1:正常 2:注销",
  35099. "type": "integer"
  35100. },
  35101. "usertype": {
  35102. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  35103. "type": "integer"
  35104. },
  35105. "wechat": {
  35106. "description": "微信(加密存储)",
  35107. "type": "string"
  35108. },
  35109. "wskhinfo": {
  35110. "description": "开户申请信息(JSON)",
  35111. "type": "string"
  35112. }
  35113. }
  35114. },
  35115. "models.WrFAProductDetail": {
  35116. "type": "object",
  35117. "properties": {
  35118. "accountid": {
  35119. "description": "资金账号",
  35120. "type": "integer"
  35121. },
  35122. "areauserid": {
  35123. "description": "金融机构ID",
  35124. "type": "integer"
  35125. },
  35126. "financingdays": {
  35127. "description": "天数(天)",
  35128. "type": "integer"
  35129. },
  35130. "interestminlen": {
  35131. "description": "最小起息天数",
  35132. "type": "integer"
  35133. },
  35134. "interestrate": {
  35135. "description": "利率",
  35136. "type": "number"
  35137. },
  35138. "interestratemode": {
  35139. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  35140. "type": "integer"
  35141. },
  35142. "interestsettlemode": {
  35143. "description": "结息方式 - 1:按日结息 3:按月结息",
  35144. "type": "integer"
  35145. },
  35146. "interestsettlevalue": {
  35147. "description": "结息方式值",
  35148. "type": "integer"
  35149. },
  35150. "isautoloan": {
  35151. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  35152. "type": "integer"
  35153. },
  35154. "loantag": {
  35155. "description": "放款标识: \"放款快\" 或者为空",
  35156. "type": "string"
  35157. },
  35158. "marginratio": {
  35159. "description": "保证金比率质押率 - [仓单质押]",
  35160. "type": "number"
  35161. },
  35162. "productdetailid": {
  35163. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  35164. "type": "integer"
  35165. },
  35166. "productid": {
  35167. "description": "金融产品ID",
  35168. "type": "integer"
  35169. },
  35170. "productname": {
  35171. "description": "产品名称",
  35172. "type": "string"
  35173. },
  35174. "updatetime": {
  35175. "description": "更新时间",
  35176. "type": "string"
  35177. },
  35178. "username": {
  35179. "description": "融出方",
  35180. "type": "string"
  35181. }
  35182. }
  35183. },
  35184. "models.WrFactorTypeInfo": {
  35185. "type": "object",
  35186. "properties": {
  35187. "deliverygoodscode": {
  35188. "description": "品种代码",
  35189. "type": "string"
  35190. },
  35191. "deliverygoodsname": {
  35192. "description": "品种名称",
  35193. "type": "string"
  35194. },
  35195. "dgfactoryitemid": {
  35196. "description": "选择项id",
  35197. "type": "integer"
  35198. },
  35199. "dgfactoryitemtypeid": {
  35200. "description": "要素选择项ID (1-仓库 2-品牌)",
  35201. "type": "integer"
  35202. },
  35203. "dgfactoryitemvalue": {
  35204. "description": "要素项值",
  35205. "type": "string"
  35206. },
  35207. "itemtypename": {
  35208. "description": "要素项名称",
  35209. "type": "string"
  35210. },
  35211. "optioncompare": {
  35212. "description": "选择比较串",
  35213. "type": "string"
  35214. },
  35215. "warehouseid": {
  35216. "description": "仓库id",
  35217. "type": "integer"
  35218. },
  35219. "wrfactortypeid": {
  35220. "description": "仓单要素ID",
  35221. "type": "string"
  35222. },
  35223. "wrfactortypename": {
  35224. "description": "要素名称",
  35225. "type": "string"
  35226. },
  35227. "wrfactortypename2": {
  35228. "description": "要素名称(不含仓库)",
  35229. "type": "string"
  35230. },
  35231. "wrstandardcode": {
  35232. "description": "品类代码",
  35233. "type": "string"
  35234. },
  35235. "wrstandardid": {
  35236. "description": "品类id",
  35237. "type": "integer"
  35238. },
  35239. "wrstandardname": {
  35240. "description": "品类名称",
  35241. "type": "string"
  35242. }
  35243. }
  35244. },
  35245. "models.WrFilterItem": {
  35246. "type": "object",
  35247. "properties": {
  35248. "itemcode": {
  35249. "description": "代码",
  35250. "type": "string"
  35251. },
  35252. "itemid": {
  35253. "description": "项id",
  35254. "type": "integer"
  35255. },
  35256. "itemname": {
  35257. "description": "名称",
  35258. "type": "string"
  35259. },
  35260. "itemtype": {
  35261. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  35262. "type": "integer"
  35263. }
  35264. }
  35265. },
  35266. "models.WrFinanceBuyApply": {
  35267. "type": "object",
  35268. "properties": {
  35269. "applydate": {
  35270. "description": "申请时间",
  35271. "type": "string"
  35272. },
  35273. "applystatus": {
  35274. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  35275. "type": "integer"
  35276. },
  35277. "applyuserid": {
  35278. "description": "申请人",
  35279. "type": "integer"
  35280. },
  35281. "auditdate": {
  35282. "description": "审核时间",
  35283. "type": "string"
  35284. },
  35285. "auditremark": {
  35286. "description": "审核备注",
  35287. "type": "string"
  35288. },
  35289. "audituserid": {
  35290. "description": "审核人",
  35291. "type": "integer"
  35292. },
  35293. "buyaccountid": {
  35294. "description": "买方资金账号",
  35295. "type": "integer"
  35296. },
  35297. "buyorsell": {
  35298. "description": "买卖 - 0:买 1:卖",
  35299. "type": "integer"
  35300. },
  35301. "buyuserid": {
  35302. "description": "买方用户ID",
  35303. "type": "integer"
  35304. },
  35305. "buyusername": {
  35306. "description": "买方名称",
  35307. "type": "string"
  35308. },
  35309. "buywrtradeorderid": {
  35310. "description": "融资方买委托单ID",
  35311. "type": "string"
  35312. },
  35313. "deliverygoodscode": {
  35314. "description": "品种代码",
  35315. "type": "string"
  35316. },
  35317. "deliverygoodsid": {
  35318. "description": "品种ID",
  35319. "type": "integer"
  35320. },
  35321. "deliverygoodsname": {
  35322. "description": "品种名称",
  35323. "type": "string"
  35324. },
  35325. "deliverymonth": {
  35326. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  35327. "type": "string"
  35328. },
  35329. "enumdicname": {
  35330. "description": "单位名称",
  35331. "type": "string"
  35332. },
  35333. "financeaccountid": {
  35334. "description": "融资方资金帐户ID",
  35335. "type": "integer"
  35336. },
  35337. "financeapplyid": {
  35338. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35339. "type": "string"
  35340. },
  35341. "financeareauserid": {
  35342. "description": "融资方用户ID",
  35343. "type": "string"
  35344. },
  35345. "financename": {
  35346. "description": "融出方名称",
  35347. "type": "string"
  35348. },
  35349. "financetype": {
  35350. "description": "融资类型 1-融资回购",
  35351. "type": "integer"
  35352. },
  35353. "financingdays": {
  35354. "description": "天数(天)",
  35355. "type": "integer"
  35356. },
  35357. "freezebuymargin": {
  35358. "description": "冻结融资保证金(买方)",
  35359. "type": "number"
  35360. },
  35361. "handleremark": {
  35362. "description": "处理备注",
  35363. "type": "string"
  35364. },
  35365. "handlestatus": {
  35366. "description": "处理状态",
  35367. "type": "integer"
  35368. },
  35369. "interestminlen": {
  35370. "description": "最小起息天数",
  35371. "type": "integer"
  35372. },
  35373. "interestrate": {
  35374. "description": "利率",
  35375. "type": "number"
  35376. },
  35377. "interestratemode": {
  35378. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  35379. "type": "integer"
  35380. },
  35381. "interestsettlemode": {
  35382. "description": "结息方式 - 1:按日结息 3:按月结息",
  35383. "type": "integer"
  35384. },
  35385. "interestsettlevalue": {
  35386. "description": "结息方式值",
  35387. "type": "integer"
  35388. },
  35389. "isautoloan": {
  35390. "description": "是否自动放款 - 0:手动 1:自动",
  35391. "type": "integer"
  35392. },
  35393. "marginratio": {
  35394. "description": "保证金比率质押率 - [仓单质押]",
  35395. "type": "number"
  35396. },
  35397. "marketid": {
  35398. "description": "市场ID",
  35399. "type": "integer"
  35400. },
  35401. "minivalue": {
  35402. "description": "现货商品最小变动值",
  35403. "type": "integer"
  35404. },
  35405. "optioncompare": {
  35406. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35407. "type": "string"
  35408. },
  35409. "orderqty": {
  35410. "description": "委托数量(商品数量)",
  35411. "type": "number"
  35412. },
  35413. "productdetailid": {
  35414. "description": "产品组合ID",
  35415. "type": "integer"
  35416. },
  35417. "productid": {
  35418. "description": "金融产品ID",
  35419. "type": "integer"
  35420. },
  35421. "productname": {
  35422. "description": "产品名称",
  35423. "type": "string"
  35424. },
  35425. "remark": {
  35426. "description": "备注",
  35427. "type": "string"
  35428. },
  35429. "scfcontractid": {
  35430. "description": "仓单回购合同ID",
  35431. "type": "string"
  35432. },
  35433. "sellaccountid": {
  35434. "description": "卖方资金账号",
  35435. "type": "integer"
  35436. },
  35437. "selluserid": {
  35438. "description": "卖方用户ID",
  35439. "type": "integer"
  35440. },
  35441. "sellwrtradeorderid": {
  35442. "description": "卖方委托单ID",
  35443. "type": "string"
  35444. },
  35445. "tradeamount": {
  35446. "description": "成交金额(借款金额)",
  35447. "type": "number"
  35448. },
  35449. "tradedate": {
  35450. "description": "交易日(yyyyMMdd)",
  35451. "type": "string"
  35452. },
  35453. "tradeprice": {
  35454. "description": "成交价格",
  35455. "type": "number"
  35456. },
  35457. "warehouseid": {
  35458. "description": "仓库ID",
  35459. "type": "integer"
  35460. },
  35461. "warehousename": {
  35462. "description": "仓库名称",
  35463. "type": "string"
  35464. },
  35465. "wrfactortypeid": {
  35466. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35467. "type": "string"
  35468. },
  35469. "wrfactortypename": {
  35470. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35471. "type": "string"
  35472. },
  35473. "wrpricetype": {
  35474. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  35475. "type": "integer"
  35476. },
  35477. "wrstandardcode": {
  35478. "description": "现货商品代码",
  35479. "type": "string"
  35480. },
  35481. "wrstandardid": {
  35482. "description": "现货商品ID",
  35483. "type": "integer"
  35484. },
  35485. "wrstandardname": {
  35486. "description": "商品名称",
  35487. "type": "string"
  35488. },
  35489. "wrtypename": {
  35490. "description": "商品",
  35491. "type": "string"
  35492. }
  35493. }
  35494. },
  35495. "models.WrFriendApply": {
  35496. "type": "object",
  35497. "properties": {
  35498. "applicantid": {
  35499. "description": "申请人",
  35500. "type": "integer"
  35501. },
  35502. "applyname": {
  35503. "description": "申请人名称",
  35504. "type": "string"
  35505. },
  35506. "applysrc": {
  35507. "description": "申请来源 - 1:管理端 2:终端",
  35508. "type": "integer"
  35509. },
  35510. "applystatus": {
  35511. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  35512. "type": "integer"
  35513. },
  35514. "applytime": {
  35515. "description": "申请时间",
  35516. "type": "string"
  35517. },
  35518. "auditname": {
  35519. "description": "审核人名称",
  35520. "type": "string"
  35521. },
  35522. "auditorid": {
  35523. "description": "审核人",
  35524. "type": "integer"
  35525. },
  35526. "auditremark": {
  35527. "description": "审核备注",
  35528. "type": "string"
  35529. },
  35530. "auditsrc": {
  35531. "description": "审核来源 - 1:管理端 2:终端",
  35532. "type": "integer"
  35533. },
  35534. "audittime": {
  35535. "description": "审核时间",
  35536. "type": "string"
  35537. },
  35538. "friendapplyid": {
  35539. "description": "申请ID(SEQ_FRIENDAPPLY)",
  35540. "type": "string"
  35541. },
  35542. "friendname": {
  35543. "description": "好友名字(已脱敏)",
  35544. "type": "string"
  35545. },
  35546. "frienduserid": {
  35547. "description": "好友用户ID",
  35548. "type": "string"
  35549. },
  35550. "remark": {
  35551. "description": "备注",
  35552. "type": "string"
  35553. },
  35554. "userid": {
  35555. "description": "申请人用户ID",
  35556. "type": "integer"
  35557. }
  35558. }
  35559. },
  35560. "models.WrFtDeliveryGoods": {
  35561. "type": "object",
  35562. "properties": {
  35563. "deliverygoodscode": {
  35564. "description": "品种代码",
  35565. "type": "string"
  35566. },
  35567. "deliverygoodsid": {
  35568. "description": "品种ID",
  35569. "type": "integer"
  35570. },
  35571. "deliverygoodsname": {
  35572. "description": "品种名称",
  35573. "type": "string"
  35574. },
  35575. "wdlst": {
  35576. "description": "商品列表",
  35577. "type": "array",
  35578. "items": {
  35579. "$ref": "#/definitions/models.WrFtWrstandard"
  35580. }
  35581. }
  35582. }
  35583. },
  35584. "models.WrFtWrstandard": {
  35585. "type": "object",
  35586. "properties": {
  35587. "enumdicname": {
  35588. "description": "单位名称",
  35589. "type": "string"
  35590. },
  35591. "minivalue": {
  35592. "description": "最小变动值",
  35593. "type": "integer"
  35594. },
  35595. "wrstandardcode": {
  35596. "description": "现货商品代码",
  35597. "type": "string"
  35598. },
  35599. "wrstandardid": {
  35600. "description": "现货商品ID",
  35601. "type": "integer"
  35602. },
  35603. "wrstandardname": {
  35604. "description": "商品名称",
  35605. "type": "string"
  35606. }
  35607. }
  35608. },
  35609. "models.WrGoodsInfo": {
  35610. "type": "object",
  35611. "properties": {
  35612. "haswr": {
  35613. "description": "0:仓单预售 1:仓单贸易",
  35614. "type": "integer"
  35615. },
  35616. "lstitem": {
  35617. "description": "商品信息项",
  35618. "type": "array",
  35619. "items": {
  35620. "$ref": "#/definitions/models.WrTypeItem"
  35621. }
  35622. },
  35623. "lststep": {
  35624. "description": "履约规则",
  35625. "type": "array",
  35626. "items": {
  35627. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  35628. }
  35629. },
  35630. "marketid": {
  35631. "description": "市场id",
  35632. "type": "integer"
  35633. }
  35634. }
  35635. },
  35636. "models.WrGoodsPerformanceStep": {
  35637. "type": "object",
  35638. "properties": {
  35639. "autoid": {
  35640. "description": "AutoID",
  35641. "type": "integer"
  35642. },
  35643. "isauto": {
  35644. "description": "是否自动 - 0:不自动 1:自动",
  35645. "type": "integer"
  35646. },
  35647. "remark": {
  35648. "description": "备注",
  35649. "type": "string"
  35650. },
  35651. "stepdate": {
  35652. "description": "天数信息(T+N)",
  35653. "type": "string"
  35654. },
  35655. "stepdays": {
  35656. "description": "距离上一步天数",
  35657. "type": "integer"
  35658. },
  35659. "stepindex": {
  35660. "description": "步骤序号",
  35661. "type": "integer"
  35662. },
  35663. "stepinfo": {
  35664. "description": "步骤信息(步骤名称+步骤值)",
  35665. "type": "string"
  35666. },
  35667. "steptypeid": {
  35668. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35669. "type": "integer"
  35670. },
  35671. "steptypename": {
  35672. "description": "步骤名称",
  35673. "type": "string"
  35674. },
  35675. "stepvalue": {
  35676. "description": "步骤值",
  35677. "type": "number"
  35678. },
  35679. "templateid": {
  35680. "description": "履约计划模板ID",
  35681. "type": "integer"
  35682. }
  35683. }
  35684. },
  35685. "models.WrHoldLB": {
  35686. "type": "object",
  35687. "properties": {
  35688. "accountid": {
  35689. "description": "持有人帐户ID",
  35690. "type": "integer"
  35691. },
  35692. "bannerpicurl": {
  35693. "description": "Banner图",
  35694. "type": "string"
  35695. },
  35696. "createtime": {
  35697. "description": "创建时间(过户时间)",
  35698. "type": "string"
  35699. },
  35700. "deliverygoodscode": {
  35701. "description": "品种代码",
  35702. "type": "string"
  35703. },
  35704. "deliverygoodsid": {
  35705. "description": "品种ID",
  35706. "type": "integer"
  35707. },
  35708. "deliverygoodsname": {
  35709. "description": "品种名称",
  35710. "type": "string"
  35711. },
  35712. "enableqty": {
  35713. "description": "可用数量",
  35714. "type": "number"
  35715. },
  35716. "enumdicname": {
  35717. "description": "单位名称",
  35718. "type": "string"
  35719. },
  35720. "freezerqty": {
  35721. "description": "冻结数量",
  35722. "type": "number"
  35723. },
  35724. "ladingbillid": {
  35725. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  35726. "type": "string"
  35727. },
  35728. "minivalue": {
  35729. "description": "现货商品最小变动值",
  35730. "type": "integer"
  35731. },
  35732. "optioncompare": {
  35733. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35734. "type": "string"
  35735. },
  35736. "parentsubnum": {
  35737. "description": "拆分父子单号",
  35738. "type": "integer"
  35739. },
  35740. "pledgeqty": {
  35741. "description": "质押数量",
  35742. "type": "number"
  35743. },
  35744. "qty": {
  35745. "description": "数量",
  35746. "type": "number"
  35747. },
  35748. "subnum": {
  35749. "description": "提单子单号",
  35750. "type": "integer"
  35751. },
  35752. "tradedate": {
  35753. "description": "交易日(yyyyMMdd)",
  35754. "type": "string"
  35755. },
  35756. "userid": {
  35757. "description": "持有人ID",
  35758. "type": "integer"
  35759. },
  35760. "warehouseid": {
  35761. "description": "仓库ID",
  35762. "type": "integer"
  35763. },
  35764. "warehousename": {
  35765. "description": "仓库名称",
  35766. "type": "string"
  35767. },
  35768. "wrfactortypeid": {
  35769. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35770. "type": "string"
  35771. },
  35772. "wrfactortypename": {
  35773. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35774. "type": "string"
  35775. },
  35776. "wrholdeno": {
  35777. "description": "仓单编号",
  35778. "type": "string"
  35779. },
  35780. "wrid": {
  35781. "description": "仓单变更ID",
  35782. "type": "string"
  35783. },
  35784. "wrstandardcode": {
  35785. "description": "现货商品代码",
  35786. "type": "string"
  35787. },
  35788. "wrstandardid": {
  35789. "description": "现货商品ID",
  35790. "type": "integer"
  35791. },
  35792. "wrstandardname": {
  35793. "description": "商品名称",
  35794. "type": "string"
  35795. },
  35796. "wrtypename": {
  35797. "description": "商品",
  35798. "type": "string"
  35799. }
  35800. }
  35801. },
  35802. "models.WrMarketTradeConfig": {
  35803. "type": "object",
  35804. "properties": {
  35805. "basisdownratio": {
  35806. "description": "浮动价基差下限比例(仓单贸易)",
  35807. "type": "number"
  35808. },
  35809. "basisupratio": {
  35810. "description": "浮动价基差上限比例(仓单贸易)",
  35811. "type": "number"
  35812. },
  35813. "buychargealgorithm": {
  35814. "description": "买方手续费收取方式 1:比率 2:固定",
  35815. "type": "integer"
  35816. },
  35817. "buychargealgorithm2": {
  35818. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  35819. "type": "integer"
  35820. },
  35821. "buychargealgorithmvalue": {
  35822. "description": "买方手续费设置值(交易所部分)",
  35823. "type": "number"
  35824. },
  35825. "buychargealgorithmvalue2": {
  35826. "description": "买方手续费设置值(会员部分)",
  35827. "type": "number"
  35828. },
  35829. "buychargealgorithmvalue3": {
  35830. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  35831. "type": "number"
  35832. },
  35833. "buychargealgorithmvalue4": {
  35834. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  35835. "type": "number"
  35836. },
  35837. "buyfirstmarginalgorithm": {
  35838. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  35839. "type": "integer"
  35840. },
  35841. "buyfirstmarginvalue": {
  35842. "description": "买方出价保证金设置值 - [竞拍]",
  35843. "type": "number"
  35844. },
  35845. "buymarginalgorithm": {
  35846. "description": "买方保证金方式 - 1:比率 2:固定",
  35847. "type": "integer"
  35848. },
  35849. "buymarginvalue": {
  35850. "description": "买方保证金设置值",
  35851. "type": "number"
  35852. },
  35853. "buyreleaseratio": {
  35854. "description": "买方释放比率[2:分步履约]",
  35855. "type": "number"
  35856. },
  35857. "executemode": {
  35858. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  35859. "type": "integer"
  35860. },
  35861. "executeside": {
  35862. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  35863. "type": "integer"
  35864. },
  35865. "failedchargealgorithm": {
  35866. "description": "流拍手续费收取方式 1:比率 2:固定",
  35867. "type": "integer"
  35868. },
  35869. "failedchargevalue": {
  35870. "description": "流拍手续费设置值",
  35871. "type": "number"
  35872. },
  35873. "failedchargevalue2": {
  35874. "description": "流拍卖方手续费设置值",
  35875. "type": "number"
  35876. },
  35877. "holddays": {
  35878. "description": "合同期限[2:分步履约]",
  35879. "type": "integer"
  35880. },
  35881. "marketid": {
  35882. "description": "市场ID-仓单贸易、竞拍、预售",
  35883. "type": "integer"
  35884. },
  35885. "minqty": {
  35886. "description": "最小执行量[2:分步履约]",
  35887. "type": "number"
  35888. },
  35889. "modifierid": {
  35890. "description": "修改人",
  35891. "type": "integer"
  35892. },
  35893. "performancetempid": {
  35894. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  35895. "type": "integer"
  35896. },
  35897. "performancetempid2": {
  35898. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  35899. "type": "integer"
  35900. },
  35901. "performancetempid2s": {
  35902. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  35903. "type": "string"
  35904. },
  35905. "performancetempids": {
  35906. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  35907. "type": "string"
  35908. },
  35909. "performanceway": {
  35910. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  35911. "type": "integer"
  35912. },
  35913. "sellchargealgorithm": {
  35914. "description": "卖方手续费收取方式 1:比率 2:固定",
  35915. "type": "integer"
  35916. },
  35917. "sellchargealgorithm2": {
  35918. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  35919. "type": "integer"
  35920. },
  35921. "sellchargealgorithmvalue": {
  35922. "description": "卖方手续费设置值(交易所部分)",
  35923. "type": "number"
  35924. },
  35925. "sellchargealgorithmvalue2": {
  35926. "description": "卖方手续费设置值(会员部分)",
  35927. "type": "number"
  35928. },
  35929. "sellchargealgorithmvalue3": {
  35930. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  35931. "type": "number"
  35932. },
  35933. "sellchargealgorithmvalue4": {
  35934. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  35935. "type": "number"
  35936. },
  35937. "sellmarginalgorithm": {
  35938. "description": "卖方保证金方式 - 1:比率 2:固定",
  35939. "type": "integer"
  35940. },
  35941. "sellmarginvalue": {
  35942. "description": "卖方保证金设置值",
  35943. "type": "number"
  35944. },
  35945. "sellmarginvalue2": {
  35946. "description": "卖方保证金设置值(无仓单)",
  35947. "type": "number"
  35948. },
  35949. "sellreleaseratio": {
  35950. "description": "卖方释放比率[2:分步履约]",
  35951. "type": "number"
  35952. },
  35953. "updatetime": {
  35954. "description": "更新时间",
  35955. "type": "string"
  35956. }
  35957. }
  35958. },
  35959. "models.WrOrderDetail": {
  35960. "type": "object",
  35961. "properties": {
  35962. "accountid": {
  35963. "description": "交易账号(资金账号)",
  35964. "type": "integer"
  35965. },
  35966. "allfriendsflag": {
  35967. "description": "是否全好友可见 - 0:否 1:是",
  35968. "type": "integer"
  35969. },
  35970. "amount": {
  35971. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  35972. "type": "number"
  35973. },
  35974. "bannerpicurl": {
  35975. "description": "Banner图",
  35976. "type": "string"
  35977. },
  35978. "begindate": {
  35979. "description": "开始交易日(yyyymmdd)",
  35980. "type": "string"
  35981. },
  35982. "buyorsell": {
  35983. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  35984. "type": "integer"
  35985. },
  35986. "canbargain": {
  35987. "description": "是否可议价 - 0:不可 1:可",
  35988. "type": "integer"
  35989. },
  35990. "cancelqty": {
  35991. "description": "撤销数量",
  35992. "type": "number"
  35993. },
  35994. "canpart": {
  35995. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  35996. "type": "integer"
  35997. },
  35998. "delistminqty": {
  35999. "description": "起摘数量",
  36000. "type": "integer"
  36001. },
  36002. "deliverygoodscode": {
  36003. "description": "品种代码",
  36004. "type": "string"
  36005. },
  36006. "deliverygoodsid": {
  36007. "description": "品种ID",
  36008. "type": "integer"
  36009. },
  36010. "deliverygoodsname": {
  36011. "description": "品种名称",
  36012. "type": "string"
  36013. },
  36014. "deliverymonth": {
  36015. "description": "交收月",
  36016. "type": "string"
  36017. },
  36018. "enddate": {
  36019. "description": "结束交易日(yyyymmdd)",
  36020. "type": "string"
  36021. },
  36022. "enumdicname": {
  36023. "description": "单位名称",
  36024. "type": "string"
  36025. },
  36026. "fixedprice": {
  36027. "description": "固定价格 - [挂牌]",
  36028. "type": "number"
  36029. },
  36030. "freezecharge": {
  36031. "description": "冻结手续费",
  36032. "type": "number"
  36033. },
  36034. "freezemargin": {
  36035. "description": "冻结保证金(保证金)",
  36036. "type": "number"
  36037. },
  36038. "futupricemove": {
  36039. "description": "期货升贴水",
  36040. "type": "number"
  36041. },
  36042. "futushow": {
  36043. "description": "期货合约/升贴水",
  36044. "type": "string"
  36045. },
  36046. "goodscode": {
  36047. "description": "期货合约",
  36048. "type": "string"
  36049. },
  36050. "goodsid": {
  36051. "description": "期货商品id",
  36052. "type": "integer"
  36053. },
  36054. "goodsname": {
  36055. "description": "商品名称",
  36056. "type": "string"
  36057. },
  36058. "haswr": {
  36059. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36060. "type": "integer"
  36061. },
  36062. "isspecified": {
  36063. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  36064. "type": "integer"
  36065. },
  36066. "ladingbillid": {
  36067. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  36068. "type": "string"
  36069. },
  36070. "marginvalue": {
  36071. "description": "保证金设置值(履约保证金)",
  36072. "type": "number"
  36073. },
  36074. "marketid": {
  36075. "description": "市场ID",
  36076. "type": "integer"
  36077. },
  36078. "matchusername": {
  36079. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  36080. "type": "string"
  36081. },
  36082. "minivalue": {
  36083. "description": "现货商品最小变动值",
  36084. "type": "integer"
  36085. },
  36086. "optioncompare": {
  36087. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36088. "type": "string"
  36089. },
  36090. "orderqty": {
  36091. "description": "委托数量",
  36092. "type": "number"
  36093. },
  36094. "ordertime": {
  36095. "description": "委托时间(挂牌时间)",
  36096. "type": "string"
  36097. },
  36098. "performancetemplateid": {
  36099. "description": "履约模板id",
  36100. "type": "integer"
  36101. },
  36102. "pricemove": {
  36103. "description": "升贴水(浮动价时填写) - [挂牌]",
  36104. "type": "number"
  36105. },
  36106. "taname": {
  36107. "description": "交易用户名称(资金账号名称)",
  36108. "type": "string"
  36109. },
  36110. "tradedate": {
  36111. "description": "交易日(yyyyMMdd)",
  36112. "type": "string"
  36113. },
  36114. "tradeprice": {
  36115. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  36116. "type": "number"
  36117. },
  36118. "tradeqty": {
  36119. "description": "成交数量",
  36120. "type": "number"
  36121. },
  36122. "userid": {
  36123. "description": "用户ID",
  36124. "type": "integer"
  36125. },
  36126. "validtime": {
  36127. "description": "挂牌有效期",
  36128. "type": "string"
  36129. },
  36130. "validtype": {
  36131. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  36132. "type": "integer"
  36133. },
  36134. "warehouseid": {
  36135. "description": "仓库ID",
  36136. "type": "integer"
  36137. },
  36138. "warehousename": {
  36139. "description": "仓库名称",
  36140. "type": "string"
  36141. },
  36142. "wrfactortypeid": {
  36143. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36144. "type": "string"
  36145. },
  36146. "wrfactortypename": {
  36147. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36148. "type": "string"
  36149. },
  36150. "wrpricetype": {
  36151. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  36152. "type": "integer"
  36153. },
  36154. "wrstandardcode": {
  36155. "description": "现货商品代码",
  36156. "type": "string"
  36157. },
  36158. "wrstandardid": {
  36159. "description": "现货商品ID",
  36160. "type": "integer"
  36161. },
  36162. "wrstandardname": {
  36163. "description": "商品名称",
  36164. "type": "string"
  36165. },
  36166. "wrtradeorderid": {
  36167. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36168. "type": "string"
  36169. },
  36170. "wrtradeorderstatus": {
  36171. "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:撤单解冻贷款失败",
  36172. "type": "integer"
  36173. },
  36174. "wrtradetype": {
  36175. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36176. "type": "integer"
  36177. },
  36178. "wrtypename": {
  36179. "description": "商品",
  36180. "type": "string"
  36181. }
  36182. }
  36183. },
  36184. "models.WrOrderQuote": {
  36185. "type": "object",
  36186. "properties": {
  36187. "bannerpicurl": {
  36188. "description": "Banner图",
  36189. "type": "string"
  36190. },
  36191. "buyprice": {
  36192. "description": "买价",
  36193. "type": "number"
  36194. },
  36195. "buypricemove": {
  36196. "description": "买升贴水(基差)",
  36197. "type": "number"
  36198. },
  36199. "buyqty": {
  36200. "description": "买量",
  36201. "type": "number"
  36202. },
  36203. "deliverygoodscode": {
  36204. "description": "品种代码",
  36205. "type": "string"
  36206. },
  36207. "deliverygoodsid": {
  36208. "description": "品种id",
  36209. "type": "integer"
  36210. },
  36211. "deliverygoodsname": {
  36212. "description": "品种名称",
  36213. "type": "string"
  36214. },
  36215. "deliverymonth": {
  36216. "description": "交收月",
  36217. "type": "string"
  36218. },
  36219. "enumdicname": {
  36220. "description": "单位名称",
  36221. "type": "string"
  36222. },
  36223. "goodscode": {
  36224. "description": "商品合约(浮动价列表才有)",
  36225. "type": "string"
  36226. },
  36227. "goodsid": {
  36228. "description": "商品id(浮动价列表才有)",
  36229. "type": "integer"
  36230. },
  36231. "minivalue": {
  36232. "description": "现货商品最小变动值",
  36233. "type": "integer"
  36234. },
  36235. "pictureurls": {
  36236. "description": "详情图片(逗号分隔)",
  36237. "type": "string"
  36238. },
  36239. "sellprice": {
  36240. "description": "卖价",
  36241. "type": "number"
  36242. },
  36243. "sellpricemove": {
  36244. "description": "卖升贴水(基差)",
  36245. "type": "number"
  36246. },
  36247. "sellqty": {
  36248. "description": "卖量",
  36249. "type": "number"
  36250. },
  36251. "thumurls": {
  36252. "description": "缩略图片(1:1)(逗号分隔)",
  36253. "type": "string"
  36254. },
  36255. "warehousecode": {
  36256. "description": "仓库代码",
  36257. "type": "string"
  36258. },
  36259. "warehouseid": {
  36260. "description": "仓库id",
  36261. "type": "integer"
  36262. },
  36263. "warehousename": {
  36264. "description": "仓库名称",
  36265. "type": "string"
  36266. },
  36267. "wrfactortypeid": {
  36268. "description": "仓单要素id",
  36269. "type": "string"
  36270. },
  36271. "wrfactortypename": {
  36272. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36273. "type": "string"
  36274. },
  36275. "wrgoodsname": {
  36276. "description": "商品(商品名称+仓库要素名称 拼接)",
  36277. "type": "string"
  36278. },
  36279. "wrstandardcode": {
  36280. "description": "商品代码",
  36281. "type": "string"
  36282. },
  36283. "wrstandardid": {
  36284. "description": "商品id",
  36285. "type": "integer"
  36286. },
  36287. "wrstandardname": {
  36288. "description": "商品名称",
  36289. "type": "string"
  36290. }
  36291. }
  36292. },
  36293. "models.WrOrderQuoteDetail": {
  36294. "type": "object",
  36295. "properties": {
  36296. "buyorsell": {
  36297. "description": "买卖 - 0:买 1:卖",
  36298. "type": "integer"
  36299. },
  36300. "delistminqty": {
  36301. "description": "起摘数量",
  36302. "type": "number"
  36303. },
  36304. "deliverymonth": {
  36305. "description": "交收月",
  36306. "type": "string"
  36307. },
  36308. "enumdicname": {
  36309. "description": "单位名称",
  36310. "type": "string"
  36311. },
  36312. "fixedprice": {
  36313. "description": "买(卖)价",
  36314. "type": "number"
  36315. },
  36316. "marketid": {
  36317. "description": "市场id",
  36318. "type": "integer"
  36319. },
  36320. "minivalue": {
  36321. "description": "现货商品最小变动值",
  36322. "type": "integer"
  36323. },
  36324. "orderqty": {
  36325. "description": "买(卖)量(=委托量-成交量)",
  36326. "type": "number"
  36327. },
  36328. "ordertime": {
  36329. "description": "委托时间",
  36330. "type": "string"
  36331. },
  36332. "pricemove": {
  36333. "description": "买(卖)升贴水- 基差",
  36334. "type": "number"
  36335. },
  36336. "userid": {
  36337. "description": "购买方(销售方)用户ID",
  36338. "type": "integer"
  36339. },
  36340. "username": {
  36341. "description": "购买方(销售方)",
  36342. "type": "string"
  36343. },
  36344. "wrtradeorderid": {
  36345. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36346. "type": "string"
  36347. }
  36348. }
  36349. },
  36350. "models.WrOutInApply": {
  36351. "type": "object",
  36352. "properties": {
  36353. "applyid": {
  36354. "description": "申请单id",
  36355. "type": "string"
  36356. },
  36357. "applystatus": {
  36358. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  36359. "type": "integer"
  36360. },
  36361. "applytime": {
  36362. "description": "申请时间",
  36363. "type": "string"
  36364. },
  36365. "applytype": {
  36366. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  36367. "type": "integer"
  36368. },
  36369. "bannerpicurl": {
  36370. "description": "Banner图",
  36371. "type": "string"
  36372. },
  36373. "begindate": {
  36374. "description": "开始交易日(yyyymmdd)",
  36375. "type": "string"
  36376. },
  36377. "deliverygoodscode": {
  36378. "description": "品种代码",
  36379. "type": "string"
  36380. },
  36381. "deliverygoodsid": {
  36382. "description": "品种ID",
  36383. "type": "integer"
  36384. },
  36385. "deliverygoodsname": {
  36386. "description": "品种名称",
  36387. "type": "string"
  36388. },
  36389. "enddate": {
  36390. "description": "结束交易日(yyyymmdd)",
  36391. "type": "string"
  36392. },
  36393. "enumdicname": {
  36394. "description": "单位名称",
  36395. "type": "string"
  36396. },
  36397. "expresscompany": {
  36398. "description": "物流公司",
  36399. "type": "string"
  36400. },
  36401. "expressnum": {
  36402. "description": "物流单号",
  36403. "type": "string"
  36404. },
  36405. "minivalue": {
  36406. "description": "现货商品最小变动值",
  36407. "type": "integer"
  36408. },
  36409. "optioncompare": {
  36410. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36411. "type": "string"
  36412. },
  36413. "qty": {
  36414. "description": "数量",
  36415. "type": "integer"
  36416. },
  36417. "userid": {
  36418. "description": "用户id",
  36419. "type": "integer"
  36420. },
  36421. "warehouseid": {
  36422. "description": "仓库ID",
  36423. "type": "integer"
  36424. },
  36425. "warehousename": {
  36426. "description": "仓库名称",
  36427. "type": "string"
  36428. },
  36429. "wrfactortypeid": {
  36430. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36431. "type": "string"
  36432. },
  36433. "wrfactortypename": {
  36434. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36435. "type": "string"
  36436. },
  36437. "wrstandardcode": {
  36438. "description": "现货商品代码",
  36439. "type": "string"
  36440. },
  36441. "wrstandardid": {
  36442. "description": "现货商品ID",
  36443. "type": "integer"
  36444. },
  36445. "wrstandardname": {
  36446. "description": "商品名称",
  36447. "type": "string"
  36448. },
  36449. "wrtypename": {
  36450. "description": "商品",
  36451. "type": "string"
  36452. }
  36453. }
  36454. },
  36455. "models.WrPerformancePlan": {
  36456. "type": "object",
  36457. "required": [
  36458. "userid"
  36459. ],
  36460. "properties": {
  36461. "activatemonth": {
  36462. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  36463. "type": "string"
  36464. },
  36465. "amount": {
  36466. "description": "履约金额(总金额)",
  36467. "type": "number"
  36468. },
  36469. "begindate": {
  36470. "description": "开始交易日(yyyymmdd)",
  36471. "type": "string"
  36472. },
  36473. "buyaccountid": {
  36474. "description": "买方账号",
  36475. "type": "integer"
  36476. },
  36477. "buyerfreezeamount": {
  36478. "description": "履约冻结(买履约)",
  36479. "type": "number"
  36480. },
  36481. "buyerfreezeamountremain": {
  36482. "description": "履约冻结剩余(买履约)",
  36483. "type": "number"
  36484. },
  36485. "buyorsell": {
  36486. "description": "买卖方向 0-买 1-卖",
  36487. "type": "integer"
  36488. },
  36489. "buypaidamount": {
  36490. "description": "买方已冻/已扣金额 (已付金额)",
  36491. "type": "number"
  36492. },
  36493. "buyusername": {
  36494. "description": "买方名字",
  36495. "type": "string"
  36496. },
  36497. "contractid": {
  36498. "description": "合同ID",
  36499. "type": "integer"
  36500. },
  36501. "createtime": {
  36502. "description": "创建时间",
  36503. "type": "string"
  36504. },
  36505. "creatorid": {
  36506. "description": "创建人",
  36507. "type": "integer"
  36508. },
  36509. "curstepdeadline": {
  36510. "description": "当前步骤到期时间",
  36511. "type": "string"
  36512. },
  36513. "curstepid": {
  36514. "description": "当前步骤ID",
  36515. "type": "string"
  36516. },
  36517. "curstepname": {
  36518. "description": "当前步骤名称",
  36519. "type": "string"
  36520. },
  36521. "deliverygoodscode": {
  36522. "description": "品种代码",
  36523. "type": "string"
  36524. },
  36525. "deliverygoodsid": {
  36526. "description": "品种ID",
  36527. "type": "integer"
  36528. },
  36529. "deliverygoodsname": {
  36530. "description": "品种名称",
  36531. "type": "string"
  36532. },
  36533. "enddate": {
  36534. "description": "结束交易日(yyyymmdd)",
  36535. "type": "string"
  36536. },
  36537. "enumdicname": {
  36538. "description": "单位名称",
  36539. "type": "string"
  36540. },
  36541. "expressfee": {
  36542. "description": "运费",
  36543. "type": "number"
  36544. },
  36545. "expressfeeconfirmed": {
  36546. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  36547. "type": "integer"
  36548. },
  36549. "hasovershort": {
  36550. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  36551. "type": "integer"
  36552. },
  36553. "haswr": {
  36554. "description": "类型 0-仓单预售 1-仓单贸易",
  36555. "type": "integer"
  36556. },
  36557. "marketid": {
  36558. "description": "市场ID",
  36559. "type": "integer"
  36560. },
  36561. "middleaccountid": {
  36562. "description": "中间商资金账号ID",
  36563. "type": "integer"
  36564. },
  36565. "middleuserid": {
  36566. "description": "中间商用户ID",
  36567. "type": "integer"
  36568. },
  36569. "minivalue": {
  36570. "description": "现货商品最小变动值",
  36571. "type": "integer"
  36572. },
  36573. "optioncompare": {
  36574. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36575. "type": "string"
  36576. },
  36577. "overshortamount": {
  36578. "description": "溢短金额",
  36579. "type": "number"
  36580. },
  36581. "overshortqty": {
  36582. "description": "溢短数量",
  36583. "type": "number"
  36584. },
  36585. "paymenttype": {
  36586. "description": "付款方式 - 1:冻结 2:扣款",
  36587. "type": "integer"
  36588. },
  36589. "performanceplanid": {
  36590. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  36591. "type": "string"
  36592. },
  36593. "performancestatus": {
  36594. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  36595. "type": "integer"
  36596. },
  36597. "performancetype": {
  36598. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  36599. "type": "integer"
  36600. },
  36601. "qty": {
  36602. "description": "履约数量",
  36603. "type": "number"
  36604. },
  36605. "relatedorderid": {
  36606. "description": "关联单号(履约类型的关联单号)",
  36607. "type": "string"
  36608. },
  36609. "remark": {
  36610. "description": "备注",
  36611. "type": "string"
  36612. },
  36613. "sellaccountid": {
  36614. "description": "卖方账号",
  36615. "type": "integer"
  36616. },
  36617. "sellerfreezeamount": {
  36618. "description": "履约冻结(卖履约)",
  36619. "type": "number"
  36620. },
  36621. "sellerfreezeamountremain": {
  36622. "description": "履约冻结剩余(卖履约)",
  36623. "type": "number"
  36624. },
  36625. "sellreceivedamount": {
  36626. "description": "卖方已收金额",
  36627. "type": "number"
  36628. },
  36629. "sellusername": {
  36630. "description": "卖方名字",
  36631. "type": "string"
  36632. },
  36633. "shipremark": {
  36634. "description": "发货备注[物流单号]",
  36635. "type": "string"
  36636. },
  36637. "starttime": {
  36638. "description": "开始时间",
  36639. "type": "string"
  36640. },
  36641. "steptypeid": {
  36642. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  36643. "type": "integer"
  36644. },
  36645. "typename": {
  36646. "description": "履约类型 名称",
  36647. "type": "string"
  36648. },
  36649. "unpaidamount": {
  36650. "description": "剩余款(待支付金额)",
  36651. "type": "number"
  36652. },
  36653. "userid": {
  36654. "description": "用户id",
  36655. "type": "integer"
  36656. },
  36657. "warehouseid": {
  36658. "description": "仓库ID",
  36659. "type": "integer"
  36660. },
  36661. "warehousename": {
  36662. "description": "仓库名称",
  36663. "type": "string"
  36664. },
  36665. "wrfactortypeid": {
  36666. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36667. "type": "string"
  36668. },
  36669. "wrfactortypename": {
  36670. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36671. "type": "string"
  36672. },
  36673. "wrstandardcode": {
  36674. "description": "现货商品代码",
  36675. "type": "string"
  36676. },
  36677. "wrstandardid": {
  36678. "description": "现货商品ID",
  36679. "type": "integer"
  36680. },
  36681. "wrstandardname": {
  36682. "description": "商品名称",
  36683. "type": "string"
  36684. },
  36685. "wrtransferuserid": {
  36686. "description": "仓单受让用户",
  36687. "type": "integer"
  36688. },
  36689. "wrtypename": {
  36690. "description": "商品",
  36691. "type": "string"
  36692. }
  36693. }
  36694. },
  36695. "models.WrPerformancePlanStep": {
  36696. "type": "object",
  36697. "properties": {
  36698. "delaydays": {
  36699. "description": "延期申请天数",
  36700. "type": "integer"
  36701. },
  36702. "deliverygoodscode": {
  36703. "description": "品种代码",
  36704. "type": "string"
  36705. },
  36706. "deliverygoodsid": {
  36707. "description": "品种ID",
  36708. "type": "integer"
  36709. },
  36710. "deliverygoodsname": {
  36711. "description": "品种名称",
  36712. "type": "string"
  36713. },
  36714. "endtime": {
  36715. "description": "结束日期",
  36716. "type": "string"
  36717. },
  36718. "enumdicname": {
  36719. "description": "单位名称",
  36720. "type": "string"
  36721. },
  36722. "executeside": {
  36723. "description": "步骤执行方 - 1:买方 2:卖方",
  36724. "type": "integer"
  36725. },
  36726. "handlestatus": {
  36727. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  36728. "type": "integer"
  36729. },
  36730. "isauto": {
  36731. "description": "是否自动 - 0:不自动 1:自动",
  36732. "type": "integer"
  36733. },
  36734. "islastreceivestep": {
  36735. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  36736. "type": "integer"
  36737. },
  36738. "minivalue": {
  36739. "description": "现货商品最小变动值",
  36740. "type": "integer"
  36741. },
  36742. "optioncompare": {
  36743. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36744. "type": "string"
  36745. },
  36746. "overdays": {
  36747. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  36748. "type": "integer"
  36749. },
  36750. "performancestepid": {
  36751. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  36752. "type": "string"
  36753. },
  36754. "planid": {
  36755. "description": "所属履约计划ID",
  36756. "type": "string"
  36757. },
  36758. "realamount": {
  36759. "description": "实际完成金额",
  36760. "type": "number"
  36761. },
  36762. "relatedorderid": {
  36763. "description": "关联单号",
  36764. "type": "string"
  36765. },
  36766. "remaindays": {
  36767. "description": "剩余天数",
  36768. "type": "integer"
  36769. },
  36770. "remark": {
  36771. "description": "错误备注",
  36772. "type": "string"
  36773. },
  36774. "starttime": {
  36775. "description": "开始日期",
  36776. "type": "string"
  36777. },
  36778. "stepamount": {
  36779. "description": "步骤金额",
  36780. "type": "number"
  36781. },
  36782. "stepdays": {
  36783. "description": "距离上一步天数(分钟)",
  36784. "type": "integer"
  36785. },
  36786. "stepindex": {
  36787. "description": "步骤序号",
  36788. "type": "integer"
  36789. },
  36790. "steplanchtype": {
  36791. "description": "步骤启动类型 - 1:系统自动 2:手动",
  36792. "type": "integer"
  36793. },
  36794. "stepremark": {
  36795. "description": "步骤备注",
  36796. "type": "string"
  36797. },
  36798. "stepstatus": {
  36799. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  36800. "type": "integer"
  36801. },
  36802. "steptypeid": {
  36803. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  36804. "type": "integer"
  36805. },
  36806. "steptypename": {
  36807. "description": "步骤名称",
  36808. "type": "string"
  36809. },
  36810. "stepvalue": {
  36811. "description": "步骤值",
  36812. "type": "number"
  36813. },
  36814. "warehouseid": {
  36815. "description": "仓库ID",
  36816. "type": "integer"
  36817. },
  36818. "warehousename": {
  36819. "description": "仓库名称",
  36820. "type": "string"
  36821. },
  36822. "wrfactortypeid": {
  36823. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36824. "type": "string"
  36825. },
  36826. "wrfactortypename": {
  36827. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36828. "type": "string"
  36829. },
  36830. "wrstandardcode": {
  36831. "description": "现货商品代码",
  36832. "type": "string"
  36833. },
  36834. "wrstandardid": {
  36835. "description": "现货商品ID",
  36836. "type": "integer"
  36837. },
  36838. "wrstandardname": {
  36839. "description": "商品名称",
  36840. "type": "string"
  36841. },
  36842. "wrtypename": {
  36843. "description": "商品",
  36844. "type": "string"
  36845. }
  36846. }
  36847. },
  36848. "models.WrPerformanceStepType": {
  36849. "type": "object",
  36850. "properties": {
  36851. "canauto": {
  36852. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  36853. "type": "integer"
  36854. },
  36855. "steptypeid": {
  36856. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  36857. "type": "integer"
  36858. },
  36859. "steptypename": {
  36860. "description": "步骤类型名称",
  36861. "type": "string"
  36862. }
  36863. }
  36864. },
  36865. "models.WrPerformanceTemplateEx": {
  36866. "type": "object",
  36867. "properties": {
  36868. "autoid": {
  36869. "description": "AutoID 模板id",
  36870. "type": "integer"
  36871. },
  36872. "createtime": {
  36873. "description": "创建时间",
  36874. "type": "string"
  36875. },
  36876. "creatorid": {
  36877. "description": "创建人",
  36878. "type": "integer"
  36879. },
  36880. "lstStep": {
  36881. "description": "步骤信息列表",
  36882. "type": "array",
  36883. "items": {
  36884. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  36885. }
  36886. },
  36887. "paymenttype": {
  36888. "description": "支付方式 - 1:冻结 2:扣款",
  36889. "type": "integer"
  36890. },
  36891. "takemode": {
  36892. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  36893. "type": "integer"
  36894. },
  36895. "templatename": {
  36896. "description": "模板名称",
  36897. "type": "string"
  36898. },
  36899. "templatetype": {
  36900. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  36901. "type": "integer"
  36902. },
  36903. "userid": {
  36904. "description": "所属用户",
  36905. "type": "integer"
  36906. }
  36907. }
  36908. },
  36909. "models.WrPosition": {
  36910. "type": "object",
  36911. "properties": {
  36912. "accountid": {
  36913. "description": "帐户ID",
  36914. "type": "integer"
  36915. },
  36916. "buyexcuteqty": {
  36917. "description": "采购履约中数量",
  36918. "type": "number"
  36919. },
  36920. "creditcurqty": {
  36921. "description": "授信当前数量(预售仓单:预售当前量)",
  36922. "type": "number"
  36923. },
  36924. "creditenableqty": {
  36925. "description": "授信可用数量(预售仓单: 可用数量)",
  36926. "type": "number"
  36927. },
  36928. "creditfreezeqty": {
  36929. "description": "授信冻结数量(预售仓单: 当前数量)",
  36930. "type": "number"
  36931. },
  36932. "credittotalqty": {
  36933. "description": "授信总数量(预售仓单:预售总量)",
  36934. "type": "number"
  36935. },
  36936. "credittradeqty": {
  36937. "description": "授信成交数量(预售仓单:成交总量)",
  36938. "type": "number"
  36939. },
  36940. "deliverygoodscode": {
  36941. "description": "品种代码",
  36942. "type": "string"
  36943. },
  36944. "deliverygoodsid": {
  36945. "description": "品种ID",
  36946. "type": "integer"
  36947. },
  36948. "deliverygoodsname": {
  36949. "description": "品种名称",
  36950. "type": "string"
  36951. },
  36952. "enalbeqty": {
  36953. "description": "可用数量",
  36954. "type": "number"
  36955. },
  36956. "enumdicname": {
  36957. "description": "单位名称",
  36958. "type": "string"
  36959. },
  36960. "freezeqty": {
  36961. "description": "总冻结数量",
  36962. "type": "number"
  36963. },
  36964. "haswr": {
  36965. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36966. "type": "integer"
  36967. },
  36968. "minivalue": {
  36969. "description": "现货商品最小变动值",
  36970. "type": "integer"
  36971. },
  36972. "modifytime": {
  36973. "description": "修改时间(过户时间)",
  36974. "type": "string"
  36975. },
  36976. "optioncompare": {
  36977. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36978. "type": "string"
  36979. },
  36980. "pledgeqty": {
  36981. "description": "质押数量",
  36982. "type": "number"
  36983. },
  36984. "querytype": {
  36985. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  36986. "type": "integer"
  36987. },
  36988. "sellexcuteqty": {
  36989. "description": "销售履约中数量",
  36990. "type": "number"
  36991. },
  36992. "totalqty": {
  36993. "description": "总数量(库存数量)",
  36994. "type": "number"
  36995. },
  36996. "warehouseid": {
  36997. "description": "仓库ID",
  36998. "type": "integer"
  36999. },
  37000. "warehousename": {
  37001. "description": "仓库名称",
  37002. "type": "string"
  37003. },
  37004. "wrfactortypeid": {
  37005. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37006. "type": "string"
  37007. },
  37008. "wrfactortypename": {
  37009. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37010. "type": "string"
  37011. },
  37012. "wrpositionid": {
  37013. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  37014. "type": "string"
  37015. },
  37016. "wrpositionno": {
  37017. "description": "仓单编号",
  37018. "type": "string"
  37019. },
  37020. "wrstandardcode": {
  37021. "description": "现货商品代码",
  37022. "type": "string"
  37023. },
  37024. "wrstandardid": {
  37025. "description": "现货商品ID",
  37026. "type": "integer"
  37027. },
  37028. "wrstandardname": {
  37029. "description": "商品名称",
  37030. "type": "string"
  37031. },
  37032. "wrtypename": {
  37033. "description": "商品",
  37034. "type": "string"
  37035. },
  37036. "wruserid": {
  37037. "description": "持有人ID",
  37038. "type": "integer"
  37039. }
  37040. }
  37041. },
  37042. "models.WrPreSaleInfo": {
  37043. "type": "object",
  37044. "properties": {
  37045. "bannerpicurl": {
  37046. "description": "Banner图",
  37047. "type": "string"
  37048. },
  37049. "baseqty": {
  37050. "description": "中签基数",
  37051. "type": "number"
  37052. },
  37053. "createtime": {
  37054. "description": "创建时间",
  37055. "type": "string"
  37056. },
  37057. "deliverygoodsid": {
  37058. "description": "现货品种ID",
  37059. "type": "integer"
  37060. },
  37061. "enddate": {
  37062. "description": "预售结束日期",
  37063. "type": "string"
  37064. },
  37065. "enumdicname": {
  37066. "description": "单位名称",
  37067. "type": "string"
  37068. },
  37069. "lotteryflag": {
  37070. "description": "摇号标识 - 0:未摇号 1:已摇号",
  37071. "type": "integer"
  37072. },
  37073. "lotteryqty": {
  37074. "description": "摇号总量",
  37075. "type": "number"
  37076. },
  37077. "luckyqty": {
  37078. "description": "已中签量",
  37079. "type": "number"
  37080. },
  37081. "marketid": {
  37082. "description": "市场ID",
  37083. "type": "integer"
  37084. },
  37085. "maxbuyqty": {
  37086. "description": "单人最大申购量",
  37087. "type": "number"
  37088. },
  37089. "maxluckyqty": {
  37090. "description": "单人最大中签量",
  37091. "type": "number"
  37092. },
  37093. "pictureurls": {
  37094. "description": "详情图片(逗号分隔)",
  37095. "type": "string"
  37096. },
  37097. "placeqty": {
  37098. "description": "已配售量",
  37099. "type": "number"
  37100. },
  37101. "presaleapplyid": {
  37102. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  37103. "type": "string",
  37104. "example": "0"
  37105. },
  37106. "presaleqty": {
  37107. "description": "预售总量",
  37108. "type": "number"
  37109. },
  37110. "presalestatus": {
  37111. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  37112. "type": "integer"
  37113. },
  37114. "sellaccountid": {
  37115. "description": "发行方资金账户ID",
  37116. "type": "integer"
  37117. },
  37118. "selluserid": {
  37119. "description": "发行方用户ID",
  37120. "type": "integer"
  37121. },
  37122. "sellwrtradeorderid": {
  37123. "description": "发行方卖委托单ID",
  37124. "type": "string"
  37125. },
  37126. "startdate": {
  37127. "description": "预售开始日期",
  37128. "type": "string"
  37129. },
  37130. "takestartdate": {
  37131. "description": "提货开始日期",
  37132. "type": "string"
  37133. },
  37134. "thumurls": {
  37135. "description": "缩略图片(1:1)(逗号分隔)",
  37136. "type": "string"
  37137. },
  37138. "tradedate": {
  37139. "description": "交易日",
  37140. "type": "string"
  37141. },
  37142. "unitid": {
  37143. "description": "单位ID",
  37144. "type": "integer"
  37145. },
  37146. "unitprice": {
  37147. "description": "商品单价",
  37148. "type": "number"
  37149. },
  37150. "username": {
  37151. "description": "发行方用户名称",
  37152. "type": "string"
  37153. },
  37154. "warehousecode": {
  37155. "description": "仓库代码(仓库简称)",
  37156. "type": "string"
  37157. },
  37158. "warehouseid": {
  37159. "description": "仓库ID",
  37160. "type": "integer"
  37161. },
  37162. "warehousename": {
  37163. "description": "仓库名称",
  37164. "type": "string"
  37165. },
  37166. "wrfactortypeid": {
  37167. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  37168. "type": "string",
  37169. "example": "0"
  37170. },
  37171. "wrstandardid": {
  37172. "description": "现货商品ID",
  37173. "type": "integer"
  37174. },
  37175. "wrstandardname": {
  37176. "description": "现货商品名称",
  37177. "type": "string"
  37178. }
  37179. }
  37180. },
  37181. "models.WrQuoteOrderMyq": {
  37182. "type": "object",
  37183. "properties": {
  37184. "buyorsell": {
  37185. "description": "买卖 - 0:买 1:卖",
  37186. "type": "integer"
  37187. },
  37188. "canbargain": {
  37189. "description": "是否可议价 - 0:不可 1:可",
  37190. "type": "integer"
  37191. },
  37192. "canpart": {
  37193. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  37194. "type": "integer"
  37195. },
  37196. "delistminqty": {
  37197. "description": "起摘数量",
  37198. "type": "number"
  37199. },
  37200. "deliverygoodscode": {
  37201. "description": "品种代码",
  37202. "type": "string"
  37203. },
  37204. "deliverygoodsid": {
  37205. "description": "品种ID",
  37206. "type": "integer"
  37207. },
  37208. "deliverygoodsname": {
  37209. "description": "品种名称",
  37210. "type": "string"
  37211. },
  37212. "deliverymonth": {
  37213. "description": "交收月",
  37214. "type": "string"
  37215. },
  37216. "enumdicname": {
  37217. "description": "单位名称",
  37218. "type": "string"
  37219. },
  37220. "fixedprice": {
  37221. "description": "买(卖)价",
  37222. "type": "number"
  37223. },
  37224. "goodscode": {
  37225. "description": "商品合约代码",
  37226. "type": "string"
  37227. },
  37228. "marginflag": {
  37229. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  37230. "type": "integer"
  37231. },
  37232. "marginvalue": {
  37233. "description": "保证金设置值",
  37234. "type": "number"
  37235. },
  37236. "minivalue": {
  37237. "description": "现货商品最小变动值",
  37238. "type": "integer"
  37239. },
  37240. "orderqty": {
  37241. "description": "买(卖)量(=委托量-成交量)",
  37242. "type": "number"
  37243. },
  37244. "ordertime": {
  37245. "description": "委托时间",
  37246. "type": "string"
  37247. },
  37248. "performancetemplateid": {
  37249. "description": "履约模板id",
  37250. "type": "integer"
  37251. },
  37252. "pricemove": {
  37253. "description": "买(卖)升贴水- 基差",
  37254. "type": "number"
  37255. },
  37256. "templatename": {
  37257. "description": "履约模板名称",
  37258. "type": "string"
  37259. },
  37260. "userid": {
  37261. "description": "购买方(销售方)用户ID",
  37262. "type": "integer"
  37263. },
  37264. "username": {
  37265. "description": "购买方(销售方)",
  37266. "type": "string"
  37267. },
  37268. "validtime": {
  37269. "description": "有效期限",
  37270. "type": "string"
  37271. },
  37272. "validtype": {
  37273. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  37274. "type": "integer"
  37275. },
  37276. "warehousename": {
  37277. "description": "仓库名称",
  37278. "type": "string"
  37279. },
  37280. "wrfactortypeid": {
  37281. "description": "仓单要素id",
  37282. "type": "string"
  37283. },
  37284. "wrstandardcode": {
  37285. "description": "现货商品代码",
  37286. "type": "string"
  37287. },
  37288. "wrstandardid": {
  37289. "description": "现货商品ID",
  37290. "type": "integer"
  37291. },
  37292. "wrstandardname": {
  37293. "description": "商品名称",
  37294. "type": "string"
  37295. },
  37296. "wrtradeorderid": {
  37297. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  37298. "type": "string"
  37299. },
  37300. "wrtypename": {
  37301. "description": "商品",
  37302. "type": "string"
  37303. }
  37304. }
  37305. },
  37306. "models.WrReckonSpotGoodsTradeSum": {
  37307. "type": "object",
  37308. "properties": {
  37309. "begindate": {
  37310. "description": "开始日期(结果含开始日期) yyyymmdd",
  37311. "type": "string"
  37312. },
  37313. "enddate": {
  37314. "description": "结束日期(结果含结束日期) yyyymmdd",
  37315. "type": "string"
  37316. },
  37317. "marketid": {
  37318. "description": "市场ID",
  37319. "type": "integer"
  37320. },
  37321. "price": {
  37322. "description": "价格 = 日成交金额 / 日成交数量",
  37323. "type": "string"
  37324. },
  37325. "reckondate": {
  37326. "description": "日期 格式 yyyymmdd",
  37327. "type": "string"
  37328. },
  37329. "tradeamount": {
  37330. "description": "日成交金额(当日单方向成交金额)",
  37331. "type": "number"
  37332. },
  37333. "tradeqty": {
  37334. "description": "日成交数量(当日单方向成交数量)",
  37335. "type": "number"
  37336. },
  37337. "wrstandardid": {
  37338. "description": "现货商品ID",
  37339. "type": "integer"
  37340. }
  37341. }
  37342. },
  37343. "models.WrScfContract": {
  37344. "type": "object",
  37345. "properties": {
  37346. "borroweruserid": {
  37347. "description": "借款用户ID",
  37348. "type": "integer"
  37349. },
  37350. "buybackwrpositionqty": {
  37351. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  37352. "type": "number"
  37353. },
  37354. "closeinterest": {
  37355. "description": "已结利息 -\u003e 已结费用",
  37356. "type": "number"
  37357. },
  37358. "currisklevel": {
  37359. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  37360. "type": "integer"
  37361. },
  37362. "deadline": {
  37363. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  37364. "type": "string"
  37365. },
  37366. "deliverygoodscode": {
  37367. "description": "品种代码",
  37368. "type": "string"
  37369. },
  37370. "deliverygoodsid": {
  37371. "description": "品种ID",
  37372. "type": "integer"
  37373. },
  37374. "deliverygoodsname": {
  37375. "description": "品种名称",
  37376. "type": "string"
  37377. },
  37378. "enumdicname": {
  37379. "description": "单位名称",
  37380. "type": "string"
  37381. },
  37382. "financingdays": {
  37383. "description": "天数(天)",
  37384. "type": "integer"
  37385. },
  37386. "initmargin": {
  37387. "description": "保证金 - [仓单回购]",
  37388. "type": "number"
  37389. },
  37390. "interestamount": {
  37391. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  37392. "type": "number"
  37393. },
  37394. "interestdebt": {
  37395. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  37396. "type": "number"
  37397. },
  37398. "interestminlen": {
  37399. "description": "最小起息天数",
  37400. "type": "integer"
  37401. },
  37402. "interestrate": {
  37403. "description": "利率",
  37404. "type": "number"
  37405. },
  37406. "interestratemode": {
  37407. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  37408. "type": "integer"
  37409. },
  37410. "interestsettlemode": {
  37411. "description": "结息方式 - 1:按日结息 3:按月结息",
  37412. "type": "integer"
  37413. },
  37414. "interestsettlevalue": {
  37415. "description": "结息方式值",
  37416. "type": "integer"
  37417. },
  37418. "isautoloan": {
  37419. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  37420. "type": "integer"
  37421. },
  37422. "lastcloseinterestday": {
  37423. "description": "最近结息日(yyyyMMdd)",
  37424. "type": "string"
  37425. },
  37426. "lenderamount": {
  37427. "description": "贷款金额 -\u003e 借款金额",
  37428. "type": "number"
  37429. },
  37430. "lenderuserid": {
  37431. "description": "贷款方用户ID -\u003e 融出方用户ID",
  37432. "type": "integer"
  37433. },
  37434. "lenderusername": {
  37435. "description": "融出方",
  37436. "type": "string"
  37437. },
  37438. "marginratio": {
  37439. "description": "保证金比率质押率 - [仓单质押]",
  37440. "type": "number"
  37441. },
  37442. "marketid": {
  37443. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  37444. "type": "integer"
  37445. },
  37446. "minivalue": {
  37447. "description": "现货商品最小变动值",
  37448. "type": "integer"
  37449. },
  37450. "optioncompare": {
  37451. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37452. "type": "string"
  37453. },
  37454. "pricemove": {
  37455. "description": "估值升贴水值",
  37456. "type": "number"
  37457. },
  37458. "productdetailid": {
  37459. "description": "产品组合ID",
  37460. "type": "integer"
  37461. },
  37462. "productid": {
  37463. "description": "金融产品ID",
  37464. "type": "integer"
  37465. },
  37466. "productname": {
  37467. "description": "产品名称",
  37468. "type": "string"
  37469. },
  37470. "remainamount": {
  37471. "description": "合同剩余金额 -\u003e 剩余金额",
  37472. "type": "number"
  37473. },
  37474. "remainwrpositionqty": {
  37475. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  37476. "type": "number"
  37477. },
  37478. "remark": {
  37479. "description": "备注",
  37480. "type": "string"
  37481. },
  37482. "scfcontractid": {
  37483. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  37484. "type": "string"
  37485. },
  37486. "scfcontractstatus": {
  37487. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  37488. "type": "integer"
  37489. },
  37490. "scfcontracttype": {
  37491. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  37492. "type": "integer"
  37493. },
  37494. "startinterestday": {
  37495. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  37496. "type": "string"
  37497. },
  37498. "totalinterest": {
  37499. "description": "已计利息 -\u003e 已计费用",
  37500. "type": "number"
  37501. },
  37502. "unpaidinterest": {
  37503. "description": "未结费用",
  37504. "type": "number"
  37505. },
  37506. "updatetime": {
  37507. "description": "更新时间",
  37508. "type": "string"
  37509. },
  37510. "warehouseid": {
  37511. "description": "仓库ID",
  37512. "type": "integer"
  37513. },
  37514. "warehousename": {
  37515. "description": "仓库名称",
  37516. "type": "string"
  37517. },
  37518. "wrfactortypeid": {
  37519. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37520. "type": "string"
  37521. },
  37522. "wrfactortypename": {
  37523. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37524. "type": "string"
  37525. },
  37526. "wrqty": {
  37527. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  37528. "type": "number"
  37529. },
  37530. "wrstandardcode": {
  37531. "description": "现货商品代码",
  37532. "type": "string"
  37533. },
  37534. "wrstandardid": {
  37535. "description": "现货商品ID",
  37536. "type": "integer"
  37537. },
  37538. "wrstandardname": {
  37539. "description": "商品名称",
  37540. "type": "string"
  37541. },
  37542. "wrtypename": {
  37543. "description": "商品",
  37544. "type": "string"
  37545. }
  37546. }
  37547. },
  37548. "models.WrScfContractInterest": {
  37549. "type": "object",
  37550. "properties": {
  37551. "closeinterest": {
  37552. "description": "已结利息",
  37553. "type": "number"
  37554. },
  37555. "closeintereststatus": {
  37556. "description": "结息状态 - 1:未结 2:已结",
  37557. "type": "integer"
  37558. },
  37559. "closetime": {
  37560. "description": "结息时间",
  37561. "type": "string"
  37562. },
  37563. "closetradedate": {
  37564. "description": "结息交易日",
  37565. "type": "string"
  37566. },
  37567. "creatorid": {
  37568. "description": "操作人ID",
  37569. "type": "integer"
  37570. },
  37571. "dayrate": {
  37572. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  37573. "type": "number"
  37574. },
  37575. "interest": {
  37576. "description": "利息",
  37577. "type": "number"
  37578. },
  37579. "interestamount": {
  37580. "description": "计息金额",
  37581. "type": "number"
  37582. },
  37583. "interestday": {
  37584. "description": "计息日(yyyyMMdd)",
  37585. "type": "string"
  37586. },
  37587. "scfcontractid": {
  37588. "description": "SCF合同ID",
  37589. "type": "string"
  37590. },
  37591. "scfcontractinterestid": {
  37592. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  37593. "type": "integer"
  37594. },
  37595. "updatetime": {
  37596. "description": "更新时间",
  37597. "type": "string"
  37598. }
  37599. }
  37600. },
  37601. "models.WrSearchUser": {
  37602. "type": "object",
  37603. "required": [
  37604. "username"
  37605. ],
  37606. "properties": {
  37607. "userid": {
  37608. "description": "用户ID",
  37609. "type": "integer"
  37610. },
  37611. "username": {
  37612. "description": "用户名称(已脱敏)",
  37613. "type": "string"
  37614. },
  37615. "username2": {
  37616. "description": "用户名称(未脱敏)",
  37617. "type": "string"
  37618. },
  37619. "usertype": {
  37620. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  37621. "type": "integer"
  37622. }
  37623. }
  37624. },
  37625. "models.WrSiteColumnDetail": {
  37626. "type": "object",
  37627. "properties": {
  37628. "brief": {
  37629. "description": "简介",
  37630. "type": "string"
  37631. },
  37632. "context": {
  37633. "description": "内容",
  37634. "type": "string"
  37635. },
  37636. "coverimage": {
  37637. "description": "封面图片",
  37638. "type": "string"
  37639. },
  37640. "creaedate": {
  37641. "description": "创建时间",
  37642. "type": "string"
  37643. },
  37644. "id": {
  37645. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  37646. "type": "integer"
  37647. },
  37648. "istop": {
  37649. "description": "是否置顶 - 0:不置 1:置顶",
  37650. "type": "integer"
  37651. },
  37652. "publishdate": {
  37653. "description": "发布日期",
  37654. "type": "string"
  37655. },
  37656. "title": {
  37657. "description": "标题",
  37658. "type": "string"
  37659. },
  37660. "updatedate": {
  37661. "description": "修改时间",
  37662. "type": "string"
  37663. }
  37664. }
  37665. },
  37666. "models.WrSpecialMatchOrder": {
  37667. "type": "object",
  37668. "properties": {
  37669. "amount": {
  37670. "description": "金额 = 数量 * 价格",
  37671. "type": "number"
  37672. },
  37673. "buyorsell": {
  37674. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  37675. "type": "integer"
  37676. },
  37677. "cancelqty": {
  37678. "description": "撤销数量",
  37679. "type": "number"
  37680. },
  37681. "deliverygoodscode": {
  37682. "description": "品种代码",
  37683. "type": "string"
  37684. },
  37685. "deliverygoodsid": {
  37686. "description": "品种ID",
  37687. "type": "integer"
  37688. },
  37689. "deliverygoodsname": {
  37690. "description": "品种名称",
  37691. "type": "string"
  37692. },
  37693. "enumdicname": {
  37694. "description": "单位名称",
  37695. "type": "string"
  37696. },
  37697. "fixedprice": {
  37698. "description": "固定价格(价格)",
  37699. "type": "number"
  37700. },
  37701. "haswr": {
  37702. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  37703. "type": "integer"
  37704. },
  37705. "isspecified": {
  37706. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  37707. "type": "integer"
  37708. },
  37709. "marketid": {
  37710. "description": "市场ID",
  37711. "type": "integer"
  37712. },
  37713. "matchuserid": {
  37714. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  37715. "type": "integer"
  37716. },
  37717. "matchusername": {
  37718. "description": "指定方",
  37719. "type": "string"
  37720. },
  37721. "minivalue": {
  37722. "description": "现货商品最小变动值",
  37723. "type": "integer"
  37724. },
  37725. "optioncompare": {
  37726. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37727. "type": "string"
  37728. },
  37729. "orderqty": {
  37730. "description": "委托数量",
  37731. "type": "number"
  37732. },
  37733. "ordertime": {
  37734. "description": "委托时间",
  37735. "type": "string"
  37736. },
  37737. "pricemove": {
  37738. "description": "升贴水(浮动价时填写) - [挂牌]",
  37739. "type": "number"
  37740. },
  37741. "tradedate": {
  37742. "description": "交易日(yyyyMMdd)",
  37743. "type": "string"
  37744. },
  37745. "tradeprice": {
  37746. "description": "成交价格",
  37747. "type": "number"
  37748. },
  37749. "tradeqty": {
  37750. "description": "成交数量",
  37751. "type": "number"
  37752. },
  37753. "userid": {
  37754. "description": "用户ID",
  37755. "type": "integer"
  37756. },
  37757. "username": {
  37758. "description": "发起方",
  37759. "type": "string"
  37760. },
  37761. "warehouseid": {
  37762. "description": "仓库ID",
  37763. "type": "integer"
  37764. },
  37765. "warehousename": {
  37766. "description": "仓库名称",
  37767. "type": "string"
  37768. },
  37769. "wrfactortypeid": {
  37770. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37771. "type": "string"
  37772. },
  37773. "wrfactortypename": {
  37774. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37775. "type": "string"
  37776. },
  37777. "wrpricetype": {
  37778. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  37779. "type": "integer"
  37780. },
  37781. "wrstandardcode": {
  37782. "description": "现货商品代码",
  37783. "type": "string"
  37784. },
  37785. "wrstandardid": {
  37786. "description": "现货商品ID",
  37787. "type": "integer"
  37788. },
  37789. "wrstandardname": {
  37790. "description": "商品名称",
  37791. "type": "string"
  37792. },
  37793. "wrtradeorderid": {
  37794. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  37795. "type": "string"
  37796. },
  37797. "wrtradeorderstatus": {
  37798. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  37799. "type": "integer"
  37800. },
  37801. "wrtradetype": {
  37802. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  37803. "type": "integer"
  37804. },
  37805. "wrtypename": {
  37806. "description": "商品",
  37807. "type": "string"
  37808. }
  37809. }
  37810. },
  37811. "models.WrSpotGroupTradeSum": {
  37812. "type": "object",
  37813. "properties": {
  37814. "deliverygoodscode": {
  37815. "description": "现货品种代码",
  37816. "type": "string"
  37817. },
  37818. "deliverygoodsid": {
  37819. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  37820. "type": "integer"
  37821. },
  37822. "deliverygoodsname": {
  37823. "description": "现货品种名称",
  37824. "type": "string"
  37825. },
  37826. "lastavgprice": {
  37827. "description": "上上个交易日价格(前2天价格)",
  37828. "type": "string"
  37829. },
  37830. "lastreckondate": {
  37831. "description": "上上个交易日(前2天交易日)",
  37832. "type": "string"
  37833. },
  37834. "reckondate": {
  37835. "description": "上个交易日(前1天交易日)",
  37836. "type": "string"
  37837. },
  37838. "todayavgprice": {
  37839. "description": "上个交易日价格(前1天价格)",
  37840. "type": "string"
  37841. },
  37842. "updown": {
  37843. "description": "涨跌",
  37844. "type": "string"
  37845. },
  37846. "updownratio": {
  37847. "description": "涨幅(已格式化, 直接显示即可)",
  37848. "type": "string"
  37849. }
  37850. }
  37851. },
  37852. "models.WrSpotGroupTradeSumDetail": {
  37853. "type": "object",
  37854. "properties": {
  37855. "deliverygoodsid": {
  37856. "description": "现货商品id",
  37857. "type": "integer"
  37858. },
  37859. "price": {
  37860. "description": "价格",
  37861. "type": "number"
  37862. },
  37863. "reckondate": {
  37864. "description": "日期(yyymmdd, 如:20211031)",
  37865. "type": "string"
  37866. }
  37867. }
  37868. },
  37869. "models.WrSpotGroupTradeSumEx": {
  37870. "type": "object",
  37871. "properties": {
  37872. "lst": {
  37873. "description": "指数列表",
  37874. "type": "array",
  37875. "items": {
  37876. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  37877. }
  37878. },
  37879. "prereckondate": {
  37880. "description": "上上个交易日(yyymmdd)",
  37881. "type": "string"
  37882. },
  37883. "reckondate": {
  37884. "description": "上个交易日(yyyymmdd)",
  37885. "type": "string"
  37886. }
  37887. }
  37888. },
  37889. "models.WrStandardFactoryItem": {
  37890. "type": "object",
  37891. "properties": {
  37892. "dgfactoryitemid": {
  37893. "description": "选择项id",
  37894. "type": "integer"
  37895. },
  37896. "dgfactoryitemvalue": {
  37897. "description": "要素项值",
  37898. "type": "string"
  37899. },
  37900. "warehouseid": {
  37901. "description": "仓库id",
  37902. "type": "integer"
  37903. }
  37904. }
  37905. },
  37906. "models.WrStandardFactoryItemEx": {
  37907. "type": "object",
  37908. "properties": {
  37909. "dgfactoryitemtypeid": {
  37910. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  37911. "type": "integer"
  37912. },
  37913. "itemlst": {
  37914. "description": "要素项列表",
  37915. "type": "array",
  37916. "items": {
  37917. "$ref": "#/definitions/models.WrStandardFactoryItem"
  37918. }
  37919. },
  37920. "itemtypename": {
  37921. "description": "要素项类型名称",
  37922. "type": "string"
  37923. },
  37924. "wrstandardid": {
  37925. "description": "品类",
  37926. "type": "integer"
  37927. }
  37928. }
  37929. },
  37930. "models.WrTradeDetail": {
  37931. "type": "object",
  37932. "properties": {
  37933. "accountid": {
  37934. "description": "资金账号",
  37935. "type": "integer"
  37936. },
  37937. "bannerpicurl": {
  37938. "description": "Banner图",
  37939. "type": "string"
  37940. },
  37941. "begindate": {
  37942. "description": "开始交易日(yyyymmdd)",
  37943. "type": "string"
  37944. },
  37945. "buyorsell": {
  37946. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  37947. "type": "integer"
  37948. },
  37949. "chargevalue": {
  37950. "description": "手续费",
  37951. "type": "number"
  37952. },
  37953. "deliverygoodscode": {
  37954. "description": "品种代码",
  37955. "type": "string"
  37956. },
  37957. "deliverygoodsid": {
  37958. "description": "品种ID",
  37959. "type": "integer"
  37960. },
  37961. "deliverygoodsname": {
  37962. "description": "品种名称",
  37963. "type": "string"
  37964. },
  37965. "deliverymonth": {
  37966. "description": "交收月",
  37967. "type": "string"
  37968. },
  37969. "enddate": {
  37970. "description": "结束交易日(yyyymmdd)",
  37971. "type": "string"
  37972. },
  37973. "enumdicname": {
  37974. "description": "单位名称",
  37975. "type": "string"
  37976. },
  37977. "haswr": {
  37978. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  37979. "type": "integer"
  37980. },
  37981. "marketid": {
  37982. "description": "市场ID",
  37983. "type": "integer"
  37984. },
  37985. "matchaccountid": {
  37986. "description": "对手账号",
  37987. "type": "integer"
  37988. },
  37989. "matchusername": {
  37990. "description": "对手方",
  37991. "type": "string"
  37992. },
  37993. "minivalue": {
  37994. "description": "现货商品最小变动值",
  37995. "type": "integer"
  37996. },
  37997. "optioncompare": {
  37998. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37999. "type": "string"
  38000. },
  38001. "tradedate": {
  38002. "description": "交易日(yyyyMMdd)",
  38003. "type": "string"
  38004. },
  38005. "tradeprice": {
  38006. "description": "成交价格",
  38007. "type": "number"
  38008. },
  38009. "tradeqty": {
  38010. "description": "成交数量",
  38011. "type": "number"
  38012. },
  38013. "tradetime": {
  38014. "description": "成交时间",
  38015. "type": "string"
  38016. },
  38017. "userid": {
  38018. "description": "用户ID",
  38019. "type": "integer"
  38020. },
  38021. "warehouseid": {
  38022. "description": "仓库ID",
  38023. "type": "integer"
  38024. },
  38025. "warehousename": {
  38026. "description": "仓库名称",
  38027. "type": "string"
  38028. },
  38029. "wrfactortypeid": {
  38030. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  38031. "type": "string"
  38032. },
  38033. "wrfactortypename": {
  38034. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  38035. "type": "string"
  38036. },
  38037. "wrstandardcode": {
  38038. "description": "现货商品代码",
  38039. "type": "string"
  38040. },
  38041. "wrstandardid": {
  38042. "description": "现货商品ID",
  38043. "type": "integer"
  38044. },
  38045. "wrstandardname": {
  38046. "description": "商品名称",
  38047. "type": "string"
  38048. },
  38049. "wrtradedetailid": {
  38050. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  38051. "type": "string"
  38052. },
  38053. "wrtradetype": {
  38054. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  38055. "type": "integer"
  38056. },
  38057. "wrtypename": {
  38058. "description": "商品",
  38059. "type": "string"
  38060. }
  38061. }
  38062. },
  38063. "models.WrTradeOrderDetail": {
  38064. "type": "object",
  38065. "properties": {
  38066. "buyorsell": {
  38067. "description": "买卖方向 0-买 1-卖",
  38068. "type": "integer"
  38069. },
  38070. "goodsid": {
  38071. "description": "商品id",
  38072. "type": "integer"
  38073. },
  38074. "orderid": {
  38075. "description": "委托单号",
  38076. "type": "string"
  38077. },
  38078. "orderprice": {
  38079. "description": "委托价格",
  38080. "type": "number"
  38081. },
  38082. "orderqty": {
  38083. "description": "委托数量",
  38084. "type": "integer"
  38085. },
  38086. "userid": {
  38087. "description": "用户id",
  38088. "type": "integer"
  38089. },
  38090. "username": {
  38091. "description": "用户名称(已脱敏)",
  38092. "type": "string"
  38093. }
  38094. }
  38095. },
  38096. "models.WrTypeItem": {
  38097. "type": "object",
  38098. "properties": {
  38099. "name": {
  38100. "description": "名称",
  38101. "type": "string"
  38102. },
  38103. "value": {
  38104. "description": "值",
  38105. "type": "string"
  38106. }
  38107. }
  38108. },
  38109. "models.WrUserFriend": {
  38110. "type": "object",
  38111. "properties": {
  38112. "friendname": {
  38113. "description": "朋友名称(已脱敏)",
  38114. "type": "string"
  38115. },
  38116. "frienduserid": {
  38117. "description": "朋友id",
  38118. "type": "integer"
  38119. },
  38120. "isfriend": {
  38121. "description": "是否好友 0-不是 1-是",
  38122. "type": "integer"
  38123. },
  38124. "userid": {
  38125. "description": "用户id",
  38126. "type": "integer"
  38127. }
  38128. }
  38129. },
  38130. "models.WrUserReceiptInfo": {
  38131. "type": "object",
  38132. "properties": {
  38133. "address": {
  38134. "description": "地址[发票类型:企业]",
  38135. "type": "string"
  38136. },
  38137. "autoid": {
  38138. "description": "AutoID",
  38139. "type": "integer"
  38140. },
  38141. "contactinfo": {
  38142. "description": "联系方式",
  38143. "type": "string"
  38144. },
  38145. "idnum": {
  38146. "description": "身份证号码[发票类型:个人]",
  38147. "type": "string"
  38148. },
  38149. "isdefault": {
  38150. "description": "是否默认地址 - 0:否 1:是",
  38151. "type": "integer"
  38152. },
  38153. "receiptaccount": {
  38154. "description": "发票帐号[发票类型:企业]",
  38155. "type": "string"
  38156. },
  38157. "receiptbank": {
  38158. "description": "发票开户行[发票类型:企业]",
  38159. "type": "string"
  38160. },
  38161. "receipttype": {
  38162. "description": "发票类型 - 1:个人 2:企业",
  38163. "type": "integer"
  38164. },
  38165. "taxpayerid": {
  38166. "description": "纳税人识别号",
  38167. "type": "string"
  38168. },
  38169. "userid": {
  38170. "description": "用户ID",
  38171. "type": "integer"
  38172. },
  38173. "username": {
  38174. "description": "户名(个人姓名或企业名称)",
  38175. "type": "string"
  38176. }
  38177. }
  38178. },
  38179. "models.XHBRAND": {
  38180. "type": "object",
  38181. "properties": {
  38182. "brandid": {
  38183. "description": "品牌id",
  38184. "type": "integer"
  38185. },
  38186. "brandname": {
  38187. "description": "品牌名称",
  38188. "type": "string"
  38189. },
  38190. "isvalid": {
  38191. "description": "是否有效 0-无效 1-有效",
  38192. "type": "integer"
  38193. }
  38194. }
  38195. },
  38196. "models.XHDeliveryGoods": {
  38197. "type": "object",
  38198. "properties": {
  38199. "areauserid": {
  38200. "description": "所属机构",
  38201. "type": "integer"
  38202. },
  38203. "bdlst": {
  38204. "description": "品牌列表",
  38205. "type": "array",
  38206. "items": {
  38207. "$ref": "#/definitions/models.XHBRAND"
  38208. }
  38209. },
  38210. "deliverygoodscode": {
  38211. "description": "现货品种代码",
  38212. "type": "string"
  38213. },
  38214. "deliverygoodsid": {
  38215. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  38216. "type": "integer"
  38217. },
  38218. "deliverygoodsname": {
  38219. "description": "现货品种名称",
  38220. "type": "string"
  38221. },
  38222. "dgstatus": {
  38223. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  38224. "type": "integer"
  38225. },
  38226. "filterSubEmpty": {
  38227. "description": "过滤下级为空的",
  38228. "type": "integer"
  38229. },
  38230. "isvalid": {
  38231. "description": "是否有效 - 0:无效 1:有效",
  38232. "type": "integer"
  38233. },
  38234. "remark": {
  38235. "description": "备注",
  38236. "type": "string"
  38237. },
  38238. "unitid": {
  38239. "description": "单位id(目前看,数据库中是空值)",
  38240. "type": "integer"
  38241. },
  38242. "wdlst": {
  38243. "description": "品类(现货商品)列表",
  38244. "type": "array",
  38245. "items": {
  38246. "$ref": "#/definitions/models.XHWrstandard"
  38247. }
  38248. }
  38249. }
  38250. },
  38251. "models.XHMiddleGoods": {
  38252. "type": "object",
  38253. "properties": {
  38254. "GPLST": {
  38255. "description": "期货品种列表",
  38256. "type": "array",
  38257. "items": {
  38258. "$ref": "#/definitions/models.TBGoodsGroup"
  38259. }
  38260. },
  38261. "convertratio": {
  38262. "description": "拆算系数",
  38263. "type": "number"
  38264. },
  38265. "costratio": {
  38266. "description": "成本权重",
  38267. "type": "number"
  38268. },
  38269. "deliverygoodsid": {
  38270. "description": "现货商品id",
  38271. "type": "integer"
  38272. },
  38273. "enumdicname": {
  38274. "description": "单位名称",
  38275. "type": "string"
  38276. },
  38277. "middlegoodscode": {
  38278. "description": "套保品种代码",
  38279. "type": "string"
  38280. },
  38281. "middlegoodsid": {
  38282. "description": "套保品种id",
  38283. "type": "integer"
  38284. },
  38285. "middlegoodsname": {
  38286. "description": "套保品种名称",
  38287. "type": "string"
  38288. },
  38289. "unitid": {
  38290. "description": "单位id",
  38291. "type": "integer"
  38292. }
  38293. }
  38294. },
  38295. "models.XHWrstandard": {
  38296. "type": "object",
  38297. "properties": {
  38298. "bannerpicurl": {
  38299. "description": "banner图",
  38300. "type": "string"
  38301. },
  38302. "deliverygoodsid": {
  38303. "description": "品种ID",
  38304. "type": "integer"
  38305. },
  38306. "enumdicname": {
  38307. "description": "单位名称",
  38308. "type": "string"
  38309. },
  38310. "mglst": {
  38311. "description": "套保品列表",
  38312. "type": "array",
  38313. "items": {
  38314. "$ref": "#/definitions/models.XHMiddleGoods"
  38315. }
  38316. },
  38317. "pictureurls": {
  38318. "description": "详情图片(逗号分隔)",
  38319. "type": "string"
  38320. },
  38321. "thumurls": {
  38322. "description": "缩略图片(1:1)(逗号分隔)",
  38323. "type": "string"
  38324. },
  38325. "unitid": {
  38326. "description": "单位id",
  38327. "type": "integer"
  38328. },
  38329. "vatrate": {
  38330. "description": "增值税率",
  38331. "type": "number"
  38332. },
  38333. "wrstandardcode": {
  38334. "description": "现货商品代码",
  38335. "type": "string"
  38336. },
  38337. "wrstandardid": {
  38338. "description": "现货商品ID(SEQ_WRSTANDARD)",
  38339. "type": "integer"
  38340. },
  38341. "wrstandardname": {
  38342. "description": "现货商品名称",
  38343. "type": "string"
  38344. }
  38345. }
  38346. },
  38347. "order.QueryHisTradeDetailRsp": {
  38348. "type": "object",
  38349. "required": [
  38350. "accountid",
  38351. "buyorsell",
  38352. "goodsid",
  38353. "histradedate",
  38354. "marketid",
  38355. "memberuserid",
  38356. "orderid",
  38357. "tradeamount",
  38358. "tradedate",
  38359. "tradeid",
  38360. "tradeprice",
  38361. "tradeqty",
  38362. "tradetime"
  38363. ],
  38364. "properties": {
  38365. "accountid": {
  38366. "description": "账户ID[报价币种]",
  38367. "type": "integer"
  38368. },
  38369. "advanceratio": {
  38370. "description": "首付比率",
  38371. "type": "number"
  38372. },
  38373. "buildtype": {
  38374. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  38375. "type": "integer"
  38376. },
  38377. "buyorsell": {
  38378. "description": "方向 - 0:买 1:卖",
  38379. "type": "integer"
  38380. },
  38381. "charge": {
  38382. "description": "手续费",
  38383. "type": "number"
  38384. },
  38385. "closecharge": {
  38386. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  38387. "type": "number"
  38388. },
  38389. "closeexchagechargevalue": {
  38390. "description": "平仓交易所手续费设置值",
  38391. "type": "number"
  38392. },
  38393. "closefeealgorithm": {
  38394. "description": "平仓手续费收取方式 1:比率 2:固定",
  38395. "type": "integer"
  38396. },
  38397. "closememberchargevalue": {
  38398. "description": "平仓会员手续费设置值",
  38399. "type": "number"
  38400. },
  38401. "closepl": {
  38402. "description": "平仓盈亏",
  38403. "type": "number"
  38404. },
  38405. "closepl2": {
  38406. "description": "平仓盈亏[逐笔]",
  38407. "type": "number"
  38408. },
  38409. "closeqty": {
  38410. "description": "平仓数量(先建后平操作 需要记录)",
  38411. "type": "number"
  38412. },
  38413. "creditamount": {
  38414. "description": "授信金额",
  38415. "type": "number"
  38416. },
  38417. "decimalplace": {
  38418. "description": "商品报价小数位",
  38419. "type": "integer"
  38420. },
  38421. "enumdicname": {
  38422. "description": "单位名称",
  38423. "type": "string"
  38424. },
  38425. "gcaccountid": {
  38426. "description": "账户ID[合约币种]",
  38427. "type": "integer"
  38428. },
  38429. "goodscode": {
  38430. "description": "商品代码",
  38431. "type": "string"
  38432. },
  38433. "goodsid": {
  38434. "description": "商品ID",
  38435. "type": "integer"
  38436. },
  38437. "goodsname": {
  38438. "description": "商品名称",
  38439. "type": "string"
  38440. },
  38441. "goodunitid": {
  38442. "description": "商品单位id",
  38443. "type": "integer"
  38444. },
  38445. "histradedate": {
  38446. "description": "历史交易日",
  38447. "type": "string"
  38448. },
  38449. "intclosepl": {
  38450. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  38451. "type": "integer"
  38452. },
  38453. "isconfirmexercise": {
  38454. "description": "是否确认行权- 0:否 1:是",
  38455. "type": "integer"
  38456. },
  38457. "ismain": {
  38458. "description": "是否主单 - 0:不是 1:是",
  38459. "type": "integer"
  38460. },
  38461. "ispreexercise": {
  38462. "description": "是否预申报- 0:否 1:是",
  38463. "type": "integer"
  38464. },
  38465. "isreckoned": {
  38466. "description": "是否结算 - 0:未结算 1:已结算",
  38467. "type": "integer"
  38468. },
  38469. "isvaliddata": {
  38470. "description": "是否有效 - 0:无效 1:有效",
  38471. "type": "integer"
  38472. },
  38473. "listingselecttype": {
  38474. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  38475. "type": "integer"
  38476. },
  38477. "marketid": {
  38478. "description": "市场ID",
  38479. "type": "integer"
  38480. },
  38481. "marketname": {
  38482. "description": "市场名称",
  38483. "type": "string"
  38484. },
  38485. "matchaccountid": {
  38486. "description": "对手账号id",
  38487. "type": "integer"
  38488. },
  38489. "memberuserid": {
  38490. "description": "会员id 个人投资者 需要填写",
  38491. "type": "integer"
  38492. },
  38493. "opencharge": {
  38494. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  38495. "type": "number"
  38496. },
  38497. "openexchagechargevalue": {
  38498. "description": "建仓交易所手续费设置值",
  38499. "type": "number"
  38500. },
  38501. "openfeealgorithm": {
  38502. "description": "建仓手续费收取方式 1:比率 2:固定",
  38503. "type": "integer"
  38504. },
  38505. "openmemberchargevalue": {
  38506. "description": "建仓会员手续费设置值",
  38507. "type": "number"
  38508. },
  38509. "openqty": {
  38510. "description": "开仓数量(先建后平操作 需要记录)",
  38511. "type": "number"
  38512. },
  38513. "optiontype": {
  38514. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  38515. "type": "integer"
  38516. },
  38517. "orderid": {
  38518. "description": "委托单号",
  38519. "type": "string"
  38520. },
  38521. "payamount": {
  38522. "description": "支付金额(付款金额)",
  38523. "type": "number"
  38524. },
  38525. "performanceplanid": {
  38526. "description": "履约计划ID[期权]",
  38527. "type": "integer"
  38528. },
  38529. "performancestatus": {
  38530. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  38531. "type": "integer"
  38532. },
  38533. "preexerciseprice": {
  38534. "description": "预申报价格",
  38535. "type": "number"
  38536. },
  38537. "premium": {
  38538. "description": "权利金 - [持仓单的权利金]",
  38539. "type": "number"
  38540. },
  38541. "qtydecimalplace": {
  38542. "description": "商品报价小数位",
  38543. "type": "integer"
  38544. },
  38545. "recvamount": {
  38546. "description": "到账金额 = 成交金额 - 手续费",
  38547. "type": "number"
  38548. },
  38549. "relatedouttradeid": {
  38550. "description": "关联外部成交单ID",
  38551. "type": "integer"
  38552. },
  38553. "status": {
  38554. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  38555. "type": "integer"
  38556. },
  38557. "totalamount": {
  38558. "description": "订单总额 = 成交金额 + 手续费",
  38559. "type": "number"
  38560. },
  38561. "tradeamount": {
  38562. "description": "成交金额[账户币种,用于所有权]",
  38563. "type": "number"
  38564. },
  38565. "tradedate": {
  38566. "description": "交易日(yyyyMMdd)",
  38567. "type": "string"
  38568. },
  38569. "tradeid": {
  38570. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38571. "type": "string"
  38572. },
  38573. "trademode": {
  38574. "description": "交易模式",
  38575. "type": "integer"
  38576. },
  38577. "tradeprice": {
  38578. "description": "成交价格",
  38579. "type": "number"
  38580. },
  38581. "tradeproperty": {
  38582. "description": "交易属性",
  38583. "type": "integer"
  38584. },
  38585. "tradeqty": {
  38586. "description": "成交数量",
  38587. "type": "number"
  38588. },
  38589. "tradetime": {
  38590. "description": "成交时间",
  38591. "type": "string"
  38592. },
  38593. "tradetype": {
  38594. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  38595. "type": "integer"
  38596. }
  38597. }
  38598. },
  38599. "order.QueryHisTradeOrderDetailRsp": {
  38600. "type": "object",
  38601. "required": [
  38602. "accountid",
  38603. "buildtype",
  38604. "buyorsell",
  38605. "goodsid",
  38606. "histradedate",
  38607. "marketid",
  38608. "memberuserid",
  38609. "operatetype",
  38610. "orderid",
  38611. "orderqty",
  38612. "ordertime",
  38613. "pricemode",
  38614. "tradedate",
  38615. "validtype"
  38616. ],
  38617. "properties": {
  38618. "accountid": {
  38619. "description": "账户ID[报价币种]",
  38620. "type": "integer"
  38621. },
  38622. "buildtype": {
  38623. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  38624. "type": "integer"
  38625. },
  38626. "buyorsell": {
  38627. "description": "买卖 - 0:买 1:卖",
  38628. "type": "integer"
  38629. },
  38630. "cancelorderid": {
  38631. "description": "撤单单号(撤单时填写)",
  38632. "type": "string"
  38633. },
  38634. "cancelqty": {
  38635. "description": "撤单数量",
  38636. "type": "number"
  38637. },
  38638. "clientordertime": {
  38639. "description": "客户端委托时间",
  38640. "type": "string"
  38641. },
  38642. "clientticket": {
  38643. "description": "客户端流水号",
  38644. "type": "string"
  38645. },
  38646. "clienttype": {
  38647. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  38648. "type": "integer"
  38649. },
  38650. "closeexchagechargevalue": {
  38651. "description": "平仓交易所手续费设置值",
  38652. "type": "number"
  38653. },
  38654. "closefeealgorithm": {
  38655. "description": "平仓手续费收取方式 1:比率 2:固定",
  38656. "type": "integer"
  38657. },
  38658. "closefreezecharge": {
  38659. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  38660. "type": "number"
  38661. },
  38662. "closememberchargevalue": {
  38663. "description": "平仓会员手续费设置值",
  38664. "type": "number"
  38665. },
  38666. "closeqty": {
  38667. "description": "平仓数量(先建后平操作 需要记录)",
  38668. "type": "number"
  38669. },
  38670. "closetradeqty": {
  38671. "description": "平仓成交数量(先建后平操作,需要记录)",
  38672. "type": "number"
  38673. },
  38674. "closeunfreezecharge": {
  38675. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  38676. "type": "number"
  38677. },
  38678. "decimalplace": {
  38679. "description": "商品报价小数位",
  38680. "type": "integer"
  38681. },
  38682. "delistingtype": {
  38683. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  38684. "type": "integer"
  38685. },
  38686. "enumdicname": {
  38687. "description": "单位名称",
  38688. "type": "string"
  38689. },
  38690. "freezecharge": {
  38691. "description": "冻结手续费",
  38692. "type": "number"
  38693. },
  38694. "freezemargin": {
  38695. "description": "冻结保证金(冻结交易金额)",
  38696. "type": "number"
  38697. },
  38698. "gcaccountid": {
  38699. "description": "账户ID[合约币种]",
  38700. "type": "integer"
  38701. },
  38702. "goodscode": {
  38703. "description": "商品代码",
  38704. "type": "string"
  38705. },
  38706. "goodsid": {
  38707. "description": "商品ID",
  38708. "type": "integer"
  38709. },
  38710. "goodsname": {
  38711. "description": "商品名称",
  38712. "type": "string"
  38713. },
  38714. "goodunitid": {
  38715. "description": "商品单位id",
  38716. "type": "integer"
  38717. },
  38718. "histradedate": {
  38719. "description": "历史交易日",
  38720. "type": "string"
  38721. },
  38722. "isconfirmexercise": {
  38723. "description": "是否确认行权- 0:否 1:是",
  38724. "type": "integer"
  38725. },
  38726. "ispreexercise": {
  38727. "description": "是否预申报- 0:否 1:是",
  38728. "type": "integer"
  38729. },
  38730. "isvaliddata": {
  38731. "description": "是否有效 - 0:无效 1:有效",
  38732. "type": "integer"
  38733. },
  38734. "listingselecttype": {
  38735. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  38736. "type": "integer"
  38737. },
  38738. "marginalgorithm": {
  38739. "description": "保证金收取方式 1:比率 2:固定",
  38740. "type": "integer"
  38741. },
  38742. "marginvalue": {
  38743. "description": "即市保证金设置值",
  38744. "type": "number"
  38745. },
  38746. "marketid": {
  38747. "description": "市场ID",
  38748. "type": "integer"
  38749. },
  38750. "marketmaxsub": {
  38751. "description": "市价最大偏移范围",
  38752. "type": "number"
  38753. },
  38754. "marketname": {
  38755. "description": "市场名称",
  38756. "type": "string"
  38757. },
  38758. "memberuserid": {
  38759. "description": "所属会员UserID",
  38760. "type": "integer"
  38761. },
  38762. "openexchagechargevalue": {
  38763. "description": "建仓交易所手续费设置值",
  38764. "type": "number"
  38765. },
  38766. "openfeealgorithm": {
  38767. "description": "建仓手续费收取方式 1:比率 2:固定",
  38768. "type": "integer"
  38769. },
  38770. "openfreezecharge": {
  38771. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  38772. "type": "number"
  38773. },
  38774. "openmemberchargevalue": {
  38775. "description": "建仓会员手续费设置值",
  38776. "type": "number"
  38777. },
  38778. "openqty": {
  38779. "description": "开仓数量(先建后平操作,需要记录)",
  38780. "type": "number"
  38781. },
  38782. "opentradeqty": {
  38783. "description": "开仓成交数量(先建后平操作,需要记录)",
  38784. "type": "number"
  38785. },
  38786. "openunfreezecharge": {
  38787. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  38788. "type": "number"
  38789. },
  38790. "operatetype": {
  38791. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  38792. "type": "integer"
  38793. },
  38794. "operatorid": {
  38795. "description": "登录账号(LoginID)",
  38796. "type": "integer"
  38797. },
  38798. "optiontype": {
  38799. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  38800. "type": "integer"
  38801. },
  38802. "orderid": {
  38803. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38804. "type": "string"
  38805. },
  38806. "orderprice": {
  38807. "description": "委托价格",
  38808. "type": "number"
  38809. },
  38810. "orderqty": {
  38811. "description": "委托数量",
  38812. "type": "number"
  38813. },
  38814. "ordersrc": {
  38815. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  38816. "type": "integer"
  38817. },
  38818. "orderstatus": {
  38819. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  38820. "type": "integer"
  38821. },
  38822. "ordertime": {
  38823. "description": "委托时间",
  38824. "type": "string"
  38825. },
  38826. "preexerciseprice": {
  38827. "description": "预申报价格",
  38828. "type": "number"
  38829. },
  38830. "premium": {
  38831. "description": "权利金",
  38832. "type": "number"
  38833. },
  38834. "preorderid": {
  38835. "description": "关联预埋单号(止盈止损单时填写)",
  38836. "type": "string"
  38837. },
  38838. "pricemode": {
  38839. "description": "取价方式 - 1:市价 2: 限价",
  38840. "type": "integer"
  38841. },
  38842. "qtydecimalplace": {
  38843. "description": "成交量小数位",
  38844. "type": "integer"
  38845. },
  38846. "quoteid": {
  38847. "description": "报价单ID",
  38848. "type": "integer"
  38849. },
  38850. "relatedid": {
  38851. "description": "关联单号(交割单)",
  38852. "type": "string"
  38853. },
  38854. "retcode": {
  38855. "description": "错误代码",
  38856. "type": "integer"
  38857. },
  38858. "sessionid": {
  38859. "description": "会话ID",
  38860. "type": "integer"
  38861. },
  38862. "tradedate": {
  38863. "description": "交易日(yyyyMMdd)",
  38864. "type": "string"
  38865. },
  38866. "trademode": {
  38867. "description": "交易模式",
  38868. "type": "integer"
  38869. },
  38870. "tradeproperty": {
  38871. "description": "交易属性",
  38872. "type": "integer"
  38873. },
  38874. "tradeqty": {
  38875. "description": "成交数量",
  38876. "type": "number"
  38877. },
  38878. "unfreezecharge": {
  38879. "description": "解冻手续费",
  38880. "type": "number"
  38881. },
  38882. "unfreezemargin": {
  38883. "description": "解冻保证金",
  38884. "type": "number"
  38885. },
  38886. "updatetime": {
  38887. "description": "更新时间",
  38888. "type": "string"
  38889. },
  38890. "uuid": {
  38891. "description": "发起端唯一id",
  38892. "type": "string"
  38893. },
  38894. "validtime": {
  38895. "description": "有效期限",
  38896. "type": "string"
  38897. },
  38898. "validtype": {
  38899. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  38900. "type": "integer"
  38901. },
  38902. "volumetype": {
  38903. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  38904. "type": "integer"
  38905. }
  38906. }
  38907. },
  38908. "order.QueryTradeDetailRsp": {
  38909. "type": "object",
  38910. "required": [
  38911. "accountid",
  38912. "buyorsell",
  38913. "goodsid",
  38914. "marketid",
  38915. "memberuserid",
  38916. "orderid",
  38917. "tradeamount",
  38918. "tradedate",
  38919. "tradeid",
  38920. "tradeprice",
  38921. "tradeqty",
  38922. "tradetime"
  38923. ],
  38924. "properties": {
  38925. "accountid": {
  38926. "description": "账户ID[报价币种]",
  38927. "type": "integer"
  38928. },
  38929. "advanceratio": {
  38930. "description": "首付比率",
  38931. "type": "number"
  38932. },
  38933. "buildtype": {
  38934. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  38935. "type": "integer"
  38936. },
  38937. "buyorsell": {
  38938. "description": "方向 - 0:买 1:卖",
  38939. "type": "integer"
  38940. },
  38941. "charge": {
  38942. "description": "手续费",
  38943. "type": "number"
  38944. },
  38945. "closecharge": {
  38946. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  38947. "type": "number"
  38948. },
  38949. "closeexchagechargevalue": {
  38950. "description": "平仓交易所手续费设置值",
  38951. "type": "number"
  38952. },
  38953. "closefeealgorithm": {
  38954. "description": "平仓手续费收取方式 1:比率 2:固定",
  38955. "type": "integer"
  38956. },
  38957. "closememberchargevalue": {
  38958. "description": "平仓会员手续费设置值",
  38959. "type": "number"
  38960. },
  38961. "closepl": {
  38962. "description": "平仓盈亏",
  38963. "type": "number"
  38964. },
  38965. "closepl2": {
  38966. "description": "平仓盈亏[逐笔]",
  38967. "type": "number"
  38968. },
  38969. "closeqty": {
  38970. "description": "平仓数量(先建后平操作 需要记录)",
  38971. "type": "number"
  38972. },
  38973. "creditamount": {
  38974. "description": "授信金额",
  38975. "type": "number"
  38976. },
  38977. "decimalplace": {
  38978. "description": "商品报价小数位",
  38979. "type": "integer"
  38980. },
  38981. "enumdicname": {
  38982. "description": "单位名称",
  38983. "type": "string"
  38984. },
  38985. "gcaccountid": {
  38986. "description": "账户ID[合约币种]",
  38987. "type": "integer"
  38988. },
  38989. "goodscode": {
  38990. "description": "商品代码",
  38991. "type": "string"
  38992. },
  38993. "goodsid": {
  38994. "description": "商品ID",
  38995. "type": "integer"
  38996. },
  38997. "goodsname": {
  38998. "description": "商品名称",
  38999. "type": "string"
  39000. },
  39001. "goodunitid": {
  39002. "description": "商品单位id",
  39003. "type": "integer"
  39004. },
  39005. "intclosepl": {
  39006. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  39007. "type": "integer"
  39008. },
  39009. "isconfirmexercise": {
  39010. "description": "是否确认行权- 0:否 1:是",
  39011. "type": "integer"
  39012. },
  39013. "ismain": {
  39014. "description": "是否主单 - 0:不是 1:是",
  39015. "type": "integer"
  39016. },
  39017. "ispreexercise": {
  39018. "description": "是否预申报- 0:否 1:是",
  39019. "type": "integer"
  39020. },
  39021. "isreckoned": {
  39022. "description": "是否结算 - 0:未结算 1:已结算",
  39023. "type": "integer"
  39024. },
  39025. "listingselecttype": {
  39026. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  39027. "type": "integer"
  39028. },
  39029. "marketid": {
  39030. "description": "市场ID",
  39031. "type": "integer"
  39032. },
  39033. "marketname": {
  39034. "description": "市场名称",
  39035. "type": "string"
  39036. },
  39037. "matchaccountid": {
  39038. "description": "对手账号id",
  39039. "type": "integer"
  39040. },
  39041. "memberuserid": {
  39042. "description": "会员id 个人投资者 需要填写",
  39043. "type": "integer"
  39044. },
  39045. "opencharge": {
  39046. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  39047. "type": "number"
  39048. },
  39049. "openexchagechargevalue": {
  39050. "description": "建仓交易所手续费设置值",
  39051. "type": "number"
  39052. },
  39053. "openfeealgorithm": {
  39054. "description": "建仓手续费收取方式 1:比率 2:固定",
  39055. "type": "integer"
  39056. },
  39057. "openmemberchargevalue": {
  39058. "description": "建仓会员手续费设置值",
  39059. "type": "number"
  39060. },
  39061. "openqty": {
  39062. "description": "开仓数量(先建后平操作 需要记录)",
  39063. "type": "number"
  39064. },
  39065. "optiontype": {
  39066. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  39067. "type": "integer"
  39068. },
  39069. "orderid": {
  39070. "description": "委托单号",
  39071. "type": "string"
  39072. },
  39073. "payamount": {
  39074. "description": "支付金额(付款金额)",
  39075. "type": "number"
  39076. },
  39077. "performanceplanid": {
  39078. "description": "履约计划ID[期权]",
  39079. "type": "integer"
  39080. },
  39081. "performancestatus": {
  39082. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  39083. "type": "integer"
  39084. },
  39085. "preexerciseprice": {
  39086. "description": "预申报价格",
  39087. "type": "number"
  39088. },
  39089. "premium": {
  39090. "description": "权利金 - [持仓单的权利金]",
  39091. "type": "number"
  39092. },
  39093. "qtydecimalplace": {
  39094. "description": "商品报价小数位",
  39095. "type": "integer"
  39096. },
  39097. "recvamount": {
  39098. "description": "到账金额 = 成交金额 - 手续费",
  39099. "type": "number"
  39100. },
  39101. "relatedouttradeid": {
  39102. "description": "关联外部成交单ID",
  39103. "type": "integer"
  39104. },
  39105. "status": {
  39106. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  39107. "type": "integer"
  39108. },
  39109. "totalamount": {
  39110. "description": "订单总额 = 成交金额 + 手续费",
  39111. "type": "number"
  39112. },
  39113. "tradeamount": {
  39114. "description": "成交金额[账户币种,用于所有权]",
  39115. "type": "number"
  39116. },
  39117. "tradedate": {
  39118. "description": "交易日(yyyyMMdd)",
  39119. "type": "string"
  39120. },
  39121. "tradeid": {
  39122. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  39123. "type": "string"
  39124. },
  39125. "trademode": {
  39126. "description": "交易模式",
  39127. "type": "integer"
  39128. },
  39129. "tradeprice": {
  39130. "description": "成交价格",
  39131. "type": "number"
  39132. },
  39133. "tradeproperty": {
  39134. "description": "交易属性",
  39135. "type": "integer"
  39136. },
  39137. "tradeqty": {
  39138. "description": "成交数量",
  39139. "type": "number"
  39140. },
  39141. "tradetime": {
  39142. "description": "成交时间",
  39143. "type": "string"
  39144. },
  39145. "tradetype": {
  39146. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  39147. "type": "integer"
  39148. }
  39149. }
  39150. },
  39151. "order.QueryTradeOrderDetailRsp": {
  39152. "type": "object",
  39153. "required": [
  39154. "accountid",
  39155. "buildtype",
  39156. "buyorsell",
  39157. "goodsid",
  39158. "marketid",
  39159. "operatetype",
  39160. "orderqty",
  39161. "ordertime",
  39162. "pricemode",
  39163. "tradedate",
  39164. "validtype"
  39165. ],
  39166. "properties": {
  39167. "accountid": {
  39168. "description": "账户ID[报价币种]",
  39169. "type": "integer"
  39170. },
  39171. "buildtype": {
  39172. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  39173. "type": "integer"
  39174. },
  39175. "buyorsell": {
  39176. "description": "买卖 - 0:买 1:卖",
  39177. "type": "integer"
  39178. },
  39179. "cancelorderid": {
  39180. "description": "撤单单号(撤单时填写)",
  39181. "type": "string"
  39182. },
  39183. "cancelqty": {
  39184. "description": "撤单数量",
  39185. "type": "number"
  39186. },
  39187. "clienttype": {
  39188. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  39189. "type": "integer"
  39190. },
  39191. "closefreezecharge": {
  39192. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  39193. "type": "number"
  39194. },
  39195. "closeqty": {
  39196. "description": "平仓数量(先建后平操作 需要记录)",
  39197. "type": "number"
  39198. },
  39199. "closetradeqty": {
  39200. "description": "平仓成交数量(先建后平操作,需要记录)",
  39201. "type": "number"
  39202. },
  39203. "closeunfreezecharge": {
  39204. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  39205. "type": "number"
  39206. },
  39207. "decimalplace": {
  39208. "description": "商品报价小数位",
  39209. "type": "integer"
  39210. },
  39211. "delistingtype": {
  39212. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  39213. "type": "integer"
  39214. },
  39215. "enableqty": {
  39216. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  39217. "type": "number"
  39218. },
  39219. "enumdicname": {
  39220. "description": "单位名称",
  39221. "type": "string"
  39222. },
  39223. "freezecharge": {
  39224. "description": "冻结手续费",
  39225. "type": "number"
  39226. },
  39227. "freezemargin": {
  39228. "description": "冻结保证金(冻结交易金额)",
  39229. "type": "number"
  39230. },
  39231. "goodscode": {
  39232. "description": "商品代码",
  39233. "type": "string"
  39234. },
  39235. "goodsid": {
  39236. "description": "商品ID",
  39237. "type": "integer"
  39238. },
  39239. "goodsname": {
  39240. "description": "商品名称",
  39241. "type": "string"
  39242. },
  39243. "goodunitid": {
  39244. "description": "商品单位id",
  39245. "type": "integer"
  39246. },
  39247. "listingselecttype": {
  39248. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  39249. "type": "integer"
  39250. },
  39251. "marketid": {
  39252. "description": "市场ID",
  39253. "type": "integer"
  39254. },
  39255. "marketname": {
  39256. "description": "市场名称",
  39257. "type": "string"
  39258. },
  39259. "openfreezecharge": {
  39260. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  39261. "type": "number"
  39262. },
  39263. "openqty": {
  39264. "description": "开仓数量(先建后平操作,需要记录)",
  39265. "type": "number"
  39266. },
  39267. "opentradeqty": {
  39268. "description": "开仓成交数量(先建后平操作,需要记录)",
  39269. "type": "number"
  39270. },
  39271. "openunfreezecharge": {
  39272. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  39273. "type": "number"
  39274. },
  39275. "operatetype": {
  39276. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  39277. "type": "integer"
  39278. },
  39279. "operatorid": {
  39280. "description": "登录账号(LoginID)",
  39281. "type": "integer"
  39282. },
  39283. "orderid": {
  39284. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  39285. "type": "string"
  39286. },
  39287. "orderprice": {
  39288. "description": "委托价格",
  39289. "type": "number"
  39290. },
  39291. "orderqty": {
  39292. "description": "委托数量",
  39293. "type": "number"
  39294. },
  39295. "ordersrc": {
  39296. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  39297. "type": "integer"
  39298. },
  39299. "orderstatus": {
  39300. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  39301. "type": "integer"
  39302. },
  39303. "ordertime": {
  39304. "description": "委托时间",
  39305. "type": "string"
  39306. },
  39307. "preorderid": {
  39308. "description": "关联预埋单号(止盈止损单时填写)",
  39309. "type": "string"
  39310. },
  39311. "pricemode": {
  39312. "description": "取价方式 - 1:市价 2: 限价",
  39313. "type": "integer"
  39314. },
  39315. "qtydecimalplace": {
  39316. "description": "商品报价小数位",
  39317. "type": "integer"
  39318. },
  39319. "relatedid": {
  39320. "description": "关联单号(交割单)",
  39321. "type": "string"
  39322. },
  39323. "tradedate": {
  39324. "description": "交易日(yyyyMMdd)",
  39325. "type": "string"
  39326. },
  39327. "trademode": {
  39328. "description": "交易模式",
  39329. "type": "integer"
  39330. },
  39331. "tradeqty": {
  39332. "description": "成交数量",
  39333. "type": "number"
  39334. },
  39335. "unfreezecharge": {
  39336. "description": "解冻手续费",
  39337. "type": "number"
  39338. },
  39339. "unfreezemargin": {
  39340. "description": "解冻保证金",
  39341. "type": "number"
  39342. },
  39343. "validtime": {
  39344. "description": "有效期限",
  39345. "type": "string"
  39346. },
  39347. "validtype": {
  39348. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  39349. "type": "integer"
  39350. },
  39351. "volumetype": {
  39352. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  39353. "type": "integer"
  39354. }
  39355. }
  39356. },
  39357. "order.QueryTradePositionRsp": {
  39358. "type": "object",
  39359. "required": [
  39360. "goodsid"
  39361. ],
  39362. "properties": {
  39363. "accountid": {
  39364. "description": "资金账户",
  39365. "type": "integer"
  39366. },
  39367. "agreeunit": {
  39368. "description": "合约单位",
  39369. "type": "number"
  39370. },
  39371. "averageprice": {
  39372. "description": "持仓均价",
  39373. "type": "number"
  39374. },
  39375. "buyorsell": {
  39376. "description": "方向 - 0:买 1:卖",
  39377. "type": "integer"
  39378. },
  39379. "closetotalqty": {
  39380. "description": "平仓总数量",
  39381. "type": "number"
  39382. },
  39383. "curholderamount": {
  39384. "description": "当前持仓总金额[商品币种]",
  39385. "type": "number"
  39386. },
  39387. "curpositionqty": {
  39388. "description": "当前持仓总数量",
  39389. "type": "number"
  39390. },
  39391. "currencyid": {
  39392. "description": "报价货币ID",
  39393. "type": "integer"
  39394. },
  39395. "curtdposition": {
  39396. "description": "期末今日头寸",
  39397. "type": "number"
  39398. },
  39399. "decimalplace": {
  39400. "description": "报价小数位",
  39401. "type": "integer"
  39402. },
  39403. "enableqty": {
  39404. "description": "可用量",
  39405. "type": "number"
  39406. },
  39407. "fretdposition": {
  39408. "description": "冻结今日头寸",
  39409. "type": "number"
  39410. },
  39411. "frozenqty": {
  39412. "description": "持仓冻结数量",
  39413. "type": "number"
  39414. },
  39415. "goodscode": {
  39416. "description": "商品代码",
  39417. "type": "string"
  39418. },
  39419. "goodsid": {
  39420. "description": "商品Id",
  39421. "type": "integer"
  39422. },
  39423. "goodsname": {
  39424. "description": "商品名称",
  39425. "type": "string"
  39426. },
  39427. "goodunit": {
  39428. "description": "报价单位",
  39429. "type": "string"
  39430. },
  39431. "goodunitid": {
  39432. "description": "报价单位ID",
  39433. "type": "integer"
  39434. },
  39435. "holderamount": {
  39436. "description": "期初持仓总金额[商品币种]",
  39437. "type": "number"
  39438. },
  39439. "lastprice": {
  39440. "description": "最新价",
  39441. "type": "number"
  39442. },
  39443. "marketamount": {
  39444. "description": "市值",
  39445. "type": "number"
  39446. },
  39447. "marketid": {
  39448. "description": "所属市场ID",
  39449. "type": "integer"
  39450. },
  39451. "openreqqty": {
  39452. "description": "开仓申请数量(用于比较最大持仓数量)",
  39453. "type": "number"
  39454. },
  39455. "opentotalqty": {
  39456. "description": "开仓总数量",
  39457. "type": "number"
  39458. },
  39459. "otherfrozenqty": {
  39460. "description": "持仓其他冻结数量(交割冻结)",
  39461. "type": "number"
  39462. },
  39463. "positionpl": {
  39464. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  39465. "type": "number"
  39466. },
  39467. "positionplrate": {
  39468. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  39469. "type": "number"
  39470. },
  39471. "positionqty": {
  39472. "description": "期初持仓数量",
  39473. "type": "number"
  39474. },
  39475. "qtydecimalplace": {
  39476. "description": "成交量小数位",
  39477. "type": "integer"
  39478. },
  39479. "refgoodscode": {
  39480. "description": "参考商品代码",
  39481. "type": "string"
  39482. },
  39483. "refgoodsid": {
  39484. "description": "参考商品ID",
  39485. "type": "integer"
  39486. },
  39487. "tnqty": {
  39488. "description": "T+N冻结总量",
  39489. "type": "number"
  39490. },
  39491. "tnusedqty": {
  39492. "description": "T+N使用量(可以使用T+N的冻结数量)",
  39493. "type": "number"
  39494. },
  39495. "trademode": {
  39496. "description": "交易模式",
  39497. "type": "integer"
  39498. },
  39499. "tradeproperty": {
  39500. "description": "交易属性",
  39501. "type": "integer"
  39502. },
  39503. "usedmargin": {
  39504. "description": "占用保证金[商品币种]",
  39505. "type": "number"
  39506. }
  39507. }
  39508. },
  39509. "pb.GoodsMarginCfgStruct": {
  39510. "type": "object",
  39511. "properties": {
  39512. "CustomerTypeID": {
  39513. "description": "投资者客户类型",
  39514. "type": "integer"
  39515. },
  39516. "GoodsID": {
  39517. "description": "商品ID",
  39518. "type": "integer"
  39519. },
  39520. "IsDefault": {
  39521. "description": "是否默认标志位",
  39522. "type": "integer"
  39523. },
  39524. "LockMarginValue": {
  39525. "description": "锁仓保证金",
  39526. "type": "number"
  39527. },
  39528. "MarginAlgorithm": {
  39529. "description": "保证金计算方式",
  39530. "type": "integer"
  39531. },
  39532. "MarketMarginValue": {
  39533. "description": "即市保证金值",
  39534. "type": "number"
  39535. },
  39536. "RealMarginAlgorithm": {
  39537. "description": "实付保证金计算方式",
  39538. "type": "integer"
  39539. },
  39540. "RealMarginValue": {
  39541. "description": "实付比例",
  39542. "type": "number"
  39543. },
  39544. "ReckonMarginValue": {
  39545. "description": "结算保证金值",
  39546. "type": "number"
  39547. }
  39548. }
  39549. },
  39550. "quote.HistoryData": {
  39551. "type": "object",
  39552. "properties": {
  39553. "c": {
  39554. "description": "收盘价",
  39555. "type": "number"
  39556. },
  39557. "f": {
  39558. "description": "是否补充数据",
  39559. "type": "boolean"
  39560. },
  39561. "h": {
  39562. "description": "最高价",
  39563. "type": "number"
  39564. },
  39565. "hv": {
  39566. "description": "持仓量",
  39567. "type": "integer"
  39568. },
  39569. "l": {
  39570. "description": "最低价",
  39571. "type": "number"
  39572. },
  39573. "o": {
  39574. "description": "开盘价",
  39575. "type": "number"
  39576. },
  39577. "s": {
  39578. "description": "结算价,日线周期(包括)以上才有",
  39579. "type": "number"
  39580. },
  39581. "ts": {
  39582. "description": "时间",
  39583. "type": "string"
  39584. },
  39585. "tt": {
  39586. "description": "总金额",
  39587. "type": "number"
  39588. },
  39589. "tv": {
  39590. "description": "总量(成交量)",
  39591. "type": "integer"
  39592. }
  39593. }
  39594. },
  39595. "quote.HistoryTikData": {
  39596. "type": "object",
  39597. "properties": {
  39598. "AV": {
  39599. "description": "卖量",
  39600. "type": "integer"
  39601. },
  39602. "Ask": {
  39603. "description": "卖价",
  39604. "type": "number"
  39605. },
  39606. "BV": {
  39607. "description": "买量",
  39608. "type": "integer"
  39609. },
  39610. "Bid": {
  39611. "description": "买价",
  39612. "type": "number"
  39613. },
  39614. "HI": {
  39615. "description": "单笔持仓",
  39616. "type": "integer"
  39617. },
  39618. "HV": {
  39619. "description": "持仓量",
  39620. "type": "integer"
  39621. },
  39622. "PE": {
  39623. "description": "现价",
  39624. "type": "number"
  39625. },
  39626. "TDR": {
  39627. "description": "交易方向,0:买 1:卖",
  39628. "type": "integer"
  39629. },
  39630. "TK": {
  39631. "description": "交易类型",
  39632. "type": "integer"
  39633. },
  39634. "TS": {
  39635. "description": "行情时间文本",
  39636. "type": "string"
  39637. },
  39638. "TT": {
  39639. "description": "现金额",
  39640. "type": "number"
  39641. },
  39642. "Vol": {
  39643. "description": "现量",
  39644. "type": "integer"
  39645. }
  39646. }
  39647. },
  39648. "quote.QueryQuoteDayRsp": {
  39649. "type": "object",
  39650. "properties": {
  39651. "ask": {
  39652. "description": "卖1",
  39653. "type": "number"
  39654. },
  39655. "ask10": {
  39656. "description": "卖10",
  39657. "type": "number"
  39658. },
  39659. "ask2": {
  39660. "description": "卖2",
  39661. "type": "number"
  39662. },
  39663. "ask3": {
  39664. "description": "卖3",
  39665. "type": "number"
  39666. },
  39667. "ask4": {
  39668. "description": "卖4",
  39669. "type": "number"
  39670. },
  39671. "ask5": {
  39672. "description": "卖5",
  39673. "type": "number"
  39674. },
  39675. "ask6": {
  39676. "description": "卖6",
  39677. "type": "number"
  39678. },
  39679. "ask7": {
  39680. "description": "卖7",
  39681. "type": "number"
  39682. },
  39683. "ask8": {
  39684. "description": "卖8",
  39685. "type": "number"
  39686. },
  39687. "ask9": {
  39688. "description": "卖9",
  39689. "type": "number"
  39690. },
  39691. "askorderid": {
  39692. "description": "卖单号1",
  39693. "type": "integer"
  39694. },
  39695. "askorderid2": {
  39696. "description": "卖单号2",
  39697. "type": "integer"
  39698. },
  39699. "askorderid3": {
  39700. "description": "卖单号3",
  39701. "type": "integer"
  39702. },
  39703. "askorderid4": {
  39704. "description": "卖单号4",
  39705. "type": "integer"
  39706. },
  39707. "askorderid5": {
  39708. "description": "卖单号5",
  39709. "type": "integer"
  39710. },
  39711. "askordervolume": {
  39712. "description": "卖单量1",
  39713. "type": "integer"
  39714. },
  39715. "askordervolume10": {
  39716. "description": "卖单量10",
  39717. "type": "integer"
  39718. },
  39719. "askordervolume2": {
  39720. "description": "卖单量2",
  39721. "type": "integer"
  39722. },
  39723. "askordervolume3": {
  39724. "description": "卖单量3",
  39725. "type": "integer"
  39726. },
  39727. "askordervolume4": {
  39728. "description": "卖单量4",
  39729. "type": "integer"
  39730. },
  39731. "askordervolume5": {
  39732. "description": "卖单量5",
  39733. "type": "integer"
  39734. },
  39735. "askordervolume6": {
  39736. "description": "卖单量6",
  39737. "type": "integer"
  39738. },
  39739. "askordervolume7": {
  39740. "description": "卖单量7",
  39741. "type": "integer"
  39742. },
  39743. "askordervolume8": {
  39744. "description": "卖单量8",
  39745. "type": "integer"
  39746. },
  39747. "askordervolume9": {
  39748. "description": "卖单量9",
  39749. "type": "integer"
  39750. },
  39751. "askqueueinfo": {
  39752. "description": "大利市卖港股用",
  39753. "type": "string"
  39754. },
  39755. "askvolume": {
  39756. "description": "卖量1",
  39757. "type": "integer"
  39758. },
  39759. "askvolume10": {
  39760. "description": "卖量10",
  39761. "type": "integer"
  39762. },
  39763. "askvolume2": {
  39764. "description": "卖量2",
  39765. "type": "integer"
  39766. },
  39767. "askvolume3": {
  39768. "description": "卖量3",
  39769. "type": "integer"
  39770. },
  39771. "askvolume4": {
  39772. "description": "卖量4",
  39773. "type": "integer"
  39774. },
  39775. "askvolume5": {
  39776. "description": "卖量5",
  39777. "type": "integer"
  39778. },
  39779. "askvolume6": {
  39780. "description": "卖量6",
  39781. "type": "integer"
  39782. },
  39783. "askvolume7": {
  39784. "description": "卖量7",
  39785. "type": "integer"
  39786. },
  39787. "askvolume8": {
  39788. "description": "卖量8",
  39789. "type": "integer"
  39790. },
  39791. "askvolume9": {
  39792. "description": "卖量9",
  39793. "type": "integer"
  39794. },
  39795. "averageprice": {
  39796. "description": "均价",
  39797. "type": "number"
  39798. },
  39799. "bid": {
  39800. "description": "买1",
  39801. "type": "number"
  39802. },
  39803. "bid10": {
  39804. "description": "买10",
  39805. "type": "number"
  39806. },
  39807. "bid2": {
  39808. "description": "买2",
  39809. "type": "number"
  39810. },
  39811. "bid3": {
  39812. "description": "买3",
  39813. "type": "number"
  39814. },
  39815. "bid4": {
  39816. "description": "买4",
  39817. "type": "number"
  39818. },
  39819. "bid5": {
  39820. "description": "买5",
  39821. "type": "number"
  39822. },
  39823. "bid6": {
  39824. "description": "买6",
  39825. "type": "number"
  39826. },
  39827. "bid7": {
  39828. "description": "买7",
  39829. "type": "number"
  39830. },
  39831. "bid8": {
  39832. "description": "买8",
  39833. "type": "number"
  39834. },
  39835. "bid9": {
  39836. "description": "买9",
  39837. "type": "number"
  39838. },
  39839. "bidorderid": {
  39840. "description": "买单号1",
  39841. "type": "integer"
  39842. },
  39843. "bidorderid2": {
  39844. "description": "买单号2",
  39845. "type": "integer"
  39846. },
  39847. "bidorderid3": {
  39848. "description": "买单号3",
  39849. "type": "integer"
  39850. },
  39851. "bidorderid4": {
  39852. "description": "买单号4",
  39853. "type": "integer"
  39854. },
  39855. "bidorderid5": {
  39856. "description": "买单号5",
  39857. "type": "integer"
  39858. },
  39859. "bidordervolume": {
  39860. "description": "买单量1",
  39861. "type": "integer"
  39862. },
  39863. "bidordervolume10": {
  39864. "description": "买单量10",
  39865. "type": "integer"
  39866. },
  39867. "bidordervolume2": {
  39868. "description": "买单量2",
  39869. "type": "integer"
  39870. },
  39871. "bidordervolume3": {
  39872. "description": "买单量3",
  39873. "type": "integer"
  39874. },
  39875. "bidordervolume4": {
  39876. "description": "买单量4",
  39877. "type": "integer"
  39878. },
  39879. "bidordervolume5": {
  39880. "description": "买单量5",
  39881. "type": "integer"
  39882. },
  39883. "bidordervolume6": {
  39884. "description": "买单量6",
  39885. "type": "integer"
  39886. },
  39887. "bidordervolume7": {
  39888. "description": "买单量7",
  39889. "type": "integer"
  39890. },
  39891. "bidordervolume8": {
  39892. "description": "买单量8",
  39893. "type": "integer"
  39894. },
  39895. "bidordervolume9": {
  39896. "description": "买单量9",
  39897. "type": "integer"
  39898. },
  39899. "bidqueueinfo": {
  39900. "description": "大利市买港股用",
  39901. "type": "string"
  39902. },
  39903. "bidvolume": {
  39904. "description": "买量1",
  39905. "type": "integer"
  39906. },
  39907. "bidvolume10": {
  39908. "description": "买量10",
  39909. "type": "integer"
  39910. },
  39911. "bidvolume2": {
  39912. "description": "买量2",
  39913. "type": "integer"
  39914. },
  39915. "bidvolume3": {
  39916. "description": "买量3",
  39917. "type": "integer"
  39918. },
  39919. "bidvolume4": {
  39920. "description": "买量4",
  39921. "type": "integer"
  39922. },
  39923. "bidvolume5": {
  39924. "description": "买量5",
  39925. "type": "integer"
  39926. },
  39927. "bidvolume6": {
  39928. "description": "买量6",
  39929. "type": "integer"
  39930. },
  39931. "bidvolume7": {
  39932. "description": "买量7",
  39933. "type": "integer"
  39934. },
  39935. "bidvolume8": {
  39936. "description": "买量8",
  39937. "type": "integer"
  39938. },
  39939. "bidvolume9": {
  39940. "description": "买量9",
  39941. "type": "integer"
  39942. },
  39943. "calloptionpremiums": {
  39944. "description": "认购期权1",
  39945. "type": "integer"
  39946. },
  39947. "calloptionpremiums2": {
  39948. "description": "认购期权2",
  39949. "type": "integer"
  39950. },
  39951. "calloptionpremiums3": {
  39952. "description": "认购期权3",
  39953. "type": "integer"
  39954. },
  39955. "calloptionpremiums4": {
  39956. "description": "认购期权4",
  39957. "type": "integer"
  39958. },
  39959. "calloptionpremiums5": {
  39960. "description": "认购期权5",
  39961. "type": "integer"
  39962. },
  39963. "cleartime": {
  39964. "description": "清盘时间",
  39965. "type": "integer"
  39966. },
  39967. "exchangecode": {
  39968. "description": "交易所代码",
  39969. "type": "integer"
  39970. },
  39971. "exchangedate": {
  39972. "description": "交易日",
  39973. "type": "integer"
  39974. },
  39975. "goodscode": {
  39976. "description": "商品代码",
  39977. "type": "string"
  39978. },
  39979. "grepmarketprice": {
  39980. "description": "暗盘价 港股专用",
  39981. "type": "number"
  39982. },
  39983. "highest": {
  39984. "description": "最高价",
  39985. "type": "number"
  39986. },
  39987. "holdincrement": {
  39988. "description": "单笔持仓",
  39989. "type": "integer"
  39990. },
  39991. "holdvolume": {
  39992. "description": "持仓",
  39993. "type": "integer"
  39994. },
  39995. "iep": {
  39996. "description": "平衡价 港股专用",
  39997. "type": "number"
  39998. },
  39999. "iev": {
  40000. "description": "平衡量 港股专用",
  40001. "type": "number"
  40002. },
  40003. "inventory": {
  40004. "description": "库存",
  40005. "type": "integer"
  40006. },
  40007. "iscleared": {
  40008. "description": "是否清盘标志",
  40009. "type": "integer"
  40010. },
  40011. "issettled": {
  40012. "description": "是否结算标志",
  40013. "type": "integer"
  40014. },
  40015. "last": {
  40016. "description": "最新价",
  40017. "type": "number"
  40018. },
  40019. "lastlot": {
  40020. "description": "最新成交手数",
  40021. "type": "integer"
  40022. },
  40023. "lasttime": {
  40024. "description": "行情时间(只有现价变化行情时间才变化)",
  40025. "type": "string"
  40026. },
  40027. "lastturnover": {
  40028. "description": "最新成交金额",
  40029. "type": "number"
  40030. },
  40031. "lastvolume": {
  40032. "description": "最新成交量",
  40033. "type": "integer"
  40034. },
  40035. "limitdown": {
  40036. "description": "跌停价",
  40037. "type": "number"
  40038. },
  40039. "limitup": {
  40040. "description": "涨停价",
  40041. "type": "number"
  40042. },
  40043. "lowest": {
  40044. "description": "最低价",
  40045. "type": "number"
  40046. },
  40047. "nontotalholdervolume": {
  40048. "description": "非交易持仓量",
  40049. "type": "integer"
  40050. },
  40051. "nontotallot": {
  40052. "description": "非交易总手数",
  40053. "type": "integer"
  40054. },
  40055. "nontotalturnover": {
  40056. "description": "非交易总金额",
  40057. "type": "integer"
  40058. },
  40059. "nontotalvolume": {
  40060. "description": "非交易总量",
  40061. "type": "integer"
  40062. },
  40063. "opened": {
  40064. "description": "开盘价",
  40065. "type": "number"
  40066. },
  40067. "opentime": {
  40068. "description": "开盘时间",
  40069. "type": "string"
  40070. },
  40071. "orderid": {
  40072. "description": "序号",
  40073. "type": "integer"
  40074. },
  40075. "preclose": {
  40076. "description": "昨收",
  40077. "type": "number"
  40078. },
  40079. "preholdvolume": {
  40080. "description": "昨持仓",
  40081. "type": "integer"
  40082. },
  40083. "presettle": {
  40084. "description": "昨结价",
  40085. "type": "number"
  40086. },
  40087. "publictradetype": {
  40088. "description": "公共交易标志类型 港股专用",
  40089. "type": "string"
  40090. },
  40091. "putoptionpremiums": {
  40092. "description": "认沽期权1",
  40093. "type": "integer"
  40094. },
  40095. "putoptionpremiums2": {
  40096. "description": "认沽期权2",
  40097. "type": "integer"
  40098. },
  40099. "putoptionpremiums3": {
  40100. "description": "认沽期权3",
  40101. "type": "integer"
  40102. },
  40103. "putoptionpremiums4": {
  40104. "description": "认沽期权4",
  40105. "type": "integer"
  40106. },
  40107. "putoptionpremiums5": {
  40108. "description": "认沽期权5",
  40109. "type": "integer"
  40110. },
  40111. "settle": {
  40112. "description": "结算价",
  40113. "type": "number"
  40114. },
  40115. "strikeprice": {
  40116. "description": "发行价",
  40117. "type": "number"
  40118. },
  40119. "totalaskvolume": {
  40120. "description": "内盘",
  40121. "type": "integer"
  40122. },
  40123. "totalbidvolume": {
  40124. "description": "外盘",
  40125. "type": "integer"
  40126. },
  40127. "totallot": {
  40128. "description": "总手数",
  40129. "type": "integer"
  40130. },
  40131. "totalturnover": {
  40132. "description": "总金额",
  40133. "type": "number"
  40134. },
  40135. "totalvolume": {
  40136. "description": "总量",
  40137. "type": "integer"
  40138. },
  40139. "utclasttime": {
  40140. "description": "utc的行情时间",
  40141. "type": "string"
  40142. }
  40143. }
  40144. },
  40145. "quote.QueryTSDataRsp": {
  40146. "type": "object",
  40147. "properties": {
  40148. "Count": {
  40149. "description": "交易日应有数据个数",
  40150. "type": "integer"
  40151. },
  40152. "decimalPlace": {
  40153. "description": "小数位",
  40154. "type": "integer"
  40155. },
  40156. "endTime": {
  40157. "description": "结束时间",
  40158. "type": "string"
  40159. },
  40160. "goodsCode": {
  40161. "description": "商品代码",
  40162. "type": "string"
  40163. },
  40164. "historyDatas": {
  40165. "description": "历史数据",
  40166. "type": "array",
  40167. "items": {
  40168. "$ref": "#/definitions/quote.HistoryData"
  40169. }
  40170. },
  40171. "outGoodsCode": {
  40172. "description": "外部商品代码",
  40173. "type": "string"
  40174. },
  40175. "preSettle": {
  40176. "description": "昨结价",
  40177. "type": "number"
  40178. },
  40179. "runSteps": {
  40180. "description": "交易日开休市计划",
  40181. "type": "array",
  40182. "items": {
  40183. "$ref": "#/definitions/quote.TSDataRunStep"
  40184. }
  40185. },
  40186. "startTime": {
  40187. "description": "开始时间",
  40188. "type": "string"
  40189. },
  40190. "tradeDate": {
  40191. "description": "交易日",
  40192. "type": "string"
  40193. }
  40194. }
  40195. },
  40196. "quote.TSDataRunStep": {
  40197. "type": "object",
  40198. "properties": {
  40199. "end": {
  40200. "description": "真实结束时间",
  40201. "type": "string"
  40202. },
  40203. "endflag": {
  40204. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  40205. "type": "integer"
  40206. },
  40207. "endtime": {
  40208. "description": "结束时间(HH:mm)",
  40209. "type": "string"
  40210. },
  40211. "endweekday": {
  40212. "description": "结束周几",
  40213. "type": "integer"
  40214. },
  40215. "groupid": {
  40216. "description": "分组ID",
  40217. "type": "integer"
  40218. },
  40219. "runstep": {
  40220. "description": "运行阶段 - 2:连续交易",
  40221. "type": "integer"
  40222. },
  40223. "sectionid": {
  40224. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  40225. "type": "integer"
  40226. },
  40227. "start": {
  40228. "description": "真实开始时间",
  40229. "type": "string"
  40230. },
  40231. "startflag": {
  40232. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  40233. "type": "integer"
  40234. },
  40235. "starttime": {
  40236. "description": "起始时间(HH:mm)",
  40237. "type": "string"
  40238. },
  40239. "startweekday": {
  40240. "description": "起始周几",
  40241. "type": "integer"
  40242. },
  40243. "tradeweekday": {
  40244. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  40245. "type": "integer"
  40246. }
  40247. }
  40248. },
  40249. "szdz.QueryConvertLogRsp": {
  40250. "type": "object",
  40251. "required": [
  40252. "logid"
  40253. ],
  40254. "properties": {
  40255. "accountid": {
  40256. "description": "资金账户ID",
  40257. "type": "integer"
  40258. },
  40259. "clientticket": {
  40260. "description": "客户端流水号",
  40261. "type": "string"
  40262. },
  40263. "converttype": {
  40264. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  40265. "type": "integer"
  40266. },
  40267. "createtime": {
  40268. "description": "记账时间",
  40269. "type": "string"
  40270. },
  40271. "daymaxvalue": {
  40272. "description": "配置当日最大转入限制",
  40273. "type": "number"
  40274. },
  40275. "daymaxvalue2": {
  40276. "description": "配置当日最大转入限制(转入)",
  40277. "type": "number"
  40278. },
  40279. "goodscode": {
  40280. "description": "商品代码",
  40281. "type": "string"
  40282. },
  40283. "goodsname": {
  40284. "description": "商品名称",
  40285. "type": "string"
  40286. },
  40287. "handlestatus": {
  40288. "description": "处理状态",
  40289. "type": "integer"
  40290. },
  40291. "innergoodsid": {
  40292. "description": "内部商品ID",
  40293. "type": "integer"
  40294. },
  40295. "inratio": {
  40296. "description": "配置转入比值",
  40297. "type": "integer"
  40298. },
  40299. "invalue": {
  40300. "description": "目标值",
  40301. "type": "number"
  40302. },
  40303. "logid": {
  40304. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  40305. "type": "integer"
  40306. },
  40307. "mobile": {
  40308. "description": "手机号码(加密存储)",
  40309. "type": "string"
  40310. },
  40311. "outergoodscode": {
  40312. "description": "外部商品代码[JD\\PD]",
  40313. "type": "string"
  40314. },
  40315. "outratio": {
  40316. "description": "配置转出比值",
  40317. "type": "integer"
  40318. },
  40319. "outvalue": {
  40320. "description": "源值",
  40321. "type": "number"
  40322. },
  40323. "pddecimalplace": {
  40324. "description": "PD小数位",
  40325. "type": "integer"
  40326. },
  40327. "qty": {
  40328. "description": "数量",
  40329. "type": "string"
  40330. },
  40331. "remark": {
  40332. "description": "备注",
  40333. "type": "string"
  40334. },
  40335. "sessionid": {
  40336. "description": "会话ID",
  40337. "type": "integer"
  40338. },
  40339. "timemaxvalue": {
  40340. "description": "配置单次最大转入限制",
  40341. "type": "number"
  40342. },
  40343. "timemaxvalue2": {
  40344. "description": "配置单次最大转入限制(转入)",
  40345. "type": "number"
  40346. },
  40347. "timeminvalue": {
  40348. "description": "配置单次最小数量限制",
  40349. "type": "number"
  40350. },
  40351. "timeminvalue2": {
  40352. "description": "配置单次最小数量限制(转入)",
  40353. "type": "number"
  40354. },
  40355. "tradedate": {
  40356. "description": "交易日(yyyyMMdd)",
  40357. "type": "string"
  40358. },
  40359. "userid": {
  40360. "description": "用户ID",
  40361. "type": "integer"
  40362. }
  40363. }
  40364. },
  40365. "szdz.QueryGoodsPickupRsp": {
  40366. "type": "object",
  40367. "required": [
  40368. "takeorderid"
  40369. ],
  40370. "properties": {
  40371. "accountid": {
  40372. "description": "账户ID",
  40373. "type": "integer"
  40374. },
  40375. "address": {
  40376. "description": "提货人详细地址",
  40377. "type": "string"
  40378. },
  40379. "auditer": {
  40380. "description": "审核人",
  40381. "type": "integer"
  40382. },
  40383. "audittime": {
  40384. "description": "审核时间",
  40385. "type": "string"
  40386. },
  40387. "cardnum": {
  40388. "description": "提货人证件号码",
  40389. "type": "string"
  40390. },
  40391. "cardtypeid": {
  40392. "description": "提货人证件类型",
  40393. "type": "integer"
  40394. },
  40395. "checkremark": {
  40396. "description": "审核备注",
  40397. "type": "string"
  40398. },
  40399. "goodscode": {
  40400. "description": "商品代码",
  40401. "type": "string"
  40402. },
  40403. "goodsid": {
  40404. "description": "商品ID",
  40405. "type": "integer"
  40406. },
  40407. "goodsname": {
  40408. "description": "商品名称",
  40409. "type": "string"
  40410. },
  40411. "handlestatus": {
  40412. "description": "处理状态",
  40413. "type": "integer"
  40414. },
  40415. "marketid": {
  40416. "description": "市场ID",
  40417. "type": "integer"
  40418. },
  40419. "phonenum": {
  40420. "description": "提货人联系方式",
  40421. "type": "string"
  40422. },
  40423. "qty": {
  40424. "description": "提货数量",
  40425. "type": "number"
  40426. },
  40427. "recivername": {
  40428. "description": "提货人姓名",
  40429. "type": "string"
  40430. },
  40431. "reqtime": {
  40432. "description": "更新时间",
  40433. "type": "string"
  40434. },
  40435. "takemode": {
  40436. "description": "提货方式 - 2:自提 3:配送",
  40437. "type": "integer"
  40438. },
  40439. "takeorderid": {
  40440. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  40441. "type": "string"
  40442. },
  40443. "takeorderstatus": {
  40444. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  40445. "type": "integer"
  40446. },
  40447. "takeremark": {
  40448. "description": "提货备注",
  40449. "type": "string"
  40450. },
  40451. "tradedate": {
  40452. "description": "交易日(yyyyMMdd)",
  40453. "type": "string"
  40454. },
  40455. "userid": {
  40456. "description": "用户ID",
  40457. "type": "integer"
  40458. }
  40459. }
  40460. },
  40461. "szdz.QueryRecieptOrderRsp": {
  40462. "type": "object",
  40463. "required": [
  40464. "ordertime"
  40465. ],
  40466. "properties": {
  40467. "accountName": {
  40468. "description": "所属账号名称(已脱敏)",
  40469. "type": "string"
  40470. },
  40471. "accountid": {
  40472. "description": "资金账号",
  40473. "type": "integer"
  40474. },
  40475. "buyorsell": {
  40476. "description": "方向 - 0:买 1:卖",
  40477. "type": "integer"
  40478. },
  40479. "enableqty": {
  40480. "description": "可摘数量",
  40481. "type": "integer"
  40482. },
  40483. "goodscode": {
  40484. "description": "商品代码",
  40485. "type": "string"
  40486. },
  40487. "goodsid": {
  40488. "description": "商品ID",
  40489. "type": "integer"
  40490. },
  40491. "goodsname": {
  40492. "description": "商品名称",
  40493. "type": "string"
  40494. },
  40495. "orderid": {
  40496. "description": "委托单号",
  40497. "type": "string"
  40498. },
  40499. "orderprice": {
  40500. "description": "委托价格",
  40501. "type": "number"
  40502. },
  40503. "ordertime": {
  40504. "description": "委托时间",
  40505. "type": "string"
  40506. },
  40507. "tradedate": {
  40508. "description": "交易日(yyyyMMdd)",
  40509. "type": "string"
  40510. }
  40511. }
  40512. },
  40513. "szdz.QuerySZDZTradePositionRsp": {
  40514. "type": "object",
  40515. "properties": {
  40516. "accountid": {
  40517. "description": "账号Id",
  40518. "type": "integer"
  40519. },
  40520. "agreeunit": {
  40521. "description": "合约单位",
  40522. "type": "number"
  40523. },
  40524. "averageprice": {
  40525. "description": "持仓均价",
  40526. "type": "number"
  40527. },
  40528. "buyorsell": {
  40529. "description": "方向 - 0:买 1:卖",
  40530. "type": "integer"
  40531. },
  40532. "closetotalqty": {
  40533. "description": "平仓总数量",
  40534. "type": "integer"
  40535. },
  40536. "curholderamount": {
  40537. "description": "当前持仓总金额",
  40538. "type": "number"
  40539. },
  40540. "curpositionqty": {
  40541. "description": "当前持仓总数量",
  40542. "type": "integer"
  40543. },
  40544. "currencyid": {
  40545. "description": "报价货币ID",
  40546. "type": "integer"
  40547. },
  40548. "curtdposition": {
  40549. "description": "期末今日头寸",
  40550. "type": "integer"
  40551. },
  40552. "decimalplace": {
  40553. "description": "报价小数位",
  40554. "type": "integer"
  40555. },
  40556. "enableqty": {
  40557. "description": "可用量",
  40558. "type": "integer"
  40559. },
  40560. "fretdposition": {
  40561. "description": "冻结今日头寸",
  40562. "type": "integer"
  40563. },
  40564. "frozenqty": {
  40565. "description": "持仓冻结数量",
  40566. "type": "integer"
  40567. },
  40568. "goodscode": {
  40569. "description": "商品代码(内部)",
  40570. "type": "string"
  40571. },
  40572. "goodsid": {
  40573. "description": "商品Id",
  40574. "type": "integer"
  40575. },
  40576. "goodsname": {
  40577. "description": "商品名称",
  40578. "type": "string"
  40579. },
  40580. "goodunit": {
  40581. "description": "报价单位",
  40582. "type": "string"
  40583. },
  40584. "goodunitid": {
  40585. "description": "报价单位ID",
  40586. "type": "integer"
  40587. },
  40588. "holderamount": {
  40589. "description": "期初持仓总金额",
  40590. "type": "number"
  40591. },
  40592. "marketid": {
  40593. "description": "市场ID",
  40594. "type": "integer"
  40595. },
  40596. "openreqqty": {
  40597. "description": "开仓申请数量",
  40598. "type": "integer"
  40599. },
  40600. "opentotalqty": {
  40601. "description": "开仓总数量",
  40602. "type": "integer"
  40603. },
  40604. "otherfrozenqty": {
  40605. "description": "持仓其他冻结数量(交割冻结)",
  40606. "type": "integer"
  40607. },
  40608. "positionqty": {
  40609. "description": "期初持仓数量",
  40610. "type": "integer"
  40611. },
  40612. "szdz3freezqty": {
  40613. "description": "尚志大宗转换冻结总数量",
  40614. "type": "integer"
  40615. },
  40616. "tnqty": {
  40617. "description": "T+N冻结总量",
  40618. "type": "integer"
  40619. },
  40620. "tnusedqty": {
  40621. "description": "T+N使用量",
  40622. "type": "integer"
  40623. },
  40624. "trademode": {
  40625. "description": "交易模式",
  40626. "type": "integer"
  40627. },
  40628. "usedmargin": {
  40629. "description": "占用保证金",
  40630. "type": "number"
  40631. }
  40632. }
  40633. },
  40634. "taaccount.QueryAmountLogRsp": {
  40635. "type": "object",
  40636. "required": [
  40637. "accountid",
  40638. "amount",
  40639. "amountadjusttype",
  40640. "autoid",
  40641. "balance",
  40642. "createtime",
  40643. "currentbalance",
  40644. "operatetype"
  40645. ],
  40646. "properties": {
  40647. "OPERATETYPENAME": {
  40648. "description": "资金操作类型名称",
  40649. "type": "string"
  40650. },
  40651. "accountid": {
  40652. "description": "资金账户ID",
  40653. "type": "integer"
  40654. },
  40655. "agoodscode": {
  40656. "description": "竞拍商品代码",
  40657. "type": "string"
  40658. },
  40659. "agoodsname": {
  40660. "description": "竞拍商品名称",
  40661. "type": "string"
  40662. },
  40663. "amount": {
  40664. "description": "资金金额",
  40665. "type": "number"
  40666. },
  40667. "amountadjusttype": {
  40668. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  40669. "type": "integer"
  40670. },
  40671. "autoid": {
  40672. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  40673. "type": "integer"
  40674. },
  40675. "balance": {
  40676. "description": "期初余额",
  40677. "type": "number"
  40678. },
  40679. "businesscode": {
  40680. "description": "业务编号",
  40681. "type": "integer"
  40682. },
  40683. "createtime": {
  40684. "description": "发生时间",
  40685. "type": "string"
  40686. },
  40687. "currencyid": {
  40688. "description": "币种ID",
  40689. "type": "integer"
  40690. },
  40691. "currentbalance": {
  40692. "description": "期末余额(变动后金额)",
  40693. "type": "number"
  40694. },
  40695. "dgoodscode": {
  40696. "description": "交割商品代码",
  40697. "type": "string"
  40698. },
  40699. "dgoodsname": {
  40700. "description": "交割商品名称",
  40701. "type": "string"
  40702. },
  40703. "goodscode": {
  40704. "description": "商品代码",
  40705. "type": "string"
  40706. },
  40707. "goodsid": {
  40708. "description": "商品ID",
  40709. "type": "integer"
  40710. },
  40711. "goodsname": {
  40712. "description": "商品名称",
  40713. "type": "string"
  40714. },
  40715. "marketid": {
  40716. "description": "市场ID",
  40717. "type": "integer"
  40718. },
  40719. "marketname": {
  40720. "description": "市场名称",
  40721. "type": "string"
  40722. },
  40723. "moneyticket": {
  40724. "description": "资金流水号:银行端流水号",
  40725. "type": "integer"
  40726. },
  40727. "operatetype": {
  40728. "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:营销收款",
  40729. "type": "integer"
  40730. },
  40731. "relationorderid": {
  40732. "description": "关联单号",
  40733. "type": "string"
  40734. },
  40735. "remark": {
  40736. "description": "备注",
  40737. "type": "string"
  40738. },
  40739. "trademode": {
  40740. "description": "交易模式",
  40741. "type": "integer"
  40742. }
  40743. }
  40744. },
  40745. "taaccount.QueryHisAmountLogRsp": {
  40746. "type": "object",
  40747. "required": [
  40748. "accountid",
  40749. "amount",
  40750. "amountadjusttype",
  40751. "autoid",
  40752. "balance",
  40753. "createtime",
  40754. "currentbalance",
  40755. "histradedate",
  40756. "operatetype"
  40757. ],
  40758. "properties": {
  40759. "OPERATETYPENAME": {
  40760. "description": "资金操作类型名称",
  40761. "type": "string"
  40762. },
  40763. "accountid": {
  40764. "description": "资金账户ID",
  40765. "type": "integer"
  40766. },
  40767. "agoodscode": {
  40768. "description": "竞拍商品代码",
  40769. "type": "string"
  40770. },
  40771. "agoodsname": {
  40772. "description": "竞拍商品名称",
  40773. "type": "string"
  40774. },
  40775. "amount": {
  40776. "description": "资金金额",
  40777. "type": "number"
  40778. },
  40779. "amountadjusttype": {
  40780. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  40781. "type": "integer"
  40782. },
  40783. "autoid": {
  40784. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  40785. "type": "integer"
  40786. },
  40787. "balance": {
  40788. "description": "期初余额",
  40789. "type": "number"
  40790. },
  40791. "businesscode": {
  40792. "description": "业务编号",
  40793. "type": "integer"
  40794. },
  40795. "createtime": {
  40796. "description": "发生时间",
  40797. "type": "string"
  40798. },
  40799. "currencyid": {
  40800. "description": "币种ID",
  40801. "type": "integer"
  40802. },
  40803. "currentbalance": {
  40804. "description": "期末余额(变动后金额)",
  40805. "type": "number"
  40806. },
  40807. "dgoodscode": {
  40808. "description": "交割商品代码",
  40809. "type": "string"
  40810. },
  40811. "dgoodsname": {
  40812. "description": "交割商品名称",
  40813. "type": "string"
  40814. },
  40815. "goodscode": {
  40816. "description": "商品代码",
  40817. "type": "string"
  40818. },
  40819. "goodsid": {
  40820. "description": "商品ID",
  40821. "type": "integer"
  40822. },
  40823. "goodsname": {
  40824. "description": "商品名称",
  40825. "type": "string"
  40826. },
  40827. "histradedate": {
  40828. "description": "历史交易日",
  40829. "type": "string"
  40830. },
  40831. "isvaliddata": {
  40832. "description": "是否有效 - 0:无效 1:有效",
  40833. "type": "integer"
  40834. },
  40835. "marketid": {
  40836. "description": "市场ID",
  40837. "type": "integer"
  40838. },
  40839. "marketname": {
  40840. "description": "市场名称",
  40841. "type": "string"
  40842. },
  40843. "moneyticket": {
  40844. "description": "资金流水号:银行端流水号",
  40845. "type": "integer"
  40846. },
  40847. "operatetype": {
  40848. "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:营销收款",
  40849. "type": "integer"
  40850. },
  40851. "relationorderid": {
  40852. "description": "关联单号",
  40853. "type": "string"
  40854. },
  40855. "remark": {
  40856. "description": "备注",
  40857. "type": "string"
  40858. },
  40859. "trademode": {
  40860. "description": "交易模式",
  40861. "type": "integer"
  40862. }
  40863. }
  40864. },
  40865. "trade.QueryRecieptOrderRsp": {
  40866. "type": "object",
  40867. "required": [
  40868. "ordertime"
  40869. ],
  40870. "properties": {
  40871. "accountName": {
  40872. "description": "所属账号名称(已脱敏)",
  40873. "type": "string"
  40874. },
  40875. "accountid": {
  40876. "description": "资金账号",
  40877. "type": "integer"
  40878. },
  40879. "buyorsell": {
  40880. "description": "方向 - 0:买 1:卖",
  40881. "type": "integer"
  40882. },
  40883. "enableqty": {
  40884. "description": "可摘数量",
  40885. "type": "integer"
  40886. },
  40887. "goodscode": {
  40888. "description": "商品代码",
  40889. "type": "string"
  40890. },
  40891. "goodsid": {
  40892. "description": "商品ID",
  40893. "type": "integer"
  40894. },
  40895. "goodsname": {
  40896. "description": "商品名称",
  40897. "type": "string"
  40898. },
  40899. "orderid": {
  40900. "description": "委托单号",
  40901. "type": "string"
  40902. },
  40903. "orderprice": {
  40904. "description": "委托价格",
  40905. "type": "number"
  40906. },
  40907. "ordertime": {
  40908. "description": "委托时间",
  40909. "type": "string"
  40910. },
  40911. "tradedate": {
  40912. "description": "交易日(yyyyMMdd)",
  40913. "type": "string"
  40914. }
  40915. }
  40916. },
  40917. "user.LoginQueryRsp": {
  40918. "type": "object",
  40919. "properties": {
  40920. "areaRoles": {
  40921. "description": "所属角色信息",
  40922. "type": "array",
  40923. "items": {
  40924. "$ref": "#/definitions/models.Arearole"
  40925. }
  40926. },
  40927. "externalExchanges": {
  40928. "description": "外部交易所",
  40929. "type": "array",
  40930. "items": {
  40931. "$ref": "#/definitions/models.Externalexchange"
  40932. }
  40933. },
  40934. "goodsgroups": {
  40935. "description": "商品组",
  40936. "type": "array",
  40937. "items": {
  40938. "$ref": "#/definitions/models.Goodsgroup"
  40939. }
  40940. },
  40941. "loginAccount": {
  40942. "description": "登录账号",
  40943. "$ref": "#/definitions/models.Loginaccount"
  40944. },
  40945. "markets": {
  40946. "description": "市场",
  40947. "type": "array",
  40948. "items": {
  40949. "$ref": "#/definitions/models.Market"
  40950. }
  40951. },
  40952. "systemParams": {
  40953. "description": "系统参数",
  40954. "type": "array",
  40955. "items": {
  40956. "$ref": "#/definitions/models.Systemparam"
  40957. }
  40958. },
  40959. "userAccount": {
  40960. "description": "用户账号",
  40961. "$ref": "#/definitions/models.Useraccount"
  40962. },
  40963. "userInfo": {
  40964. "description": "用户信息",
  40965. "$ref": "#/definitions/models.Userinfo"
  40966. },
  40967. "username": {
  40968. "description": "用户姓名",
  40969. "type": "string"
  40970. }
  40971. }
  40972. }
  40973. },
  40974. "securityDefinitions": {
  40975. "ApiKeyAuth": {
  40976. "type": "apiKey",
  40977. "name": "Authorization",
  40978. "in": "header"
  40979. }
  40980. }
  40981. }`
  40982. type swaggerInfo struct {
  40983. Version string
  40984. Host string
  40985. BasePath string
  40986. Schemes []string
  40987. Title string
  40988. Description string
  40989. }
  40990. // SwaggerInfo holds exported Swagger Info so clients can modify it
  40991. var SwaggerInfo = swaggerInfo{
  40992. Version: "1.0",
  40993. Host: "",
  40994. BasePath: "/api",
  40995. Schemes: []string{},
  40996. Title: "MTP2.0 查询服务 API",
  40997. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  40998. }
  40999. type s struct{}
  41000. func (s *s) ReadDoc() string {
  41001. sInfo := SwaggerInfo
  41002. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  41003. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  41004. "marshal": func(v interface{}) string {
  41005. a, _ := json.Marshal(v)
  41006. return string(a)
  41007. },
  41008. "escape": func(v interface{}) string {
  41009. // escape tabs
  41010. str := strings.Replace(v.(string), "\t", "\\t", -1)
  41011. // replace " with \", and if that results in \\", replace that with \\\"
  41012. str = strings.Replace(str, "\"", "\\\"", -1)
  41013. return strings.Replace(str, "\\\\\"", "\\\\\\\"", -1)
  41014. },
  41015. }).Parse(doc)
  41016. if err != nil {
  41017. return doc
  41018. }
  41019. var tpl bytes.Buffer
  41020. if err := t.Execute(&tpl, sInfo); err != nil {
  41021. return doc
  41022. }
  41023. return tpl.String()
  41024. }
  41025. func init() {
  41026. swag.Register("swagger", &s{})
  41027. }