docs.go 1.4 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://www.muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "parameters": [
  378. {
  379. "type": "integer",
  380. "description": "起始自增ID",
  381. "name": "autoid",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/models.Enumdicitem"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/GetClientMenus": {
  402. "get": {
  403. "security": [
  404. {
  405. "ApiKeyAuth": []
  406. }
  407. ],
  408. "produces": [
  409. "application/json"
  410. ],
  411. "tags": [
  412. "通用服务"
  413. ],
  414. "summary": "获取交易端菜单",
  415. "parameters": [
  416. {
  417. "type": "integer",
  418. "description": "登录账号",
  419. "name": "loginID",
  420. "in": "query",
  421. "required": true
  422. },
  423. {
  424. "type": "integer",
  425. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  426. "name": "clientType",
  427. "in": "query"
  428. },
  429. {
  430. "type": "string",
  431. "description": "分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台",
  432. "name": "name",
  433. "in": "query"
  434. }
  435. ],
  436. "responses": {
  437. "200": {
  438. "description": "OK",
  439. "schema": {
  440. "type": "array",
  441. "items": {
  442. "$ref": "#/definitions/common.ClientMenu"
  443. }
  444. }
  445. },
  446. "500": {
  447. "description": "Internal Server Error",
  448. "schema": {
  449. "$ref": "#/definitions/app.Response"
  450. }
  451. }
  452. }
  453. }
  454. },
  455. "/Common/GetDivisions": {
  456. "get": {
  457. "produces": [
  458. "application/json"
  459. ],
  460. "tags": [
  461. "通用服务"
  462. ],
  463. "summary": "查询区域信息",
  464. "responses": {
  465. "200": {
  466. "description": "OK",
  467. "schema": {
  468. "$ref": "#/definitions/models.Division"
  469. }
  470. },
  471. "500": {
  472. "description": "Internal Server Error",
  473. "schema": {
  474. "$ref": "#/definitions/app.Response"
  475. }
  476. }
  477. }
  478. }
  479. },
  480. "/Common/GetPCWebMenus": {
  481. "get": {
  482. "security": [
  483. {
  484. "ApiKeyAuth": []
  485. }
  486. ],
  487. "produces": [
  488. "application/json"
  489. ],
  490. "tags": [
  491. "通用服务"
  492. ],
  493. "summary": "获取PCWeb交易端菜单",
  494. "parameters": [
  495. {
  496. "type": "integer",
  497. "description": "登录账号",
  498. "name": "loginID",
  499. "in": "query",
  500. "required": true
  501. },
  502. {
  503. "type": "string",
  504. "description": "分支名称,ermcp:风管云平台,不传默认返回ermcp",
  505. "name": "name",
  506. "in": "query"
  507. }
  508. ],
  509. "responses": {
  510. "200": {
  511. "description": "OK",
  512. "schema": {
  513. "type": "array",
  514. "items": {
  515. "$ref": "#/definitions/common.PCWebMenu"
  516. }
  517. }
  518. },
  519. "500": {
  520. "description": "Internal Server Error",
  521. "schema": {
  522. "$ref": "#/definitions/app.Response"
  523. }
  524. }
  525. }
  526. }
  527. },
  528. "/Common/GetServerTime": {
  529. "get": {
  530. "produces": [
  531. "application/json"
  532. ],
  533. "tags": [
  534. "通用服务"
  535. ],
  536. "summary": "获取服务器时间",
  537. "responses": {
  538. "200": {
  539. "description": "OK",
  540. "schema": {
  541. "$ref": "#/definitions/app.Response"
  542. }
  543. },
  544. "500": {
  545. "description": "Internal Server Error",
  546. "schema": {
  547. "$ref": "#/definitions/app.Response"
  548. }
  549. }
  550. }
  551. }
  552. },
  553. "/Common/NoticeReaded": {
  554. "post": {
  555. "security": [
  556. {
  557. "ApiKeyAuth": []
  558. }
  559. ],
  560. "produces": [
  561. "application/json"
  562. ],
  563. "tags": [
  564. "通用服务"
  565. ],
  566. "summary": "通知公告设置已读请求",
  567. "parameters": [
  568. {
  569. "type": "integer",
  570. "description": "登录账号",
  571. "name": "loginID",
  572. "in": "query",
  573. "required": true
  574. },
  575. {
  576. "type": "integer",
  577. "description": "通知公告ID",
  578. "name": "noticeID",
  579. "in": "query",
  580. "required": true
  581. }
  582. ],
  583. "responses": {
  584. "200": {
  585. "description": "OK",
  586. "schema": {
  587. "$ref": "#/definitions/app.Response"
  588. }
  589. },
  590. "500": {
  591. "description": "Internal Server Error",
  592. "schema": {
  593. "$ref": "#/definitions/app.Response"
  594. }
  595. }
  596. }
  597. }
  598. },
  599. "/Common/QueryErrorInfos": {
  600. "get": {
  601. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  602. "produces": [
  603. "application/json"
  604. ],
  605. "tags": [
  606. "通用服务"
  607. ],
  608. "summary": "获取数据库错误信息",
  609. "parameters": [
  610. {
  611. "type": "string",
  612. "description": "起始行号前索引",
  613. "name": "rowNumber",
  614. "in": "query"
  615. }
  616. ],
  617. "responses": {
  618. "200": {
  619. "description": "OK",
  620. "schema": {
  621. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  622. }
  623. },
  624. "500": {
  625. "description": "Internal Server Error",
  626. "schema": {
  627. "$ref": "#/definitions/app.Response"
  628. }
  629. }
  630. }
  631. }
  632. },
  633. "/Common/QueryImageConfigs": {
  634. "get": {
  635. "produces": [
  636. "application/json"
  637. ],
  638. "tags": [
  639. "通用服务"
  640. ],
  641. "summary": "查询轮播图配置信息",
  642. "parameters": [
  643. {
  644. "type": "integer",
  645. "description": "用户id",
  646. "name": "userId",
  647. "in": "query"
  648. },
  649. {
  650. "type": "integer",
  651. "description": "类型 - 1:App首页轮播 2:我的",
  652. "name": "imageType",
  653. "in": "query"
  654. }
  655. ],
  656. "responses": {
  657. "200": {
  658. "description": "OK",
  659. "schema": {
  660. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  661. }
  662. },
  663. "500": {
  664. "description": "Internal Server Error",
  665. "schema": {
  666. "$ref": "#/definitions/app.Response"
  667. }
  668. }
  669. }
  670. }
  671. },
  672. "/Common/QueryNotice": {
  673. "get": {
  674. "security": [
  675. {
  676. "ApiKeyAuth": []
  677. }
  678. ],
  679. "produces": [
  680. "application/json"
  681. ],
  682. "tags": [
  683. "通用服务"
  684. ],
  685. "summary": "通知公告系统消息查询",
  686. "parameters": [
  687. {
  688. "type": "integer",
  689. "description": "页码",
  690. "name": "page",
  691. "in": "query"
  692. },
  693. {
  694. "type": "integer",
  695. "description": "每页条数",
  696. "name": "pagesize",
  697. "in": "query"
  698. },
  699. {
  700. "type": "integer",
  701. "description": "登录账号",
  702. "name": "loginID",
  703. "in": "query",
  704. "required": true
  705. },
  706. {
  707. "type": "integer",
  708. "description": "消息类型 - 1:公告通知 2:系统消息",
  709. "name": "msgType",
  710. "in": "query"
  711. },
  712. {
  713. "type": "boolean",
  714. "description": "是否只获取未读信息",
  715. "name": "onlyUnRead",
  716. "in": "query"
  717. },
  718. {
  719. "type": "integer",
  720. "description": "自增ID,传入后会返回这个ID后面的记录",
  721. "name": "lastID",
  722. "in": "query"
  723. }
  724. ],
  725. "responses": {
  726. "200": {
  727. "description": "OK",
  728. "schema": {
  729. "$ref": "#/definitions/common.QueryNoticeRsp"
  730. }
  731. },
  732. "500": {
  733. "description": "Internal Server Error",
  734. "schema": {
  735. "$ref": "#/definitions/app.Response"
  736. }
  737. }
  738. }
  739. }
  740. },
  741. "/Common/QueryProvincesAndCities": {
  742. "get": {
  743. "produces": [
  744. "application/json"
  745. ],
  746. "tags": [
  747. "通用服务"
  748. ],
  749. "summary": "查询省市信息(不包括区)",
  750. "parameters": [
  751. {
  752. "type": "integer",
  753. "description": "省ID",
  754. "name": "provinceID",
  755. "in": "query"
  756. }
  757. ],
  758. "responses": {
  759. "200": {
  760. "description": "OK",
  761. "schema": {
  762. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  763. }
  764. },
  765. "500": {
  766. "description": "Internal Server Error",
  767. "schema": {
  768. "$ref": "#/definitions/app.Response"
  769. }
  770. }
  771. }
  772. }
  773. },
  774. "/Common/QueryTableDefine": {
  775. "get": {
  776. "produces": [
  777. "application/json"
  778. ],
  779. "tags": [
  780. "通用服务"
  781. ],
  782. "summary": "查询交易端列表头信息",
  783. "parameters": [
  784. {
  785. "type": "string",
  786. "description": "表key",
  787. "name": "tableKey",
  788. "in": "query"
  789. },
  790. {
  791. "type": "integer",
  792. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  793. "name": "tableType",
  794. "in": "query"
  795. }
  796. ],
  797. "responses": {
  798. "200": {
  799. "description": "OK",
  800. "schema": {
  801. "$ref": "#/definitions/common.QueryTableDefineRsp"
  802. }
  803. },
  804. "500": {
  805. "description": "Internal Server Error",
  806. "schema": {
  807. "$ref": "#/definitions/app.Response"
  808. }
  809. }
  810. }
  811. }
  812. },
  813. "/Common/QueryTraderMenu": {
  814. "get": {
  815. "produces": [
  816. "application/json"
  817. ],
  818. "tags": [
  819. "通用服务"
  820. ],
  821. "summary": "查询交易端菜单",
  822. "parameters": [
  823. {
  824. "type": "integer",
  825. "description": "登录账号",
  826. "name": "loginid",
  827. "in": "query",
  828. "required": true
  829. }
  830. ],
  831. "responses": {
  832. "200": {
  833. "description": "OK",
  834. "schema": {
  835. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  836. }
  837. },
  838. "500": {
  839. "description": "Internal Server Error",
  840. "schema": {
  841. "$ref": "#/definitions/app.Response"
  842. }
  843. }
  844. }
  845. }
  846. },
  847. "/Delivery/QueryDeliveryRelation": {
  848. "get": {
  849. "security": [
  850. {
  851. "ApiKeyAuth": []
  852. }
  853. ],
  854. "produces": [
  855. "application/json"
  856. ],
  857. "tags": [
  858. "交割服务"
  859. ],
  860. "summary": "查询商品交割关系表",
  861. "parameters": [
  862. {
  863. "type": "integer",
  864. "description": "商品ID",
  865. "name": "goodsid",
  866. "in": "query"
  867. },
  868. {
  869. "type": "integer",
  870. "description": "品种ID",
  871. "name": "deliverygoodsid",
  872. "in": "query"
  873. },
  874. {
  875. "type": "integer",
  876. "description": "市场ID",
  877. "name": "marketid",
  878. "in": "query"
  879. }
  880. ],
  881. "responses": {
  882. "200": {
  883. "description": "OK",
  884. "schema": {
  885. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  886. }
  887. },
  888. "500": {
  889. "description": "Internal Server Error",
  890. "schema": {
  891. "$ref": "#/definitions/app.Response"
  892. }
  893. }
  894. }
  895. }
  896. },
  897. "/Ermcp/GetErmcpGoods": {
  898. "get": {
  899. "security": [
  900. {
  901. "ApiKeyAuth": []
  902. }
  903. ],
  904. "produces": [
  905. "application/json"
  906. ],
  907. "tags": [
  908. "企业风险管理(app)"
  909. ],
  910. "summary": "查询企业风管期货商品信息",
  911. "parameters": [
  912. {
  913. "type": "string",
  914. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  915. "name": "lastUpdateTime",
  916. "in": "query"
  917. }
  918. ],
  919. "responses": {
  920. "200": {
  921. "description": "OK",
  922. "schema": {
  923. "$ref": "#/definitions/models.ErmcpGoods"
  924. }
  925. },
  926. "500": {
  927. "description": "Internal Server Error",
  928. "schema": {
  929. "$ref": "#/definitions/app.Response"
  930. }
  931. }
  932. }
  933. }
  934. },
  935. "/Ermcp/GetErmcpGoodsSortByPosition": {
  936. "get": {
  937. "security": [
  938. {
  939. "ApiKeyAuth": []
  940. }
  941. ],
  942. "produces": [
  943. "application/json"
  944. ],
  945. "tags": [
  946. "企业风险管理(app)"
  947. ],
  948. "summary": "查询企业风管期货主力、次主力商品信息",
  949. "parameters": [
  950. {
  951. "type": "string",
  952. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  953. "name": "sortIndex",
  954. "in": "query"
  955. }
  956. ],
  957. "responses": {
  958. "200": {
  959. "description": "OK",
  960. "schema": {
  961. "$ref": "#/definitions/models.Goodssortbypreposition"
  962. }
  963. },
  964. "500": {
  965. "description": "Internal Server Error",
  966. "schema": {
  967. "$ref": "#/definitions/app.Response"
  968. }
  969. }
  970. }
  971. }
  972. },
  973. "/Ermcp/GetErmcpOutAccountStatus": {
  974. "get": {
  975. "security": [
  976. {
  977. "ApiKeyAuth": []
  978. }
  979. ],
  980. "produces": [
  981. "application/json"
  982. ],
  983. "tags": [
  984. "企业风险管理(app)"
  985. ],
  986. "summary": "获取目标登录账号当前对冲账号在线状态",
  987. "parameters": [
  988. {
  989. "type": "integer",
  990. "description": "登录账号",
  991. "name": "loginID",
  992. "in": "query",
  993. "required": true
  994. }
  995. ],
  996. "responses": {
  997. "200": {
  998. "description": "OK",
  999. "schema": {
  1000. "$ref": "#/definitions/models.Hedgemarketopenlog"
  1001. }
  1002. },
  1003. "500": {
  1004. "description": "Internal Server Error",
  1005. "schema": {
  1006. "$ref": "#/definitions/app.Response"
  1007. }
  1008. }
  1009. }
  1010. }
  1011. },
  1012. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1013. "get": {
  1014. "security": [
  1015. {
  1016. "ApiKeyAuth": []
  1017. }
  1018. ],
  1019. "produces": [
  1020. "application/json"
  1021. ],
  1022. "tags": [
  1023. "企业风险管理(app)"
  1024. ],
  1025. "summary": "获取企业风管终端权限",
  1026. "parameters": [
  1027. {
  1028. "type": "integer",
  1029. "description": "登录账号",
  1030. "name": "loginID",
  1031. "in": "query",
  1032. "required": true
  1033. }
  1034. ],
  1035. "responses": {
  1036. "200": {
  1037. "description": "OK",
  1038. "schema": {
  1039. "$ref": "#/definitions/models.Funcmenulist"
  1040. }
  1041. },
  1042. "500": {
  1043. "description": "Internal Server Error",
  1044. "schema": {
  1045. "$ref": "#/definitions/app.Response"
  1046. }
  1047. }
  1048. }
  1049. }
  1050. },
  1051. "/Ermcp/QueryAccMgrBizGroupSet": {
  1052. "get": {
  1053. "security": [
  1054. {
  1055. "ApiKeyAuth": []
  1056. }
  1057. ],
  1058. "produces": [
  1059. "application/json"
  1060. ],
  1061. "tags": [
  1062. "企业风险管理(app)"
  1063. ],
  1064. "summary": "查询业务类型分组(账户管理/账户设置)",
  1065. "parameters": [
  1066. {
  1067. "type": "integer",
  1068. "description": "用户ID",
  1069. "name": "userid",
  1070. "in": "query",
  1071. "required": true
  1072. },
  1073. {
  1074. "type": "integer",
  1075. "description": "现货商品id",
  1076. "name": "deliverygoodsid",
  1077. "in": "query"
  1078. }
  1079. ],
  1080. "responses": {
  1081. "200": {
  1082. "description": "OK",
  1083. "schema": {
  1084. "type": "array",
  1085. "items": {
  1086. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1087. }
  1088. }
  1089. },
  1090. "500": {
  1091. "description": "Internal Server Error",
  1092. "schema": {
  1093. "$ref": "#/definitions/app.Response"
  1094. }
  1095. }
  1096. }
  1097. }
  1098. },
  1099. "/Ermcp/QueryAccMgrLoginUser": {
  1100. "get": {
  1101. "security": [
  1102. {
  1103. "ApiKeyAuth": []
  1104. }
  1105. ],
  1106. "produces": [
  1107. "application/json"
  1108. ],
  1109. "tags": [
  1110. "企业风险管理(app)"
  1111. ],
  1112. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1113. "parameters": [
  1114. {
  1115. "type": "integer",
  1116. "description": "用户ID",
  1117. "name": "userid",
  1118. "in": "query",
  1119. "required": true
  1120. },
  1121. {
  1122. "type": "integer",
  1123. "description": "用户类型 2-机构 7-企业成员",
  1124. "name": "usertype",
  1125. "in": "query"
  1126. },
  1127. {
  1128. "type": "integer",
  1129. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1130. "name": "querytype",
  1131. "in": "query",
  1132. "required": true
  1133. }
  1134. ],
  1135. "responses": {
  1136. "200": {
  1137. "description": "OK",
  1138. "schema": {
  1139. "type": "array",
  1140. "items": {
  1141. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1142. }
  1143. }
  1144. },
  1145. "500": {
  1146. "description": "Internal Server Error",
  1147. "schema": {
  1148. "$ref": "#/definitions/app.Response"
  1149. }
  1150. }
  1151. }
  1152. }
  1153. },
  1154. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1155. "get": {
  1156. "security": [
  1157. {
  1158. "ApiKeyAuth": []
  1159. }
  1160. ],
  1161. "produces": [
  1162. "application/json"
  1163. ],
  1164. "tags": [
  1165. "企业风险管理(app)"
  1166. ],
  1167. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1168. "parameters": [
  1169. {
  1170. "type": "integer",
  1171. "description": "用户ID",
  1172. "name": "userid",
  1173. "in": "query"
  1174. },
  1175. {
  1176. "type": "integer",
  1177. "description": "主账号id",
  1178. "name": "accountid",
  1179. "in": "query"
  1180. }
  1181. ],
  1182. "responses": {
  1183. "200": {
  1184. "description": "OK",
  1185. "schema": {
  1186. "type": "array",
  1187. "items": {
  1188. "$ref": "#/definitions/models.MainAccountInfo"
  1189. }
  1190. }
  1191. },
  1192. "500": {
  1193. "description": "Internal Server Error",
  1194. "schema": {
  1195. "$ref": "#/definitions/app.Response"
  1196. }
  1197. }
  1198. }
  1199. }
  1200. },
  1201. "/Ermcp/QueryAccMgrRole": {
  1202. "get": {
  1203. "security": [
  1204. {
  1205. "ApiKeyAuth": []
  1206. }
  1207. ],
  1208. "produces": [
  1209. "application/json"
  1210. ],
  1211. "tags": [
  1212. "企业风险管理(app)"
  1213. ],
  1214. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1215. "parameters": [
  1216. {
  1217. "type": "integer",
  1218. "description": "用户ID",
  1219. "name": "userid",
  1220. "in": "query",
  1221. "required": true
  1222. }
  1223. ],
  1224. "responses": {
  1225. "200": {
  1226. "description": "OK",
  1227. "schema": {
  1228. "type": "array",
  1229. "items": {
  1230. "$ref": "#/definitions/models.ErmcpRole"
  1231. }
  1232. }
  1233. },
  1234. "500": {
  1235. "description": "Internal Server Error",
  1236. "schema": {
  1237. "$ref": "#/definitions/app.Response"
  1238. }
  1239. }
  1240. }
  1241. }
  1242. },
  1243. "/Ermcp/QueryAccMgrRoleMenu": {
  1244. "get": {
  1245. "security": [
  1246. {
  1247. "ApiKeyAuth": []
  1248. }
  1249. ],
  1250. "produces": [
  1251. "application/json"
  1252. ],
  1253. "tags": [
  1254. "企业风险管理(app)"
  1255. ],
  1256. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1257. "parameters": [
  1258. {
  1259. "type": "integer",
  1260. "description": "用户ID",
  1261. "name": "userid",
  1262. "in": "query",
  1263. "required": true
  1264. },
  1265. {
  1266. "type": "string",
  1267. "description": "角色id(可多个,逗号隔开)",
  1268. "name": "roleid",
  1269. "in": "query"
  1270. },
  1271. {
  1272. "type": "integer",
  1273. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1274. "name": "menutype",
  1275. "in": "query"
  1276. }
  1277. ],
  1278. "responses": {
  1279. "200": {
  1280. "description": "OK",
  1281. "schema": {
  1282. "type": "array",
  1283. "items": {
  1284. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1285. }
  1286. }
  1287. },
  1288. "500": {
  1289. "description": "Internal Server Error",
  1290. "schema": {
  1291. "$ref": "#/definitions/app.Response"
  1292. }
  1293. }
  1294. }
  1295. }
  1296. },
  1297. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1298. "get": {
  1299. "security": [
  1300. {
  1301. "ApiKeyAuth": []
  1302. }
  1303. ],
  1304. "produces": [
  1305. "application/json"
  1306. ],
  1307. "tags": [
  1308. "企业风险管理(app)"
  1309. ],
  1310. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1311. "parameters": [
  1312. {
  1313. "type": "integer",
  1314. "description": "用户ID",
  1315. "name": "userid",
  1316. "in": "query",
  1317. "required": true
  1318. },
  1319. {
  1320. "type": "integer",
  1321. "description": "账号id",
  1322. "name": "accountid",
  1323. "in": "query"
  1324. }
  1325. ],
  1326. "responses": {
  1327. "200": {
  1328. "description": "OK",
  1329. "schema": {
  1330. "type": "array",
  1331. "items": {
  1332. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1333. }
  1334. }
  1335. },
  1336. "500": {
  1337. "description": "Internal Server Error",
  1338. "schema": {
  1339. "$ref": "#/definitions/app.Response"
  1340. }
  1341. }
  1342. }
  1343. }
  1344. },
  1345. "/Ermcp/QueryAccMgrTaaccount": {
  1346. "get": {
  1347. "security": [
  1348. {
  1349. "ApiKeyAuth": []
  1350. }
  1351. ],
  1352. "produces": [
  1353. "application/json"
  1354. ],
  1355. "tags": [
  1356. "企业风险管理(app)"
  1357. ],
  1358. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1359. "parameters": [
  1360. {
  1361. "type": "integer",
  1362. "description": "用户ID",
  1363. "name": "userid",
  1364. "in": "query",
  1365. "required": true
  1366. }
  1367. ],
  1368. "responses": {
  1369. "200": {
  1370. "description": "OK",
  1371. "schema": {
  1372. "type": "array",
  1373. "items": {
  1374. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1375. }
  1376. }
  1377. },
  1378. "500": {
  1379. "description": "Internal Server Error",
  1380. "schema": {
  1381. "$ref": "#/definitions/app.Response"
  1382. }
  1383. }
  1384. }
  1385. }
  1386. },
  1387. "/Ermcp/QueryAvaildGoodsGroup": {
  1388. "get": {
  1389. "security": [
  1390. {
  1391. "ApiKeyAuth": []
  1392. }
  1393. ],
  1394. "produces": [
  1395. "application/json"
  1396. ],
  1397. "tags": [
  1398. "企业风险管理(app)"
  1399. ],
  1400. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1401. "parameters": [
  1402. {
  1403. "type": "integer",
  1404. "description": "所属机构ID",
  1405. "name": "userid",
  1406. "in": "query",
  1407. "required": true
  1408. }
  1409. ],
  1410. "responses": {
  1411. "200": {
  1412. "description": "OK",
  1413. "schema": {
  1414. "type": "array",
  1415. "items": {
  1416. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1417. }
  1418. }
  1419. },
  1420. "500": {
  1421. "description": "Internal Server Error",
  1422. "schema": {
  1423. "$ref": "#/definitions/app.Response"
  1424. }
  1425. }
  1426. }
  1427. }
  1428. },
  1429. "/Ermcp/QueryBusinessDj": {
  1430. "get": {
  1431. "security": [
  1432. {
  1433. "ApiKeyAuth": []
  1434. }
  1435. ],
  1436. "produces": [
  1437. "application/json"
  1438. ],
  1439. "tags": [
  1440. "企业风险管理(app)"
  1441. ],
  1442. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1443. "parameters": [
  1444. {
  1445. "type": "integer",
  1446. "description": "用户ID",
  1447. "name": "UserId",
  1448. "in": "query",
  1449. "required": true
  1450. },
  1451. {
  1452. "type": "integer",
  1453. "description": "用户类型 2-机构 7-企业成员",
  1454. "name": "usertype",
  1455. "in": "query"
  1456. },
  1457. {
  1458. "type": "string",
  1459. "description": "现货合同ID, 不填则查所有",
  1460. "name": "relatedid",
  1461. "in": "query"
  1462. },
  1463. {
  1464. "type": "string",
  1465. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1466. "name": "applystatus",
  1467. "in": "query"
  1468. }
  1469. ],
  1470. "responses": {
  1471. "200": {
  1472. "description": "OK",
  1473. "schema": {
  1474. "type": "array",
  1475. "items": {
  1476. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1477. }
  1478. }
  1479. },
  1480. "500": {
  1481. "description": "Internal Server Error",
  1482. "schema": {
  1483. "$ref": "#/definitions/app.Response"
  1484. }
  1485. }
  1486. }
  1487. }
  1488. },
  1489. "/Ermcp/QueryBusinessFp": {
  1490. "get": {
  1491. "security": [
  1492. {
  1493. "ApiKeyAuth": []
  1494. }
  1495. ],
  1496. "produces": [
  1497. "application/json"
  1498. ],
  1499. "tags": [
  1500. "企业风险管理(app)"
  1501. ],
  1502. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1503. "parameters": [
  1504. {
  1505. "type": "integer",
  1506. "description": "用户ID",
  1507. "name": "UserId",
  1508. "in": "query",
  1509. "required": true
  1510. },
  1511. {
  1512. "type": "integer",
  1513. "description": "用户类型 2-机构 7-企业成员",
  1514. "name": "usertype",
  1515. "in": "query"
  1516. },
  1517. {
  1518. "type": "string",
  1519. "description": "现货合同ID, 不填则查所有",
  1520. "name": "relatedid",
  1521. "in": "query"
  1522. },
  1523. {
  1524. "type": "string",
  1525. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1526. "name": "applystatus",
  1527. "in": "query"
  1528. }
  1529. ],
  1530. "responses": {
  1531. "200": {
  1532. "description": "OK",
  1533. "schema": {
  1534. "type": "array",
  1535. "items": {
  1536. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1537. }
  1538. }
  1539. },
  1540. "500": {
  1541. "description": "Internal Server Error",
  1542. "schema": {
  1543. "$ref": "#/definitions/app.Response"
  1544. }
  1545. }
  1546. }
  1547. }
  1548. },
  1549. "/Ermcp/QueryBusinessJs": {
  1550. "get": {
  1551. "security": [
  1552. {
  1553. "ApiKeyAuth": []
  1554. }
  1555. ],
  1556. "produces": [
  1557. "application/json"
  1558. ],
  1559. "tags": [
  1560. "企业风险管理(app)"
  1561. ],
  1562. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1563. "parameters": [
  1564. {
  1565. "type": "integer",
  1566. "description": "用户ID",
  1567. "name": "UserId",
  1568. "in": "query",
  1569. "required": true
  1570. },
  1571. {
  1572. "type": "integer",
  1573. "description": "用户类型 2-机构 7-企业成员",
  1574. "name": "usertype",
  1575. "in": "query"
  1576. },
  1577. {
  1578. "type": "string",
  1579. "description": "现货合同ID, 不填则查所有",
  1580. "name": "relatedid",
  1581. "in": "query"
  1582. },
  1583. {
  1584. "type": "string",
  1585. "description": "操作申请id",
  1586. "name": "operateapplyid",
  1587. "in": "query"
  1588. },
  1589. {
  1590. "type": "string",
  1591. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1592. "name": "applystatus",
  1593. "in": "query"
  1594. }
  1595. ],
  1596. "responses": {
  1597. "200": {
  1598. "description": "OK",
  1599. "schema": {
  1600. "type": "array",
  1601. "items": {
  1602. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1603. }
  1604. }
  1605. },
  1606. "500": {
  1607. "description": "Internal Server Error",
  1608. "schema": {
  1609. "$ref": "#/definitions/app.Response"
  1610. }
  1611. }
  1612. }
  1613. }
  1614. },
  1615. "/Ermcp/QueryBusinessJsEx": {
  1616. "get": {
  1617. "security": [
  1618. {
  1619. "ApiKeyAuth": []
  1620. }
  1621. ],
  1622. "produces": [
  1623. "application/json"
  1624. ],
  1625. "tags": [
  1626. "企业风险管理(app)"
  1627. ],
  1628. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1629. "parameters": [
  1630. {
  1631. "type": "integer",
  1632. "description": "用户ID",
  1633. "name": "UserId",
  1634. "in": "query",
  1635. "required": true
  1636. },
  1637. {
  1638. "type": "integer",
  1639. "description": "用户类型 2-机构 7-企业成员",
  1640. "name": "usertype",
  1641. "in": "query"
  1642. },
  1643. {
  1644. "type": "string",
  1645. "description": "现货合同ID, 不填则查所有",
  1646. "name": "relatedid",
  1647. "in": "query"
  1648. },
  1649. {
  1650. "type": "string",
  1651. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1652. "name": "applystatus",
  1653. "in": "query"
  1654. }
  1655. ],
  1656. "responses": {
  1657. "200": {
  1658. "description": "OK",
  1659. "schema": {
  1660. "type": "array",
  1661. "items": {
  1662. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1663. }
  1664. }
  1665. },
  1666. "500": {
  1667. "description": "Internal Server Error",
  1668. "schema": {
  1669. "$ref": "#/definitions/app.Response"
  1670. }
  1671. }
  1672. }
  1673. }
  1674. },
  1675. "/Ermcp/QueryBusinessKx": {
  1676. "get": {
  1677. "security": [
  1678. {
  1679. "ApiKeyAuth": []
  1680. }
  1681. ],
  1682. "produces": [
  1683. "application/json"
  1684. ],
  1685. "tags": [
  1686. "企业风险管理(app)"
  1687. ],
  1688. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1689. "parameters": [
  1690. {
  1691. "type": "integer",
  1692. "description": "用户ID",
  1693. "name": "UserId",
  1694. "in": "query",
  1695. "required": true
  1696. },
  1697. {
  1698. "type": "integer",
  1699. "description": "用户类型 2-机构 7-企业成员",
  1700. "name": "usertype",
  1701. "in": "query"
  1702. },
  1703. {
  1704. "type": "string",
  1705. "description": "现货合同ID, 不填则查所有",
  1706. "name": "relatedid",
  1707. "in": "query"
  1708. },
  1709. {
  1710. "type": "string",
  1711. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1712. "name": "applystatus",
  1713. "in": "query"
  1714. }
  1715. ],
  1716. "responses": {
  1717. "200": {
  1718. "description": "OK",
  1719. "schema": {
  1720. "type": "array",
  1721. "items": {
  1722. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1723. }
  1724. }
  1725. },
  1726. "500": {
  1727. "description": "Internal Server Error",
  1728. "schema": {
  1729. "$ref": "#/definitions/app.Response"
  1730. }
  1731. }
  1732. }
  1733. }
  1734. },
  1735. "/Ermcp/QueryChangeLog": {
  1736. "get": {
  1737. "security": [
  1738. {
  1739. "ApiKeyAuth": []
  1740. }
  1741. ],
  1742. "produces": [
  1743. "application/json"
  1744. ],
  1745. "tags": [
  1746. "企业风险管理(app)"
  1747. ],
  1748. "summary": "查询变更记录",
  1749. "parameters": [
  1750. {
  1751. "type": "string",
  1752. "description": "合同ID",
  1753. "name": "RelatedId",
  1754. "in": "query",
  1755. "required": true
  1756. }
  1757. ],
  1758. "responses": {
  1759. "200": {
  1760. "description": "OK",
  1761. "schema": {
  1762. "type": "array",
  1763. "items": {
  1764. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1765. }
  1766. }
  1767. },
  1768. "500": {
  1769. "description": "Internal Server Error",
  1770. "schema": {
  1771. "$ref": "#/definitions/app.Response"
  1772. }
  1773. }
  1774. }
  1775. }
  1776. },
  1777. "/Ermcp/QueryErmcpHisOrderDetails": {
  1778. "get": {
  1779. "security": [
  1780. {
  1781. "ApiKeyAuth": []
  1782. }
  1783. ],
  1784. "produces": [
  1785. "application/json"
  1786. ],
  1787. "tags": [
  1788. "企业风险管理(app)"
  1789. ],
  1790. "summary": "获取企业风管期货历史委托单信息",
  1791. "parameters": [
  1792. {
  1793. "type": "integer",
  1794. "description": "资金账户ID",
  1795. "name": "accountID",
  1796. "in": "query",
  1797. "required": true
  1798. },
  1799. {
  1800. "type": "string",
  1801. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1802. "name": "startDate",
  1803. "in": "query"
  1804. },
  1805. {
  1806. "type": "string",
  1807. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1808. "name": "endDate",
  1809. "in": "query"
  1810. }
  1811. ],
  1812. "responses": {
  1813. "200": {
  1814. "description": "OK",
  1815. "schema": {
  1816. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1817. }
  1818. },
  1819. "500": {
  1820. "description": "Internal Server Error",
  1821. "schema": {
  1822. "$ref": "#/definitions/app.Response"
  1823. }
  1824. }
  1825. }
  1826. }
  1827. },
  1828. "/Ermcp/QueryErmcpHisTradeDetails": {
  1829. "get": {
  1830. "security": [
  1831. {
  1832. "ApiKeyAuth": []
  1833. }
  1834. ],
  1835. "produces": [
  1836. "application/json"
  1837. ],
  1838. "tags": [
  1839. "企业风险管理(app)"
  1840. ],
  1841. "summary": "获取企业风管期货历史成交单信息",
  1842. "parameters": [
  1843. {
  1844. "type": "integer",
  1845. "description": "资金账户ID",
  1846. "name": "accountID",
  1847. "in": "query",
  1848. "required": true
  1849. },
  1850. {
  1851. "type": "integer",
  1852. "description": "商品ID",
  1853. "name": "goodsID",
  1854. "in": "query"
  1855. },
  1856. {
  1857. "type": "integer",
  1858. "description": "买卖方向,0:买 1:卖",
  1859. "name": "buyOrSell",
  1860. "in": "query"
  1861. },
  1862. {
  1863. "type": "integer",
  1864. "description": "关联委托单号",
  1865. "name": "orderID",
  1866. "in": "query"
  1867. },
  1868. {
  1869. "type": "string",
  1870. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1871. "name": "startDate",
  1872. "in": "query"
  1873. },
  1874. {
  1875. "type": "string",
  1876. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1877. "name": "endDate",
  1878. "in": "query"
  1879. }
  1880. ],
  1881. "responses": {
  1882. "200": {
  1883. "description": "OK",
  1884. "schema": {
  1885. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1886. }
  1887. },
  1888. "500": {
  1889. "description": "Internal Server Error",
  1890. "schema": {
  1891. "$ref": "#/definitions/app.Response"
  1892. }
  1893. }
  1894. }
  1895. }
  1896. },
  1897. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1898. "get": {
  1899. "security": [
  1900. {
  1901. "ApiKeyAuth": []
  1902. }
  1903. ],
  1904. "produces": [
  1905. "application/json"
  1906. ],
  1907. "tags": [
  1908. "企业风险管理(app)"
  1909. ],
  1910. "summary": "获取企业风管期货内部持仓单信息",
  1911. "parameters": [
  1912. {
  1913. "type": "integer",
  1914. "description": "资金账户ID",
  1915. "name": "accountID",
  1916. "in": "query",
  1917. "required": true
  1918. },
  1919. {
  1920. "type": "integer",
  1921. "description": "商品ID",
  1922. "name": "goodsID",
  1923. "in": "query"
  1924. },
  1925. {
  1926. "type": "integer",
  1927. "description": "买卖方向,0:买 1:卖",
  1928. "name": "buyOrSell",
  1929. "in": "query"
  1930. }
  1931. ],
  1932. "responses": {
  1933. "200": {
  1934. "description": "OK",
  1935. "schema": {
  1936. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1937. }
  1938. },
  1939. "500": {
  1940. "description": "Internal Server Error",
  1941. "schema": {
  1942. "$ref": "#/definitions/app.Response"
  1943. }
  1944. }
  1945. }
  1946. }
  1947. },
  1948. "/Ermcp/QueryErmcpOrderDetails": {
  1949. "get": {
  1950. "security": [
  1951. {
  1952. "ApiKeyAuth": []
  1953. }
  1954. ],
  1955. "produces": [
  1956. "application/json"
  1957. ],
  1958. "tags": [
  1959. "企业风险管理(app)"
  1960. ],
  1961. "summary": "获取企业风管期货委托单信息",
  1962. "parameters": [
  1963. {
  1964. "type": "integer",
  1965. "description": "资金账户ID",
  1966. "name": "accountID",
  1967. "in": "query",
  1968. "required": true
  1969. }
  1970. ],
  1971. "responses": {
  1972. "200": {
  1973. "description": "OK",
  1974. "schema": {
  1975. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1976. }
  1977. },
  1978. "500": {
  1979. "description": "Internal Server Error",
  1980. "schema": {
  1981. "$ref": "#/definitions/app.Response"
  1982. }
  1983. }
  1984. }
  1985. }
  1986. },
  1987. "/Ermcp/QueryErmcpTradeDetails": {
  1988. "get": {
  1989. "security": [
  1990. {
  1991. "ApiKeyAuth": []
  1992. }
  1993. ],
  1994. "produces": [
  1995. "application/json"
  1996. ],
  1997. "tags": [
  1998. "企业风险管理(app)"
  1999. ],
  2000. "summary": "获取企业风管期货成交单信息",
  2001. "parameters": [
  2002. {
  2003. "type": "integer",
  2004. "description": "资金账户ID",
  2005. "name": "accountID",
  2006. "in": "query",
  2007. "required": true
  2008. },
  2009. {
  2010. "type": "integer",
  2011. "description": "商品ID",
  2012. "name": "goodsID",
  2013. "in": "query"
  2014. },
  2015. {
  2016. "type": "integer",
  2017. "description": "买卖方向,0:买 1:卖",
  2018. "name": "buyOrSell",
  2019. "in": "query"
  2020. },
  2021. {
  2022. "type": "integer",
  2023. "description": "关联委托单号",
  2024. "name": "orderID",
  2025. "in": "query"
  2026. }
  2027. ],
  2028. "responses": {
  2029. "200": {
  2030. "description": "OK",
  2031. "schema": {
  2032. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2033. }
  2034. },
  2035. "500": {
  2036. "description": "Internal Server Error",
  2037. "schema": {
  2038. "$ref": "#/definitions/app.Response"
  2039. }
  2040. }
  2041. }
  2042. }
  2043. },
  2044. "/Ermcp/QueryErmcpTradePosition": {
  2045. "get": {
  2046. "security": [
  2047. {
  2048. "ApiKeyAuth": []
  2049. }
  2050. ],
  2051. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2052. "produces": [
  2053. "application/json"
  2054. ],
  2055. "tags": [
  2056. "企业风险管理(app)"
  2057. ],
  2058. "summary": "获取企业风管期货持仓头寸信息",
  2059. "parameters": [
  2060. {
  2061. "type": "integer",
  2062. "description": "资金账户ID",
  2063. "name": "accountID",
  2064. "in": "query",
  2065. "required": true
  2066. },
  2067. {
  2068. "type": "integer",
  2069. "description": "所属市场ID",
  2070. "name": "marketID",
  2071. "in": "query"
  2072. }
  2073. ],
  2074. "responses": {
  2075. "200": {
  2076. "description": "OK",
  2077. "schema": {
  2078. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2079. }
  2080. },
  2081. "500": {
  2082. "description": "Internal Server Error",
  2083. "schema": {
  2084. "$ref": "#/definitions/app.Response"
  2085. }
  2086. }
  2087. }
  2088. }
  2089. },
  2090. "/Ermcp/QueryExposureDetail": {
  2091. "get": {
  2092. "security": [
  2093. {
  2094. "ApiKeyAuth": []
  2095. }
  2096. ],
  2097. "produces": [
  2098. "application/json"
  2099. ],
  2100. "tags": [
  2101. "企业风险管理(app)"
  2102. ],
  2103. "summary": "查询敞口现货明细",
  2104. "parameters": [
  2105. {
  2106. "type": "integer",
  2107. "description": "所属机构ID",
  2108. "name": "areaUserId",
  2109. "in": "query",
  2110. "required": true
  2111. },
  2112. {
  2113. "type": "integer",
  2114. "description": "套保商品",
  2115. "name": "middleGoodsId",
  2116. "in": "query",
  2117. "required": true
  2118. }
  2119. ],
  2120. "responses": {
  2121. "200": {
  2122. "description": "OK",
  2123. "schema": {
  2124. "type": "array",
  2125. "items": {
  2126. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2127. }
  2128. }
  2129. },
  2130. "500": {
  2131. "description": "Internal Server Error",
  2132. "schema": {
  2133. "$ref": "#/definitions/app.Response"
  2134. }
  2135. }
  2136. }
  2137. }
  2138. },
  2139. "/Ermcp/QueryExposureGoods": {
  2140. "get": {
  2141. "security": [
  2142. {
  2143. "ApiKeyAuth": []
  2144. }
  2145. ],
  2146. "produces": [
  2147. "application/json"
  2148. ],
  2149. "tags": [
  2150. "企业风险管理(app)"
  2151. ],
  2152. "summary": "查询敞口主力合约",
  2153. "parameters": [
  2154. {
  2155. "type": "integer",
  2156. "description": "套保商品id",
  2157. "name": "middlegoodsid",
  2158. "in": "query",
  2159. "required": true
  2160. }
  2161. ],
  2162. "responses": {
  2163. "200": {
  2164. "description": "OK",
  2165. "schema": {
  2166. "type": "array",
  2167. "items": {
  2168. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2169. }
  2170. }
  2171. },
  2172. "500": {
  2173. "description": "Internal Server Error",
  2174. "schema": {
  2175. "$ref": "#/definitions/app.Response"
  2176. }
  2177. }
  2178. }
  2179. }
  2180. },
  2181. "/Ermcp/QueryExposureHedgePosition": {
  2182. "get": {
  2183. "security": [
  2184. {
  2185. "ApiKeyAuth": []
  2186. }
  2187. ],
  2188. "produces": [
  2189. "application/json"
  2190. ],
  2191. "tags": [
  2192. "企业风险管理(app)"
  2193. ],
  2194. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2195. "parameters": [
  2196. {
  2197. "type": "integer",
  2198. "description": "用户id",
  2199. "name": "userid",
  2200. "in": "query",
  2201. "required": true
  2202. }
  2203. ],
  2204. "responses": {
  2205. "200": {
  2206. "description": "OK",
  2207. "schema": {
  2208. "type": "array",
  2209. "items": {
  2210. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2211. }
  2212. }
  2213. },
  2214. "500": {
  2215. "description": "Internal Server Error",
  2216. "schema": {
  2217. "$ref": "#/definitions/app.Response"
  2218. }
  2219. }
  2220. }
  2221. }
  2222. },
  2223. "/Ermcp/QueryExposureHedgePositionDetail": {
  2224. "get": {
  2225. "security": [
  2226. {
  2227. "ApiKeyAuth": []
  2228. }
  2229. ],
  2230. "produces": [
  2231. "application/json"
  2232. ],
  2233. "tags": [
  2234. "企业风险管理(app)"
  2235. ],
  2236. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2237. "parameters": [
  2238. {
  2239. "type": "integer",
  2240. "description": "所属机构ID",
  2241. "name": "userid",
  2242. "in": "query",
  2243. "required": true
  2244. },
  2245. {
  2246. "type": "integer",
  2247. "description": "商品id",
  2248. "name": "goodsId",
  2249. "in": "query",
  2250. "required": true
  2251. }
  2252. ],
  2253. "responses": {
  2254. "200": {
  2255. "description": "OK",
  2256. "schema": {
  2257. "type": "array",
  2258. "items": {
  2259. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2260. }
  2261. }
  2262. },
  2263. "500": {
  2264. "description": "Internal Server Error",
  2265. "schema": {
  2266. "$ref": "#/definitions/app.Response"
  2267. }
  2268. }
  2269. }
  2270. }
  2271. },
  2272. "/Ermcp/QueryExposureSpot": {
  2273. "get": {
  2274. "security": [
  2275. {
  2276. "ApiKeyAuth": []
  2277. }
  2278. ],
  2279. "produces": [
  2280. "application/json"
  2281. ],
  2282. "tags": [
  2283. "企业风险管理(app)"
  2284. ],
  2285. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2286. "parameters": [
  2287. {
  2288. "type": "integer",
  2289. "description": "所属机构ID",
  2290. "name": "areaUserId",
  2291. "in": "query",
  2292. "required": true
  2293. }
  2294. ],
  2295. "responses": {
  2296. "200": {
  2297. "description": "OK",
  2298. "schema": {
  2299. "type": "array",
  2300. "items": {
  2301. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2302. }
  2303. }
  2304. },
  2305. "500": {
  2306. "description": "Internal Server Error",
  2307. "schema": {
  2308. "$ref": "#/definitions/app.Response"
  2309. }
  2310. }
  2311. }
  2312. }
  2313. },
  2314. "/Ermcp/QueryExposureSpotDetail": {
  2315. "get": {
  2316. "security": [
  2317. {
  2318. "ApiKeyAuth": []
  2319. }
  2320. ],
  2321. "produces": [
  2322. "application/json"
  2323. ],
  2324. "tags": [
  2325. "企业风险管理(app)"
  2326. ],
  2327. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2328. "parameters": [
  2329. {
  2330. "type": "integer",
  2331. "description": "所属机构ID",
  2332. "name": "areaUserId",
  2333. "in": "query",
  2334. "required": true
  2335. },
  2336. {
  2337. "type": "integer",
  2338. "description": "现货品种ID",
  2339. "name": "wrstandardId",
  2340. "in": "query",
  2341. "required": true
  2342. }
  2343. ],
  2344. "responses": {
  2345. "200": {
  2346. "description": "OK",
  2347. "schema": {
  2348. "type": "array",
  2349. "items": {
  2350. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2351. }
  2352. }
  2353. },
  2354. "500": {
  2355. "description": "Internal Server Error",
  2356. "schema": {
  2357. "$ref": "#/definitions/app.Response"
  2358. }
  2359. }
  2360. }
  2361. }
  2362. },
  2363. "/Ermcp/QueryFuturesCompany": {
  2364. "get": {
  2365. "security": [
  2366. {
  2367. "ApiKeyAuth": []
  2368. }
  2369. ],
  2370. "produces": [
  2371. "application/json"
  2372. ],
  2373. "tags": [
  2374. "企业风险管理(app)"
  2375. ],
  2376. "summary": "查询期货公司",
  2377. "responses": {
  2378. "200": {
  2379. "description": "OK",
  2380. "schema": {
  2381. "type": "array",
  2382. "items": {
  2383. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2384. }
  2385. }
  2386. },
  2387. "500": {
  2388. "description": "Internal Server Error",
  2389. "schema": {
  2390. "$ref": "#/definitions/app.Response"
  2391. }
  2392. }
  2393. }
  2394. }
  2395. },
  2396. "/Ermcp/QueryGGConvertConfig": {
  2397. "get": {
  2398. "security": [
  2399. {
  2400. "ApiKeyAuth": []
  2401. }
  2402. ],
  2403. "produces": [
  2404. "application/json"
  2405. ],
  2406. "tags": [
  2407. "企业风险管理(app)"
  2408. ],
  2409. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2410. "parameters": [
  2411. {
  2412. "type": "integer",
  2413. "description": "品种id(不填则查所有)",
  2414. "name": "goodsgroupid",
  2415. "in": "query"
  2416. }
  2417. ],
  2418. "responses": {
  2419. "200": {
  2420. "description": "OK",
  2421. "schema": {
  2422. "type": "array",
  2423. "items": {
  2424. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2425. }
  2426. }
  2427. },
  2428. "500": {
  2429. "description": "Internal Server Error",
  2430. "schema": {
  2431. "$ref": "#/definitions/app.Response"
  2432. }
  2433. }
  2434. }
  2435. }
  2436. },
  2437. "/Ermcp/QueryGoodsBrand": {
  2438. "get": {
  2439. "security": [
  2440. {
  2441. "ApiKeyAuth": []
  2442. }
  2443. ],
  2444. "produces": [
  2445. "application/json"
  2446. ],
  2447. "tags": [
  2448. "企业风险管理(app)"
  2449. ],
  2450. "summary": "查询商品品牌",
  2451. "parameters": [
  2452. {
  2453. "type": "integer",
  2454. "description": "用户ID",
  2455. "name": "userid",
  2456. "in": "query",
  2457. "required": true
  2458. },
  2459. {
  2460. "type": "integer",
  2461. "description": "现货商品ID",
  2462. "name": "wrstandardid",
  2463. "in": "query"
  2464. }
  2465. ],
  2466. "responses": {
  2467. "200": {
  2468. "description": "OK",
  2469. "schema": {
  2470. "type": "array",
  2471. "items": {
  2472. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2473. }
  2474. }
  2475. },
  2476. "500": {
  2477. "description": "Internal Server Error",
  2478. "schema": {
  2479. "$ref": "#/definitions/app.Response"
  2480. }
  2481. }
  2482. }
  2483. }
  2484. },
  2485. "/Ermcp/QueryGoodsModel": {
  2486. "get": {
  2487. "security": [
  2488. {
  2489. "ApiKeyAuth": []
  2490. }
  2491. ],
  2492. "produces": [
  2493. "application/json"
  2494. ],
  2495. "tags": [
  2496. "企业风险管理(app)"
  2497. ],
  2498. "summary": "查询商品型号",
  2499. "parameters": [
  2500. {
  2501. "type": "integer",
  2502. "description": "用户ID",
  2503. "name": "userid",
  2504. "in": "query",
  2505. "required": true
  2506. }
  2507. ],
  2508. "responses": {
  2509. "200": {
  2510. "description": "OK",
  2511. "schema": {
  2512. "type": "array",
  2513. "items": {
  2514. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2515. }
  2516. }
  2517. },
  2518. "500": {
  2519. "description": "Internal Server Error",
  2520. "schema": {
  2521. "$ref": "#/definitions/app.Response"
  2522. }
  2523. }
  2524. }
  2525. }
  2526. },
  2527. "/Ermcp/QueryHisExposure": {
  2528. "get": {
  2529. "security": [
  2530. {
  2531. "ApiKeyAuth": []
  2532. }
  2533. ],
  2534. "produces": [
  2535. "application/json"
  2536. ],
  2537. "tags": [
  2538. "企业风险管理(app)"
  2539. ],
  2540. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2541. "parameters": [
  2542. {
  2543. "type": "integer",
  2544. "description": "用户id",
  2545. "name": "userid",
  2546. "in": "query",
  2547. "required": true
  2548. },
  2549. {
  2550. "type": "integer",
  2551. "description": "每个品种记录数",
  2552. "name": "lastNum",
  2553. "in": "query",
  2554. "required": true
  2555. }
  2556. ],
  2557. "responses": {
  2558. "200": {
  2559. "description": "OK",
  2560. "schema": {
  2561. "type": "array",
  2562. "items": {
  2563. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2564. }
  2565. }
  2566. },
  2567. "500": {
  2568. "description": "Internal Server Error",
  2569. "schema": {
  2570. "$ref": "#/definitions/app.Response"
  2571. }
  2572. }
  2573. }
  2574. }
  2575. },
  2576. "/Ermcp/QueryMiddleGoods": {
  2577. "get": {
  2578. "security": [
  2579. {
  2580. "ApiKeyAuth": []
  2581. }
  2582. ],
  2583. "produces": [
  2584. "application/json"
  2585. ],
  2586. "tags": [
  2587. "企业风险管理(app)"
  2588. ],
  2589. "summary": "查询套保品种(菜单:套保品种)",
  2590. "parameters": [
  2591. {
  2592. "type": "integer",
  2593. "description": "所属机构ID",
  2594. "name": "userid",
  2595. "in": "query",
  2596. "required": true
  2597. },
  2598. {
  2599. "type": "integer",
  2600. "description": "状态 0-停用 1-正常",
  2601. "name": "status",
  2602. "in": "query",
  2603. "required": true
  2604. }
  2605. ],
  2606. "responses": {
  2607. "200": {
  2608. "description": "OK",
  2609. "schema": {
  2610. "type": "array",
  2611. "items": {
  2612. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2613. }
  2614. }
  2615. },
  2616. "500": {
  2617. "description": "Internal Server Error",
  2618. "schema": {
  2619. "$ref": "#/definitions/app.Response"
  2620. }
  2621. }
  2622. }
  2623. }
  2624. },
  2625. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2626. "get": {
  2627. "security": [
  2628. {
  2629. "ApiKeyAuth": []
  2630. }
  2631. ],
  2632. "produces": [
  2633. "application/json"
  2634. ],
  2635. "tags": [
  2636. "企业风险管理(app)"
  2637. ],
  2638. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2639. "parameters": [
  2640. {
  2641. "type": "integer",
  2642. "description": "所属机构ID",
  2643. "name": "userid",
  2644. "in": "query",
  2645. "required": true
  2646. },
  2647. {
  2648. "type": "integer",
  2649. "description": "套保品种id",
  2650. "name": "middlegoodsid",
  2651. "in": "query",
  2652. "required": true
  2653. }
  2654. ],
  2655. "responses": {
  2656. "200": {
  2657. "description": "OK",
  2658. "schema": {
  2659. "type": "array",
  2660. "items": {
  2661. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2662. }
  2663. }
  2664. },
  2665. "500": {
  2666. "description": "Internal Server Error",
  2667. "schema": {
  2668. "$ref": "#/definitions/app.Response"
  2669. }
  2670. }
  2671. }
  2672. }
  2673. },
  2674. "/Ermcp/QueryMiddleGoodsDetail": {
  2675. "get": {
  2676. "security": [
  2677. {
  2678. "ApiKeyAuth": []
  2679. }
  2680. ],
  2681. "produces": [
  2682. "application/json"
  2683. ],
  2684. "tags": [
  2685. "企业风险管理(app)"
  2686. ],
  2687. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2688. "parameters": [
  2689. {
  2690. "type": "integer",
  2691. "description": "所属机构ID",
  2692. "name": "userid",
  2693. "in": "query",
  2694. "required": true
  2695. },
  2696. {
  2697. "type": "integer",
  2698. "description": "套保品种id",
  2699. "name": "middlegoodsid",
  2700. "in": "query"
  2701. }
  2702. ],
  2703. "responses": {
  2704. "200": {
  2705. "description": "OK",
  2706. "schema": {
  2707. "type": "array",
  2708. "items": {
  2709. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2710. }
  2711. }
  2712. },
  2713. "500": {
  2714. "description": "Internal Server Error",
  2715. "schema": {
  2716. "$ref": "#/definitions/app.Response"
  2717. }
  2718. }
  2719. }
  2720. }
  2721. },
  2722. "/Ermcp/QueryPendingAuditInfo": {
  2723. "get": {
  2724. "security": [
  2725. {
  2726. "ApiKeyAuth": []
  2727. }
  2728. ],
  2729. "produces": [
  2730. "application/json"
  2731. ],
  2732. "tags": [
  2733. "企业风险管理(app)"
  2734. ],
  2735. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2736. "parameters": [
  2737. {
  2738. "type": "integer",
  2739. "description": "用户ID",
  2740. "name": "UserId",
  2741. "in": "query",
  2742. "required": true
  2743. }
  2744. ],
  2745. "responses": {
  2746. "200": {
  2747. "description": "OK",
  2748. "schema": {
  2749. "type": "array",
  2750. "items": {
  2751. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2752. }
  2753. }
  2754. },
  2755. "500": {
  2756. "description": "Internal Server Error",
  2757. "schema": {
  2758. "$ref": "#/definitions/app.Response"
  2759. }
  2760. }
  2761. }
  2762. }
  2763. },
  2764. "/Ermcp/QueryRealtimeExposure": {
  2765. "get": {
  2766. "security": [
  2767. {
  2768. "ApiKeyAuth": []
  2769. }
  2770. ],
  2771. "produces": [
  2772. "application/json"
  2773. ],
  2774. "tags": [
  2775. "企业风险管理(app)"
  2776. ],
  2777. "summary": "查询实时敞口",
  2778. "parameters": [
  2779. {
  2780. "type": "integer",
  2781. "description": "所属机构ID",
  2782. "name": "userid",
  2783. "in": "query",
  2784. "required": true
  2785. }
  2786. ],
  2787. "responses": {
  2788. "200": {
  2789. "description": "OK",
  2790. "schema": {
  2791. "type": "array",
  2792. "items": {
  2793. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2794. }
  2795. }
  2796. },
  2797. "500": {
  2798. "description": "Internal Server Error",
  2799. "schema": {
  2800. "$ref": "#/definitions/app.Response"
  2801. }
  2802. }
  2803. }
  2804. }
  2805. },
  2806. "/Ermcp/QueryRealtimeExposurePosition": {
  2807. "get": {
  2808. "security": [
  2809. {
  2810. "ApiKeyAuth": []
  2811. }
  2812. ],
  2813. "produces": [
  2814. "application/json"
  2815. ],
  2816. "tags": [
  2817. "企业风险管理(app)"
  2818. ],
  2819. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2820. "parameters": [
  2821. {
  2822. "type": "integer",
  2823. "description": "用户id",
  2824. "name": "userid",
  2825. "in": "query",
  2826. "required": true
  2827. },
  2828. {
  2829. "type": "integer",
  2830. "description": "套保商品ID",
  2831. "name": "middleGoodsId",
  2832. "in": "query",
  2833. "required": true
  2834. }
  2835. ],
  2836. "responses": {
  2837. "200": {
  2838. "description": "OK",
  2839. "schema": {
  2840. "type": "array",
  2841. "items": {
  2842. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2843. }
  2844. }
  2845. },
  2846. "500": {
  2847. "description": "Internal Server Error",
  2848. "schema": {
  2849. "$ref": "#/definitions/app.Response"
  2850. }
  2851. }
  2852. }
  2853. }
  2854. },
  2855. "/Ermcp/QueryRoleMenu": {
  2856. "get": {
  2857. "security": [
  2858. {
  2859. "ApiKeyAuth": []
  2860. }
  2861. ],
  2862. "produces": [
  2863. "application/json"
  2864. ],
  2865. "tags": [
  2866. "企业风险管理(app)"
  2867. ],
  2868. "summary": "查询角色菜单和权限",
  2869. "parameters": [
  2870. {
  2871. "type": "integer",
  2872. "description": "登录ID",
  2873. "name": "loginid",
  2874. "in": "query",
  2875. "required": true
  2876. },
  2877. {
  2878. "type": "integer",
  2879. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2880. "name": "menutype",
  2881. "in": "query"
  2882. }
  2883. ],
  2884. "responses": {
  2885. "200": {
  2886. "description": "OK",
  2887. "schema": {
  2888. "type": "array",
  2889. "items": {
  2890. "$ref": "#/definitions/models.RoleMenu"
  2891. }
  2892. }
  2893. },
  2894. "500": {
  2895. "description": "Internal Server Error",
  2896. "schema": {
  2897. "$ref": "#/definitions/app.Response"
  2898. }
  2899. }
  2900. }
  2901. }
  2902. },
  2903. "/Ermcp/QueryTradeConfigTMP": {
  2904. "get": {
  2905. "security": [
  2906. {
  2907. "ApiKeyAuth": []
  2908. }
  2909. ],
  2910. "produces": [
  2911. "application/json"
  2912. ],
  2913. "tags": [
  2914. "企业风险管理(app)"
  2915. ],
  2916. "summary": "查询交易模板配置",
  2917. "parameters": [
  2918. {
  2919. "type": "integer",
  2920. "description": "所属机构id",
  2921. "name": "areauserid",
  2922. "in": "query"
  2923. }
  2924. ],
  2925. "responses": {
  2926. "200": {
  2927. "description": "OK",
  2928. "schema": {
  2929. "type": "array",
  2930. "items": {
  2931. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2932. }
  2933. }
  2934. },
  2935. "500": {
  2936. "description": "Internal Server Error",
  2937. "schema": {
  2938. "$ref": "#/definitions/app.Response"
  2939. }
  2940. }
  2941. }
  2942. }
  2943. },
  2944. "/Ermcp/QueryUserInfo": {
  2945. "get": {
  2946. "security": [
  2947. {
  2948. "ApiKeyAuth": []
  2949. }
  2950. ],
  2951. "produces": [
  2952. "application/json"
  2953. ],
  2954. "tags": [
  2955. "企业风险管理(app)"
  2956. ],
  2957. "summary": "查询客户资料",
  2958. "parameters": [
  2959. {
  2960. "type": "integer",
  2961. "description": "所属机构用户ID",
  2962. "name": "MemberUserID",
  2963. "in": "query",
  2964. "required": true
  2965. },
  2966. {
  2967. "type": "integer",
  2968. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2969. "name": "queryType",
  2970. "in": "query",
  2971. "required": true
  2972. }
  2973. ],
  2974. "responses": {
  2975. "200": {
  2976. "description": "OK",
  2977. "schema": {
  2978. "type": "array",
  2979. "items": {
  2980. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2981. }
  2982. }
  2983. },
  2984. "500": {
  2985. "description": "Internal Server Error",
  2986. "schema": {
  2987. "$ref": "#/definitions/app.Response"
  2988. }
  2989. }
  2990. }
  2991. }
  2992. },
  2993. "/Ermcp/QueryWarehouseInfo": {
  2994. "get": {
  2995. "security": [
  2996. {
  2997. "ApiKeyAuth": []
  2998. }
  2999. ],
  3000. "produces": [
  3001. "application/json"
  3002. ],
  3003. "tags": [
  3004. "企业风险管理(app)"
  3005. ],
  3006. "summary": "查询仓库信息",
  3007. "parameters": [
  3008. {
  3009. "type": "integer",
  3010. "description": "用户ID",
  3011. "name": "userid",
  3012. "in": "query",
  3013. "required": true
  3014. },
  3015. {
  3016. "type": "string",
  3017. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3018. "name": "status",
  3019. "in": "query"
  3020. }
  3021. ],
  3022. "responses": {
  3023. "200": {
  3024. "description": "OK",
  3025. "schema": {
  3026. "type": "array",
  3027. "items": {
  3028. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3029. }
  3030. }
  3031. },
  3032. "500": {
  3033. "description": "Internal Server Error",
  3034. "schema": {
  3035. "$ref": "#/definitions/app.Response"
  3036. }
  3037. }
  3038. }
  3039. }
  3040. },
  3041. "/Ermcp3/QryAreaExpourseContractDetail": {
  3042. "get": {
  3043. "security": [
  3044. {
  3045. "ApiKeyAuth": []
  3046. }
  3047. ],
  3048. "produces": [
  3049. "application/json"
  3050. ],
  3051. "tags": [
  3052. "企业风险管理v3(app)"
  3053. ],
  3054. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3055. "parameters": [
  3056. {
  3057. "type": "integer",
  3058. "description": "用户ID",
  3059. "name": "userid",
  3060. "in": "query",
  3061. "required": true
  3062. },
  3063. {
  3064. "type": "integer",
  3065. "description": "套保商品id",
  3066. "name": "middlegoodsid",
  3067. "in": "query",
  3068. "required": true
  3069. },
  3070. {
  3071. "type": "integer",
  3072. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3073. "name": "cycletype",
  3074. "in": "query",
  3075. "required": true
  3076. },
  3077. {
  3078. "type": "string",
  3079. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3080. "name": "cycletime",
  3081. "in": "query",
  3082. "required": true
  3083. }
  3084. ],
  3085. "responses": {
  3086. "200": {
  3087. "description": "OK",
  3088. "schema": {
  3089. "type": "array",
  3090. "items": {
  3091. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3092. }
  3093. }
  3094. },
  3095. "500": {
  3096. "description": "Internal Server Error",
  3097. "schema": {
  3098. "$ref": "#/definitions/app.Response"
  3099. }
  3100. }
  3101. }
  3102. }
  3103. },
  3104. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3105. "get": {
  3106. "security": [
  3107. {
  3108. "ApiKeyAuth": []
  3109. }
  3110. ],
  3111. "produces": [
  3112. "application/json"
  3113. ],
  3114. "tags": [
  3115. "企业风险管理v3(app)"
  3116. ],
  3117. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3118. "parameters": [
  3119. {
  3120. "type": "integer",
  3121. "description": "用户ID",
  3122. "name": "userid",
  3123. "in": "query",
  3124. "required": true
  3125. },
  3126. {
  3127. "type": "integer",
  3128. "description": "套保商品id",
  3129. "name": "middlegoodsid",
  3130. "in": "query",
  3131. "required": true
  3132. },
  3133. {
  3134. "type": "integer",
  3135. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3136. "name": "cycletype",
  3137. "in": "query",
  3138. "required": true
  3139. },
  3140. {
  3141. "type": "string",
  3142. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3143. "name": "cycletime",
  3144. "in": "query",
  3145. "required": true
  3146. }
  3147. ],
  3148. "responses": {
  3149. "200": {
  3150. "description": "OK",
  3151. "schema": {
  3152. "type": "array",
  3153. "items": {
  3154. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3155. }
  3156. }
  3157. },
  3158. "500": {
  3159. "description": "Internal Server Error",
  3160. "schema": {
  3161. "$ref": "#/definitions/app.Response"
  3162. }
  3163. }
  3164. }
  3165. }
  3166. },
  3167. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3168. "get": {
  3169. "security": [
  3170. {
  3171. "ApiKeyAuth": []
  3172. }
  3173. ],
  3174. "produces": [
  3175. "application/json"
  3176. ],
  3177. "tags": [
  3178. "企业风险管理v3(app)"
  3179. ],
  3180. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3181. "parameters": [
  3182. {
  3183. "type": "integer",
  3184. "description": "用户ID",
  3185. "name": "userid",
  3186. "in": "query",
  3187. "required": true
  3188. },
  3189. {
  3190. "type": "integer",
  3191. "description": "套保商品id",
  3192. "name": "middlegoodsid",
  3193. "in": "query",
  3194. "required": true
  3195. },
  3196. {
  3197. "type": "integer",
  3198. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3199. "name": "cycletype",
  3200. "in": "query",
  3201. "required": true
  3202. },
  3203. {
  3204. "type": "string",
  3205. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3206. "name": "cycletime",
  3207. "in": "query",
  3208. "required": true
  3209. }
  3210. ],
  3211. "responses": {
  3212. "200": {
  3213. "description": "OK",
  3214. "schema": {
  3215. "type": "array",
  3216. "items": {
  3217. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3218. }
  3219. }
  3220. },
  3221. "500": {
  3222. "description": "Internal Server Error",
  3223. "schema": {
  3224. "$ref": "#/definitions/app.Response"
  3225. }
  3226. }
  3227. }
  3228. }
  3229. },
  3230. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3231. "get": {
  3232. "security": [
  3233. {
  3234. "ApiKeyAuth": []
  3235. }
  3236. ],
  3237. "produces": [
  3238. "application/json"
  3239. ],
  3240. "tags": [
  3241. "企业风险管理v3(app)"
  3242. ],
  3243. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3244. "parameters": [
  3245. {
  3246. "type": "integer",
  3247. "description": "用户ID",
  3248. "name": "userid",
  3249. "in": "query",
  3250. "required": true
  3251. },
  3252. {
  3253. "type": "integer",
  3254. "description": "套保商品id",
  3255. "name": "middlegoodsid",
  3256. "in": "query",
  3257. "required": true
  3258. },
  3259. {
  3260. "type": "integer",
  3261. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3262. "name": "cycletype",
  3263. "in": "query",
  3264. "required": true
  3265. },
  3266. {
  3267. "type": "string",
  3268. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3269. "name": "cycletime",
  3270. "in": "query",
  3271. "required": true
  3272. }
  3273. ],
  3274. "responses": {
  3275. "200": {
  3276. "description": "OK",
  3277. "schema": {
  3278. "type": "array",
  3279. "items": {
  3280. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3281. }
  3282. }
  3283. },
  3284. "500": {
  3285. "description": "Internal Server Error",
  3286. "schema": {
  3287. "$ref": "#/definitions/app.Response"
  3288. }
  3289. }
  3290. }
  3291. }
  3292. },
  3293. "/Ermcp3/QryAreaExpourseReport": {
  3294. "get": {
  3295. "security": [
  3296. {
  3297. "ApiKeyAuth": []
  3298. }
  3299. ],
  3300. "produces": [
  3301. "application/json"
  3302. ],
  3303. "tags": [
  3304. "企业风险管理v3(app)"
  3305. ],
  3306. "summary": "查询敞口报表",
  3307. "parameters": [
  3308. {
  3309. "type": "integer",
  3310. "description": "用户ID",
  3311. "name": "userid",
  3312. "in": "query",
  3313. "required": true
  3314. },
  3315. {
  3316. "type": "integer",
  3317. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3318. "name": "querytype",
  3319. "in": "query",
  3320. "required": true
  3321. },
  3322. {
  3323. "type": "integer",
  3324. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3325. "name": "cycletype",
  3326. "in": "query",
  3327. "required": true
  3328. },
  3329. {
  3330. "type": "string",
  3331. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3332. "name": "cycletime",
  3333. "in": "query",
  3334. "required": true
  3335. }
  3336. ],
  3337. "responses": {
  3338. "200": {
  3339. "description": "OK",
  3340. "schema": {
  3341. "type": "array",
  3342. "items": {
  3343. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3344. }
  3345. }
  3346. },
  3347. "500": {
  3348. "description": "Internal Server Error",
  3349. "schema": {
  3350. "$ref": "#/definitions/app.Response"
  3351. }
  3352. }
  3353. }
  3354. }
  3355. },
  3356. "/Ermcp3/QryAreaSpotplReport": {
  3357. "get": {
  3358. "security": [
  3359. {
  3360. "ApiKeyAuth": []
  3361. }
  3362. ],
  3363. "produces": [
  3364. "application/json"
  3365. ],
  3366. "tags": [
  3367. "企业风险管理v3(app)"
  3368. ],
  3369. "summary": "查询现货报表",
  3370. "parameters": [
  3371. {
  3372. "type": "integer",
  3373. "description": "用户ID",
  3374. "name": "userid",
  3375. "in": "query",
  3376. "required": true
  3377. },
  3378. {
  3379. "type": "integer",
  3380. "description": "查询类型 1-报表 2-报表明细",
  3381. "name": "querytype",
  3382. "in": "query",
  3383. "required": true
  3384. },
  3385. {
  3386. "type": "integer",
  3387. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3388. "name": "cycletype",
  3389. "in": "query",
  3390. "required": true
  3391. },
  3392. {
  3393. "type": "string",
  3394. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3395. "name": "cycletime",
  3396. "in": "query",
  3397. "required": true
  3398. },
  3399. {
  3400. "type": "integer",
  3401. "description": "现货品种id(明细必填)",
  3402. "name": "deliverygoodsid",
  3403. "in": "query"
  3404. },
  3405. {
  3406. "type": "integer",
  3407. "description": "币种id(明细必填)",
  3408. "name": "currencyid",
  3409. "in": "query"
  3410. }
  3411. ],
  3412. "responses": {
  3413. "200": {
  3414. "description": "OK",
  3415. "schema": {
  3416. "type": "array",
  3417. "items": {
  3418. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3419. }
  3420. }
  3421. },
  3422. "500": {
  3423. "description": "Internal Server Error",
  3424. "schema": {
  3425. "$ref": "#/definitions/app.Response"
  3426. }
  3427. }
  3428. }
  3429. }
  3430. },
  3431. "/Ermcp3/QryAreaStockReport": {
  3432. "get": {
  3433. "security": [
  3434. {
  3435. "ApiKeyAuth": []
  3436. }
  3437. ],
  3438. "produces": [
  3439. "application/json"
  3440. ],
  3441. "tags": [
  3442. "企业风险管理v3(app)"
  3443. ],
  3444. "summary": "查询库存报表",
  3445. "parameters": [
  3446. {
  3447. "type": "integer",
  3448. "description": "用户ID",
  3449. "name": "userid",
  3450. "in": "query",
  3451. "required": true
  3452. },
  3453. {
  3454. "type": "integer",
  3455. "description": "查询类型 1-报表 2-报表明细",
  3456. "name": "querytype",
  3457. "in": "query",
  3458. "required": true
  3459. },
  3460. {
  3461. "type": "integer",
  3462. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3463. "name": "cycletype",
  3464. "in": "query",
  3465. "required": true
  3466. },
  3467. {
  3468. "type": "string",
  3469. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3470. "name": "cycletime",
  3471. "in": "query",
  3472. "required": true
  3473. },
  3474. {
  3475. "type": "string",
  3476. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3477. "name": "sumfields",
  3478. "in": "query"
  3479. },
  3480. {
  3481. "type": "integer",
  3482. "description": "品种ID",
  3483. "name": "deliverygoodsid",
  3484. "in": "query"
  3485. },
  3486. {
  3487. "type": "integer",
  3488. "description": "品类ID",
  3489. "name": "wrstandardid",
  3490. "in": "query"
  3491. },
  3492. {
  3493. "type": "integer",
  3494. "description": "品牌ID",
  3495. "name": "spotgoodsbrandid",
  3496. "in": "query"
  3497. },
  3498. {
  3499. "type": "integer",
  3500. "description": "仓库ID",
  3501. "name": "warehouseinfoid",
  3502. "in": "query"
  3503. }
  3504. ],
  3505. "responses": {
  3506. "200": {
  3507. "description": "OK",
  3508. "schema": {
  3509. "type": "array",
  3510. "items": {
  3511. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3512. }
  3513. }
  3514. },
  3515. "500": {
  3516. "description": "Internal Server Error",
  3517. "schema": {
  3518. "$ref": "#/definitions/app.Response"
  3519. }
  3520. }
  3521. }
  3522. }
  3523. },
  3524. "/Ermcp3/QryAreaSumPL": {
  3525. "get": {
  3526. "security": [
  3527. {
  3528. "ApiKeyAuth": []
  3529. }
  3530. ],
  3531. "produces": [
  3532. "application/json"
  3533. ],
  3534. "tags": [
  3535. "企业风险管理v3(app)"
  3536. ],
  3537. "summary": "查询汇总损益表",
  3538. "parameters": [
  3539. {
  3540. "type": "integer",
  3541. "description": "用户ID",
  3542. "name": "userid",
  3543. "in": "query",
  3544. "required": true
  3545. },
  3546. {
  3547. "type": "integer",
  3548. "description": "查询类型 1-报表 2-报表明细",
  3549. "name": "querytype",
  3550. "in": "query",
  3551. "required": true
  3552. },
  3553. {
  3554. "type": "integer",
  3555. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3556. "name": "cycletype",
  3557. "in": "query",
  3558. "required": true
  3559. },
  3560. {
  3561. "type": "string",
  3562. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3563. "name": "cycletime",
  3564. "in": "query",
  3565. "required": true
  3566. },
  3567. {
  3568. "type": "integer",
  3569. "description": "币种id(明细必填)",
  3570. "name": "currencyid",
  3571. "in": "query"
  3572. }
  3573. ],
  3574. "responses": {
  3575. "200": {
  3576. "description": "OK",
  3577. "schema": {
  3578. "type": "array",
  3579. "items": {
  3580. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3581. }
  3582. }
  3583. },
  3584. "500": {
  3585. "description": "Internal Server Error",
  3586. "schema": {
  3587. "$ref": "#/definitions/app.Response"
  3588. }
  3589. }
  3590. }
  3591. }
  3592. },
  3593. "/Ermcp3/QryFinanceReport": {
  3594. "get": {
  3595. "security": [
  3596. {
  3597. "ApiKeyAuth": []
  3598. }
  3599. ],
  3600. "produces": [
  3601. "application/json"
  3602. ],
  3603. "tags": [
  3604. "企业风险管理v3(app)"
  3605. ],
  3606. "summary": "查询财务报表",
  3607. "parameters": [
  3608. {
  3609. "type": "integer",
  3610. "description": "用户ID",
  3611. "name": "userid",
  3612. "in": "query",
  3613. "required": true
  3614. },
  3615. {
  3616. "type": "integer",
  3617. "description": "查询类型 1-报表 2-报表明细",
  3618. "name": "querytype",
  3619. "in": "query",
  3620. "required": true
  3621. },
  3622. {
  3623. "type": "integer",
  3624. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3625. "name": "cycletype",
  3626. "in": "query",
  3627. "required": true
  3628. },
  3629. {
  3630. "type": "string",
  3631. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3632. "name": "cycletime",
  3633. "in": "query",
  3634. "required": true
  3635. },
  3636. {
  3637. "type": "integer",
  3638. "description": "币种id(报表明细必填)",
  3639. "name": "currencyid",
  3640. "in": "query"
  3641. },
  3642. {
  3643. "type": "string",
  3644. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3645. "name": "sumfields",
  3646. "in": "query"
  3647. }
  3648. ],
  3649. "responses": {
  3650. "200": {
  3651. "description": "OK",
  3652. "schema": {
  3653. "type": "array",
  3654. "items": {
  3655. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3656. }
  3657. }
  3658. },
  3659. "500": {
  3660. "description": "Internal Server Error",
  3661. "schema": {
  3662. "$ref": "#/definitions/app.Response"
  3663. }
  3664. }
  3665. }
  3666. }
  3667. },
  3668. "/Ermcp3/QrySCMiddleGoodsReport": {
  3669. "get": {
  3670. "security": [
  3671. {
  3672. "ApiKeyAuth": []
  3673. }
  3674. ],
  3675. "produces": [
  3676. "application/json"
  3677. ],
  3678. "tags": [
  3679. "企业风险管理v3(app)"
  3680. ],
  3681. "summary": "查询定价报表",
  3682. "parameters": [
  3683. {
  3684. "type": "integer",
  3685. "description": "用户ID",
  3686. "name": "userid",
  3687. "in": "query",
  3688. "required": true
  3689. },
  3690. {
  3691. "type": "integer",
  3692. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3693. "name": "cycletype",
  3694. "in": "query",
  3695. "required": true
  3696. },
  3697. {
  3698. "type": "string",
  3699. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3700. "name": "cycletime",
  3701. "in": "query",
  3702. "required": true
  3703. },
  3704. {
  3705. "type": "integer",
  3706. "description": "合同id",
  3707. "name": "spotcontractid",
  3708. "in": "query"
  3709. },
  3710. {
  3711. "type": "integer",
  3712. "description": "套保品种id",
  3713. "name": "middlegoodsid",
  3714. "in": "query"
  3715. },
  3716. {
  3717. "type": "integer",
  3718. "description": "现货品种id",
  3719. "name": "deliverygoodsid",
  3720. "in": "query"
  3721. },
  3722. {
  3723. "type": "integer",
  3724. "description": "现货商品id",
  3725. "name": "wrstandardid",
  3726. "in": "query"
  3727. },
  3728. {
  3729. "type": "string",
  3730. "description": "合同编号(模糊匹配)",
  3731. "name": "contractno",
  3732. "in": "query"
  3733. }
  3734. ],
  3735. "responses": {
  3736. "200": {
  3737. "description": "OK",
  3738. "schema": {
  3739. "type": "array",
  3740. "items": {
  3741. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  3742. }
  3743. }
  3744. },
  3745. "500": {
  3746. "description": "Internal Server Error",
  3747. "schema": {
  3748. "$ref": "#/definitions/app.Response"
  3749. }
  3750. }
  3751. }
  3752. }
  3753. },
  3754. "/Ermcp3/QryTaFutureDataReport": {
  3755. "get": {
  3756. "security": [
  3757. {
  3758. "ApiKeyAuth": []
  3759. }
  3760. ],
  3761. "produces": [
  3762. "application/json"
  3763. ],
  3764. "tags": [
  3765. "企业风险管理v3(app)"
  3766. ],
  3767. "summary": "查询期货报表",
  3768. "parameters": [
  3769. {
  3770. "type": "integer",
  3771. "description": "用户ID",
  3772. "name": "userid",
  3773. "in": "query",
  3774. "required": true
  3775. },
  3776. {
  3777. "type": "integer",
  3778. "description": "查询类型 1-报表 2-报表明细",
  3779. "name": "querytype",
  3780. "in": "query",
  3781. "required": true
  3782. },
  3783. {
  3784. "type": "integer",
  3785. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3786. "name": "cycletype",
  3787. "in": "query",
  3788. "required": true
  3789. },
  3790. {
  3791. "type": "string",
  3792. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3793. "name": "cycletime",
  3794. "in": "query",
  3795. "required": true
  3796. },
  3797. {
  3798. "type": "integer",
  3799. "description": "币种id(查明细必填)",
  3800. "name": "currencyid",
  3801. "in": "query"
  3802. },
  3803. {
  3804. "type": "integer",
  3805. "description": "品种id(查明细必填)",
  3806. "name": "goodsgroupid",
  3807. "in": "query"
  3808. },
  3809. {
  3810. "type": "integer",
  3811. "description": "商品id(查明细必填)",
  3812. "name": "goodsid",
  3813. "in": "query"
  3814. },
  3815. {
  3816. "type": "integer",
  3817. "description": "买卖方向(查明细必填)",
  3818. "name": "buyorsell",
  3819. "in": "query"
  3820. }
  3821. ],
  3822. "responses": {
  3823. "200": {
  3824. "description": "OK",
  3825. "schema": {
  3826. "type": "array",
  3827. "items": {
  3828. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3829. }
  3830. }
  3831. },
  3832. "500": {
  3833. "description": "Internal Server Error",
  3834. "schema": {
  3835. "$ref": "#/definitions/app.Response"
  3836. }
  3837. }
  3838. }
  3839. }
  3840. },
  3841. "/Ermcp3/QueryAreaStock": {
  3842. "get": {
  3843. "security": [
  3844. {
  3845. "ApiKeyAuth": []
  3846. }
  3847. ],
  3848. "produces": [
  3849. "application/json"
  3850. ],
  3851. "tags": [
  3852. "企业风险管理v3(app)"
  3853. ],
  3854. "summary": "查询机构库存(库存管理/当前库存)",
  3855. "parameters": [
  3856. {
  3857. "type": "integer",
  3858. "description": "用户ID",
  3859. "name": "userid",
  3860. "in": "query",
  3861. "required": true
  3862. }
  3863. ],
  3864. "responses": {
  3865. "200": {
  3866. "description": "OK",
  3867. "schema": {
  3868. "type": "array",
  3869. "items": {
  3870. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3871. }
  3872. }
  3873. },
  3874. "500": {
  3875. "description": "Internal Server Error",
  3876. "schema": {
  3877. "$ref": "#/definitions/app.Response"
  3878. }
  3879. }
  3880. }
  3881. }
  3882. },
  3883. "/Ermcp3/QueryAreaStockApply": {
  3884. "get": {
  3885. "security": [
  3886. {
  3887. "ApiKeyAuth": []
  3888. }
  3889. ],
  3890. "produces": [
  3891. "application/json"
  3892. ],
  3893. "tags": [
  3894. "企业风险管理v3(app)"
  3895. ],
  3896. "summary": "查询库存申请(出入库记录|库存审核)",
  3897. "parameters": [
  3898. {
  3899. "type": "integer",
  3900. "description": "用户ID",
  3901. "name": "userid",
  3902. "in": "query",
  3903. "required": true
  3904. },
  3905. {
  3906. "type": "integer",
  3907. "description": "用户类型 2-机构 7-企业成员",
  3908. "name": "usertype",
  3909. "in": "query"
  3910. },
  3911. {
  3912. "type": "integer",
  3913. "description": "现货商品ID",
  3914. "name": "deliverygoodsid",
  3915. "in": "query"
  3916. },
  3917. {
  3918. "type": "string",
  3919. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3920. "name": "inouttype",
  3921. "in": "query"
  3922. },
  3923. {
  3924. "type": "integer",
  3925. "description": "合同ID",
  3926. "name": "spotcontractid",
  3927. "in": "query"
  3928. },
  3929. {
  3930. "type": "integer",
  3931. "description": "品类ID",
  3932. "name": "wrstandardid",
  3933. "in": "query"
  3934. },
  3935. {
  3936. "type": "integer",
  3937. "description": "品牌ID",
  3938. "name": "spotgoodsbrandid",
  3939. "in": "query"
  3940. },
  3941. {
  3942. "type": "integer",
  3943. "description": "仓库ID",
  3944. "name": "warehouseinfoid",
  3945. "in": "query"
  3946. },
  3947. {
  3948. "type": "string",
  3949. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3950. "name": "applystatus",
  3951. "in": "query"
  3952. }
  3953. ],
  3954. "responses": {
  3955. "200": {
  3956. "description": "OK",
  3957. "schema": {
  3958. "type": "array",
  3959. "items": {
  3960. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3961. }
  3962. }
  3963. },
  3964. "500": {
  3965. "description": "Internal Server Error",
  3966. "schema": {
  3967. "$ref": "#/definitions/app.Response"
  3968. }
  3969. }
  3970. }
  3971. }
  3972. },
  3973. "/Ermcp3/QueryAreaStockApplySum": {
  3974. "get": {
  3975. "security": [
  3976. {
  3977. "ApiKeyAuth": []
  3978. }
  3979. ],
  3980. "produces": [
  3981. "application/json"
  3982. ],
  3983. "tags": [
  3984. "企业风险管理v3(app)"
  3985. ],
  3986. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3987. "parameters": [
  3988. {
  3989. "type": "integer",
  3990. "description": "合同ID",
  3991. "name": "spotcontractid",
  3992. "in": "query",
  3993. "required": true
  3994. }
  3995. ],
  3996. "responses": {
  3997. "200": {
  3998. "description": "OK",
  3999. "schema": {
  4000. "type": "array",
  4001. "items": {
  4002. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4003. }
  4004. }
  4005. },
  4006. "500": {
  4007. "description": "Internal Server Error",
  4008. "schema": {
  4009. "$ref": "#/definitions/app.Response"
  4010. }
  4011. }
  4012. }
  4013. }
  4014. },
  4015. "/Ermcp3/QueryDGFactoryItem": {
  4016. "get": {
  4017. "security": [
  4018. {
  4019. "ApiKeyAuth": []
  4020. }
  4021. ],
  4022. "produces": [
  4023. "application/json"
  4024. ],
  4025. "tags": [
  4026. "企业风险管理v3(app)"
  4027. ],
  4028. "summary": "查询品种要素定义项",
  4029. "parameters": [
  4030. {
  4031. "type": "integer",
  4032. "description": "用户id",
  4033. "name": "userid",
  4034. "in": "query"
  4035. },
  4036. {
  4037. "type": "integer",
  4038. "description": "用户类型 2-机构 7-企业成员",
  4039. "name": "usertype",
  4040. "in": "query"
  4041. },
  4042. {
  4043. "type": "integer",
  4044. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4045. "name": "dgfactoryitemid",
  4046. "in": "query"
  4047. },
  4048. {
  4049. "type": "integer",
  4050. "description": "现货品种ID",
  4051. "name": "deliverygoodsid",
  4052. "in": "query"
  4053. },
  4054. {
  4055. "type": "integer",
  4056. "description": "要素项类型",
  4057. "name": "dgfactoryitemtypeid",
  4058. "in": "query"
  4059. },
  4060. {
  4061. "type": "integer",
  4062. "description": "顺序",
  4063. "name": "orderindex",
  4064. "in": "query"
  4065. }
  4066. ],
  4067. "responses": {
  4068. "200": {
  4069. "description": "OK",
  4070. "schema": {
  4071. "type": "array",
  4072. "items": {
  4073. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4074. }
  4075. }
  4076. },
  4077. "500": {
  4078. "description": "Internal Server Error",
  4079. "schema": {
  4080. "$ref": "#/definitions/app.Response"
  4081. }
  4082. }
  4083. }
  4084. }
  4085. },
  4086. "/Ermcp3/QueryDeliveryGoods": {
  4087. "get": {
  4088. "security": [
  4089. {
  4090. "ApiKeyAuth": []
  4091. }
  4092. ],
  4093. "produces": [
  4094. "application/json"
  4095. ],
  4096. "tags": [
  4097. "企业风险管理v3(app)"
  4098. ],
  4099. "summary": "查询现货商品",
  4100. "parameters": [
  4101. {
  4102. "type": "integer",
  4103. "description": "用户id",
  4104. "name": "userid",
  4105. "in": "query",
  4106. "required": true
  4107. },
  4108. {
  4109. "type": "integer",
  4110. "description": "用户类型 2-机构 7-企业成员",
  4111. "name": "usertype",
  4112. "in": "query"
  4113. },
  4114. {
  4115. "type": "integer",
  4116. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4117. "name": "excludecfg",
  4118. "in": "query"
  4119. }
  4120. ],
  4121. "responses": {
  4122. "200": {
  4123. "description": "OK",
  4124. "schema": {
  4125. "type": "array",
  4126. "items": {
  4127. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4128. }
  4129. }
  4130. },
  4131. "500": {
  4132. "description": "Internal Server Error",
  4133. "schema": {
  4134. "$ref": "#/definitions/app.Response"
  4135. }
  4136. }
  4137. }
  4138. }
  4139. },
  4140. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4141. "get": {
  4142. "security": [
  4143. {
  4144. "ApiKeyAuth": []
  4145. }
  4146. ],
  4147. "produces": [
  4148. "application/json"
  4149. ],
  4150. "tags": [
  4151. "企业风险管理v3(app)"
  4152. ],
  4153. "summary": "查询现货商品详情",
  4154. "parameters": [
  4155. {
  4156. "type": "integer",
  4157. "description": "用户id",
  4158. "name": "userid",
  4159. "in": "query",
  4160. "required": true
  4161. },
  4162. {
  4163. "type": "integer",
  4164. "description": "用户类型 2-机构 7-企业成员",
  4165. "name": "usertype",
  4166. "in": "query"
  4167. },
  4168. {
  4169. "type": "integer",
  4170. "description": "现货商品id",
  4171. "name": "deliverygoodsid",
  4172. "in": "query"
  4173. }
  4174. ],
  4175. "responses": {
  4176. "200": {
  4177. "description": "OK",
  4178. "schema": {
  4179. "type": "array",
  4180. "items": {
  4181. "$ref": "#/definitions/models.XHDeliveryGoods"
  4182. }
  4183. }
  4184. },
  4185. "500": {
  4186. "description": "Internal Server Error",
  4187. "schema": {
  4188. "$ref": "#/definitions/app.Response"
  4189. }
  4190. }
  4191. }
  4192. }
  4193. },
  4194. "/Ermcp3/QueryExposureDetail": {
  4195. "get": {
  4196. "security": [
  4197. {
  4198. "ApiKeyAuth": []
  4199. }
  4200. ],
  4201. "produces": [
  4202. "application/json"
  4203. ],
  4204. "tags": [
  4205. "企业风险管理v3(app)"
  4206. ],
  4207. "summary": "查询敞口现货明细",
  4208. "parameters": [
  4209. {
  4210. "type": "integer",
  4211. "description": "用户id",
  4212. "name": "userid",
  4213. "in": "query",
  4214. "required": true
  4215. },
  4216. {
  4217. "type": "integer",
  4218. "description": "用户类型 2-机构 7-企业成员",
  4219. "name": "usertype",
  4220. "in": "query"
  4221. },
  4222. {
  4223. "type": "integer",
  4224. "description": "套保商品",
  4225. "name": "middlegoodsid",
  4226. "in": "query",
  4227. "required": true
  4228. }
  4229. ],
  4230. "responses": {
  4231. "200": {
  4232. "description": "OK",
  4233. "schema": {
  4234. "type": "array",
  4235. "items": {
  4236. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4237. }
  4238. }
  4239. },
  4240. "500": {
  4241. "description": "Internal Server Error",
  4242. "schema": {
  4243. "$ref": "#/definitions/app.Response"
  4244. }
  4245. }
  4246. }
  4247. }
  4248. },
  4249. "/Ermcp3/QueryExposureSpot": {
  4250. "get": {
  4251. "security": [
  4252. {
  4253. "ApiKeyAuth": []
  4254. }
  4255. ],
  4256. "produces": [
  4257. "application/json"
  4258. ],
  4259. "tags": [
  4260. "企业风险管理v3(app)"
  4261. ],
  4262. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4263. "parameters": [
  4264. {
  4265. "type": "integer",
  4266. "description": "用户id",
  4267. "name": "userid",
  4268. "in": "query",
  4269. "required": true
  4270. },
  4271. {
  4272. "type": "integer",
  4273. "description": "用户类型 2-机构 7-企业成员",
  4274. "name": "usertype",
  4275. "in": "query"
  4276. }
  4277. ],
  4278. "responses": {
  4279. "200": {
  4280. "description": "OK",
  4281. "schema": {
  4282. "type": "array",
  4283. "items": {
  4284. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4285. }
  4286. }
  4287. },
  4288. "500": {
  4289. "description": "Internal Server Error",
  4290. "schema": {
  4291. "$ref": "#/definitions/app.Response"
  4292. }
  4293. }
  4294. }
  4295. }
  4296. },
  4297. "/Ermcp3/QueryExposureSpotDetail": {
  4298. "get": {
  4299. "security": [
  4300. {
  4301. "ApiKeyAuth": []
  4302. }
  4303. ],
  4304. "produces": [
  4305. "application/json"
  4306. ],
  4307. "tags": [
  4308. "企业风险管理v3(app)"
  4309. ],
  4310. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4311. "parameters": [
  4312. {
  4313. "type": "integer",
  4314. "description": "用户id",
  4315. "name": "userid",
  4316. "in": "query",
  4317. "required": true
  4318. },
  4319. {
  4320. "type": "integer",
  4321. "description": "用户类型 2-机构 7-企业成员",
  4322. "name": "usertype",
  4323. "in": "query"
  4324. },
  4325. {
  4326. "type": "integer",
  4327. "description": "现货商品ID",
  4328. "name": "wrstandardid",
  4329. "in": "query",
  4330. "required": true
  4331. }
  4332. ],
  4333. "responses": {
  4334. "200": {
  4335. "description": "OK",
  4336. "schema": {
  4337. "type": "array",
  4338. "items": {
  4339. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4340. }
  4341. }
  4342. },
  4343. "500": {
  4344. "description": "Internal Server Error",
  4345. "schema": {
  4346. "$ref": "#/definitions/app.Response"
  4347. }
  4348. }
  4349. }
  4350. }
  4351. },
  4352. "/Ermcp3/QueryGoodsGroup": {
  4353. "get": {
  4354. "security": [
  4355. {
  4356. "ApiKeyAuth": []
  4357. }
  4358. ],
  4359. "produces": [
  4360. "application/json"
  4361. ],
  4362. "tags": [
  4363. "企业风险管理v3(app)"
  4364. ],
  4365. "summary": "查询期货商品组",
  4366. "parameters": [
  4367. {
  4368. "type": "integer",
  4369. "description": "用户id",
  4370. "name": "userid",
  4371. "in": "query",
  4372. "required": true
  4373. },
  4374. {
  4375. "type": "integer",
  4376. "description": "用户类型 2-机构 7-企业成员",
  4377. "name": "usertype",
  4378. "in": "query"
  4379. },
  4380. {
  4381. "type": "integer",
  4382. "description": "排除套保品中已关联的商品组 1-排除",
  4383. "name": "excludecfg",
  4384. "in": "query"
  4385. }
  4386. ],
  4387. "responses": {
  4388. "200": {
  4389. "description": "OK",
  4390. "schema": {
  4391. "type": "array",
  4392. "items": {
  4393. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4394. }
  4395. }
  4396. },
  4397. "500": {
  4398. "description": "Internal Server Error",
  4399. "schema": {
  4400. "$ref": "#/definitions/app.Response"
  4401. }
  4402. }
  4403. }
  4404. }
  4405. },
  4406. "/Ermcp3/QueryGoodsWrstandard": {
  4407. "get": {
  4408. "security": [
  4409. {
  4410. "ApiKeyAuth": []
  4411. }
  4412. ],
  4413. "produces": [
  4414. "application/json"
  4415. ],
  4416. "tags": [
  4417. "企业风险管理v3(app)"
  4418. ],
  4419. "summary": "查询商品品类",
  4420. "parameters": [
  4421. {
  4422. "type": "integer",
  4423. "description": "用户id",
  4424. "name": "userid",
  4425. "in": "query",
  4426. "required": true
  4427. },
  4428. {
  4429. "type": "integer",
  4430. "description": "用户类型 2-机构 7-企业成员",
  4431. "name": "usertype",
  4432. "in": "query"
  4433. },
  4434. {
  4435. "type": "integer",
  4436. "description": "现货商品id",
  4437. "name": "deliverygoodsid",
  4438. "in": "query"
  4439. }
  4440. ],
  4441. "responses": {
  4442. "200": {
  4443. "description": "OK",
  4444. "schema": {
  4445. "type": "array",
  4446. "items": {
  4447. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4448. }
  4449. }
  4450. },
  4451. "500": {
  4452. "description": "Internal Server Error",
  4453. "schema": {
  4454. "$ref": "#/definitions/app.Response"
  4455. }
  4456. }
  4457. }
  4458. }
  4459. },
  4460. "/Ermcp3/QueryGoodsbrand": {
  4461. "get": {
  4462. "security": [
  4463. {
  4464. "ApiKeyAuth": []
  4465. }
  4466. ],
  4467. "produces": [
  4468. "application/json"
  4469. ],
  4470. "tags": [
  4471. "企业风险管理v3(app)"
  4472. ],
  4473. "summary": "查询商品品牌",
  4474. "parameters": [
  4475. {
  4476. "type": "integer",
  4477. "description": "用户id",
  4478. "name": "userid",
  4479. "in": "query",
  4480. "required": true
  4481. },
  4482. {
  4483. "type": "integer",
  4484. "description": "用户类型 2-机构 7-企业成员",
  4485. "name": "usertype",
  4486. "in": "query"
  4487. }
  4488. ],
  4489. "responses": {
  4490. "200": {
  4491. "description": "OK",
  4492. "schema": {
  4493. "type": "array",
  4494. "items": {
  4495. "$ref": "#/definitions/models.Ermcp3Brand"
  4496. }
  4497. }
  4498. },
  4499. "500": {
  4500. "description": "Internal Server Error",
  4501. "schema": {
  4502. "$ref": "#/definitions/app.Response"
  4503. }
  4504. }
  4505. }
  4506. }
  4507. },
  4508. "/Ermcp3/QueryHedgePlan": {
  4509. "get": {
  4510. "security": [
  4511. {
  4512. "ApiKeyAuth": []
  4513. }
  4514. ],
  4515. "produces": [
  4516. "application/json"
  4517. ],
  4518. "tags": [
  4519. "企业风险管理v3(app)"
  4520. ],
  4521. "summary": "查询套保计划",
  4522. "parameters": [
  4523. {
  4524. "type": "integer",
  4525. "description": "用户ID",
  4526. "name": "userid",
  4527. "in": "query",
  4528. "required": true
  4529. },
  4530. {
  4531. "type": "integer",
  4532. "description": "用户类型 2-机构 7-企业成员",
  4533. "name": "usertype",
  4534. "in": "query"
  4535. },
  4536. {
  4537. "type": "string",
  4538. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4539. "name": "hedgeplanstatus",
  4540. "in": "query",
  4541. "required": true
  4542. }
  4543. ],
  4544. "responses": {
  4545. "200": {
  4546. "description": "OK",
  4547. "schema": {
  4548. "type": "array",
  4549. "items": {
  4550. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4551. }
  4552. }
  4553. },
  4554. "500": {
  4555. "description": "Internal Server Error",
  4556. "schema": {
  4557. "$ref": "#/definitions/app.Response"
  4558. }
  4559. }
  4560. }
  4561. }
  4562. },
  4563. "/Ermcp3/QueryInnerTradeLink": {
  4564. "get": {
  4565. "security": [
  4566. {
  4567. "ApiKeyAuth": []
  4568. }
  4569. ],
  4570. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4571. "produces": [
  4572. "application/json"
  4573. ],
  4574. "tags": [
  4575. "企业风险管理v3(app)"
  4576. ],
  4577. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  4578. "parameters": [
  4579. {
  4580. "type": "integer",
  4581. "description": "外部成交单号",
  4582. "name": "outtradeid",
  4583. "in": "query",
  4584. "required": true
  4585. }
  4586. ],
  4587. "responses": {
  4588. "200": {
  4589. "description": "OK",
  4590. "schema": {
  4591. "type": "array",
  4592. "items": {
  4593. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  4594. }
  4595. }
  4596. },
  4597. "500": {
  4598. "description": "Internal Server Error",
  4599. "schema": {
  4600. "$ref": "#/definitions/app.Response"
  4601. }
  4602. }
  4603. }
  4604. }
  4605. },
  4606. "/Ermcp3/QueryMiddleGoodsDetail": {
  4607. "get": {
  4608. "security": [
  4609. {
  4610. "ApiKeyAuth": []
  4611. }
  4612. ],
  4613. "produces": [
  4614. "application/json"
  4615. ],
  4616. "tags": [
  4617. "企业风险管理v3(app)"
  4618. ],
  4619. "summary": "查询套保品种详情(套保品种/商品详情)",
  4620. "parameters": [
  4621. {
  4622. "type": "integer",
  4623. "description": "用户id",
  4624. "name": "userid",
  4625. "in": "query",
  4626. "required": true
  4627. },
  4628. {
  4629. "type": "integer",
  4630. "description": "用户类型 2-机构 7-企业成员",
  4631. "name": "usertype",
  4632. "in": "query"
  4633. },
  4634. {
  4635. "type": "integer",
  4636. "description": "套保品种id",
  4637. "name": "middlegoodsid",
  4638. "in": "query"
  4639. }
  4640. ],
  4641. "responses": {
  4642. "200": {
  4643. "description": "OK",
  4644. "schema": {
  4645. "type": "array",
  4646. "items": {
  4647. "$ref": "#/definitions/models.TBMiddleGoods"
  4648. }
  4649. }
  4650. },
  4651. "500": {
  4652. "description": "Internal Server Error",
  4653. "schema": {
  4654. "$ref": "#/definitions/app.Response"
  4655. }
  4656. }
  4657. }
  4658. }
  4659. },
  4660. "/Ermcp3/QueryOutTradeLink": {
  4661. "get": {
  4662. "security": [
  4663. {
  4664. "ApiKeyAuth": []
  4665. }
  4666. ],
  4667. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  4668. "produces": [
  4669. "application/json"
  4670. ],
  4671. "tags": [
  4672. "企业风险管理v3(app)"
  4673. ],
  4674. "summary": "查询外部成交单关联",
  4675. "parameters": [
  4676. {
  4677. "type": "integer",
  4678. "description": "用户ID(填登录用户的userid)",
  4679. "name": "userid",
  4680. "in": "query",
  4681. "required": true
  4682. },
  4683. {
  4684. "type": "string",
  4685. "description": "外部订单号(模糊匹配)",
  4686. "name": "outtradeid",
  4687. "in": "query"
  4688. },
  4689. {
  4690. "type": "string",
  4691. "description": "合约名称/代码(模糊匹配)",
  4692. "name": "goodsname",
  4693. "in": "query"
  4694. },
  4695. {
  4696. "type": "integer",
  4697. "description": "关联状态 0-未关联 1-已关联",
  4698. "name": "hasinnerorder",
  4699. "in": "query"
  4700. }
  4701. ],
  4702. "responses": {
  4703. "200": {
  4704. "description": "OK",
  4705. "schema": {
  4706. "type": "array",
  4707. "items": {
  4708. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  4709. }
  4710. }
  4711. },
  4712. "500": {
  4713. "description": "Internal Server Error",
  4714. "schema": {
  4715. "$ref": "#/definitions/app.Response"
  4716. }
  4717. }
  4718. }
  4719. }
  4720. },
  4721. "/Ermcp3/QueryPaAreaAuditCfg": {
  4722. "get": {
  4723. "security": [
  4724. {
  4725. "ApiKeyAuth": []
  4726. }
  4727. ],
  4728. "produces": [
  4729. "application/json"
  4730. ],
  4731. "tags": [
  4732. "企业风险管理v3(app)"
  4733. ],
  4734. "summary": "查询审核设置",
  4735. "parameters": [
  4736. {
  4737. "type": "integer",
  4738. "description": "用户id",
  4739. "name": "userid",
  4740. "in": "query",
  4741. "required": true
  4742. }
  4743. ],
  4744. "responses": {
  4745. "200": {
  4746. "description": "OK",
  4747. "schema": {
  4748. "type": "array",
  4749. "items": {
  4750. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4751. }
  4752. }
  4753. },
  4754. "500": {
  4755. "description": "Internal Server Error",
  4756. "schema": {
  4757. "$ref": "#/definitions/app.Response"
  4758. }
  4759. }
  4760. }
  4761. }
  4762. },
  4763. "/Ermcp3/QueryPaAreaSubject": {
  4764. "get": {
  4765. "security": [
  4766. {
  4767. "ApiKeyAuth": []
  4768. }
  4769. ],
  4770. "produces": [
  4771. "application/json"
  4772. ],
  4773. "tags": [
  4774. "企业风险管理v3(app)"
  4775. ],
  4776. "summary": "查询交易主体",
  4777. "parameters": [
  4778. {
  4779. "type": "integer",
  4780. "description": "用户id",
  4781. "name": "userid",
  4782. "in": "query",
  4783. "required": true
  4784. },
  4785. {
  4786. "type": "integer",
  4787. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4788. "name": "subjectid",
  4789. "in": "query"
  4790. },
  4791. {
  4792. "type": "integer",
  4793. "description": "主体类型 - 1:交易主体 2:业务部门",
  4794. "name": "subjecttype",
  4795. "in": "query"
  4796. },
  4797. {
  4798. "type": "integer",
  4799. "description": "主体状态 - 1:正常 2: 停用",
  4800. "name": "subjectstatus",
  4801. "in": "query"
  4802. }
  4803. ],
  4804. "responses": {
  4805. "200": {
  4806. "description": "OK",
  4807. "schema": {
  4808. "type": "array",
  4809. "items": {
  4810. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4811. }
  4812. }
  4813. },
  4814. "500": {
  4815. "description": "Internal Server Error",
  4816. "schema": {
  4817. "$ref": "#/definitions/app.Response"
  4818. }
  4819. }
  4820. }
  4821. }
  4822. },
  4823. "/Ermcp3/QueryPaTradeLink": {
  4824. "get": {
  4825. "security": [
  4826. {
  4827. "ApiKeyAuth": []
  4828. }
  4829. ],
  4830. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  4831. "produces": [
  4832. "application/json"
  4833. ],
  4834. "tags": [
  4835. "企业风险管理v3(app)"
  4836. ],
  4837. "summary": "查询期现单据关联",
  4838. "parameters": [
  4839. {
  4840. "type": "integer",
  4841. "description": "用户ID",
  4842. "name": "userid",
  4843. "in": "query",
  4844. "required": true
  4845. }
  4846. ],
  4847. "responses": {
  4848. "200": {
  4849. "description": "OK",
  4850. "schema": {
  4851. "type": "array",
  4852. "items": {
  4853. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  4854. }
  4855. }
  4856. },
  4857. "500": {
  4858. "description": "Internal Server Error",
  4859. "schema": {
  4860. "$ref": "#/definitions/app.Response"
  4861. }
  4862. }
  4863. }
  4864. }
  4865. },
  4866. "/Ermcp3/QueryPaTradeLinkDetail": {
  4867. "get": {
  4868. "security": [
  4869. {
  4870. "ApiKeyAuth": []
  4871. }
  4872. ],
  4873. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  4874. "produces": [
  4875. "application/json"
  4876. ],
  4877. "tags": [
  4878. "企业风险管理v3(app)"
  4879. ],
  4880. "summary": "查询期现关联记录",
  4881. "parameters": [
  4882. {
  4883. "type": "integer",
  4884. "description": "用户ID(填登录用户的userid)",
  4885. "name": "userid",
  4886. "in": "query",
  4887. "required": true
  4888. },
  4889. {
  4890. "type": "integer",
  4891. "description": "关联状态 1:成功 2:失败 3:解绑",
  4892. "name": "linkstatus",
  4893. "in": "query"
  4894. },
  4895. {
  4896. "type": "string",
  4897. "description": "期货订单号(模糊匹配)",
  4898. "name": "tradeid",
  4899. "in": "query"
  4900. },
  4901. {
  4902. "type": "string",
  4903. "description": "现货编号(模糊匹配)",
  4904. "name": "contractno",
  4905. "in": "query"
  4906. },
  4907. {
  4908. "type": "string",
  4909. "description": "期货账户(模糊匹配)",
  4910. "name": "taname",
  4911. "in": "query"
  4912. }
  4913. ],
  4914. "responses": {
  4915. "200": {
  4916. "description": "OK",
  4917. "schema": {
  4918. "type": "array",
  4919. "items": {
  4920. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  4921. }
  4922. }
  4923. },
  4924. "500": {
  4925. "description": "Internal Server Error",
  4926. "schema": {
  4927. "$ref": "#/definitions/app.Response"
  4928. }
  4929. }
  4930. }
  4931. }
  4932. },
  4933. "/Ermcp3/QueryParamChangeApp": {
  4934. "get": {
  4935. "security": [
  4936. {
  4937. "ApiKeyAuth": []
  4938. }
  4939. ],
  4940. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  4941. "produces": [
  4942. "application/json"
  4943. ],
  4944. "tags": [
  4945. "企业风险管理v3(app)"
  4946. ],
  4947. "summary": "查询现货商品参数变更申请(流水)",
  4948. "parameters": [
  4949. {
  4950. "type": "integer",
  4951. "description": "用户ID",
  4952. "name": "userid",
  4953. "in": "query",
  4954. "required": true
  4955. },
  4956. {
  4957. "type": "integer",
  4958. "description": "现货品种id",
  4959. "name": "deliverygoodsid",
  4960. "in": "query"
  4961. },
  4962. {
  4963. "type": "integer",
  4964. "description": "现货商品id",
  4965. "name": "wrstandardid",
  4966. "in": "query"
  4967. },
  4968. {
  4969. "type": "integer",
  4970. "description": "套保商品id",
  4971. "name": "middlegoodsid",
  4972. "in": "query"
  4973. },
  4974. {
  4975. "type": "integer",
  4976. "description": "操作类型 1:新增 2:修改",
  4977. "name": "operatetype",
  4978. "in": "query"
  4979. },
  4980. {
  4981. "type": "integer",
  4982. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  4983. "name": "paramchangetype",
  4984. "in": "query"
  4985. },
  4986. {
  4987. "type": "string",
  4988. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4989. "name": "ftstatus",
  4990. "in": "query"
  4991. }
  4992. ],
  4993. "responses": {
  4994. "200": {
  4995. "description": "OK",
  4996. "schema": {
  4997. "type": "array",
  4998. "items": {
  4999. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5000. }
  5001. }
  5002. },
  5003. "500": {
  5004. "description": "Internal Server Error",
  5005. "schema": {
  5006. "$ref": "#/definitions/app.Response"
  5007. }
  5008. }
  5009. }
  5010. }
  5011. },
  5012. "/Ermcp3/QueryRootUserAccount": {
  5013. "get": {
  5014. "security": [
  5015. {
  5016. "ApiKeyAuth": []
  5017. }
  5018. ],
  5019. "produces": [
  5020. "application/json"
  5021. ],
  5022. "tags": [
  5023. "企业风险管理v3(app)"
  5024. ],
  5025. "summary": "查询顶级用户信息",
  5026. "parameters": [
  5027. {
  5028. "type": "integer",
  5029. "description": "用户ID",
  5030. "name": "userid",
  5031. "in": "query",
  5032. "required": true
  5033. }
  5034. ],
  5035. "responses": {
  5036. "200": {
  5037. "description": "OK",
  5038. "schema": {
  5039. "type": "array",
  5040. "items": {
  5041. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5042. }
  5043. }
  5044. },
  5045. "500": {
  5046. "description": "Internal Server Error",
  5047. "schema": {
  5048. "$ref": "#/definitions/app.Response"
  5049. }
  5050. }
  5051. }
  5052. }
  5053. },
  5054. "/Ermcp3/QuerySCMiddleGoods": {
  5055. "get": {
  5056. "security": [
  5057. {
  5058. "ApiKeyAuth": []
  5059. }
  5060. ],
  5061. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5062. "produces": [
  5063. "application/json"
  5064. ],
  5065. "tags": [
  5066. "企业风险管理v3(app)"
  5067. ],
  5068. "summary": "查询现货订单",
  5069. "parameters": [
  5070. {
  5071. "type": "integer",
  5072. "description": "用户ID(填登录用户的userid)",
  5073. "name": "userid",
  5074. "in": "query",
  5075. "required": true
  5076. },
  5077. {
  5078. "type": "integer",
  5079. "description": "买卖方向 0-买 1-卖",
  5080. "name": "buyorsell",
  5081. "in": "query",
  5082. "required": true
  5083. },
  5084. {
  5085. "type": "integer",
  5086. "description": "商品组id",
  5087. "name": "goodsgroupid",
  5088. "in": "query",
  5089. "required": true
  5090. },
  5091. {
  5092. "type": "integer",
  5093. "description": "业务类型 1:套保 2:套利",
  5094. "name": "biztype",
  5095. "in": "query"
  5096. },
  5097. {
  5098. "type": "string",
  5099. "description": "现货编号(模糊匹配)",
  5100. "name": "contractno",
  5101. "in": "query"
  5102. },
  5103. {
  5104. "type": "string",
  5105. "description": "对手方(模糊匹配)",
  5106. "name": "customername",
  5107. "in": "query"
  5108. },
  5109. {
  5110. "type": "string",
  5111. "description": "现货商品名称(模糊匹配)",
  5112. "name": "wrstandardname",
  5113. "in": "query"
  5114. }
  5115. ],
  5116. "responses": {
  5117. "200": {
  5118. "description": "OK",
  5119. "schema": {
  5120. "type": "array",
  5121. "items": {
  5122. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5123. }
  5124. }
  5125. },
  5126. "500": {
  5127. "description": "Internal Server Error",
  5128. "schema": {
  5129. "$ref": "#/definitions/app.Response"
  5130. }
  5131. }
  5132. }
  5133. }
  5134. },
  5135. "/Ermcp3/QuerySpotContract": {
  5136. "get": {
  5137. "security": [
  5138. {
  5139. "ApiKeyAuth": []
  5140. }
  5141. ],
  5142. "produces": [
  5143. "application/json"
  5144. ],
  5145. "tags": [
  5146. "企业风险管理v3(app)"
  5147. ],
  5148. "summary": "查询现货合同",
  5149. "parameters": [
  5150. {
  5151. "type": "integer",
  5152. "description": "用户id(当指定contractid, userid可不填)",
  5153. "name": "userid",
  5154. "in": "query",
  5155. "required": true
  5156. },
  5157. {
  5158. "type": "integer",
  5159. "description": "用户类型 2-机构 7-企业成员",
  5160. "name": "usertype",
  5161. "in": "query"
  5162. },
  5163. {
  5164. "type": "integer",
  5165. "description": "合同类型 1-采购, -1-销售",
  5166. "name": "contracttype",
  5167. "in": "query"
  5168. },
  5169. {
  5170. "type": "string",
  5171. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5172. "name": "querytype",
  5173. "in": "query"
  5174. },
  5175. {
  5176. "type": "string",
  5177. "description": "合同ID(SpotContractId)",
  5178. "name": "contractid",
  5179. "in": "query"
  5180. },
  5181. {
  5182. "type": "string",
  5183. "description": "合同编号(模糊匹配)",
  5184. "name": "contractno",
  5185. "in": "query"
  5186. },
  5187. {
  5188. "type": "string",
  5189. "description": "商品名称(模糊匹配)",
  5190. "name": "wrstandardname",
  5191. "in": "query"
  5192. }
  5193. ],
  5194. "responses": {
  5195. "200": {
  5196. "description": "OK",
  5197. "schema": {
  5198. "type": "array",
  5199. "items": {
  5200. "$ref": "#/definitions/models.Ermcp3Contract"
  5201. }
  5202. }
  5203. },
  5204. "500": {
  5205. "description": "Internal Server Error",
  5206. "schema": {
  5207. "$ref": "#/definitions/app.Response"
  5208. }
  5209. }
  5210. }
  5211. }
  5212. },
  5213. "/Ermcp3/QuerySpotContractBS": {
  5214. "get": {
  5215. "security": [
  5216. {
  5217. "ApiKeyAuth": []
  5218. }
  5219. ],
  5220. "produces": [
  5221. "application/json"
  5222. ],
  5223. "tags": [
  5224. "企业风险管理v3(app)"
  5225. ],
  5226. "summary": "查询合同(采购/销售)",
  5227. "parameters": [
  5228. {
  5229. "type": "integer",
  5230. "description": "用户id",
  5231. "name": "userid",
  5232. "in": "query",
  5233. "required": true
  5234. },
  5235. {
  5236. "type": "integer",
  5237. "description": "用户类型 2-机构 7-企业成员",
  5238. "name": "usertype",
  5239. "in": "query"
  5240. },
  5241. {
  5242. "type": "integer",
  5243. "description": "合同类型 1-采购, -1-销售",
  5244. "name": "contracttype",
  5245. "in": "query",
  5246. "required": true
  5247. },
  5248. {
  5249. "type": "integer",
  5250. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5251. "name": "querytype",
  5252. "in": "query",
  5253. "required": true
  5254. },
  5255. {
  5256. "type": "string",
  5257. "description": "合同ID(SpotContractId)",
  5258. "name": "contractid",
  5259. "in": "query"
  5260. }
  5261. ],
  5262. "responses": {
  5263. "200": {
  5264. "description": "OK",
  5265. "schema": {
  5266. "type": "array",
  5267. "items": {
  5268. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5269. }
  5270. }
  5271. },
  5272. "500": {
  5273. "description": "Internal Server Error",
  5274. "schema": {
  5275. "$ref": "#/definitions/app.Response"
  5276. }
  5277. }
  5278. }
  5279. }
  5280. },
  5281. "/Ermcp3/QuerySpotGoodsPrice": {
  5282. "get": {
  5283. "security": [
  5284. {
  5285. "ApiKeyAuth": []
  5286. }
  5287. ],
  5288. "produces": [
  5289. "application/json"
  5290. ],
  5291. "tags": [
  5292. "企业风险管理v3(app)"
  5293. ],
  5294. "summary": "查询现货市价(现货市价)",
  5295. "parameters": [
  5296. {
  5297. "type": "integer",
  5298. "description": "用户ID",
  5299. "name": "userid",
  5300. "in": "query",
  5301. "required": true
  5302. }
  5303. ],
  5304. "responses": {
  5305. "200": {
  5306. "description": "OK",
  5307. "schema": {
  5308. "type": "array",
  5309. "items": {
  5310. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5311. }
  5312. }
  5313. },
  5314. "500": {
  5315. "description": "Internal Server Error",
  5316. "schema": {
  5317. "$ref": "#/definitions/app.Response"
  5318. }
  5319. }
  5320. }
  5321. }
  5322. },
  5323. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5324. "get": {
  5325. "security": [
  5326. {
  5327. "ApiKeyAuth": []
  5328. }
  5329. ],
  5330. "produces": [
  5331. "application/json"
  5332. ],
  5333. "tags": [
  5334. "企业风险管理v3(app)"
  5335. ],
  5336. "summary": "查询现货市价详情(现货市价/详情)",
  5337. "parameters": [
  5338. {
  5339. "type": "integer",
  5340. "description": "用户ID",
  5341. "name": "userid",
  5342. "in": "query",
  5343. "required": true
  5344. },
  5345. {
  5346. "type": "integer",
  5347. "description": "现货商品ID",
  5348. "name": "deliverygoodsid",
  5349. "in": "query",
  5350. "required": true
  5351. },
  5352. {
  5353. "type": "integer",
  5354. "description": "品牌ID",
  5355. "name": "brandid",
  5356. "in": "query"
  5357. },
  5358. {
  5359. "type": "integer",
  5360. "description": "品类ID",
  5361. "name": "wrstandardid",
  5362. "in": "query"
  5363. }
  5364. ],
  5365. "responses": {
  5366. "200": {
  5367. "description": "OK",
  5368. "schema": {
  5369. "type": "array",
  5370. "items": {
  5371. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5372. }
  5373. }
  5374. },
  5375. "500": {
  5376. "description": "Internal Server Error",
  5377. "schema": {
  5378. "$ref": "#/definitions/app.Response"
  5379. }
  5380. }
  5381. }
  5382. }
  5383. },
  5384. "/Ermcp3/QuerySubTaaccount": {
  5385. "get": {
  5386. "security": [
  5387. {
  5388. "ApiKeyAuth": []
  5389. }
  5390. ],
  5391. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5392. "produces": [
  5393. "application/json"
  5394. ],
  5395. "tags": [
  5396. "企业风险管理v3(app)"
  5397. ],
  5398. "summary": "查询期货子账户",
  5399. "parameters": [
  5400. {
  5401. "type": "integer",
  5402. "description": "母账号id",
  5403. "name": "parentaccountid",
  5404. "in": "query"
  5405. },
  5406. {
  5407. "type": "string",
  5408. "description": "母账号代码",
  5409. "name": "parentaccountcode",
  5410. "in": "query"
  5411. }
  5412. ],
  5413. "responses": {
  5414. "200": {
  5415. "description": "OK",
  5416. "schema": {
  5417. "type": "array",
  5418. "items": {
  5419. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5420. }
  5421. }
  5422. },
  5423. "500": {
  5424. "description": "Internal Server Error",
  5425. "schema": {
  5426. "$ref": "#/definitions/app.Response"
  5427. }
  5428. }
  5429. }
  5430. }
  5431. },
  5432. "/Erms2/QueryArbitrageStrategy": {
  5433. "get": {
  5434. "security": [
  5435. {
  5436. "ApiKeyAuth": []
  5437. }
  5438. ],
  5439. "produces": [
  5440. "application/json"
  5441. ],
  5442. "tags": [
  5443. "风险管理"
  5444. ],
  5445. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5446. "parameters": [
  5447. {
  5448. "type": "integer",
  5449. "description": "账户ID",
  5450. "name": "userid",
  5451. "in": "query",
  5452. "required": true
  5453. },
  5454. {
  5455. "type": "string",
  5456. "description": "商品组ID(品种ID)",
  5457. "name": "goodsgroupid",
  5458. "in": "query"
  5459. }
  5460. ],
  5461. "responses": {
  5462. "200": {
  5463. "description": "OK",
  5464. "schema": {
  5465. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5466. }
  5467. },
  5468. "500": {
  5469. "description": "Internal Server Error",
  5470. "schema": {
  5471. "$ref": "#/definitions/app.Response"
  5472. }
  5473. }
  5474. }
  5475. }
  5476. },
  5477. "/Erms2/QueryInnerTradeDetail": {
  5478. "get": {
  5479. "security": [
  5480. {
  5481. "ApiKeyAuth": []
  5482. }
  5483. ],
  5484. "produces": [
  5485. "application/json"
  5486. ],
  5487. "tags": [
  5488. "风险管理"
  5489. ],
  5490. "summary": "查询内部成交单信息",
  5491. "parameters": [
  5492. {
  5493. "type": "integer",
  5494. "description": "资金账户",
  5495. "name": "accountid",
  5496. "in": "query",
  5497. "required": true
  5498. }
  5499. ],
  5500. "responses": {
  5501. "200": {
  5502. "description": "OK",
  5503. "schema": {
  5504. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5505. }
  5506. },
  5507. "500": {
  5508. "description": "Internal Server Error",
  5509. "schema": {
  5510. "$ref": "#/definitions/app.Response"
  5511. }
  5512. }
  5513. }
  5514. }
  5515. },
  5516. "/Erms2/QuerySpotContract": {
  5517. "get": {
  5518. "security": [
  5519. {
  5520. "ApiKeyAuth": []
  5521. }
  5522. ],
  5523. "produces": [
  5524. "application/json"
  5525. ],
  5526. "tags": [
  5527. "风险管理"
  5528. ],
  5529. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5530. "parameters": [
  5531. {
  5532. "type": "integer",
  5533. "description": "策略申请ID",
  5534. "name": "asapplyid",
  5535. "in": "query",
  5536. "required": true
  5537. },
  5538. {
  5539. "type": "integer",
  5540. "description": "现货合同ID",
  5541. "name": "spotcontractid",
  5542. "in": "query"
  5543. }
  5544. ],
  5545. "responses": {
  5546. "200": {
  5547. "description": "OK",
  5548. "schema": {
  5549. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5550. }
  5551. },
  5552. "500": {
  5553. "description": "Internal Server Error",
  5554. "schema": {
  5555. "$ref": "#/definitions/app.Response"
  5556. }
  5557. }
  5558. }
  5559. }
  5560. },
  5561. "/Erms3/AddErms2ASApply": {
  5562. "post": {
  5563. "security": [
  5564. {
  5565. "ApiKeyAuth": []
  5566. }
  5567. ],
  5568. "produces": [
  5569. "application/json"
  5570. ],
  5571. "tags": [
  5572. "风险管理v3"
  5573. ],
  5574. "summary": "新增期现套利业务申请",
  5575. "parameters": [
  5576. {
  5577. "description": "申请参数",
  5578. "name": "jsonBody",
  5579. "in": "body",
  5580. "required": true,
  5581. "schema": {
  5582. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5583. }
  5584. }
  5585. ],
  5586. "responses": {
  5587. "200": {
  5588. "description": "OK",
  5589. "schema": {
  5590. "$ref": "#/definitions/app.Response"
  5591. }
  5592. },
  5593. "500": {
  5594. "description": "Internal Server Error",
  5595. "schema": {
  5596. "$ref": "#/definitions/app.Response"
  5597. }
  5598. }
  5599. }
  5600. }
  5601. },
  5602. "/Erms3/AddErms2SpotTradeApply": {
  5603. "post": {
  5604. "security": [
  5605. {
  5606. "ApiKeyAuth": []
  5607. }
  5608. ],
  5609. "produces": [
  5610. "application/json"
  5611. ],
  5612. "tags": [
  5613. "风险管理v3"
  5614. ],
  5615. "summary": "新增现货贸易业务申请",
  5616. "parameters": [
  5617. {
  5618. "description": "申请参数",
  5619. "name": "jsonBody",
  5620. "in": "body",
  5621. "required": true,
  5622. "schema": {
  5623. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5624. }
  5625. }
  5626. ],
  5627. "responses": {
  5628. "200": {
  5629. "description": "OK",
  5630. "schema": {
  5631. "$ref": "#/definitions/app.Response"
  5632. }
  5633. },
  5634. "500": {
  5635. "description": "Internal Server Error",
  5636. "schema": {
  5637. "$ref": "#/definitions/app.Response"
  5638. }
  5639. }
  5640. }
  5641. }
  5642. },
  5643. "/Erms3/AddSpotContractApply": {
  5644. "post": {
  5645. "security": [
  5646. {
  5647. "ApiKeyAuth": []
  5648. }
  5649. ],
  5650. "produces": [
  5651. "application/json"
  5652. ],
  5653. "tags": [
  5654. "风险管理v3"
  5655. ],
  5656. "summary": "新增现货合同申请",
  5657. "parameters": [
  5658. {
  5659. "description": "申请参数",
  5660. "name": "jsonBody",
  5661. "in": "body",
  5662. "required": true,
  5663. "schema": {
  5664. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5665. }
  5666. }
  5667. ],
  5668. "responses": {
  5669. "200": {
  5670. "description": "OK",
  5671. "schema": {
  5672. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5673. }
  5674. },
  5675. "500": {
  5676. "description": "Internal Server Error",
  5677. "schema": {
  5678. "$ref": "#/definitions/app.Response"
  5679. }
  5680. }
  5681. }
  5682. }
  5683. },
  5684. "/Erms3/AddUserInfoApply": {
  5685. "post": {
  5686. "security": [
  5687. {
  5688. "ApiKeyAuth": []
  5689. }
  5690. ],
  5691. "produces": [
  5692. "application/json"
  5693. ],
  5694. "tags": [
  5695. "风险管理v3"
  5696. ],
  5697. "summary": "新增客户申请",
  5698. "parameters": [
  5699. {
  5700. "description": "用户信息",
  5701. "name": "jsonBody",
  5702. "in": "body",
  5703. "required": true,
  5704. "schema": {
  5705. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5706. }
  5707. }
  5708. ],
  5709. "responses": {
  5710. "200": {
  5711. "description": "OK",
  5712. "schema": {
  5713. "$ref": "#/definitions/app.Response"
  5714. }
  5715. },
  5716. "500": {
  5717. "description": "Internal Server Error",
  5718. "schema": {
  5719. "$ref": "#/definitions/app.Response"
  5720. }
  5721. }
  5722. }
  5723. }
  5724. },
  5725. "/Erms3/DeleteUserInfoApply": {
  5726. "get": {
  5727. "security": [
  5728. {
  5729. "ApiKeyAuth": []
  5730. }
  5731. ],
  5732. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5733. "produces": [
  5734. "application/json"
  5735. ],
  5736. "tags": [
  5737. "风险管理v3"
  5738. ],
  5739. "summary": "删除客户申请",
  5740. "parameters": [
  5741. {
  5742. "type": "integer",
  5743. "description": "用户ID",
  5744. "name": "userID",
  5745. "in": "query",
  5746. "required": true
  5747. }
  5748. ],
  5749. "responses": {
  5750. "200": {
  5751. "description": "OK",
  5752. "schema": {
  5753. "$ref": "#/definitions/app.Response"
  5754. }
  5755. },
  5756. "500": {
  5757. "description": "Internal Server Error",
  5758. "schema": {
  5759. "$ref": "#/definitions/app.Response"
  5760. }
  5761. }
  5762. }
  5763. }
  5764. },
  5765. "/Erms3/ModifyUserInfoApply": {
  5766. "post": {
  5767. "security": [
  5768. {
  5769. "ApiKeyAuth": []
  5770. }
  5771. ],
  5772. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5773. "produces": [
  5774. "application/json"
  5775. ],
  5776. "tags": [
  5777. "风险管理v3"
  5778. ],
  5779. "summary": "修改客户申请",
  5780. "parameters": [
  5781. {
  5782. "description": "用户信息",
  5783. "name": "jsonBody",
  5784. "in": "body",
  5785. "required": true,
  5786. "schema": {
  5787. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5788. }
  5789. }
  5790. ],
  5791. "responses": {
  5792. "200": {
  5793. "description": "OK",
  5794. "schema": {
  5795. "$ref": "#/definitions/app.Response"
  5796. }
  5797. },
  5798. "500": {
  5799. "description": "Internal Server Error",
  5800. "schema": {
  5801. "$ref": "#/definitions/app.Response"
  5802. }
  5803. }
  5804. }
  5805. }
  5806. },
  5807. "/Erms3/QueryBusinessInfo": {
  5808. "get": {
  5809. "security": [
  5810. {
  5811. "ApiKeyAuth": []
  5812. }
  5813. ],
  5814. "produces": [
  5815. "application/json"
  5816. ],
  5817. "tags": [
  5818. "风险管理v3"
  5819. ],
  5820. "summary": "查询业务表单数据",
  5821. "parameters": [
  5822. {
  5823. "type": "string",
  5824. "description": "资金账号ID列表,用逗号分隔",
  5825. "name": "accountids",
  5826. "in": "query",
  5827. "required": true
  5828. },
  5829. {
  5830. "type": "integer",
  5831. "description": "状态,0为未结束 1为已结束",
  5832. "name": "status",
  5833. "in": "query",
  5834. "required": true
  5835. }
  5836. ],
  5837. "responses": {
  5838. "200": {
  5839. "description": "OK",
  5840. "schema": {
  5841. "type": "array",
  5842. "items": {
  5843. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5844. }
  5845. }
  5846. },
  5847. "500": {
  5848. "description": "Internal Server Error",
  5849. "schema": {
  5850. "$ref": "#/definitions/app.Response"
  5851. }
  5852. }
  5853. }
  5854. }
  5855. },
  5856. "/Erms3/QueryPendingAuditContract": {
  5857. "get": {
  5858. "security": [
  5859. {
  5860. "ApiKeyAuth": []
  5861. }
  5862. ],
  5863. "produces": [
  5864. "application/json"
  5865. ],
  5866. "tags": [
  5867. "风险管理v3"
  5868. ],
  5869. "summary": "查询待审核合同",
  5870. "parameters": [
  5871. {
  5872. "type": "string",
  5873. "description": "资金账号ID列表,逗号隔开",
  5874. "name": "accountids",
  5875. "in": "query",
  5876. "required": true
  5877. },
  5878. {
  5879. "type": "integer",
  5880. "description": "合同类型 1-采购 -1-销售",
  5881. "name": "contracttype",
  5882. "in": "query",
  5883. "required": true
  5884. },
  5885. {
  5886. "type": "integer",
  5887. "description": "合同模式 1-普通 2-回购",
  5888. "name": "contractmode",
  5889. "in": "query",
  5890. "required": true
  5891. }
  5892. ],
  5893. "responses": {
  5894. "200": {
  5895. "description": "OK",
  5896. "schema": {
  5897. "type": "array",
  5898. "items": {
  5899. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5900. }
  5901. }
  5902. },
  5903. "500": {
  5904. "description": "Internal Server Error",
  5905. "schema": {
  5906. "$ref": "#/definitions/app.Response"
  5907. }
  5908. }
  5909. }
  5910. }
  5911. },
  5912. "/Erms3/QueryPendingBusiness": {
  5913. "get": {
  5914. "security": [
  5915. {
  5916. "ApiKeyAuth": []
  5917. }
  5918. ],
  5919. "produces": [
  5920. "application/json"
  5921. ],
  5922. "tags": [
  5923. "风险管理v3"
  5924. ],
  5925. "summary": "查询待审核基差贸易业务",
  5926. "parameters": [
  5927. {
  5928. "type": "string",
  5929. "description": "资金账号ID列表,逗号隔开",
  5930. "name": "accountids",
  5931. "in": "query",
  5932. "required": true
  5933. }
  5934. ],
  5935. "responses": {
  5936. "200": {
  5937. "description": "OK",
  5938. "schema": {
  5939. "type": "array",
  5940. "items": {
  5941. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5942. }
  5943. }
  5944. },
  5945. "500": {
  5946. "description": "Internal Server Error",
  5947. "schema": {
  5948. "$ref": "#/definitions/app.Response"
  5949. }
  5950. }
  5951. }
  5952. }
  5953. },
  5954. "/Erms3/QuerySpotContractAppleForm": {
  5955. "get": {
  5956. "security": [
  5957. {
  5958. "ApiKeyAuth": []
  5959. }
  5960. ],
  5961. "produces": [
  5962. "application/json"
  5963. ],
  5964. "tags": [
  5965. "风险管理v3"
  5966. ],
  5967. "summary": "查询合同申请表单数据",
  5968. "parameters": [
  5969. {
  5970. "type": "integer",
  5971. "description": "登录账号",
  5972. "name": "loginID",
  5973. "in": "query",
  5974. "required": true
  5975. }
  5976. ],
  5977. "responses": {
  5978. "200": {
  5979. "description": "OK",
  5980. "schema": {
  5981. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5982. }
  5983. },
  5984. "500": {
  5985. "description": "Internal Server Error",
  5986. "schema": {
  5987. "$ref": "#/definitions/app.Response"
  5988. }
  5989. }
  5990. }
  5991. }
  5992. },
  5993. "/Erms3/QuerySpotContractDetail": {
  5994. "get": {
  5995. "security": [
  5996. {
  5997. "ApiKeyAuth": []
  5998. }
  5999. ],
  6000. "produces": [
  6001. "application/json"
  6002. ],
  6003. "tags": [
  6004. "风险管理v3"
  6005. ],
  6006. "summary": "查询合同详细信息",
  6007. "parameters": [
  6008. {
  6009. "type": "string",
  6010. "description": "资金账号ID列表,用逗号分隔",
  6011. "name": "accountids",
  6012. "in": "query",
  6013. "required": true
  6014. },
  6015. {
  6016. "type": "integer",
  6017. "description": "合同类型,1为采购合同 -1为销售合同",
  6018. "name": "contracttype",
  6019. "in": "query",
  6020. "required": true
  6021. },
  6022. {
  6023. "type": "integer",
  6024. "description": "合同模式,1为普通合同 2为回购销售合同",
  6025. "name": "contractmode",
  6026. "in": "query",
  6027. "required": true
  6028. },
  6029. {
  6030. "type": "integer",
  6031. "description": "状态,0为履约中 1为已完成",
  6032. "name": "status",
  6033. "in": "query",
  6034. "required": true
  6035. }
  6036. ],
  6037. "responses": {
  6038. "200": {
  6039. "description": "OK",
  6040. "schema": {
  6041. "type": "array",
  6042. "items": {
  6043. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  6044. }
  6045. }
  6046. },
  6047. "500": {
  6048. "description": "Internal Server Error",
  6049. "schema": {
  6050. "$ref": "#/definitions/app.Response"
  6051. }
  6052. }
  6053. }
  6054. }
  6055. },
  6056. "/Erms3/QueryUserInfoApplies": {
  6057. "get": {
  6058. "security": [
  6059. {
  6060. "ApiKeyAuth": []
  6061. }
  6062. ],
  6063. "produces": [
  6064. "application/json"
  6065. ],
  6066. "tags": [
  6067. "风险管理v3"
  6068. ],
  6069. "summary": "客户申请信息查询",
  6070. "parameters": [
  6071. {
  6072. "type": "integer",
  6073. "description": "页码",
  6074. "name": "page",
  6075. "in": "query"
  6076. },
  6077. {
  6078. "type": "integer",
  6079. "description": "每页条数",
  6080. "name": "pagesize",
  6081. "in": "query"
  6082. },
  6083. {
  6084. "type": "string",
  6085. "description": "客户名称,支持模糊查询",
  6086. "name": "userName",
  6087. "in": "query"
  6088. }
  6089. ],
  6090. "responses": {
  6091. "200": {
  6092. "description": "OK",
  6093. "schema": {
  6094. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6095. }
  6096. },
  6097. "500": {
  6098. "description": "Internal Server Error",
  6099. "schema": {
  6100. "$ref": "#/definitions/app.Response"
  6101. }
  6102. }
  6103. }
  6104. }
  6105. },
  6106. "/Erms3/QueryUserInfos": {
  6107. "get": {
  6108. "security": [
  6109. {
  6110. "ApiKeyAuth": []
  6111. }
  6112. ],
  6113. "produces": [
  6114. "application/json"
  6115. ],
  6116. "tags": [
  6117. "风险管理v3"
  6118. ],
  6119. "summary": "客户信息查询",
  6120. "parameters": [
  6121. {
  6122. "type": "integer",
  6123. "description": "页码",
  6124. "name": "page",
  6125. "in": "query"
  6126. },
  6127. {
  6128. "type": "integer",
  6129. "description": "每页条数",
  6130. "name": "pagesize",
  6131. "in": "query"
  6132. },
  6133. {
  6134. "type": "string",
  6135. "description": "客户名称,支持模糊查询",
  6136. "name": "userName",
  6137. "in": "query"
  6138. }
  6139. ],
  6140. "responses": {
  6141. "200": {
  6142. "description": "OK",
  6143. "schema": {
  6144. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6145. }
  6146. },
  6147. "500": {
  6148. "description": "Internal Server Error",
  6149. "schema": {
  6150. "$ref": "#/definitions/app.Response"
  6151. }
  6152. }
  6153. }
  6154. }
  6155. },
  6156. "/HSBY/GetHsbyMyCount": {
  6157. "get": {
  6158. "security": [
  6159. {
  6160. "ApiKeyAuth": []
  6161. }
  6162. ],
  6163. "description": "说明: 不包括已完成的数量。",
  6164. "produces": [
  6165. "application/json"
  6166. ],
  6167. "tags": [
  6168. "定制【海商报业】"
  6169. ],
  6170. "summary": "获取我的订单与包裹数量",
  6171. "parameters": [
  6172. {
  6173. "type": "string",
  6174. "description": "资金账户列表,格式:1,2,3",
  6175. "name": "accountIDs",
  6176. "in": "query",
  6177. "required": true
  6178. }
  6179. ],
  6180. "responses": {
  6181. "200": {
  6182. "description": "OK",
  6183. "schema": {
  6184. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6185. }
  6186. },
  6187. "500": {
  6188. "description": "Internal Server Error",
  6189. "schema": {
  6190. "$ref": "#/definitions/app.Response"
  6191. }
  6192. }
  6193. }
  6194. }
  6195. },
  6196. "/HSBY/QueryClientFixedADConfigs": {
  6197. "get": {
  6198. "security": [
  6199. {
  6200. "ApiKeyAuth": []
  6201. }
  6202. ],
  6203. "produces": [
  6204. "application/json"
  6205. ],
  6206. "tags": [
  6207. "定制【海商报业】"
  6208. ],
  6209. "summary": "获取终端固定广告配置",
  6210. "responses": {
  6211. "200": {
  6212. "description": "OK",
  6213. "schema": {
  6214. "$ref": "#/definitions/models.Clientfixedadconfig"
  6215. }
  6216. },
  6217. "500": {
  6218. "description": "Internal Server Error",
  6219. "schema": {
  6220. "$ref": "#/definitions/app.Response"
  6221. }
  6222. }
  6223. }
  6224. }
  6225. },
  6226. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6227. "get": {
  6228. "security": [
  6229. {
  6230. "ApiKeyAuth": []
  6231. }
  6232. ],
  6233. "produces": [
  6234. "application/json"
  6235. ],
  6236. "tags": [
  6237. "定制【海商报业】"
  6238. ],
  6239. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6240. "parameters": [
  6241. {
  6242. "type": "integer",
  6243. "description": "页码",
  6244. "name": "page",
  6245. "in": "query"
  6246. },
  6247. {
  6248. "type": "integer",
  6249. "description": "每页条数",
  6250. "name": "pagesize",
  6251. "in": "query"
  6252. },
  6253. {
  6254. "type": "string",
  6255. "description": "资金账户列表,格式:1,2,3",
  6256. "name": "accountIDs",
  6257. "in": "query",
  6258. "required": true
  6259. }
  6260. ],
  6261. "responses": {
  6262. "200": {
  6263. "description": "OK",
  6264. "schema": {
  6265. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6266. }
  6267. },
  6268. "500": {
  6269. "description": "Internal Server Error",
  6270. "schema": {
  6271. "$ref": "#/definitions/app.Response"
  6272. }
  6273. }
  6274. }
  6275. }
  6276. },
  6277. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6278. "get": {
  6279. "security": [
  6280. {
  6281. "ApiKeyAuth": []
  6282. }
  6283. ],
  6284. "description": "说明:查询结果已按委托价格和委托时间排序",
  6285. "produces": [
  6286. "application/json"
  6287. ],
  6288. "tags": [
  6289. "定制【海商报业】"
  6290. ],
  6291. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6292. "parameters": [
  6293. {
  6294. "type": "integer",
  6295. "description": "商品ID",
  6296. "name": "goodsID",
  6297. "in": "query",
  6298. "required": true
  6299. },
  6300. {
  6301. "type": "string",
  6302. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6303. "name": "accountIDs",
  6304. "in": "query"
  6305. },
  6306. {
  6307. "type": "integer",
  6308. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6309. "name": "buyOrSell",
  6310. "in": "query"
  6311. },
  6312. {
  6313. "type": "number",
  6314. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6315. "name": "price",
  6316. "in": "query"
  6317. },
  6318. {
  6319. "type": "integer",
  6320. "description": "档位,不传则默认为3档",
  6321. "name": "speed",
  6322. "in": "query"
  6323. }
  6324. ],
  6325. "responses": {
  6326. "200": {
  6327. "description": "OK",
  6328. "schema": {
  6329. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6330. }
  6331. },
  6332. "500": {
  6333. "description": "Internal Server Error",
  6334. "schema": {
  6335. "$ref": "#/definitions/app.Response"
  6336. }
  6337. }
  6338. }
  6339. }
  6340. },
  6341. "/HSBY/QueryHsbyListingGoodsDetail": {
  6342. "get": {
  6343. "security": [
  6344. {
  6345. "ApiKeyAuth": []
  6346. }
  6347. ],
  6348. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6349. "produces": [
  6350. "application/json"
  6351. ],
  6352. "tags": [
  6353. "定制【海商报业】"
  6354. ],
  6355. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6356. "parameters": [
  6357. {
  6358. "type": "integer",
  6359. "description": "商品ID",
  6360. "name": "goodsID",
  6361. "in": "query",
  6362. "required": true
  6363. },
  6364. {
  6365. "type": "integer",
  6366. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6367. "name": "accountID",
  6368. "in": "query"
  6369. }
  6370. ],
  6371. "responses": {
  6372. "200": {
  6373. "description": "OK",
  6374. "schema": {
  6375. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6376. }
  6377. },
  6378. "500": {
  6379. "description": "Internal Server Error",
  6380. "schema": {
  6381. "$ref": "#/definitions/app.Response"
  6382. }
  6383. }
  6384. }
  6385. }
  6386. },
  6387. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6388. "get": {
  6389. "security": [
  6390. {
  6391. "ApiKeyAuth": []
  6392. }
  6393. ],
  6394. "produces": [
  6395. "application/json"
  6396. ],
  6397. "tags": [
  6398. "定制【海商报业】"
  6399. ],
  6400. "summary": "查询三级市场(商城)商品信息详情",
  6401. "parameters": [
  6402. {
  6403. "type": "integer",
  6404. "description": "委托单号",
  6405. "name": "orderID",
  6406. "in": "query",
  6407. "required": true
  6408. },
  6409. {
  6410. "type": "integer",
  6411. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6412. "name": "accountID",
  6413. "in": "query"
  6414. }
  6415. ],
  6416. "responses": {
  6417. "200": {
  6418. "description": "OK",
  6419. "schema": {
  6420. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6421. }
  6422. },
  6423. "500": {
  6424. "description": "Internal Server Error",
  6425. "schema": {
  6426. "$ref": "#/definitions/app.Response"
  6427. }
  6428. }
  6429. }
  6430. }
  6431. },
  6432. "/HSBY/QueryHsbyMarketGoodses": {
  6433. "get": {
  6434. "security": [
  6435. {
  6436. "ApiKeyAuth": []
  6437. }
  6438. ],
  6439. "produces": [
  6440. "application/json"
  6441. ],
  6442. "tags": [
  6443. "定制【海商报业】"
  6444. ],
  6445. "summary": "查询特卖商品列表(三级商城)",
  6446. "parameters": [
  6447. {
  6448. "type": "integer",
  6449. "description": "页码",
  6450. "name": "page",
  6451. "in": "query"
  6452. },
  6453. {
  6454. "type": "integer",
  6455. "description": "每页条数",
  6456. "name": "pagesize",
  6457. "in": "query"
  6458. },
  6459. {
  6460. "type": "string",
  6461. "description": "市场ID列表,格式:1,2,3",
  6462. "name": "marketIDs",
  6463. "in": "query",
  6464. "required": true
  6465. },
  6466. {
  6467. "type": "integer",
  6468. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6469. "name": "accountID",
  6470. "in": "query",
  6471. "required": true
  6472. },
  6473. {
  6474. "type": "integer",
  6475. "description": "类别ID",
  6476. "name": "categoryID",
  6477. "in": "query"
  6478. },
  6479. {
  6480. "type": "string",
  6481. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6482. "name": "goodsIDs",
  6483. "in": "query"
  6484. },
  6485. {
  6486. "type": "integer",
  6487. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6488. "name": "couponTypeID",
  6489. "in": "query"
  6490. }
  6491. ],
  6492. "responses": {
  6493. "200": {
  6494. "description": "OK",
  6495. "schema": {
  6496. "$ref": "#/definitions/models.HsbyMarketGoods"
  6497. }
  6498. },
  6499. "500": {
  6500. "description": "Internal Server Error",
  6501. "schema": {
  6502. "$ref": "#/definitions/app.Response"
  6503. }
  6504. }
  6505. }
  6506. }
  6507. },
  6508. "/HSBY/QueryHsbyMarkets": {
  6509. "get": {
  6510. "security": [
  6511. {
  6512. "ApiKeyAuth": []
  6513. }
  6514. ],
  6515. "produces": [
  6516. "application/json"
  6517. ],
  6518. "tags": [
  6519. "定制【海商报业】"
  6520. ],
  6521. "summary": "查询海商报业相关市场信息",
  6522. "responses": {
  6523. "200": {
  6524. "description": "OK",
  6525. "schema": {
  6526. "$ref": "#/definitions/models.HsbyMarketInfo"
  6527. }
  6528. },
  6529. "500": {
  6530. "description": "Internal Server Error",
  6531. "schema": {
  6532. "$ref": "#/definitions/app.Response"
  6533. }
  6534. }
  6535. }
  6536. }
  6537. },
  6538. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6539. "get": {
  6540. "security": [
  6541. {
  6542. "ApiKeyAuth": []
  6543. }
  6544. ],
  6545. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6546. "produces": [
  6547. "application/json"
  6548. ],
  6549. "tags": [
  6550. "定制【海商报业】"
  6551. ],
  6552. "summary": "查询“我的订单”信息",
  6553. "parameters": [
  6554. {
  6555. "type": "string",
  6556. "description": "资金账户列表,格式:1,2,3",
  6557. "name": "accountIDs",
  6558. "in": "query",
  6559. "required": true
  6560. }
  6561. ],
  6562. "responses": {
  6563. "200": {
  6564. "description": "OK",
  6565. "schema": {
  6566. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6567. }
  6568. },
  6569. "500": {
  6570. "description": "Internal Server Error",
  6571. "schema": {
  6572. "$ref": "#/definitions/app.Response"
  6573. }
  6574. }
  6575. }
  6576. }
  6577. },
  6578. "/HSBY/QueryHsbyMyGoods": {
  6579. "get": {
  6580. "security": [
  6581. {
  6582. "ApiKeyAuth": []
  6583. }
  6584. ],
  6585. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6586. "produces": [
  6587. "application/json"
  6588. ],
  6589. "tags": [
  6590. "定制【海商报业】"
  6591. ],
  6592. "summary": "查询“我的商品”信息",
  6593. "parameters": [
  6594. {
  6595. "type": "string",
  6596. "description": "资金账户列表,格式:1,2,3",
  6597. "name": "accountIDs",
  6598. "in": "query",
  6599. "required": true
  6600. }
  6601. ],
  6602. "responses": {
  6603. "200": {
  6604. "description": "OK",
  6605. "schema": {
  6606. "$ref": "#/definitions/models.HsbyMyGoods"
  6607. }
  6608. },
  6609. "500": {
  6610. "description": "Internal Server Error",
  6611. "schema": {
  6612. "$ref": "#/definitions/app.Response"
  6613. }
  6614. }
  6615. }
  6616. }
  6617. },
  6618. "/HSBY/QueryHsbyMyPackages": {
  6619. "get": {
  6620. "security": [
  6621. {
  6622. "ApiKeyAuth": []
  6623. }
  6624. ],
  6625. "produces": [
  6626. "application/json"
  6627. ],
  6628. "tags": [
  6629. "定制【海商报业】"
  6630. ],
  6631. "summary": "查询我的包裹信息",
  6632. "parameters": [
  6633. {
  6634. "type": "string",
  6635. "description": "资金账户列表,格式:1,2,3",
  6636. "name": "accountIDs",
  6637. "in": "query",
  6638. "required": true
  6639. },
  6640. {
  6641. "type": "integer",
  6642. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6643. "name": "takeOrderStatus",
  6644. "in": "query"
  6645. }
  6646. ],
  6647. "responses": {
  6648. "200": {
  6649. "description": "OK",
  6650. "schema": {
  6651. "$ref": "#/definitions/models.HsbyMyPackage"
  6652. }
  6653. },
  6654. "500": {
  6655. "description": "Internal Server Error",
  6656. "schema": {
  6657. "$ref": "#/definitions/app.Response"
  6658. }
  6659. }
  6660. }
  6661. }
  6662. },
  6663. "/HSBY/QueryHsbyPreGoodsDetail": {
  6664. "get": {
  6665. "security": [
  6666. {
  6667. "ApiKeyAuth": []
  6668. }
  6669. ],
  6670. "produces": [
  6671. "application/json"
  6672. ],
  6673. "tags": [
  6674. "定制【海商报业】"
  6675. ],
  6676. "summary": "查询一级市场(预售)商品信息详情",
  6677. "parameters": [
  6678. {
  6679. "type": "integer",
  6680. "description": "商品ID",
  6681. "name": "goodsID",
  6682. "in": "query",
  6683. "required": true
  6684. },
  6685. {
  6686. "type": "integer",
  6687. "description": "资金账户,主要用于获取预售商品购买上限",
  6688. "name": "accountID",
  6689. "in": "query"
  6690. }
  6691. ],
  6692. "responses": {
  6693. "200": {
  6694. "description": "OK",
  6695. "schema": {
  6696. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6697. }
  6698. },
  6699. "500": {
  6700. "description": "Internal Server Error",
  6701. "schema": {
  6702. "$ref": "#/definitions/app.Response"
  6703. }
  6704. }
  6705. }
  6706. }
  6707. },
  6708. "/HSBY/QueryHsbyPreGoodses": {
  6709. "get": {
  6710. "security": [
  6711. {
  6712. "ApiKeyAuth": []
  6713. }
  6714. ],
  6715. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6716. "produces": [
  6717. "application/json"
  6718. ],
  6719. "tags": [
  6720. "定制【海商报业】"
  6721. ],
  6722. "summary": "查询新品上市商品列表(一级市场预售)",
  6723. "parameters": [
  6724. {
  6725. "type": "integer",
  6726. "description": "页码",
  6727. "name": "page",
  6728. "in": "query"
  6729. },
  6730. {
  6731. "type": "integer",
  6732. "description": "每页条数",
  6733. "name": "pagesize",
  6734. "in": "query"
  6735. },
  6736. {
  6737. "type": "string",
  6738. "description": "市场ID列表,格式:1,2,3",
  6739. "name": "marketIDs",
  6740. "in": "query",
  6741. "required": true
  6742. },
  6743. {
  6744. "type": "integer",
  6745. "description": "目的地(省)ID",
  6746. "name": "descProvinceID",
  6747. "in": "query"
  6748. },
  6749. {
  6750. "type": "integer",
  6751. "description": "目的地(市)ID",
  6752. "name": "descCityID",
  6753. "in": "query"
  6754. }
  6755. ],
  6756. "responses": {
  6757. "200": {
  6758. "description": "OK",
  6759. "schema": {
  6760. "$ref": "#/definitions/models.HsbyPreGoods"
  6761. }
  6762. },
  6763. "500": {
  6764. "description": "Internal Server Error",
  6765. "schema": {
  6766. "$ref": "#/definitions/app.Response"
  6767. }
  6768. }
  6769. }
  6770. }
  6771. },
  6772. "/HSBY/QueryHsbySellMyDetails": {
  6773. "get": {
  6774. "security": [
  6775. {
  6776. "ApiKeyAuth": []
  6777. }
  6778. ],
  6779. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6780. "produces": [
  6781. "application/json"
  6782. ],
  6783. "tags": [
  6784. "定制【海商报业】"
  6785. ],
  6786. "summary": "查询\"我的闲置\"单据信息",
  6787. "parameters": [
  6788. {
  6789. "type": "integer",
  6790. "description": "页码",
  6791. "name": "page",
  6792. "in": "query"
  6793. },
  6794. {
  6795. "type": "integer",
  6796. "description": "每页条数",
  6797. "name": "pagesize",
  6798. "in": "query"
  6799. },
  6800. {
  6801. "type": "string",
  6802. "description": "资金账户列表,格式:1,2,3",
  6803. "name": "accountIDs",
  6804. "in": "query",
  6805. "required": true
  6806. },
  6807. {
  6808. "type": "integer",
  6809. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6810. "name": "orderType",
  6811. "in": "query"
  6812. }
  6813. ],
  6814. "responses": {
  6815. "200": {
  6816. "description": "OK",
  6817. "schema": {
  6818. "$ref": "#/definitions/models.HsbySellMyDetail"
  6819. }
  6820. },
  6821. "500": {
  6822. "description": "Internal Server Error",
  6823. "schema": {
  6824. "$ref": "#/definitions/app.Response"
  6825. }
  6826. }
  6827. }
  6828. }
  6829. },
  6830. "/HSBY/QueryHsbyTopGoodses": {
  6831. "get": {
  6832. "security": [
  6833. {
  6834. "ApiKeyAuth": []
  6835. }
  6836. ],
  6837. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6838. "produces": [
  6839. "application/json"
  6840. ],
  6841. "tags": [
  6842. "定制【海商报业】"
  6843. ],
  6844. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6845. "parameters": [
  6846. {
  6847. "type": "integer",
  6848. "description": "页码",
  6849. "name": "page",
  6850. "in": "query"
  6851. },
  6852. {
  6853. "type": "integer",
  6854. "description": "每页条数",
  6855. "name": "pagesize",
  6856. "in": "query"
  6857. },
  6858. {
  6859. "type": "string",
  6860. "description": "市场ID列表,格式:1,2,3",
  6861. "name": "marketIDs",
  6862. "in": "query",
  6863. "required": true
  6864. },
  6865. {
  6866. "type": "integer",
  6867. "description": "目的地(省)ID",
  6868. "name": "descProvinceID",
  6869. "in": "query"
  6870. },
  6871. {
  6872. "type": "integer",
  6873. "description": "目的地(市)ID",
  6874. "name": "descCityID",
  6875. "in": "query"
  6876. }
  6877. ],
  6878. "responses": {
  6879. "200": {
  6880. "description": "OK",
  6881. "schema": {
  6882. "$ref": "#/definitions/models.HsbyTopGoods"
  6883. }
  6884. },
  6885. "500": {
  6886. "description": "Internal Server Error",
  6887. "schema": {
  6888. "$ref": "#/definitions/app.Response"
  6889. }
  6890. }
  6891. }
  6892. }
  6893. },
  6894. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6895. "get": {
  6896. "security": [
  6897. {
  6898. "ApiKeyAuth": []
  6899. }
  6900. ],
  6901. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6902. "produces": [
  6903. "application/json"
  6904. ],
  6905. "tags": [
  6906. "定制【海商报业】"
  6907. ],
  6908. "summary": "查询游客三级市场(商城)商品信息详情",
  6909. "parameters": [
  6910. {
  6911. "type": "integer",
  6912. "description": "商品ID",
  6913. "name": "goodsID",
  6914. "in": "query",
  6915. "required": true
  6916. }
  6917. ],
  6918. "responses": {
  6919. "200": {
  6920. "description": "OK",
  6921. "schema": {
  6922. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6923. }
  6924. },
  6925. "500": {
  6926. "description": "Internal Server Error",
  6927. "schema": {
  6928. "$ref": "#/definitions/app.Response"
  6929. }
  6930. }
  6931. }
  6932. }
  6933. },
  6934. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6935. "get": {
  6936. "security": [
  6937. {
  6938. "ApiKeyAuth": []
  6939. }
  6940. ],
  6941. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6942. "produces": [
  6943. "application/json"
  6944. ],
  6945. "tags": [
  6946. "定制【海商报业】"
  6947. ],
  6948. "summary": "查询游客特卖商品列表(三级商城)",
  6949. "parameters": [
  6950. {
  6951. "type": "integer",
  6952. "description": "页码",
  6953. "name": "page",
  6954. "in": "query"
  6955. },
  6956. {
  6957. "type": "integer",
  6958. "description": "每页条数",
  6959. "name": "pagesize",
  6960. "in": "query"
  6961. },
  6962. {
  6963. "type": "string",
  6964. "description": "市场ID列表,格式:1,2,3",
  6965. "name": "marketIDs",
  6966. "in": "query",
  6967. "required": true
  6968. },
  6969. {
  6970. "type": "integer",
  6971. "description": "类别ID",
  6972. "name": "categoryID",
  6973. "in": "query"
  6974. },
  6975. {
  6976. "type": "string",
  6977. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6978. "name": "goodsIDs",
  6979. "in": "query"
  6980. }
  6981. ],
  6982. "responses": {
  6983. "200": {
  6984. "description": "OK",
  6985. "schema": {
  6986. "$ref": "#/definitions/models.HsbyMarketGoods"
  6987. }
  6988. },
  6989. "500": {
  6990. "description": "Internal Server Error",
  6991. "schema": {
  6992. "$ref": "#/definitions/app.Response"
  6993. }
  6994. }
  6995. }
  6996. }
  6997. },
  6998. "/HSBY/QueryMyCollectionOrders": {
  6999. "get": {
  7000. "security": [
  7001. {
  7002. "ApiKeyAuth": []
  7003. }
  7004. ],
  7005. "produces": [
  7006. "application/json"
  7007. ],
  7008. "tags": [
  7009. "定制【海商报业】"
  7010. ],
  7011. "summary": "我的闲置中收款信息查询",
  7012. "parameters": [
  7013. {
  7014. "type": "integer",
  7015. "description": "页码",
  7016. "name": "page",
  7017. "in": "query"
  7018. },
  7019. {
  7020. "type": "integer",
  7021. "description": "每页条数",
  7022. "name": "pagesize",
  7023. "in": "query"
  7024. },
  7025. {
  7026. "type": "string",
  7027. "description": "资金账户,格式:1,2,3",
  7028. "name": "accountIDs",
  7029. "in": "query",
  7030. "required": true
  7031. }
  7032. ],
  7033. "responses": {
  7034. "200": {
  7035. "description": "OK",
  7036. "schema": {
  7037. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  7038. }
  7039. },
  7040. "500": {
  7041. "description": "Internal Server Error",
  7042. "schema": {
  7043. "$ref": "#/definitions/app.Response"
  7044. }
  7045. }
  7046. }
  7047. }
  7048. },
  7049. "/HSBY/QueryMyCouponHolds": {
  7050. "get": {
  7051. "security": [
  7052. {
  7053. "ApiKeyAuth": []
  7054. }
  7055. ],
  7056. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  7057. "produces": [
  7058. "application/json"
  7059. ],
  7060. "tags": [
  7061. "定制【海商报业】"
  7062. ],
  7063. "summary": "我的优惠卷持仓查询",
  7064. "parameters": [
  7065. {
  7066. "type": "string",
  7067. "description": "资金账户列表,格式:1,2,3",
  7068. "name": "accountIDs",
  7069. "in": "query",
  7070. "required": true
  7071. },
  7072. {
  7073. "type": "string",
  7074. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  7075. "name": "holdStatus",
  7076. "in": "query"
  7077. }
  7078. ],
  7079. "responses": {
  7080. "200": {
  7081. "description": "OK",
  7082. "schema": {
  7083. "$ref": "#/definitions/models.MyCouponHold"
  7084. }
  7085. },
  7086. "500": {
  7087. "description": "Internal Server Error",
  7088. "schema": {
  7089. "$ref": "#/definitions/app.Response"
  7090. }
  7091. }
  7092. }
  7093. }
  7094. },
  7095. "/HSBY/QueryMyCoupons": {
  7096. "get": {
  7097. "security": [
  7098. {
  7099. "ApiKeyAuth": []
  7100. }
  7101. ],
  7102. "produces": [
  7103. "application/json"
  7104. ],
  7105. "tags": [
  7106. "定制【海商报业】"
  7107. ],
  7108. "summary": "我的优惠卷查询",
  7109. "parameters": [
  7110. {
  7111. "type": "string",
  7112. "description": "资金账户列表,格式:1,2,3",
  7113. "name": "accountIDs",
  7114. "in": "query",
  7115. "required": true
  7116. },
  7117. {
  7118. "type": "integer",
  7119. "description": "商品ID, 一般与sellUserID配套传入",
  7120. "name": "goodsID",
  7121. "in": "query"
  7122. },
  7123. {
  7124. "type": "integer",
  7125. "description": "卖方UserID",
  7126. "name": "sellUserID",
  7127. "in": "query"
  7128. }
  7129. ],
  7130. "responses": {
  7131. "200": {
  7132. "description": "OK",
  7133. "schema": {
  7134. "$ref": "#/definitions/models.MyCoupon"
  7135. }
  7136. },
  7137. "500": {
  7138. "description": "Internal Server Error",
  7139. "schema": {
  7140. "$ref": "#/definitions/app.Response"
  7141. }
  7142. }
  7143. }
  7144. }
  7145. },
  7146. "/HSBY/QueryMyPayOrders": {
  7147. "get": {
  7148. "security": [
  7149. {
  7150. "ApiKeyAuth": []
  7151. }
  7152. ],
  7153. "produces": [
  7154. "application/json"
  7155. ],
  7156. "tags": [
  7157. "定制【海商报业】"
  7158. ],
  7159. "summary": "获取我的订单中待付款信息",
  7160. "parameters": [
  7161. {
  7162. "type": "integer",
  7163. "description": "页码",
  7164. "name": "page",
  7165. "in": "query"
  7166. },
  7167. {
  7168. "type": "integer",
  7169. "description": "每页条数",
  7170. "name": "pagesize",
  7171. "in": "query"
  7172. },
  7173. {
  7174. "type": "string",
  7175. "description": "资金账户列表,格式:1,2,3",
  7176. "name": "accountIDs",
  7177. "in": "query",
  7178. "required": true
  7179. },
  7180. {
  7181. "type": "integer",
  7182. "description": "买方委托单号",
  7183. "name": "buyOrderID",
  7184. "in": "query"
  7185. },
  7186. {
  7187. "type": "integer",
  7188. "description": "卖方委托单号",
  7189. "name": "sellOrderID",
  7190. "in": "query"
  7191. }
  7192. ],
  7193. "responses": {
  7194. "200": {
  7195. "description": "OK",
  7196. "schema": {
  7197. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7198. }
  7199. },
  7200. "500": {
  7201. "description": "Internal Server Error",
  7202. "schema": {
  7203. "$ref": "#/definitions/app.Response"
  7204. }
  7205. }
  7206. }
  7207. }
  7208. },
  7209. "/HSBY/QueryMyUsedCoupon": {
  7210. "get": {
  7211. "security": [
  7212. {
  7213. "ApiKeyAuth": []
  7214. }
  7215. ],
  7216. "produces": [
  7217. "application/json"
  7218. ],
  7219. "tags": [
  7220. "定制【海商报业】"
  7221. ],
  7222. "summary": "已使用优惠卷查询",
  7223. "parameters": [
  7224. {
  7225. "type": "string",
  7226. "description": "资金账户列表,格式:1,2,3",
  7227. "name": "accountIDs",
  7228. "in": "query",
  7229. "required": true
  7230. }
  7231. ],
  7232. "responses": {
  7233. "200": {
  7234. "description": "OK",
  7235. "schema": {
  7236. "$ref": "#/definitions/models.MyUsedCoupon"
  7237. }
  7238. },
  7239. "500": {
  7240. "description": "Internal Server Error",
  7241. "schema": {
  7242. "$ref": "#/definitions/app.Response"
  7243. }
  7244. }
  7245. }
  7246. }
  7247. },
  7248. "/HSBY/QueryProvincesAndCities": {
  7249. "get": {
  7250. "security": [
  7251. {
  7252. "ApiKeyAuth": []
  7253. }
  7254. ],
  7255. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7256. "produces": [
  7257. "application/json"
  7258. ],
  7259. "tags": [
  7260. "定制【海商报业】"
  7261. ],
  7262. "summary": "查询省市信息(不包括区)",
  7263. "parameters": [
  7264. {
  7265. "type": "integer",
  7266. "description": "省ID",
  7267. "name": "provinceID",
  7268. "in": "query"
  7269. }
  7270. ],
  7271. "responses": {
  7272. "200": {
  7273. "description": "OK",
  7274. "schema": {
  7275. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7276. }
  7277. },
  7278. "500": {
  7279. "description": "Internal Server Error",
  7280. "schema": {
  7281. "$ref": "#/definitions/app.Response"
  7282. }
  7283. }
  7284. }
  7285. }
  7286. },
  7287. "/HSBY/SetHsbyMyPackagesStatus": {
  7288. "post": {
  7289. "security": [
  7290. {
  7291. "ApiKeyAuth": []
  7292. }
  7293. ],
  7294. "produces": [
  7295. "application/json"
  7296. ],
  7297. "tags": [
  7298. "定制【海商报业】"
  7299. ],
  7300. "summary": "设置我的包裹已收货状态",
  7301. "parameters": [
  7302. {
  7303. "type": "string",
  7304. "description": "提货单号",
  7305. "name": "takeOrderID",
  7306. "in": "query",
  7307. "required": true
  7308. },
  7309. {
  7310. "type": "integer",
  7311. "description": "资金账号",
  7312. "name": "accountID",
  7313. "in": "query",
  7314. "required": true
  7315. }
  7316. ],
  7317. "responses": {
  7318. "200": {
  7319. "description": "OK",
  7320. "schema": {
  7321. "$ref": "#/definitions/app.Response"
  7322. }
  7323. },
  7324. "500": {
  7325. "description": "Internal Server Error",
  7326. "schema": {
  7327. "$ref": "#/definitions/app.Response"
  7328. }
  7329. }
  7330. }
  7331. }
  7332. },
  7333. "/Market/GetAllExExchanges": {
  7334. "get": {
  7335. "security": [
  7336. {
  7337. "ApiKeyAuth": []
  7338. }
  7339. ],
  7340. "produces": [
  7341. "application/json"
  7342. ],
  7343. "tags": [
  7344. "通用市场"
  7345. ],
  7346. "summary": "获取所有外部交易所信息",
  7347. "responses": {
  7348. "200": {
  7349. "description": "OK",
  7350. "schema": {
  7351. "$ref": "#/definitions/models.Goods"
  7352. }
  7353. },
  7354. "500": {
  7355. "description": "Internal Server Error",
  7356. "schema": {
  7357. "$ref": "#/definitions/app.Response"
  7358. }
  7359. }
  7360. }
  7361. }
  7362. },
  7363. "/Market/QueryGoodsesByLoginID": {
  7364. "get": {
  7365. "security": [
  7366. {
  7367. "ApiKeyAuth": []
  7368. }
  7369. ],
  7370. "produces": [
  7371. "application/json"
  7372. ],
  7373. "tags": [
  7374. "通用市场"
  7375. ],
  7376. "summary": "获取登录账号有权限的商品信息",
  7377. "parameters": [
  7378. {
  7379. "type": "integer",
  7380. "description": "登录账号",
  7381. "name": "loginID",
  7382. "in": "query",
  7383. "required": true
  7384. },
  7385. {
  7386. "type": "string",
  7387. "description": "市场ID列表,格式:1,2,3",
  7388. "name": "marketIDs",
  7389. "in": "query"
  7390. }
  7391. ],
  7392. "responses": {
  7393. "200": {
  7394. "description": "OK",
  7395. "schema": {
  7396. "$ref": "#/definitions/models.Goods"
  7397. }
  7398. },
  7399. "500": {
  7400. "description": "Internal Server Error",
  7401. "schema": {
  7402. "$ref": "#/definitions/app.Response"
  7403. }
  7404. }
  7405. }
  7406. }
  7407. },
  7408. "/Market/QueryMarketRun": {
  7409. "get": {
  7410. "security": [
  7411. {
  7412. "ApiKeyAuth": []
  7413. }
  7414. ],
  7415. "produces": [
  7416. "application/json"
  7417. ],
  7418. "tags": [
  7419. "通用市场"
  7420. ],
  7421. "summary": "查询市场运行信息",
  7422. "parameters": [
  7423. {
  7424. "type": "integer",
  7425. "description": "市场ID,不传返回所有",
  7426. "name": "marketID",
  7427. "in": "query"
  7428. }
  7429. ],
  7430. "responses": {
  7431. "200": {
  7432. "description": "OK",
  7433. "schema": {
  7434. "$ref": "#/definitions/models.Marketrun"
  7435. }
  7436. },
  7437. "500": {
  7438. "description": "Internal Server Error",
  7439. "schema": {
  7440. "$ref": "#/definitions/app.Response"
  7441. }
  7442. }
  7443. }
  7444. }
  7445. },
  7446. "/Market/QueryMarketsByLoginID": {
  7447. "get": {
  7448. "security": [
  7449. {
  7450. "ApiKeyAuth": []
  7451. }
  7452. ],
  7453. "produces": [
  7454. "application/json"
  7455. ],
  7456. "tags": [
  7457. "通用市场"
  7458. ],
  7459. "summary": "获取登录账号有权限的市场信息",
  7460. "parameters": [
  7461. {
  7462. "type": "integer",
  7463. "description": "登录账号",
  7464. "name": "loginID",
  7465. "in": "query",
  7466. "required": true
  7467. }
  7468. ],
  7469. "responses": {
  7470. "200": {
  7471. "description": "OK",
  7472. "schema": {
  7473. "$ref": "#/definitions/models.Market"
  7474. }
  7475. },
  7476. "500": {
  7477. "description": "Internal Server Error",
  7478. "schema": {
  7479. "$ref": "#/definitions/app.Response"
  7480. }
  7481. }
  7482. }
  7483. }
  7484. },
  7485. "/Order/QueryHisTradeDetail": {
  7486. "get": {
  7487. "security": [
  7488. {
  7489. "ApiKeyAuth": []
  7490. }
  7491. ],
  7492. "produces": [
  7493. "application/json"
  7494. ],
  7495. "tags": [
  7496. "通用单据"
  7497. ],
  7498. "summary": "历史成交单查询(合约市场)",
  7499. "parameters": [
  7500. {
  7501. "type": "string",
  7502. "description": "资金账户 - 格式:1,2,3",
  7503. "name": "accountID",
  7504. "in": "query",
  7505. "required": true
  7506. },
  7507. {
  7508. "type": "integer",
  7509. "description": "成交单号",
  7510. "name": "tradeID",
  7511. "in": "query"
  7512. },
  7513. {
  7514. "type": "integer",
  7515. "description": "委托单号",
  7516. "name": "orderID",
  7517. "in": "query"
  7518. },
  7519. {
  7520. "type": "integer",
  7521. "description": "商品ID",
  7522. "name": "goodsID",
  7523. "in": "query"
  7524. },
  7525. {
  7526. "type": "string",
  7527. "description": "交易模式 - 格式:1,2,3",
  7528. "name": "tradeMode",
  7529. "in": "query"
  7530. },
  7531. {
  7532. "type": "integer",
  7533. "description": "委托单据类型",
  7534. "name": "buildType",
  7535. "in": "query"
  7536. },
  7537. {
  7538. "type": "string",
  7539. "description": "成交类别 - 格式:1,2,3",
  7540. "name": "tradeType",
  7541. "in": "query"
  7542. },
  7543. {
  7544. "type": "string",
  7545. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7546. "name": "startDate",
  7547. "in": "query"
  7548. },
  7549. {
  7550. "type": "string",
  7551. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7552. "name": "endDate",
  7553. "in": "query"
  7554. }
  7555. ],
  7556. "responses": {
  7557. "200": {
  7558. "description": "OK",
  7559. "schema": {
  7560. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7561. }
  7562. },
  7563. "500": {
  7564. "description": "Internal Server Error",
  7565. "schema": {
  7566. "$ref": "#/definitions/app.Response"
  7567. }
  7568. }
  7569. }
  7570. }
  7571. },
  7572. "/Order/QueryHisTradeOrderDetail": {
  7573. "get": {
  7574. "security": [
  7575. {
  7576. "ApiKeyAuth": []
  7577. }
  7578. ],
  7579. "produces": [
  7580. "application/json"
  7581. ],
  7582. "tags": [
  7583. "通用单据"
  7584. ],
  7585. "summary": "历史委托单查询请求(合约市场)",
  7586. "parameters": [
  7587. {
  7588. "type": "string",
  7589. "description": "资金账户 - 格式:1,2,3",
  7590. "name": "accountID",
  7591. "in": "query",
  7592. "required": true
  7593. },
  7594. {
  7595. "type": "string",
  7596. "description": "交易模式 - 格式:1,2,3",
  7597. "name": "tradeMode",
  7598. "in": "query"
  7599. },
  7600. {
  7601. "type": "string",
  7602. "description": "委托状态 - 格式:1,2,3",
  7603. "name": "orderStatus",
  7604. "in": "query"
  7605. },
  7606. {
  7607. "type": "integer",
  7608. "description": "委托单号",
  7609. "name": "orderID",
  7610. "in": "query"
  7611. },
  7612. {
  7613. "type": "string",
  7614. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7615. "name": "startDate",
  7616. "in": "query"
  7617. },
  7618. {
  7619. "type": "string",
  7620. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7621. "name": "endDate",
  7622. "in": "query"
  7623. }
  7624. ],
  7625. "responses": {
  7626. "200": {
  7627. "description": "OK",
  7628. "schema": {
  7629. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7630. }
  7631. },
  7632. "500": {
  7633. "description": "Internal Server Error",
  7634. "schema": {
  7635. "$ref": "#/definitions/app.Response"
  7636. }
  7637. }
  7638. }
  7639. }
  7640. },
  7641. "/Order/QueryTradeDetail": {
  7642. "get": {
  7643. "security": [
  7644. {
  7645. "ApiKeyAuth": []
  7646. }
  7647. ],
  7648. "produces": [
  7649. "application/json"
  7650. ],
  7651. "tags": [
  7652. "通用单据"
  7653. ],
  7654. "summary": "成交单查询(合约市场)",
  7655. "parameters": [
  7656. {
  7657. "type": "string",
  7658. "description": "资金账户 - 格式:1,2,3",
  7659. "name": "accountID",
  7660. "in": "query",
  7661. "required": true
  7662. },
  7663. {
  7664. "type": "integer",
  7665. "description": "成交单号",
  7666. "name": "tradeID",
  7667. "in": "query"
  7668. },
  7669. {
  7670. "type": "integer",
  7671. "description": "委托单号",
  7672. "name": "orderID",
  7673. "in": "query"
  7674. },
  7675. {
  7676. "type": "string",
  7677. "description": "交易模式 - 格式:1,2,3",
  7678. "name": "tradeMode",
  7679. "in": "query"
  7680. },
  7681. {
  7682. "type": "integer",
  7683. "description": "委托单据类型",
  7684. "name": "buildType",
  7685. "in": "query"
  7686. },
  7687. {
  7688. "type": "string",
  7689. "description": "成交类别 - 格式:1,2,3",
  7690. "name": "tradeType",
  7691. "in": "query"
  7692. },
  7693. {
  7694. "type": "integer",
  7695. "description": "商品ID",
  7696. "name": "goodsID",
  7697. "in": "query"
  7698. }
  7699. ],
  7700. "responses": {
  7701. "200": {
  7702. "description": "OK",
  7703. "schema": {
  7704. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7705. }
  7706. },
  7707. "500": {
  7708. "description": "Internal Server Error",
  7709. "schema": {
  7710. "$ref": "#/definitions/app.Response"
  7711. }
  7712. }
  7713. }
  7714. }
  7715. },
  7716. "/Order/QueryTradeHolderDetail": {
  7717. "get": {
  7718. "security": [
  7719. {
  7720. "ApiKeyAuth": []
  7721. }
  7722. ],
  7723. "produces": [
  7724. "application/json"
  7725. ],
  7726. "tags": [
  7727. "通用单据"
  7728. ],
  7729. "summary": "查询持仓明细",
  7730. "parameters": [
  7731. {
  7732. "type": "integer",
  7733. "description": "用户id",
  7734. "name": "userid",
  7735. "in": "query"
  7736. },
  7737. {
  7738. "type": "string",
  7739. "description": "资金账号, 格式 1,2,3",
  7740. "name": "accids",
  7741. "in": "query"
  7742. },
  7743. {
  7744. "type": "string",
  7745. "description": "交易模式, 格式 1,2,3",
  7746. "name": "trademodes",
  7747. "in": "query"
  7748. },
  7749. {
  7750. "type": "string",
  7751. "description": "市场id, 格式 1,2,3",
  7752. "name": "marketids",
  7753. "in": "query"
  7754. },
  7755. {
  7756. "type": "integer",
  7757. "description": "商品id",
  7758. "name": "goodsid",
  7759. "in": "query"
  7760. },
  7761. {
  7762. "type": "integer",
  7763. "description": "买卖方向 0-买 1-卖",
  7764. "name": "buyorsell",
  7765. "in": "query"
  7766. }
  7767. ],
  7768. "responses": {
  7769. "200": {
  7770. "description": "OK",
  7771. "schema": {
  7772. "type": "array",
  7773. "items": {
  7774. "$ref": "#/definitions/models.TradeHolderDetail"
  7775. }
  7776. }
  7777. },
  7778. "500": {
  7779. "description": "Internal Server Error",
  7780. "schema": {
  7781. "$ref": "#/definitions/app.Response"
  7782. }
  7783. }
  7784. }
  7785. }
  7786. },
  7787. "/Order/QueryTradeOrderDetail": {
  7788. "get": {
  7789. "security": [
  7790. {
  7791. "ApiKeyAuth": []
  7792. }
  7793. ],
  7794. "produces": [
  7795. "application/json"
  7796. ],
  7797. "tags": [
  7798. "通用单据"
  7799. ],
  7800. "summary": "委托单查询请求(合约市场)",
  7801. "parameters": [
  7802. {
  7803. "type": "string",
  7804. "description": "资金账户 - 格式:1,2,3",
  7805. "name": "accountID",
  7806. "in": "query",
  7807. "required": true
  7808. },
  7809. {
  7810. "type": "string",
  7811. "description": "交易模式 - 格式:1,2,3",
  7812. "name": "tradeMode",
  7813. "in": "query"
  7814. },
  7815. {
  7816. "type": "string",
  7817. "description": "委托状态 - 格式:1,2,3",
  7818. "name": "orderStatus",
  7819. "in": "query"
  7820. },
  7821. {
  7822. "type": "integer",
  7823. "description": "委托单号",
  7824. "name": "orderID",
  7825. "in": "query"
  7826. }
  7827. ],
  7828. "responses": {
  7829. "200": {
  7830. "description": "OK",
  7831. "schema": {
  7832. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7833. }
  7834. },
  7835. "500": {
  7836. "description": "Internal Server Error",
  7837. "schema": {
  7838. "$ref": "#/definitions/app.Response"
  7839. }
  7840. }
  7841. }
  7842. }
  7843. },
  7844. "/Order/QueryTradePosition": {
  7845. "get": {
  7846. "security": [
  7847. {
  7848. "ApiKeyAuth": []
  7849. }
  7850. ],
  7851. "produces": [
  7852. "application/json"
  7853. ],
  7854. "tags": [
  7855. "通用单据"
  7856. ],
  7857. "summary": "持仓汇总查询(合约市场)",
  7858. "parameters": [
  7859. {
  7860. "type": "string",
  7861. "description": "资金账户 - 格式:1,2,3",
  7862. "name": "accountID",
  7863. "in": "query",
  7864. "required": true
  7865. },
  7866. {
  7867. "type": "string",
  7868. "description": "交易模式 - 格式:1,2,3",
  7869. "name": "tradeMode",
  7870. "in": "query"
  7871. }
  7872. ],
  7873. "responses": {
  7874. "200": {
  7875. "description": "OK",
  7876. "schema": {
  7877. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7878. }
  7879. },
  7880. "500": {
  7881. "description": "Internal Server Error",
  7882. "schema": {
  7883. "$ref": "#/definitions/app.Response"
  7884. }
  7885. }
  7886. }
  7887. }
  7888. },
  7889. "/Qhj/QueryAccountInOutApply": {
  7890. "get": {
  7891. "security": [
  7892. {
  7893. "ApiKeyAuth": []
  7894. }
  7895. ],
  7896. "produces": [
  7897. "application/json"
  7898. ],
  7899. "tags": [
  7900. "大连千海金"
  7901. ],
  7902. "summary": "查询充值提现",
  7903. "parameters": [
  7904. {
  7905. "type": "integer",
  7906. "description": "用户ID",
  7907. "name": "userid",
  7908. "in": "query",
  7909. "required": true
  7910. },
  7911. {
  7912. "type": "string",
  7913. "description": "申请起始日期(格式yyyymmdd)",
  7914. "name": "begindate",
  7915. "in": "query"
  7916. },
  7917. {
  7918. "type": "string",
  7919. "description": "申请截止日期(格式yyyymmdd)",
  7920. "name": "enddate",
  7921. "in": "query"
  7922. },
  7923. {
  7924. "type": "string",
  7925. "description": "模糊搜索名称",
  7926. "name": "likename",
  7927. "in": "query"
  7928. }
  7929. ],
  7930. "responses": {
  7931. "200": {
  7932. "description": "OK",
  7933. "schema": {
  7934. "type": "array",
  7935. "items": {
  7936. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7937. }
  7938. }
  7939. },
  7940. "500": {
  7941. "description": "Internal Server Error",
  7942. "schema": {
  7943. "$ref": "#/definitions/app.Response"
  7944. }
  7945. }
  7946. }
  7947. }
  7948. },
  7949. "/Qhj/QueryAreaFinanceConfig": {
  7950. "get": {
  7951. "security": [
  7952. {
  7953. "ApiKeyAuth": []
  7954. }
  7955. ],
  7956. "produces": [
  7957. "application/json"
  7958. ],
  7959. "tags": [
  7960. "大连千海金"
  7961. ],
  7962. "summary": "查询企业配置表",
  7963. "parameters": [
  7964. {
  7965. "type": "integer",
  7966. "description": "机构用户ID 其他做市关系,都设置为 1",
  7967. "name": "userid",
  7968. "in": "query"
  7969. }
  7970. ],
  7971. "responses": {
  7972. "200": {
  7973. "description": "OK",
  7974. "schema": {
  7975. "type": "array",
  7976. "items": {
  7977. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  7978. }
  7979. }
  7980. },
  7981. "500": {
  7982. "description": "Internal Server Error",
  7983. "schema": {
  7984. "$ref": "#/definitions/app.Response"
  7985. }
  7986. }
  7987. }
  7988. }
  7989. },
  7990. "/Qhj/QueryBankAccountSign": {
  7991. "get": {
  7992. "security": [
  7993. {
  7994. "ApiKeyAuth": []
  7995. }
  7996. ],
  7997. "produces": [
  7998. "application/json"
  7999. ],
  8000. "tags": [
  8001. "大连千海金"
  8002. ],
  8003. "summary": "查询签约银行信息(提现账户管理)",
  8004. "parameters": [
  8005. {
  8006. "type": "integer",
  8007. "description": "用户ID",
  8008. "name": "userid",
  8009. "in": "query",
  8010. "required": true
  8011. }
  8012. ],
  8013. "responses": {
  8014. "200": {
  8015. "description": "OK",
  8016. "schema": {
  8017. "type": "array",
  8018. "items": {
  8019. "$ref": "#/definitions/models.QhjBankAccountSign"
  8020. }
  8021. }
  8022. },
  8023. "500": {
  8024. "description": "Internal Server Error",
  8025. "schema": {
  8026. "$ref": "#/definitions/app.Response"
  8027. }
  8028. }
  8029. }
  8030. }
  8031. },
  8032. "/Qhj/QueryBankInfo": {
  8033. "get": {
  8034. "security": [
  8035. {
  8036. "ApiKeyAuth": []
  8037. }
  8038. ],
  8039. "produces": [
  8040. "application/json"
  8041. ],
  8042. "tags": [
  8043. "大连千海金"
  8044. ],
  8045. "summary": "查询开户行",
  8046. "responses": {
  8047. "200": {
  8048. "description": "OK",
  8049. "schema": {
  8050. "type": "array",
  8051. "items": {
  8052. "$ref": "#/definitions/models.QhjBankInfo"
  8053. }
  8054. }
  8055. },
  8056. "500": {
  8057. "description": "Internal Server Error",
  8058. "schema": {
  8059. "$ref": "#/definitions/app.Response"
  8060. }
  8061. }
  8062. }
  8063. }
  8064. },
  8065. "/Qhj/QueryBrokerApply": {
  8066. "get": {
  8067. "security": [
  8068. {
  8069. "ApiKeyAuth": []
  8070. }
  8071. ],
  8072. "produces": [
  8073. "application/json"
  8074. ],
  8075. "tags": [
  8076. "大连千海金"
  8077. ],
  8078. "summary": "查询经纪人申请",
  8079. "parameters": [
  8080. {
  8081. "type": "integer",
  8082. "description": "所属机构ID",
  8083. "name": "userid",
  8084. "in": "query"
  8085. },
  8086. {
  8087. "type": "string",
  8088. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8089. "name": "filterstatus",
  8090. "in": "query"
  8091. }
  8092. ],
  8093. "responses": {
  8094. "200": {
  8095. "description": "OK",
  8096. "schema": {
  8097. "type": "array",
  8098. "items": {
  8099. "$ref": "#/definitions/models.QhjBrokerApply"
  8100. }
  8101. }
  8102. },
  8103. "500": {
  8104. "description": "Internal Server Error",
  8105. "schema": {
  8106. "$ref": "#/definitions/app.Response"
  8107. }
  8108. }
  8109. }
  8110. }
  8111. },
  8112. "/Qhj/QueryBrokerApplyEx": {
  8113. "get": {
  8114. "security": [
  8115. {
  8116. "ApiKeyAuth": []
  8117. }
  8118. ],
  8119. "produces": [
  8120. "application/json"
  8121. ],
  8122. "tags": [
  8123. "大连千海金"
  8124. ],
  8125. "summary": "查询经纪人信息和申请记录",
  8126. "parameters": [
  8127. {
  8128. "type": "integer",
  8129. "description": "所属机构ID",
  8130. "name": "userid",
  8131. "in": "query"
  8132. }
  8133. ],
  8134. "responses": {
  8135. "200": {
  8136. "description": "OK",
  8137. "schema": {
  8138. "type": "array",
  8139. "items": {
  8140. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  8141. }
  8142. }
  8143. },
  8144. "500": {
  8145. "description": "Internal Server Error",
  8146. "schema": {
  8147. "$ref": "#/definitions/app.Response"
  8148. }
  8149. }
  8150. }
  8151. }
  8152. },
  8153. "/Qhj/QueryBrokerRewardLog": {
  8154. "get": {
  8155. "security": [
  8156. {
  8157. "ApiKeyAuth": []
  8158. }
  8159. ],
  8160. "produces": [
  8161. "application/json"
  8162. ],
  8163. "tags": [
  8164. "大连千海金"
  8165. ],
  8166. "summary": "查询奖励流水(我的奖励)",
  8167. "parameters": [
  8168. {
  8169. "type": "integer",
  8170. "description": "用户ID",
  8171. "name": "userid",
  8172. "in": "query",
  8173. "required": true
  8174. },
  8175. {
  8176. "type": "string",
  8177. "description": "开始交易日(yyyymmdd)",
  8178. "name": "begindate",
  8179. "in": "query"
  8180. },
  8181. {
  8182. "type": "string",
  8183. "description": "结束交易日(yyyymmdd)",
  8184. "name": "enddate",
  8185. "in": "query"
  8186. }
  8187. ],
  8188. "responses": {
  8189. "200": {
  8190. "description": "OK",
  8191. "schema": {
  8192. "type": "array",
  8193. "items": {
  8194. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  8195. }
  8196. }
  8197. },
  8198. "500": {
  8199. "description": "Internal Server Error",
  8200. "schema": {
  8201. "$ref": "#/definitions/app.Response"
  8202. }
  8203. }
  8204. }
  8205. }
  8206. },
  8207. "/Qhj/QueryContract": {
  8208. "get": {
  8209. "security": [
  8210. {
  8211. "ApiKeyAuth": []
  8212. }
  8213. ],
  8214. "produces": [
  8215. "application/json"
  8216. ],
  8217. "tags": [
  8218. "大连千海金"
  8219. ],
  8220. "summary": "查询融资明细(合同)",
  8221. "parameters": [
  8222. {
  8223. "type": "integer",
  8224. "description": "用户ID",
  8225. "name": "userid",
  8226. "in": "query"
  8227. },
  8228. {
  8229. "type": "integer",
  8230. "description": "scf合同id",
  8231. "name": "scfcontractid",
  8232. "in": "query"
  8233. }
  8234. ],
  8235. "responses": {
  8236. "200": {
  8237. "description": "OK",
  8238. "schema": {
  8239. "type": "array",
  8240. "items": {
  8241. "$ref": "#/definitions/models.QhjContract"
  8242. }
  8243. }
  8244. },
  8245. "500": {
  8246. "description": "Internal Server Error",
  8247. "schema": {
  8248. "$ref": "#/definitions/app.Response"
  8249. }
  8250. }
  8251. }
  8252. }
  8253. },
  8254. "/Qhj/QueryContractLog": {
  8255. "get": {
  8256. "security": [
  8257. {
  8258. "ApiKeyAuth": []
  8259. }
  8260. ],
  8261. "produces": [
  8262. "application/json"
  8263. ],
  8264. "tags": [
  8265. "大连千海金"
  8266. ],
  8267. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  8268. "parameters": [
  8269. {
  8270. "type": "integer",
  8271. "description": "scf合同id",
  8272. "name": "scfcontractid",
  8273. "in": "query",
  8274. "required": true
  8275. },
  8276. {
  8277. "type": "string",
  8278. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  8279. "name": "amounttype",
  8280. "in": "query"
  8281. }
  8282. ],
  8283. "responses": {
  8284. "200": {
  8285. "description": "OK",
  8286. "schema": {
  8287. "type": "array",
  8288. "items": {
  8289. "$ref": "#/definitions/models.QhjContractLog"
  8290. }
  8291. }
  8292. },
  8293. "500": {
  8294. "description": "Internal Server Error",
  8295. "schema": {
  8296. "$ref": "#/definitions/app.Response"
  8297. }
  8298. }
  8299. }
  8300. }
  8301. },
  8302. "/Qhj/QueryCusBankSignBank": {
  8303. "get": {
  8304. "security": [
  8305. {
  8306. "ApiKeyAuth": []
  8307. }
  8308. ],
  8309. "produces": [
  8310. "application/json"
  8311. ],
  8312. "tags": [
  8313. "大连千海金"
  8314. ],
  8315. "summary": "查询托管银行",
  8316. "responses": {
  8317. "200": {
  8318. "description": "OK",
  8319. "schema": {
  8320. "type": "array",
  8321. "items": {
  8322. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  8323. }
  8324. }
  8325. },
  8326. "500": {
  8327. "description": "Internal Server Error",
  8328. "schema": {
  8329. "$ref": "#/definitions/app.Response"
  8330. }
  8331. }
  8332. }
  8333. }
  8334. },
  8335. "/Qhj/QueryCustomerInfo": {
  8336. "get": {
  8337. "security": [
  8338. {
  8339. "ApiKeyAuth": []
  8340. }
  8341. ],
  8342. "produces": [
  8343. "application/json"
  8344. ],
  8345. "tags": [
  8346. "大连千海金"
  8347. ],
  8348. "summary": "查询客户资料",
  8349. "parameters": [
  8350. {
  8351. "type": "integer",
  8352. "description": "用户ID",
  8353. "name": "userid",
  8354. "in": "query",
  8355. "required": true
  8356. },
  8357. {
  8358. "type": "integer",
  8359. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8360. "name": "querytype",
  8361. "in": "query",
  8362. "required": true
  8363. },
  8364. {
  8365. "type": "integer",
  8366. "description": "客户类型 1-个人 2-企业",
  8367. "name": "userinfotype",
  8368. "in": "query"
  8369. },
  8370. {
  8371. "type": "string",
  8372. "description": "客户名称(模糊匹配)",
  8373. "name": "customername",
  8374. "in": "query"
  8375. },
  8376. {
  8377. "type": "string",
  8378. "description": "昵称(模糊匹配)",
  8379. "name": "nickname",
  8380. "in": "query"
  8381. },
  8382. {
  8383. "type": "integer",
  8384. "description": "是否包含子级 1-包含",
  8385. "name": "includesub",
  8386. "in": "query"
  8387. }
  8388. ],
  8389. "responses": {
  8390. "200": {
  8391. "description": "OK",
  8392. "schema": {
  8393. "type": "array",
  8394. "items": {
  8395. "$ref": "#/definitions/models.QhjCustomer"
  8396. }
  8397. }
  8398. },
  8399. "500": {
  8400. "description": "Internal Server Error",
  8401. "schema": {
  8402. "$ref": "#/definitions/app.Response"
  8403. }
  8404. }
  8405. }
  8406. }
  8407. },
  8408. "/Qhj/QueryGoodsEx": {
  8409. "get": {
  8410. "security": [
  8411. {
  8412. "ApiKeyAuth": []
  8413. }
  8414. ],
  8415. "produces": [
  8416. "application/json"
  8417. ],
  8418. "tags": [
  8419. "大连千海金"
  8420. ],
  8421. "summary": "交易商品扩展表",
  8422. "parameters": [
  8423. {
  8424. "type": "integer",
  8425. "description": "商品id",
  8426. "name": "goodsid",
  8427. "in": "query"
  8428. }
  8429. ],
  8430. "responses": {
  8431. "200": {
  8432. "description": "OK",
  8433. "schema": {
  8434. "type": "array",
  8435. "items": {
  8436. "$ref": "#/definitions/models.Qhjgoodsex"
  8437. }
  8438. }
  8439. },
  8440. "500": {
  8441. "description": "Internal Server Error",
  8442. "schema": {
  8443. "$ref": "#/definitions/app.Response"
  8444. }
  8445. }
  8446. }
  8447. }
  8448. },
  8449. "/Qhj/QueryMyTeam": {
  8450. "get": {
  8451. "security": [
  8452. {
  8453. "ApiKeyAuth": []
  8454. }
  8455. ],
  8456. "produces": [
  8457. "application/json"
  8458. ],
  8459. "tags": [
  8460. "大连千海金"
  8461. ],
  8462. "summary": "查询我的团队",
  8463. "parameters": [
  8464. {
  8465. "type": "integer",
  8466. "description": "用户ID",
  8467. "name": "userid",
  8468. "in": "query",
  8469. "required": true
  8470. }
  8471. ],
  8472. "responses": {
  8473. "200": {
  8474. "description": "OK",
  8475. "schema": {
  8476. "type": "array",
  8477. "items": {
  8478. "$ref": "#/definitions/models.QhjMyTeamEx"
  8479. }
  8480. }
  8481. },
  8482. "500": {
  8483. "description": "Internal Server Error",
  8484. "schema": {
  8485. "$ref": "#/definitions/app.Response"
  8486. }
  8487. }
  8488. }
  8489. }
  8490. },
  8491. "/Qhj/QueryMyTeamOrder": {
  8492. "get": {
  8493. "security": [
  8494. {
  8495. "ApiKeyAuth": []
  8496. }
  8497. ],
  8498. "produces": [
  8499. "application/json"
  8500. ],
  8501. "tags": [
  8502. "大连千海金"
  8503. ],
  8504. "summary": "查询团队订单(我的团队/团队订单)",
  8505. "parameters": [
  8506. {
  8507. "type": "integer",
  8508. "description": "页码",
  8509. "name": "page",
  8510. "in": "query"
  8511. },
  8512. {
  8513. "type": "integer",
  8514. "description": "每页条数",
  8515. "name": "pagesize",
  8516. "in": "query"
  8517. },
  8518. {
  8519. "type": "integer",
  8520. "description": "用户ID",
  8521. "name": "userid",
  8522. "in": "query",
  8523. "required": true
  8524. },
  8525. {
  8526. "type": "integer",
  8527. "description": "交易模式",
  8528. "name": "trademode",
  8529. "in": "query"
  8530. },
  8531. {
  8532. "type": "string",
  8533. "description": "名称(模糊搜索账户)",
  8534. "name": "filtername",
  8535. "in": "query"
  8536. }
  8537. ],
  8538. "responses": {
  8539. "200": {
  8540. "description": "OK",
  8541. "schema": {
  8542. "type": "array",
  8543. "items": {
  8544. "$ref": "#/definitions/models.QhjTeamOrder"
  8545. }
  8546. }
  8547. },
  8548. "500": {
  8549. "description": "Internal Server Error",
  8550. "schema": {
  8551. "$ref": "#/definitions/app.Response"
  8552. }
  8553. }
  8554. }
  8555. }
  8556. },
  8557. "/Qhj/QueryParentAreaList": {
  8558. "get": {
  8559. "security": [
  8560. {
  8561. "ApiKeyAuth": []
  8562. }
  8563. ],
  8564. "produces": [
  8565. "application/json"
  8566. ],
  8567. "tags": [
  8568. "大连千海金"
  8569. ],
  8570. "summary": "查询所属机构列表",
  8571. "parameters": [
  8572. {
  8573. "type": "integer",
  8574. "description": "用户ID",
  8575. "name": "userid",
  8576. "in": "query",
  8577. "required": true
  8578. }
  8579. ],
  8580. "responses": {
  8581. "200": {
  8582. "description": "OK",
  8583. "schema": {
  8584. "type": "array",
  8585. "items": {
  8586. "$ref": "#/definitions/models.QhjParentAreaList"
  8587. }
  8588. }
  8589. },
  8590. "500": {
  8591. "description": "Internal Server Error",
  8592. "schema": {
  8593. "$ref": "#/definitions/app.Response"
  8594. }
  8595. }
  8596. }
  8597. }
  8598. },
  8599. "/Qhj/QueryPayOrder": {
  8600. "get": {
  8601. "security": [
  8602. {
  8603. "ApiKeyAuth": []
  8604. }
  8605. ],
  8606. "produces": [
  8607. "application/json"
  8608. ],
  8609. "tags": [
  8610. "大连千海金"
  8611. ],
  8612. "summary": "查询待付款单据",
  8613. "parameters": [
  8614. {
  8615. "type": "integer",
  8616. "description": "资金账号id",
  8617. "name": "accountid",
  8618. "in": "query",
  8619. "required": true
  8620. },
  8621. {
  8622. "type": "integer",
  8623. "description": "成交单号",
  8624. "name": "tradeid",
  8625. "in": "query"
  8626. },
  8627. {
  8628. "type": "string",
  8629. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8630. "name": "payflag",
  8631. "in": "query"
  8632. }
  8633. ],
  8634. "responses": {
  8635. "200": {
  8636. "description": "OK",
  8637. "schema": {
  8638. "type": "array",
  8639. "items": {
  8640. "$ref": "#/definitions/models.QhjPayOrder"
  8641. }
  8642. }
  8643. },
  8644. "500": {
  8645. "description": "Internal Server Error",
  8646. "schema": {
  8647. "$ref": "#/definitions/app.Response"
  8648. }
  8649. }
  8650. }
  8651. }
  8652. },
  8653. "/Qhj/QueryPickArea": {
  8654. "get": {
  8655. "security": [
  8656. {
  8657. "ApiKeyAuth": []
  8658. }
  8659. ],
  8660. "produces": [
  8661. "application/json"
  8662. ],
  8663. "tags": [
  8664. "大连千海金"
  8665. ],
  8666. "summary": "查询提货门店",
  8667. "parameters": [
  8668. {
  8669. "type": "integer",
  8670. "description": "用户ID",
  8671. "name": "userid",
  8672. "in": "query"
  8673. }
  8674. ],
  8675. "responses": {
  8676. "200": {
  8677. "description": "OK",
  8678. "schema": {
  8679. "type": "array",
  8680. "items": {
  8681. "$ref": "#/definitions/models.QhjPickArea"
  8682. }
  8683. }
  8684. },
  8685. "500": {
  8686. "description": "Internal Server Error",
  8687. "schema": {
  8688. "$ref": "#/definitions/app.Response"
  8689. }
  8690. }
  8691. }
  8692. }
  8693. },
  8694. "/Qhj/QueryPickGoods": {
  8695. "get": {
  8696. "security": [
  8697. {
  8698. "ApiKeyAuth": []
  8699. }
  8700. ],
  8701. "produces": [
  8702. "application/json"
  8703. ],
  8704. "tags": [
  8705. "大连千海金"
  8706. ],
  8707. "summary": "查询提货商品",
  8708. "parameters": [
  8709. {
  8710. "type": "integer",
  8711. "description": "交易商品id",
  8712. "name": "goodsid",
  8713. "in": "query",
  8714. "required": true
  8715. },
  8716. {
  8717. "type": "string",
  8718. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8719. "name": "status",
  8720. "in": "query"
  8721. }
  8722. ],
  8723. "responses": {
  8724. "200": {
  8725. "description": "OK",
  8726. "schema": {
  8727. "type": "array",
  8728. "items": {
  8729. "$ref": "#/definitions/models.QhjPickGoods"
  8730. }
  8731. }
  8732. },
  8733. "500": {
  8734. "description": "Internal Server Error",
  8735. "schema": {
  8736. "$ref": "#/definitions/app.Response"
  8737. }
  8738. }
  8739. }
  8740. }
  8741. },
  8742. "/Qhj/QueryRSTriggerLog": {
  8743. "get": {
  8744. "security": [
  8745. {
  8746. "ApiKeyAuth": []
  8747. }
  8748. ],
  8749. "produces": [
  8750. "application/json"
  8751. ],
  8752. "tags": [
  8753. "大连千海金"
  8754. ],
  8755. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8756. "parameters": [
  8757. {
  8758. "type": "integer",
  8759. "description": "用户ID",
  8760. "name": "userid",
  8761. "in": "query"
  8762. },
  8763. {
  8764. "type": "integer",
  8765. "description": "定投策略id",
  8766. "name": "regularlystrategyid",
  8767. "in": "query"
  8768. },
  8769. {
  8770. "type": "integer",
  8771. "description": "商品id",
  8772. "name": "goodsid",
  8773. "in": "query"
  8774. },
  8775. {
  8776. "type": "string",
  8777. "description": "开始交易日(yyyymmdd)",
  8778. "name": "begindate",
  8779. "in": "query"
  8780. },
  8781. {
  8782. "type": "string",
  8783. "description": "结束交易日(yyyymmdd)",
  8784. "name": "enddate",
  8785. "in": "query"
  8786. },
  8787. {
  8788. "type": "string",
  8789. "description": "名称(模糊搜索账户)",
  8790. "name": "filtername",
  8791. "in": "query"
  8792. }
  8793. ],
  8794. "responses": {
  8795. "200": {
  8796. "description": "OK",
  8797. "schema": {
  8798. "type": "array",
  8799. "items": {
  8800. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8801. }
  8802. }
  8803. },
  8804. "500": {
  8805. "description": "Internal Server Error",
  8806. "schema": {
  8807. "$ref": "#/definitions/app.Response"
  8808. }
  8809. }
  8810. }
  8811. }
  8812. },
  8813. "/Qhj/QueryRStrategy": {
  8814. "get": {
  8815. "security": [
  8816. {
  8817. "ApiKeyAuth": []
  8818. }
  8819. ],
  8820. "produces": [
  8821. "application/json"
  8822. ],
  8823. "tags": [
  8824. "大连千海金"
  8825. ],
  8826. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8827. "parameters": [
  8828. {
  8829. "type": "integer",
  8830. "description": "用户ID",
  8831. "name": "userid",
  8832. "in": "query"
  8833. },
  8834. {
  8835. "type": "integer",
  8836. "description": "商品id",
  8837. "name": "goodsid",
  8838. "in": "query"
  8839. },
  8840. {
  8841. "type": "string",
  8842. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8843. "name": "status",
  8844. "in": "query"
  8845. },
  8846. {
  8847. "type": "string",
  8848. "description": "名称(模糊搜索账户)",
  8849. "name": "filtername",
  8850. "in": "query"
  8851. }
  8852. ],
  8853. "responses": {
  8854. "200": {
  8855. "description": "OK",
  8856. "schema": {
  8857. "type": "array",
  8858. "items": {
  8859. "$ref": "#/definitions/models.QhjRStrategy"
  8860. }
  8861. }
  8862. },
  8863. "500": {
  8864. "description": "Internal Server Error",
  8865. "schema": {
  8866. "$ref": "#/definitions/app.Response"
  8867. }
  8868. }
  8869. }
  8870. }
  8871. },
  8872. "/Qhj/QueryReckonPriceLog": {
  8873. "get": {
  8874. "security": [
  8875. {
  8876. "ApiKeyAuth": []
  8877. }
  8878. ],
  8879. "produces": [
  8880. "application/json"
  8881. ],
  8882. "tags": [
  8883. "大连千海金"
  8884. ],
  8885. "summary": "查询定投价(结算价)",
  8886. "parameters": [
  8887. {
  8888. "type": "integer",
  8889. "description": "商品ID",
  8890. "name": "goodsid",
  8891. "in": "query"
  8892. },
  8893. {
  8894. "type": "string",
  8895. "description": "交易日 格式(yyyymmdd)",
  8896. "name": "tradedate",
  8897. "in": "query"
  8898. }
  8899. ],
  8900. "responses": {
  8901. "200": {
  8902. "description": "OK",
  8903. "schema": {
  8904. "type": "array",
  8905. "items": {
  8906. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8907. }
  8908. }
  8909. },
  8910. "500": {
  8911. "description": "Internal Server Error",
  8912. "schema": {
  8913. "$ref": "#/definitions/app.Response"
  8914. }
  8915. }
  8916. }
  8917. }
  8918. },
  8919. "/Qhj/QueryScoreLog": {
  8920. "get": {
  8921. "security": [
  8922. {
  8923. "ApiKeyAuth": []
  8924. }
  8925. ],
  8926. "produces": [
  8927. "application/json"
  8928. ],
  8929. "tags": [
  8930. "大连千海金"
  8931. ],
  8932. "summary": "查询积分流水(我的积分)",
  8933. "parameters": [
  8934. {
  8935. "type": "integer",
  8936. "description": "用户ID",
  8937. "name": "userid",
  8938. "in": "query",
  8939. "required": true
  8940. },
  8941. {
  8942. "type": "string",
  8943. "description": "开始交易日(yyyymmdd)",
  8944. "name": "begindate",
  8945. "in": "query"
  8946. },
  8947. {
  8948. "type": "string",
  8949. "description": "结束交易日(yyyymmdd)",
  8950. "name": "enddate",
  8951. "in": "query"
  8952. },
  8953. {
  8954. "type": "integer",
  8955. "description": "最近多少条",
  8956. "name": "lastnum",
  8957. "in": "query"
  8958. }
  8959. ],
  8960. "responses": {
  8961. "200": {
  8962. "description": "OK",
  8963. "schema": {
  8964. "type": "array",
  8965. "items": {
  8966. "$ref": "#/definitions/models.QhjScoreLog"
  8967. }
  8968. }
  8969. },
  8970. "500": {
  8971. "description": "Internal Server Error",
  8972. "schema": {
  8973. "$ref": "#/definitions/app.Response"
  8974. }
  8975. }
  8976. }
  8977. }
  8978. },
  8979. "/Qhj/QuerySiteColumnDetail": {
  8980. "get": {
  8981. "security": [
  8982. {
  8983. "ApiKeyAuth": []
  8984. }
  8985. ],
  8986. "produces": [
  8987. "application/json"
  8988. ],
  8989. "tags": [
  8990. "大连千海金"
  8991. ],
  8992. "summary": "查询资讯",
  8993. "parameters": [
  8994. {
  8995. "type": "integer",
  8996. "description": "用户ID",
  8997. "name": "userid",
  8998. "in": "query",
  8999. "required": true
  9000. }
  9001. ],
  9002. "responses": {
  9003. "200": {
  9004. "description": "OK",
  9005. "schema": {
  9006. "type": "array",
  9007. "items": {
  9008. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  9009. }
  9010. }
  9011. },
  9012. "500": {
  9013. "description": "Internal Server Error",
  9014. "schema": {
  9015. "$ref": "#/definitions/app.Response"
  9016. }
  9017. }
  9018. }
  9019. }
  9020. },
  9021. "/Qhj/QueryTradeGoodsPickup": {
  9022. "get": {
  9023. "security": [
  9024. {
  9025. "ApiKeyAuth": []
  9026. }
  9027. ],
  9028. "produces": [
  9029. "application/json"
  9030. ],
  9031. "tags": [
  9032. "大连千海金"
  9033. ],
  9034. "summary": "查询提货",
  9035. "parameters": [
  9036. {
  9037. "type": "integer",
  9038. "description": "用户ID",
  9039. "name": "userid",
  9040. "in": "query",
  9041. "required": true
  9042. },
  9043. {
  9044. "type": "integer",
  9045. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  9046. "name": "takeorderstatus",
  9047. "in": "query"
  9048. }
  9049. ],
  9050. "responses": {
  9051. "200": {
  9052. "description": "OK",
  9053. "schema": {
  9054. "type": "array",
  9055. "items": {
  9056. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  9057. }
  9058. }
  9059. },
  9060. "500": {
  9061. "description": "Internal Server Error",
  9062. "schema": {
  9063. "$ref": "#/definitions/app.Response"
  9064. }
  9065. }
  9066. }
  9067. }
  9068. },
  9069. "/Qhj/QueryUserCollectConfig": {
  9070. "get": {
  9071. "security": [
  9072. {
  9073. "ApiKeyAuth": []
  9074. }
  9075. ],
  9076. "produces": [
  9077. "application/json"
  9078. ],
  9079. "tags": [
  9080. "大连千海金"
  9081. ],
  9082. "summary": "查询提现账户设置",
  9083. "parameters": [
  9084. {
  9085. "type": "integer",
  9086. "description": "用户ID",
  9087. "name": "userid",
  9088. "in": "query",
  9089. "required": true
  9090. }
  9091. ],
  9092. "responses": {
  9093. "200": {
  9094. "description": "OK",
  9095. "schema": {
  9096. "type": "array",
  9097. "items": {
  9098. "$ref": "#/definitions/models.UserCollectConfig"
  9099. }
  9100. }
  9101. },
  9102. "500": {
  9103. "description": "Internal Server Error",
  9104. "schema": {
  9105. "$ref": "#/definitions/app.Response"
  9106. }
  9107. }
  9108. }
  9109. }
  9110. },
  9111. "/Qhj/QueryUserReceiveInfo": {
  9112. "get": {
  9113. "security": [
  9114. {
  9115. "ApiKeyAuth": []
  9116. }
  9117. ],
  9118. "produces": [
  9119. "application/json"
  9120. ],
  9121. "tags": [
  9122. "大连千海金"
  9123. ],
  9124. "summary": "查询收货地址信息",
  9125. "parameters": [
  9126. {
  9127. "type": "integer",
  9128. "description": "用户ID",
  9129. "name": "userid",
  9130. "in": "query",
  9131. "required": true
  9132. }
  9133. ],
  9134. "responses": {
  9135. "200": {
  9136. "description": "OK",
  9137. "schema": {
  9138. "type": "array",
  9139. "items": {
  9140. "$ref": "#/definitions/models.UserReceiveInfo"
  9141. }
  9142. }
  9143. },
  9144. "500": {
  9145. "description": "Internal Server Error",
  9146. "schema": {
  9147. "$ref": "#/definitions/app.Response"
  9148. }
  9149. }
  9150. }
  9151. }
  9152. },
  9153. "/QhjMgr/QueryAccountInOutApply": {
  9154. "get": {
  9155. "security": [
  9156. {
  9157. "ApiKeyAuth": []
  9158. }
  9159. ],
  9160. "produces": [
  9161. "application/json"
  9162. ],
  9163. "tags": [
  9164. "大连千海金(PCWeb)"
  9165. ],
  9166. "summary": "查询充值提现",
  9167. "parameters": [
  9168. {
  9169. "type": "integer",
  9170. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9171. "name": "querytype",
  9172. "in": "query",
  9173. "required": true
  9174. },
  9175. {
  9176. "type": "integer",
  9177. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9178. "name": "applystatus",
  9179. "in": "query"
  9180. },
  9181. {
  9182. "type": "string",
  9183. "description": "申请起始日期(格式yyyymmdd)",
  9184. "name": "begindate",
  9185. "in": "query"
  9186. },
  9187. {
  9188. "type": "string",
  9189. "description": "申请截止日期(格式yyyymmdd)",
  9190. "name": "enddate",
  9191. "in": "query"
  9192. },
  9193. {
  9194. "type": "string",
  9195. "description": "模糊搜索名称",
  9196. "name": "likename",
  9197. "in": "query"
  9198. }
  9199. ],
  9200. "responses": {
  9201. "200": {
  9202. "description": "OK",
  9203. "schema": {
  9204. "type": "array",
  9205. "items": {
  9206. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  9207. }
  9208. }
  9209. },
  9210. "500": {
  9211. "description": "Internal Server Error",
  9212. "schema": {
  9213. "$ref": "#/definitions/app.Response"
  9214. }
  9215. }
  9216. }
  9217. }
  9218. },
  9219. "/QhjMgr/QueryBrokerApply": {
  9220. "get": {
  9221. "security": [
  9222. {
  9223. "ApiKeyAuth": []
  9224. }
  9225. ],
  9226. "produces": [
  9227. "application/json"
  9228. ],
  9229. "tags": [
  9230. "大连千海金(PCWeb)"
  9231. ],
  9232. "summary": "查询经纪人申请",
  9233. "parameters": [
  9234. {
  9235. "type": "integer",
  9236. "description": "所属机构ID",
  9237. "name": "userid",
  9238. "in": "query"
  9239. },
  9240. {
  9241. "type": "string",
  9242. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9243. "name": "filterstatus",
  9244. "in": "query"
  9245. },
  9246. {
  9247. "type": "string",
  9248. "description": "名称(模糊匹配)",
  9249. "name": "filtername",
  9250. "in": "query"
  9251. },
  9252. {
  9253. "type": "integer",
  9254. "description": "是否包含子级 1-包含",
  9255. "name": "includesub",
  9256. "in": "query"
  9257. }
  9258. ],
  9259. "responses": {
  9260. "200": {
  9261. "description": "OK",
  9262. "schema": {
  9263. "type": "array",
  9264. "items": {
  9265. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  9266. }
  9267. }
  9268. },
  9269. "500": {
  9270. "description": "Internal Server Error",
  9271. "schema": {
  9272. "$ref": "#/definitions/app.Response"
  9273. }
  9274. }
  9275. }
  9276. }
  9277. },
  9278. "/QhjMgr/QueryBrokerRewardReport": {
  9279. "get": {
  9280. "security": [
  9281. {
  9282. "ApiKeyAuth": []
  9283. }
  9284. ],
  9285. "produces": [
  9286. "application/json"
  9287. ],
  9288. "tags": [
  9289. "大连千海金(PCWeb)"
  9290. ],
  9291. "summary": "查询经纪人奖励报表(废弃)",
  9292. "parameters": [
  9293. {
  9294. "type": "integer",
  9295. "description": "所属机构ID",
  9296. "name": "userid",
  9297. "in": "query",
  9298. "required": true
  9299. },
  9300. {
  9301. "type": "integer",
  9302. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9303. "name": "cycletype",
  9304. "in": "query",
  9305. "required": true
  9306. },
  9307. {
  9308. "type": "string",
  9309. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  9310. "name": "cycletime",
  9311. "in": "query",
  9312. "required": true
  9313. },
  9314. {
  9315. "type": "string",
  9316. "description": "名称(模糊匹配)",
  9317. "name": "filtername",
  9318. "in": "query"
  9319. },
  9320. {
  9321. "type": "integer",
  9322. "description": "是否包含子级 1-包含",
  9323. "name": "includesub",
  9324. "in": "query"
  9325. }
  9326. ],
  9327. "responses": {
  9328. "200": {
  9329. "description": "OK",
  9330. "schema": {
  9331. "type": "array",
  9332. "items": {
  9333. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  9334. }
  9335. }
  9336. },
  9337. "500": {
  9338. "description": "Internal Server Error",
  9339. "schema": {
  9340. "$ref": "#/definitions/app.Response"
  9341. }
  9342. }
  9343. }
  9344. }
  9345. },
  9346. "/QhjMgr/QueryContract": {
  9347. "get": {
  9348. "security": [
  9349. {
  9350. "ApiKeyAuth": []
  9351. }
  9352. ],
  9353. "produces": [
  9354. "application/json"
  9355. ],
  9356. "tags": [
  9357. "大连千海金(PCWeb)"
  9358. ],
  9359. "summary": "查询融资信息(合同)",
  9360. "parameters": [
  9361. {
  9362. "type": "integer",
  9363. "description": "用户ID",
  9364. "name": "userid",
  9365. "in": "query"
  9366. },
  9367. {
  9368. "type": "integer",
  9369. "description": "商品id",
  9370. "name": "goodsid",
  9371. "in": "query"
  9372. },
  9373. {
  9374. "type": "string",
  9375. "description": "名称(模糊搜索账户)",
  9376. "name": "filtername",
  9377. "in": "query"
  9378. },
  9379. {
  9380. "type": "string",
  9381. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  9382. "name": "risklevel",
  9383. "in": "query"
  9384. },
  9385. {
  9386. "type": "string",
  9387. "description": "开始交易日(yyyymmdd)",
  9388. "name": "begindate",
  9389. "in": "query"
  9390. },
  9391. {
  9392. "type": "string",
  9393. "description": "结束交易日(yyyymmdd)",
  9394. "name": "enddate",
  9395. "in": "query"
  9396. }
  9397. ],
  9398. "responses": {
  9399. "200": {
  9400. "description": "OK",
  9401. "schema": {
  9402. "type": "array",
  9403. "items": {
  9404. "$ref": "#/definitions/models.QhjMgrContract"
  9405. }
  9406. }
  9407. },
  9408. "500": {
  9409. "description": "Internal Server Error",
  9410. "schema": {
  9411. "$ref": "#/definitions/app.Response"
  9412. }
  9413. }
  9414. }
  9415. }
  9416. },
  9417. "/QhjMgr/QueryCustomerInfo": {
  9418. "get": {
  9419. "security": [
  9420. {
  9421. "ApiKeyAuth": []
  9422. }
  9423. ],
  9424. "produces": [
  9425. "application/json"
  9426. ],
  9427. "tags": [
  9428. "大连千海金(PCWeb)"
  9429. ],
  9430. "summary": "查询客户资料",
  9431. "parameters": [
  9432. {
  9433. "type": "integer",
  9434. "description": "用户ID",
  9435. "name": "userid",
  9436. "in": "query",
  9437. "required": true
  9438. },
  9439. {
  9440. "type": "integer",
  9441. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9442. "name": "querytype",
  9443. "in": "query",
  9444. "required": true
  9445. },
  9446. {
  9447. "type": "integer",
  9448. "description": "客户类型 1-个人 2-企业",
  9449. "name": "userinfotype",
  9450. "in": "query"
  9451. },
  9452. {
  9453. "type": "string",
  9454. "description": "客户名称(模糊匹配)",
  9455. "name": "customername",
  9456. "in": "query"
  9457. },
  9458. {
  9459. "type": "string",
  9460. "description": "昵称(模糊匹配)",
  9461. "name": "nickname",
  9462. "in": "query"
  9463. },
  9464. {
  9465. "type": "string",
  9466. "description": "所属客户经理(模糊匹配)",
  9467. "name": "brokername",
  9468. "in": "query"
  9469. },
  9470. {
  9471. "type": "string",
  9472. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  9473. "name": "birthday",
  9474. "in": "query"
  9475. },
  9476. {
  9477. "type": "integer",
  9478. "description": "是否包含子级 1-包含",
  9479. "name": "includesub",
  9480. "in": "query"
  9481. }
  9482. ],
  9483. "responses": {
  9484. "200": {
  9485. "description": "OK",
  9486. "schema": {
  9487. "type": "array",
  9488. "items": {
  9489. "$ref": "#/definitions/models.QhjMgrCustomer"
  9490. }
  9491. }
  9492. },
  9493. "500": {
  9494. "description": "Internal Server Error",
  9495. "schema": {
  9496. "$ref": "#/definitions/app.Response"
  9497. }
  9498. }
  9499. }
  9500. }
  9501. },
  9502. "/QhjMgr/QueryPickGoods": {
  9503. "get": {
  9504. "security": [
  9505. {
  9506. "ApiKeyAuth": []
  9507. }
  9508. ],
  9509. "produces": [
  9510. "application/json"
  9511. ],
  9512. "tags": [
  9513. "大连千海金(PCWeb)"
  9514. ],
  9515. "summary": "查询提货商品",
  9516. "parameters": [
  9517. {
  9518. "type": "string",
  9519. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9520. "name": "status",
  9521. "in": "query"
  9522. }
  9523. ],
  9524. "responses": {
  9525. "200": {
  9526. "description": "OK",
  9527. "schema": {
  9528. "type": "array",
  9529. "items": {
  9530. "$ref": "#/definitions/models.QhjMgrPickGoods"
  9531. }
  9532. }
  9533. },
  9534. "500": {
  9535. "description": "Internal Server Error",
  9536. "schema": {
  9537. "$ref": "#/definitions/app.Response"
  9538. }
  9539. }
  9540. }
  9541. }
  9542. },
  9543. "/QhjMgr/QuerySubArea": {
  9544. "get": {
  9545. "security": [
  9546. {
  9547. "ApiKeyAuth": []
  9548. }
  9549. ],
  9550. "produces": [
  9551. "application/json"
  9552. ],
  9553. "tags": [
  9554. "大连千海金(PCWeb)"
  9555. ],
  9556. "summary": "查询子机构列表",
  9557. "parameters": [
  9558. {
  9559. "type": "integer",
  9560. "description": "用户ID",
  9561. "name": "userid",
  9562. "in": "query",
  9563. "required": true
  9564. }
  9565. ],
  9566. "responses": {
  9567. "200": {
  9568. "description": "OK",
  9569. "schema": {
  9570. "type": "array",
  9571. "items": {
  9572. "$ref": "#/definitions/models.QhjMgrSubArea"
  9573. }
  9574. }
  9575. },
  9576. "500": {
  9577. "description": "Internal Server Error",
  9578. "schema": {
  9579. "$ref": "#/definitions/app.Response"
  9580. }
  9581. }
  9582. }
  9583. }
  9584. },
  9585. "/QhjMgr/QueryTradeDetail": {
  9586. "get": {
  9587. "security": [
  9588. {
  9589. "ApiKeyAuth": []
  9590. }
  9591. ],
  9592. "produces": [
  9593. "application/json"
  9594. ],
  9595. "tags": [
  9596. "大连千海金(PCWeb)"
  9597. ],
  9598. "summary": "查询成交明细",
  9599. "parameters": [
  9600. {
  9601. "type": "integer",
  9602. "description": "用户ID",
  9603. "name": "userid",
  9604. "in": "query",
  9605. "required": true
  9606. },
  9607. {
  9608. "type": "integer",
  9609. "description": "用户类型 1-个人 2-企业",
  9610. "name": "userinfotype",
  9611. "in": "query"
  9612. },
  9613. {
  9614. "type": "integer",
  9615. "description": "交易模式",
  9616. "name": "trademode",
  9617. "in": "query"
  9618. },
  9619. {
  9620. "type": "integer",
  9621. "description": "商品id",
  9622. "name": "goodsid",
  9623. "in": "query"
  9624. },
  9625. {
  9626. "type": "string",
  9627. "description": "名称(模糊搜索账户)",
  9628. "name": "filtername",
  9629. "in": "query"
  9630. },
  9631. {
  9632. "type": "string",
  9633. "description": "开始交易日(yyyymmdd)",
  9634. "name": "begindate",
  9635. "in": "query"
  9636. },
  9637. {
  9638. "type": "string",
  9639. "description": "结束交易日(yyyymmdd)",
  9640. "name": "enddate",
  9641. "in": "query"
  9642. },
  9643. {
  9644. "type": "integer",
  9645. "description": "是否包含子级 1-包含",
  9646. "name": "includesub",
  9647. "in": "query"
  9648. }
  9649. ],
  9650. "responses": {
  9651. "200": {
  9652. "description": "OK",
  9653. "schema": {
  9654. "type": "array",
  9655. "items": {
  9656. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9657. }
  9658. }
  9659. },
  9660. "500": {
  9661. "description": "Internal Server Error",
  9662. "schema": {
  9663. "$ref": "#/definitions/app.Response"
  9664. }
  9665. }
  9666. }
  9667. }
  9668. },
  9669. "/QhjMgr/QueryTradeOrderDetail": {
  9670. "get": {
  9671. "security": [
  9672. {
  9673. "ApiKeyAuth": []
  9674. }
  9675. ],
  9676. "produces": [
  9677. "application/json"
  9678. ],
  9679. "tags": [
  9680. "大连千海金(PCWeb)"
  9681. ],
  9682. "summary": "查询委托明细",
  9683. "parameters": [
  9684. {
  9685. "type": "integer",
  9686. "description": "用户ID",
  9687. "name": "userid",
  9688. "in": "query",
  9689. "required": true
  9690. },
  9691. {
  9692. "type": "integer",
  9693. "description": "用户类型 1-个人 2-企业",
  9694. "name": "userinfotype",
  9695. "in": "query"
  9696. },
  9697. {
  9698. "type": "integer",
  9699. "description": "交易模式",
  9700. "name": "trademode",
  9701. "in": "query"
  9702. },
  9703. {
  9704. "type": "integer",
  9705. "description": "商品id",
  9706. "name": "goodsid",
  9707. "in": "query"
  9708. },
  9709. {
  9710. "type": "string",
  9711. "description": "名称(模糊搜索账户)",
  9712. "name": "filtername",
  9713. "in": "query"
  9714. },
  9715. {
  9716. "type": "string",
  9717. "description": "开始交易日(yyyymmdd)",
  9718. "name": "begindate",
  9719. "in": "query"
  9720. },
  9721. {
  9722. "type": "string",
  9723. "description": "结束交易日(yyyymmdd)",
  9724. "name": "enddate",
  9725. "in": "query"
  9726. },
  9727. {
  9728. "type": "integer",
  9729. "description": "是否包含子级 1-包含",
  9730. "name": "includesub",
  9731. "in": "query"
  9732. }
  9733. ],
  9734. "responses": {
  9735. "200": {
  9736. "description": "OK",
  9737. "schema": {
  9738. "type": "array",
  9739. "items": {
  9740. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9741. }
  9742. }
  9743. },
  9744. "500": {
  9745. "description": "Internal Server Error",
  9746. "schema": {
  9747. "$ref": "#/definitions/app.Response"
  9748. }
  9749. }
  9750. }
  9751. }
  9752. },
  9753. "/QhjMgr/QueryTradePayOrder": {
  9754. "get": {
  9755. "security": [
  9756. {
  9757. "ApiKeyAuth": []
  9758. }
  9759. ],
  9760. "produces": [
  9761. "application/json"
  9762. ],
  9763. "tags": [
  9764. "大连千海金(PCWeb)"
  9765. ],
  9766. "summary": "查询待付款单",
  9767. "parameters": [
  9768. {
  9769. "type": "integer",
  9770. "description": "用户ID",
  9771. "name": "userid",
  9772. "in": "query",
  9773. "required": true
  9774. },
  9775. {
  9776. "type": "string",
  9777. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9778. "name": "payflag",
  9779. "in": "query"
  9780. },
  9781. {
  9782. "type": "integer",
  9783. "description": "用户类型 1-个人 2-企业",
  9784. "name": "userinfotype",
  9785. "in": "query"
  9786. },
  9787. {
  9788. "type": "integer",
  9789. "description": "交易模式",
  9790. "name": "trademode",
  9791. "in": "query"
  9792. },
  9793. {
  9794. "type": "integer",
  9795. "description": "商品id",
  9796. "name": "goodsid",
  9797. "in": "query"
  9798. },
  9799. {
  9800. "type": "string",
  9801. "description": "名称(模糊搜索账户)",
  9802. "name": "filtername",
  9803. "in": "query"
  9804. },
  9805. {
  9806. "type": "string",
  9807. "description": "开始交易日(yyyymmdd)",
  9808. "name": "begindate",
  9809. "in": "query"
  9810. },
  9811. {
  9812. "type": "string",
  9813. "description": "结束交易日(yyyymmdd)",
  9814. "name": "enddate",
  9815. "in": "query"
  9816. },
  9817. {
  9818. "type": "integer",
  9819. "description": "是否包含子级 1-包含",
  9820. "name": "includesub",
  9821. "in": "query"
  9822. }
  9823. ],
  9824. "responses": {
  9825. "200": {
  9826. "description": "OK",
  9827. "schema": {
  9828. "type": "array",
  9829. "items": {
  9830. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9831. }
  9832. }
  9833. },
  9834. "500": {
  9835. "description": "Internal Server Error",
  9836. "schema": {
  9837. "$ref": "#/definitions/app.Response"
  9838. }
  9839. }
  9840. }
  9841. }
  9842. },
  9843. "/QhjMgr/QueryTradePosition": {
  9844. "get": {
  9845. "security": [
  9846. {
  9847. "ApiKeyAuth": []
  9848. }
  9849. ],
  9850. "produces": [
  9851. "application/json"
  9852. ],
  9853. "tags": [
  9854. "大连千海金(PCWeb)"
  9855. ],
  9856. "summary": "查询持仓汇总",
  9857. "parameters": [
  9858. {
  9859. "type": "integer",
  9860. "description": "用户ID",
  9861. "name": "userid",
  9862. "in": "query",
  9863. "required": true
  9864. },
  9865. {
  9866. "type": "integer",
  9867. "description": "用户类型 1-个人 2-企业",
  9868. "name": "userinfotype",
  9869. "in": "query"
  9870. },
  9871. {
  9872. "type": "integer",
  9873. "description": "交易模式",
  9874. "name": "trademode",
  9875. "in": "query"
  9876. },
  9877. {
  9878. "type": "integer",
  9879. "description": "商品id",
  9880. "name": "goodsid",
  9881. "in": "query"
  9882. },
  9883. {
  9884. "type": "string",
  9885. "description": "名称(模糊搜索账户)",
  9886. "name": "filtername",
  9887. "in": "query"
  9888. },
  9889. {
  9890. "type": "integer",
  9891. "description": "是否包含子级 1-包含",
  9892. "name": "includesub",
  9893. "in": "query"
  9894. }
  9895. ],
  9896. "responses": {
  9897. "200": {
  9898. "description": "OK",
  9899. "schema": {
  9900. "type": "array",
  9901. "items": {
  9902. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9903. }
  9904. }
  9905. },
  9906. "500": {
  9907. "description": "Internal Server Error",
  9908. "schema": {
  9909. "$ref": "#/definitions/app.Response"
  9910. }
  9911. }
  9912. }
  9913. }
  9914. },
  9915. "/QhjSys/QueryAgreementChangeLog": {
  9916. "get": {
  9917. "security": [
  9918. {
  9919. "ApiKeyAuth": []
  9920. }
  9921. ],
  9922. "produces": [
  9923. "application/json"
  9924. ],
  9925. "tags": [
  9926. "大连千海金(协议和签约信息)"
  9927. ],
  9928. "summary": "查询协议配置变更流水",
  9929. "parameters": [
  9930. {
  9931. "type": "integer",
  9932. "description": "协议ID",
  9933. "name": "agreementid",
  9934. "in": "query"
  9935. },
  9936. {
  9937. "type": "integer",
  9938. "description": "协议版本号",
  9939. "name": "agreementversion",
  9940. "in": "query"
  9941. },
  9942. {
  9943. "type": "integer",
  9944. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9945. "name": "agreementtype",
  9946. "in": "query"
  9947. },
  9948. {
  9949. "type": "string",
  9950. "description": "协议编号(模糊匹配)",
  9951. "name": "agreementno",
  9952. "in": "query"
  9953. },
  9954. {
  9955. "type": "string",
  9956. "description": "协议名称(模糊匹配)",
  9957. "name": "agreementname",
  9958. "in": "query"
  9959. }
  9960. ],
  9961. "responses": {
  9962. "200": {
  9963. "description": "OK",
  9964. "schema": {
  9965. "type": "array",
  9966. "items": {
  9967. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9968. }
  9969. }
  9970. },
  9971. "500": {
  9972. "description": "Internal Server Error",
  9973. "schema": {
  9974. "$ref": "#/definitions/app.Response"
  9975. }
  9976. }
  9977. }
  9978. }
  9979. },
  9980. "/QhjSys/QueryAgreementConfig": {
  9981. "get": {
  9982. "security": [
  9983. {
  9984. "ApiKeyAuth": []
  9985. }
  9986. ],
  9987. "produces": [
  9988. "application/json"
  9989. ],
  9990. "tags": [
  9991. "大连千海金(协议和签约信息)"
  9992. ],
  9993. "summary": "查询协议配置",
  9994. "parameters": [
  9995. {
  9996. "type": "integer",
  9997. "description": "协议ID",
  9998. "name": "agreementid",
  9999. "in": "query"
  10000. },
  10001. {
  10002. "type": "integer",
  10003. "description": "协议版本号",
  10004. "name": "agreementversion",
  10005. "in": "query"
  10006. },
  10007. {
  10008. "type": "integer",
  10009. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10010. "name": "agreementtype",
  10011. "in": "query"
  10012. },
  10013. {
  10014. "type": "integer",
  10015. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  10016. "name": "isvalid",
  10017. "in": "query"
  10018. },
  10019. {
  10020. "type": "string",
  10021. "description": "协议编号(模糊匹配)",
  10022. "name": "agreementno",
  10023. "in": "query"
  10024. },
  10025. {
  10026. "type": "string",
  10027. "description": "协议名称(模糊匹配)",
  10028. "name": "agreementname",
  10029. "in": "query"
  10030. }
  10031. ],
  10032. "responses": {
  10033. "200": {
  10034. "description": "OK",
  10035. "schema": {
  10036. "type": "array",
  10037. "items": {
  10038. "$ref": "#/definitions/models.QhjAgreementConfig"
  10039. }
  10040. }
  10041. },
  10042. "500": {
  10043. "description": "Internal Server Error",
  10044. "schema": {
  10045. "$ref": "#/definitions/app.Response"
  10046. }
  10047. }
  10048. }
  10049. }
  10050. },
  10051. "/QhjSys/QueryCustomerSignStatus": {
  10052. "get": {
  10053. "security": [
  10054. {
  10055. "ApiKeyAuth": []
  10056. }
  10057. ],
  10058. "produces": [
  10059. "application/json"
  10060. ],
  10061. "tags": [
  10062. "大连千海金(协议和签约信息)"
  10063. ],
  10064. "summary": "查询客户协议签约状态",
  10065. "parameters": [
  10066. {
  10067. "type": "integer",
  10068. "description": "客户ID",
  10069. "name": "userid",
  10070. "in": "query"
  10071. },
  10072. {
  10073. "type": "integer",
  10074. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  10075. "name": "nodetype",
  10076. "in": "query"
  10077. },
  10078. {
  10079. "type": "integer",
  10080. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10081. "name": "goodsid",
  10082. "in": "query"
  10083. },
  10084. {
  10085. "type": "string",
  10086. "description": "创建交易日(yyyyMMdd)",
  10087. "name": "tradedate",
  10088. "in": "query"
  10089. },
  10090. {
  10091. "type": "string",
  10092. "description": "用户名称(模糊匹配)",
  10093. "name": "username",
  10094. "in": "query"
  10095. }
  10096. ],
  10097. "responses": {
  10098. "200": {
  10099. "description": "OK",
  10100. "schema": {
  10101. "type": "array",
  10102. "items": {
  10103. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  10104. }
  10105. }
  10106. },
  10107. "500": {
  10108. "description": "Internal Server Error",
  10109. "schema": {
  10110. "$ref": "#/definitions/app.Response"
  10111. }
  10112. }
  10113. }
  10114. }
  10115. },
  10116. "/QhjSys/QueryNodeAgreementConfig": {
  10117. "get": {
  10118. "security": [
  10119. {
  10120. "ApiKeyAuth": []
  10121. }
  10122. ],
  10123. "produces": [
  10124. "application/json"
  10125. ],
  10126. "tags": [
  10127. "大连千海金(协议和签约信息)"
  10128. ],
  10129. "summary": "查询协议节点配置",
  10130. "parameters": [
  10131. {
  10132. "type": "integer",
  10133. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10134. "name": "configid",
  10135. "in": "query"
  10136. },
  10137. {
  10138. "type": "integer",
  10139. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10140. "name": "nodetype",
  10141. "in": "query"
  10142. },
  10143. {
  10144. "type": "integer",
  10145. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10146. "name": "goodsid",
  10147. "in": "query"
  10148. },
  10149. {
  10150. "type": "integer",
  10151. "description": "协议ID",
  10152. "name": "agreementid",
  10153. "in": "query"
  10154. },
  10155. {
  10156. "type": "integer",
  10157. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10158. "name": "agreementtype",
  10159. "in": "query"
  10160. },
  10161. {
  10162. "type": "integer",
  10163. "description": "协议版本号",
  10164. "name": "agreementversion",
  10165. "in": "query"
  10166. },
  10167. {
  10168. "type": "string",
  10169. "description": "协议编号(模糊匹配)",
  10170. "name": "agreementno",
  10171. "in": "query"
  10172. },
  10173. {
  10174. "type": "string",
  10175. "description": "协议名称(模糊匹配)",
  10176. "name": "agreementname",
  10177. "in": "query"
  10178. }
  10179. ],
  10180. "responses": {
  10181. "200": {
  10182. "description": "OK",
  10183. "schema": {
  10184. "type": "array",
  10185. "items": {
  10186. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  10187. }
  10188. }
  10189. },
  10190. "500": {
  10191. "description": "Internal Server Error",
  10192. "schema": {
  10193. "$ref": "#/definitions/app.Response"
  10194. }
  10195. }
  10196. }
  10197. }
  10198. },
  10199. "/QhjSys/QueryQhjCustomerSignLog": {
  10200. "get": {
  10201. "security": [
  10202. {
  10203. "ApiKeyAuth": []
  10204. }
  10205. ],
  10206. "produces": [
  10207. "application/json"
  10208. ],
  10209. "tags": [
  10210. "大连千海金(协议和签约信息)"
  10211. ],
  10212. "summary": "查询客户协议签约流水",
  10213. "parameters": [
  10214. {
  10215. "type": "integer",
  10216. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  10217. "name": "logid",
  10218. "in": "query"
  10219. },
  10220. {
  10221. "type": "integer",
  10222. "description": "客户ID",
  10223. "name": "userid",
  10224. "in": "query"
  10225. },
  10226. {
  10227. "type": "integer",
  10228. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10229. "name": "nodetype",
  10230. "in": "query"
  10231. },
  10232. {
  10233. "type": "integer",
  10234. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10235. "name": "goodsid",
  10236. "in": "query"
  10237. },
  10238. {
  10239. "type": "integer",
  10240. "description": "协议ID",
  10241. "name": "agreementid",
  10242. "in": "query"
  10243. },
  10244. {
  10245. "type": "string",
  10246. "description": "用户名称(模糊匹配)",
  10247. "name": "username",
  10248. "in": "query"
  10249. },
  10250. {
  10251. "type": "string",
  10252. "description": "协议编号(模糊匹配)",
  10253. "name": "agreementno",
  10254. "in": "query"
  10255. },
  10256. {
  10257. "type": "string",
  10258. "description": "协议名称(模糊匹配)",
  10259. "name": "agreementname",
  10260. "in": "query"
  10261. }
  10262. ],
  10263. "responses": {
  10264. "200": {
  10265. "description": "OK",
  10266. "schema": {
  10267. "type": "array",
  10268. "items": {
  10269. "$ref": "#/definitions/models.QhjCustomerSignLog"
  10270. }
  10271. }
  10272. },
  10273. "500": {
  10274. "description": "Internal Server Error",
  10275. "schema": {
  10276. "$ref": "#/definitions/app.Response"
  10277. }
  10278. }
  10279. }
  10280. }
  10281. },
  10282. "/QhjSys/QueryUserNodeCfgAndStatus": {
  10283. "get": {
  10284. "security": [
  10285. {
  10286. "ApiKeyAuth": []
  10287. }
  10288. ],
  10289. "produces": [
  10290. "application/json"
  10291. ],
  10292. "tags": [
  10293. "大连千海金(协议和签约信息)"
  10294. ],
  10295. "summary": "查询用户协议节点配置和状态",
  10296. "parameters": [
  10297. {
  10298. "type": "integer",
  10299. "description": "客户ID",
  10300. "name": "userid",
  10301. "in": "query"
  10302. },
  10303. {
  10304. "type": "integer",
  10305. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10306. "name": "configid",
  10307. "in": "query"
  10308. },
  10309. {
  10310. "type": "string",
  10311. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10312. "name": "nodetype",
  10313. "in": "query"
  10314. },
  10315. {
  10316. "type": "integer",
  10317. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10318. "name": "goodsid",
  10319. "in": "query"
  10320. },
  10321. {
  10322. "type": "integer",
  10323. "description": "协议ID",
  10324. "name": "agreementid",
  10325. "in": "query"
  10326. },
  10327. {
  10328. "type": "integer",
  10329. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10330. "name": "agreementtype",
  10331. "in": "query"
  10332. },
  10333. {
  10334. "type": "integer",
  10335. "description": "协议版本号",
  10336. "name": "agreementversion",
  10337. "in": "query"
  10338. },
  10339. {
  10340. "type": "string",
  10341. "description": "协议编号(模糊匹配)",
  10342. "name": "agreementno",
  10343. "in": "query"
  10344. },
  10345. {
  10346. "type": "string",
  10347. "description": "协议名称(模糊匹配)",
  10348. "name": "agreementname",
  10349. "in": "query"
  10350. }
  10351. ],
  10352. "responses": {
  10353. "200": {
  10354. "description": "OK",
  10355. "schema": {
  10356. "type": "array",
  10357. "items": {
  10358. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  10359. }
  10360. }
  10361. },
  10362. "500": {
  10363. "description": "Internal Server Error",
  10364. "schema": {
  10365. "$ref": "#/definitions/app.Response"
  10366. }
  10367. }
  10368. }
  10369. }
  10370. },
  10371. "/Quote/QueryHistoryDatas": {
  10372. "get": {
  10373. "security": [
  10374. {
  10375. "ApiKeyAuth": []
  10376. }
  10377. ],
  10378. "produces": [
  10379. "application/json"
  10380. ],
  10381. "tags": [
  10382. "行情服务"
  10383. ],
  10384. "summary": "查询行情历史数据",
  10385. "parameters": [
  10386. {
  10387. "type": "integer",
  10388. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  10389. "name": "cycleType",
  10390. "in": "query",
  10391. "required": true
  10392. },
  10393. {
  10394. "type": "string",
  10395. "description": "商品代码",
  10396. "name": "goodsCode",
  10397. "in": "query",
  10398. "required": true
  10399. },
  10400. {
  10401. "type": "string",
  10402. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10403. "name": "startTime",
  10404. "in": "query"
  10405. },
  10406. {
  10407. "type": "string",
  10408. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10409. "name": "endTime",
  10410. "in": "query"
  10411. },
  10412. {
  10413. "type": "integer",
  10414. "description": "条数",
  10415. "name": "count",
  10416. "in": "query"
  10417. },
  10418. {
  10419. "type": "boolean",
  10420. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10421. "name": "isAsc",
  10422. "in": "query"
  10423. }
  10424. ],
  10425. "responses": {
  10426. "200": {
  10427. "description": "OK",
  10428. "schema": {
  10429. "$ref": "#/definitions/quote.HistoryData"
  10430. }
  10431. },
  10432. "500": {
  10433. "description": "Internal Server Error",
  10434. "schema": {
  10435. "$ref": "#/definitions/app.Response"
  10436. }
  10437. }
  10438. }
  10439. }
  10440. },
  10441. "/Quote/QueryHistoryTikDatas": {
  10442. "get": {
  10443. "security": [
  10444. {
  10445. "ApiKeyAuth": []
  10446. }
  10447. ],
  10448. "produces": [
  10449. "application/json"
  10450. ],
  10451. "tags": [
  10452. "行情服务"
  10453. ],
  10454. "summary": "查询行情Tik数据",
  10455. "parameters": [
  10456. {
  10457. "type": "string",
  10458. "description": "商品代码",
  10459. "name": "goodsCode",
  10460. "in": "query",
  10461. "required": true
  10462. },
  10463. {
  10464. "type": "string",
  10465. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10466. "name": "startTime",
  10467. "in": "query"
  10468. },
  10469. {
  10470. "type": "string",
  10471. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10472. "name": "endTime",
  10473. "in": "query"
  10474. },
  10475. {
  10476. "type": "integer",
  10477. "description": "条数",
  10478. "name": "count",
  10479. "in": "query"
  10480. },
  10481. {
  10482. "type": "boolean",
  10483. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10484. "name": "isAsc",
  10485. "in": "query"
  10486. }
  10487. ],
  10488. "responses": {
  10489. "200": {
  10490. "description": "OK",
  10491. "schema": {
  10492. "$ref": "#/definitions/quote.HistoryTikData"
  10493. }
  10494. },
  10495. "500": {
  10496. "description": "Internal Server Error",
  10497. "schema": {
  10498. "$ref": "#/definitions/app.Response"
  10499. }
  10500. }
  10501. }
  10502. }
  10503. },
  10504. "/Quote/QueryQuoteDay": {
  10505. "get": {
  10506. "security": [
  10507. {
  10508. "ApiKeyAuth": []
  10509. }
  10510. ],
  10511. "produces": [
  10512. "application/json"
  10513. ],
  10514. "tags": [
  10515. "行情服务"
  10516. ],
  10517. "summary": "获取商品盘面信息",
  10518. "parameters": [
  10519. {
  10520. "type": "string",
  10521. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  10522. "name": "goodsCodes",
  10523. "in": "query",
  10524. "required": true
  10525. }
  10526. ],
  10527. "responses": {
  10528. "200": {
  10529. "description": "OK",
  10530. "schema": {
  10531. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  10532. }
  10533. },
  10534. "500": {
  10535. "description": "Internal Server Error",
  10536. "schema": {
  10537. "$ref": "#/definitions/app.Response"
  10538. }
  10539. }
  10540. }
  10541. }
  10542. },
  10543. "/Quote/QueryTSData": {
  10544. "get": {
  10545. "security": [
  10546. {
  10547. "ApiKeyAuth": []
  10548. }
  10549. ],
  10550. "produces": [
  10551. "application/json"
  10552. ],
  10553. "tags": [
  10554. "行情服务"
  10555. ],
  10556. "summary": "分时图数据查询",
  10557. "parameters": [
  10558. {
  10559. "type": "string",
  10560. "description": "商品代码",
  10561. "name": "goodsCode",
  10562. "in": "query",
  10563. "required": true
  10564. }
  10565. ],
  10566. "responses": {
  10567. "200": {
  10568. "description": "OK",
  10569. "schema": {
  10570. "$ref": "#/definitions/quote.QueryTSDataRsp"
  10571. }
  10572. },
  10573. "500": {
  10574. "description": "Internal Server Error",
  10575. "schema": {
  10576. "$ref": "#/definitions/app.Response"
  10577. }
  10578. }
  10579. }
  10580. }
  10581. },
  10582. "/SZDZ/QueryConvertConfig": {
  10583. "get": {
  10584. "security": [
  10585. {
  10586. "ApiKeyAuth": []
  10587. }
  10588. ],
  10589. "produces": [
  10590. "application/json"
  10591. ],
  10592. "tags": [
  10593. "定制【尚志大宗】"
  10594. ],
  10595. "summary": "查询交易系统转换设置",
  10596. "parameters": [
  10597. {
  10598. "type": "integer",
  10599. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10600. "name": "convertType",
  10601. "in": "query"
  10602. },
  10603. {
  10604. "type": "string",
  10605. "description": "外部商品代码[JD\\PD]",
  10606. "name": "outerGoodsCode",
  10607. "in": "query"
  10608. },
  10609. {
  10610. "type": "string",
  10611. "description": "内部商品ID列表[交易],格式:1,2,3",
  10612. "name": "innerGoodsIDs",
  10613. "in": "query"
  10614. }
  10615. ],
  10616. "responses": {
  10617. "200": {
  10618. "description": "OK",
  10619. "schema": {
  10620. "$ref": "#/definitions/models.Szdz3convertconfig"
  10621. }
  10622. },
  10623. "500": {
  10624. "description": "Internal Server Error",
  10625. "schema": {
  10626. "$ref": "#/definitions/app.Response"
  10627. }
  10628. }
  10629. }
  10630. }
  10631. },
  10632. "/SZDZ/QueryConvertLog": {
  10633. "get": {
  10634. "security": [
  10635. {
  10636. "ApiKeyAuth": []
  10637. }
  10638. ],
  10639. "produces": [
  10640. "application/json"
  10641. ],
  10642. "tags": [
  10643. "定制【尚志大宗】"
  10644. ],
  10645. "summary": "交易系统转换流水查询",
  10646. "parameters": [
  10647. {
  10648. "type": "string",
  10649. "description": "资金账户 - 格式:1,2,3",
  10650. "name": "accountID",
  10651. "in": "query",
  10652. "required": true
  10653. },
  10654. {
  10655. "type": "string",
  10656. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10657. "name": "startDate",
  10658. "in": "query"
  10659. },
  10660. {
  10661. "type": "string",
  10662. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10663. "name": "endDate",
  10664. "in": "query"
  10665. }
  10666. ],
  10667. "responses": {
  10668. "200": {
  10669. "description": "OK",
  10670. "schema": {
  10671. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10672. }
  10673. },
  10674. "500": {
  10675. "description": "Internal Server Error",
  10676. "schema": {
  10677. "$ref": "#/definitions/app.Response"
  10678. }
  10679. }
  10680. }
  10681. }
  10682. },
  10683. "/SZDZ/QueryGoodsPickup": {
  10684. "get": {
  10685. "security": [
  10686. {
  10687. "ApiKeyAuth": []
  10688. }
  10689. ],
  10690. "produces": [
  10691. "application/json"
  10692. ],
  10693. "tags": [
  10694. "定制【尚志大宗】"
  10695. ],
  10696. "summary": "商品提货单查询",
  10697. "parameters": [
  10698. {
  10699. "type": "string",
  10700. "description": "资金账户 - 格式:1,2,3",
  10701. "name": "accountID",
  10702. "in": "query",
  10703. "required": true
  10704. },
  10705. {
  10706. "type": "integer",
  10707. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10708. "name": "takeOrderStatus",
  10709. "in": "query"
  10710. }
  10711. ],
  10712. "responses": {
  10713. "200": {
  10714. "description": "OK",
  10715. "schema": {
  10716. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10717. }
  10718. },
  10719. "500": {
  10720. "description": "Internal Server Error",
  10721. "schema": {
  10722. "$ref": "#/definitions/app.Response"
  10723. }
  10724. }
  10725. }
  10726. }
  10727. },
  10728. "/SZDZ/QueryRecieptOrder": {
  10729. "get": {
  10730. "security": [
  10731. {
  10732. "ApiKeyAuth": []
  10733. }
  10734. ],
  10735. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10736. "produces": [
  10737. "application/json"
  10738. ],
  10739. "tags": [
  10740. "定制【尚志大宗】"
  10741. ],
  10742. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10743. "parameters": [
  10744. {
  10745. "type": "integer",
  10746. "description": "页码",
  10747. "name": "page",
  10748. "in": "query"
  10749. },
  10750. {
  10751. "type": "integer",
  10752. "description": "每页条数",
  10753. "name": "pagesize",
  10754. "in": "query"
  10755. },
  10756. {
  10757. "type": "integer",
  10758. "description": "商品ID",
  10759. "name": "goodsID",
  10760. "in": "query",
  10761. "required": true
  10762. },
  10763. {
  10764. "type": "string",
  10765. "description": "所属账户名称",
  10766. "name": "accountName",
  10767. "in": "query"
  10768. },
  10769. {
  10770. "type": "integer",
  10771. "description": "市场ID",
  10772. "name": "marketID",
  10773. "in": "query"
  10774. },
  10775. {
  10776. "type": "integer",
  10777. "description": "方向 - 0:买 1:卖",
  10778. "name": "buyorsell",
  10779. "in": "query",
  10780. "required": true
  10781. }
  10782. ],
  10783. "responses": {
  10784. "200": {
  10785. "description": "OK",
  10786. "schema": {
  10787. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10788. }
  10789. },
  10790. "500": {
  10791. "description": "Internal Server Error",
  10792. "schema": {
  10793. "$ref": "#/definitions/app.Response"
  10794. }
  10795. }
  10796. }
  10797. }
  10798. },
  10799. "/SZDZ/QuerySZDZTradePosition": {
  10800. "get": {
  10801. "security": [
  10802. {
  10803. "ApiKeyAuth": []
  10804. }
  10805. ],
  10806. "produces": [
  10807. "application/json"
  10808. ],
  10809. "tags": [
  10810. "定制【尚志大宗】"
  10811. ],
  10812. "summary": "持仓汇总查询(尚志大宗)",
  10813. "parameters": [
  10814. {
  10815. "type": "integer",
  10816. "description": "资金账户",
  10817. "name": "accountID",
  10818. "in": "query",
  10819. "required": true
  10820. }
  10821. ],
  10822. "responses": {
  10823. "200": {
  10824. "description": "OK",
  10825. "schema": {
  10826. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10827. }
  10828. },
  10829. "500": {
  10830. "description": "Internal Server Error",
  10831. "schema": {
  10832. "$ref": "#/definitions/app.Response"
  10833. }
  10834. }
  10835. }
  10836. }
  10837. },
  10838. "/SZDZ/SearchWhite": {
  10839. "get": {
  10840. "security": [
  10841. {
  10842. "ApiKeyAuth": []
  10843. }
  10844. ],
  10845. "produces": [
  10846. "application/json"
  10847. ],
  10848. "tags": [
  10849. "定制【尚志大宗】"
  10850. ],
  10851. "summary": "搜索白名单",
  10852. "parameters": [
  10853. {
  10854. "type": "integer",
  10855. "description": "用户ID",
  10856. "name": "userID",
  10857. "in": "query",
  10858. "required": true
  10859. }
  10860. ],
  10861. "responses": {
  10862. "200": {
  10863. "description": "OK",
  10864. "schema": {
  10865. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10866. }
  10867. },
  10868. "500": {
  10869. "description": "Internal Server Error",
  10870. "schema": {
  10871. "$ref": "#/definitions/app.Response"
  10872. }
  10873. }
  10874. }
  10875. }
  10876. },
  10877. "/Search/SearchGoodses": {
  10878. "get": {
  10879. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10880. "produces": [
  10881. "application/json"
  10882. ],
  10883. "tags": [
  10884. "检索服务"
  10885. ],
  10886. "summary": "检索商品信息",
  10887. "parameters": [
  10888. {
  10889. "type": "string",
  10890. "description": "检索内容",
  10891. "name": "content",
  10892. "in": "query",
  10893. "required": true
  10894. },
  10895. {
  10896. "type": "string",
  10897. "description": "交易模式,格式:1,2,3",
  10898. "name": "tradeModes",
  10899. "in": "query"
  10900. }
  10901. ],
  10902. "responses": {
  10903. "200": {
  10904. "description": "OK",
  10905. "schema": {
  10906. "$ref": "#/definitions/models.SearchGoods"
  10907. }
  10908. },
  10909. "500": {
  10910. "description": "Internal Server Error",
  10911. "schema": {
  10912. "$ref": "#/definitions/app.Response"
  10913. }
  10914. }
  10915. }
  10916. }
  10917. },
  10918. "/TaAccount/GetTaAccounts": {
  10919. "get": {
  10920. "security": [
  10921. {
  10922. "ApiKeyAuth": []
  10923. }
  10924. ],
  10925. "produces": [
  10926. "application/json"
  10927. ],
  10928. "tags": [
  10929. "资金账户"
  10930. ],
  10931. "summary": "获取资金账户信息",
  10932. "parameters": [
  10933. {
  10934. "type": "integer",
  10935. "description": "登录账户",
  10936. "name": "loginID",
  10937. "in": "query",
  10938. "required": true
  10939. },
  10940. {
  10941. "type": "integer",
  10942. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10943. "name": "taAccountType",
  10944. "in": "query"
  10945. }
  10946. ],
  10947. "responses": {
  10948. "200": {
  10949. "description": "OK",
  10950. "schema": {
  10951. "$ref": "#/definitions/models.Taaccount"
  10952. }
  10953. },
  10954. "500": {
  10955. "description": "Internal Server Error",
  10956. "schema": {
  10957. "$ref": "#/definitions/app.Response"
  10958. }
  10959. }
  10960. }
  10961. }
  10962. },
  10963. "/TaAccount/QueryAmountLog": {
  10964. "get": {
  10965. "security": [
  10966. {
  10967. "ApiKeyAuth": []
  10968. }
  10969. ],
  10970. "produces": [
  10971. "application/json"
  10972. ],
  10973. "tags": [
  10974. "资金账户"
  10975. ],
  10976. "summary": "资金流水查询(当前)",
  10977. "parameters": [
  10978. {
  10979. "type": "integer",
  10980. "description": "页码",
  10981. "name": "page",
  10982. "in": "query"
  10983. },
  10984. {
  10985. "type": "integer",
  10986. "description": "每页条数",
  10987. "name": "pagesize",
  10988. "in": "query"
  10989. },
  10990. {
  10991. "type": "string",
  10992. "description": "资金账户 - 格式:1,2,3",
  10993. "name": "accountID",
  10994. "in": "query",
  10995. "required": true
  10996. },
  10997. {
  10998. "type": "string",
  10999. "description": "资金操作类型 - 格式:1,2,3",
  11000. "name": "OperateType",
  11001. "in": "query"
  11002. }
  11003. ],
  11004. "responses": {
  11005. "200": {
  11006. "description": "OK",
  11007. "schema": {
  11008. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  11009. }
  11010. },
  11011. "500": {
  11012. "description": "Internal Server Error",
  11013. "schema": {
  11014. "$ref": "#/definitions/app.Response"
  11015. }
  11016. }
  11017. }
  11018. }
  11019. },
  11020. "/TaAccount/QueryHisAmountLog": {
  11021. "get": {
  11022. "security": [
  11023. {
  11024. "ApiKeyAuth": []
  11025. }
  11026. ],
  11027. "produces": [
  11028. "application/json"
  11029. ],
  11030. "tags": [
  11031. "资金账户"
  11032. ],
  11033. "summary": "资金流水查询(历史)",
  11034. "parameters": [
  11035. {
  11036. "type": "integer",
  11037. "description": "页码",
  11038. "name": "page",
  11039. "in": "query"
  11040. },
  11041. {
  11042. "type": "integer",
  11043. "description": "每页条数",
  11044. "name": "pagesize",
  11045. "in": "query"
  11046. },
  11047. {
  11048. "type": "string",
  11049. "description": "资金账户 - 格式:1,2,3",
  11050. "name": "accountID",
  11051. "in": "query",
  11052. "required": true
  11053. },
  11054. {
  11055. "type": "string",
  11056. "description": "资金操作类型 - 格式:1,2,3",
  11057. "name": "OperateType",
  11058. "in": "query"
  11059. },
  11060. {
  11061. "type": "string",
  11062. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  11063. "name": "startDate",
  11064. "in": "query"
  11065. },
  11066. {
  11067. "type": "string",
  11068. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  11069. "name": "endDate",
  11070. "in": "query"
  11071. }
  11072. ],
  11073. "responses": {
  11074. "200": {
  11075. "description": "OK",
  11076. "schema": {
  11077. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  11078. }
  11079. },
  11080. "500": {
  11081. "description": "Internal Server Error",
  11082. "schema": {
  11083. "$ref": "#/definitions/app.Response"
  11084. }
  11085. }
  11086. }
  11087. }
  11088. },
  11089. "/Tjmd/QueryQuoteGoodsList": {
  11090. "get": {
  11091. "security": [
  11092. {
  11093. "ApiKeyAuth": []
  11094. }
  11095. ],
  11096. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  11097. "produces": [
  11098. "application/json"
  11099. ],
  11100. "tags": [
  11101. "天津麦顿"
  11102. ],
  11103. "summary": "查询掉期报价列表",
  11104. "parameters": [
  11105. {
  11106. "type": "integer",
  11107. "description": "用户类型",
  11108. "name": "usertype",
  11109. "in": "query",
  11110. "required": true
  11111. },
  11112. {
  11113. "type": "string",
  11114. "description": "市场id, 格式 1,2,3",
  11115. "name": "marketids",
  11116. "in": "query"
  11117. },
  11118. {
  11119. "type": "integer",
  11120. "description": "商品组id",
  11121. "name": "goodsgroupid",
  11122. "in": "query"
  11123. },
  11124. {
  11125. "type": "integer",
  11126. "description": "商品id",
  11127. "name": "goodsid",
  11128. "in": "query"
  11129. }
  11130. ],
  11131. "responses": {
  11132. "200": {
  11133. "description": "OK",
  11134. "schema": {
  11135. "type": "array",
  11136. "items": {
  11137. "$ref": "#/definitions/models.TjmdQuoteGoods"
  11138. }
  11139. }
  11140. },
  11141. "500": {
  11142. "description": "Internal Server Error",
  11143. "schema": {
  11144. "$ref": "#/definitions/app.Response"
  11145. }
  11146. }
  11147. }
  11148. }
  11149. },
  11150. "/Tjmd/QueryTjmdTodayAccountMargin": {
  11151. "get": {
  11152. "security": [
  11153. {
  11154. "ApiKeyAuth": []
  11155. }
  11156. ],
  11157. "produces": [
  11158. "application/json"
  11159. ],
  11160. "tags": [
  11161. "天津麦顿"
  11162. ],
  11163. "summary": "查询今日账户保证金配置",
  11164. "parameters": [
  11165. {
  11166. "type": "string",
  11167. "description": "市场id",
  11168. "name": "marketid",
  11169. "in": "query"
  11170. },
  11171. {
  11172. "type": "string",
  11173. "description": "商品id",
  11174. "name": "goodsid",
  11175. "in": "query"
  11176. },
  11177. {
  11178. "type": "string",
  11179. "description": "资金账号",
  11180. "name": "accountid",
  11181. "in": "query"
  11182. }
  11183. ],
  11184. "responses": {
  11185. "200": {
  11186. "description": "OK",
  11187. "schema": {
  11188. "type": "array",
  11189. "items": {
  11190. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  11191. }
  11192. }
  11193. },
  11194. "500": {
  11195. "description": "Internal Server Error",
  11196. "schema": {
  11197. "$ref": "#/definitions/app.Response"
  11198. }
  11199. }
  11200. }
  11201. }
  11202. },
  11203. "/Tjmd/QueryTjmdTradeOrderDetail": {
  11204. "get": {
  11205. "security": [
  11206. {
  11207. "ApiKeyAuth": []
  11208. }
  11209. ],
  11210. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  11211. "produces": [
  11212. "application/json"
  11213. ],
  11214. "tags": [
  11215. "天津麦顿"
  11216. ],
  11217. "summary": "查询掉期买卖大厅",
  11218. "parameters": [
  11219. {
  11220. "type": "integer",
  11221. "description": "页码",
  11222. "name": "page",
  11223. "in": "query"
  11224. },
  11225. {
  11226. "type": "integer",
  11227. "description": "每页条数",
  11228. "name": "pagesize",
  11229. "in": "query"
  11230. },
  11231. {
  11232. "type": "integer",
  11233. "description": "用户id",
  11234. "name": "userid",
  11235. "in": "query",
  11236. "required": true
  11237. },
  11238. {
  11239. "type": "integer",
  11240. "description": "用户类型",
  11241. "name": "usertype",
  11242. "in": "query",
  11243. "required": true
  11244. },
  11245. {
  11246. "type": "string",
  11247. "description": "市场id, 格式 1,2,3",
  11248. "name": "marketids",
  11249. "in": "query"
  11250. },
  11251. {
  11252. "type": "integer",
  11253. "description": "商品id",
  11254. "name": "goodsid",
  11255. "in": "query",
  11256. "required": true
  11257. },
  11258. {
  11259. "type": "integer",
  11260. "description": "买卖方向 0-买 1-卖",
  11261. "name": "buyorsell",
  11262. "in": "query",
  11263. "required": true
  11264. }
  11265. ],
  11266. "responses": {
  11267. "200": {
  11268. "description": "OK",
  11269. "schema": {
  11270. "type": "array",
  11271. "items": {
  11272. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  11273. }
  11274. }
  11275. },
  11276. "500": {
  11277. "description": "Internal Server Error",
  11278. "schema": {
  11279. "$ref": "#/definitions/app.Response"
  11280. }
  11281. }
  11282. }
  11283. }
  11284. },
  11285. "/Tjmd/QueryTjmdTransferApply": {
  11286. "get": {
  11287. "security": [
  11288. {
  11289. "ApiKeyAuth": []
  11290. }
  11291. ],
  11292. "produces": [
  11293. "application/json"
  11294. ],
  11295. "tags": [
  11296. "天津麦顿"
  11297. ],
  11298. "summary": "查询掉期协议单",
  11299. "parameters": [
  11300. {
  11301. "type": "integer",
  11302. "description": "类型 1-我的申请 2-对方申请",
  11303. "name": "applytype",
  11304. "in": "query",
  11305. "required": true
  11306. },
  11307. {
  11308. "type": "string",
  11309. "description": "市场id, 格式 1,2,3",
  11310. "name": "marketids",
  11311. "in": "query"
  11312. },
  11313. {
  11314. "type": "string",
  11315. "description": "资金账号, 格式 25000000001,25000000003",
  11316. "name": "accountids",
  11317. "in": "query"
  11318. }
  11319. ],
  11320. "responses": {
  11321. "200": {
  11322. "description": "OK",
  11323. "schema": {
  11324. "type": "array",
  11325. "items": {
  11326. "$ref": "#/definitions/models.TjmdTransferApply"
  11327. }
  11328. }
  11329. },
  11330. "500": {
  11331. "description": "Internal Server Error",
  11332. "schema": {
  11333. "$ref": "#/definitions/app.Response"
  11334. }
  11335. }
  11336. }
  11337. }
  11338. },
  11339. "/Trade/QueryRecieptOrder": {
  11340. "get": {
  11341. "security": [
  11342. {
  11343. "ApiKeyAuth": []
  11344. }
  11345. ],
  11346. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11347. "produces": [
  11348. "application/json"
  11349. ],
  11350. "tags": [
  11351. "通用交易"
  11352. ],
  11353. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  11354. "parameters": [
  11355. {
  11356. "type": "integer",
  11357. "description": "页码",
  11358. "name": "page",
  11359. "in": "query"
  11360. },
  11361. {
  11362. "type": "integer",
  11363. "description": "每页条数",
  11364. "name": "pagesize",
  11365. "in": "query"
  11366. },
  11367. {
  11368. "type": "integer",
  11369. "description": "商品ID",
  11370. "name": "goodsID",
  11371. "in": "query",
  11372. "required": true
  11373. },
  11374. {
  11375. "type": "string",
  11376. "description": "所属账户名称",
  11377. "name": "accountName",
  11378. "in": "query"
  11379. },
  11380. {
  11381. "type": "integer",
  11382. "description": "市场ID",
  11383. "name": "marketID",
  11384. "in": "query"
  11385. },
  11386. {
  11387. "type": "integer",
  11388. "description": "方向 - 0:买 1:卖",
  11389. "name": "buyorsell",
  11390. "in": "query",
  11391. "required": true
  11392. }
  11393. ],
  11394. "responses": {
  11395. "200": {
  11396. "description": "OK",
  11397. "schema": {
  11398. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  11399. }
  11400. },
  11401. "500": {
  11402. "description": "Internal Server Error",
  11403. "schema": {
  11404. "$ref": "#/definitions/app.Response"
  11405. }
  11406. }
  11407. }
  11408. }
  11409. },
  11410. "/User/AddMessageBoard": {
  11411. "post": {
  11412. "security": [
  11413. {
  11414. "ApiKeyAuth": []
  11415. }
  11416. ],
  11417. "produces": [
  11418. "application/json"
  11419. ],
  11420. "tags": [
  11421. "用户信息"
  11422. ],
  11423. "summary": "添加用户留言板信息",
  11424. "parameters": [
  11425. {
  11426. "type": "integer",
  11427. "description": "用户ID",
  11428. "name": "userID",
  11429. "in": "query",
  11430. "required": true
  11431. },
  11432. {
  11433. "type": "string",
  11434. "description": "留言信息",
  11435. "name": "message",
  11436. "in": "query",
  11437. "required": true
  11438. },
  11439. {
  11440. "type": "string",
  11441. "description": "联系电话",
  11442. "name": "contactNum",
  11443. "in": "query",
  11444. "required": true
  11445. }
  11446. ],
  11447. "responses": {
  11448. "200": {
  11449. "description": "OK",
  11450. "schema": {
  11451. "$ref": "#/definitions/app.Response"
  11452. }
  11453. },
  11454. "500": {
  11455. "description": "Internal Server Error",
  11456. "schema": {
  11457. "$ref": "#/definitions/app.Response"
  11458. }
  11459. }
  11460. }
  11461. }
  11462. },
  11463. "/User/AddUserFavoriteGoods": {
  11464. "post": {
  11465. "security": [
  11466. {
  11467. "ApiKeyAuth": []
  11468. }
  11469. ],
  11470. "produces": [
  11471. "application/json"
  11472. ],
  11473. "tags": [
  11474. "用户信息"
  11475. ],
  11476. "summary": "添加用户商品收藏信息",
  11477. "parameters": [
  11478. {
  11479. "type": "integer",
  11480. "description": "用户ID",
  11481. "name": "userID",
  11482. "in": "query",
  11483. "required": true
  11484. },
  11485. {
  11486. "type": "integer",
  11487. "description": "商品ID",
  11488. "name": "goodsID",
  11489. "in": "query",
  11490. "required": true
  11491. }
  11492. ],
  11493. "responses": {
  11494. "200": {
  11495. "description": "OK",
  11496. "schema": {
  11497. "$ref": "#/definitions/app.Response"
  11498. }
  11499. },
  11500. "500": {
  11501. "description": "Internal Server Error",
  11502. "schema": {
  11503. "$ref": "#/definitions/app.Response"
  11504. }
  11505. }
  11506. }
  11507. }
  11508. },
  11509. "/User/GetLoginID": {
  11510. "get": {
  11511. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  11512. "produces": [
  11513. "application/json"
  11514. ],
  11515. "tags": [
  11516. "用户信息"
  11517. ],
  11518. "summary": "获取登录ID",
  11519. "parameters": [
  11520. {
  11521. "type": "string",
  11522. "description": "登录代码",
  11523. "name": "username",
  11524. "in": "query",
  11525. "required": true
  11526. }
  11527. ],
  11528. "responses": {
  11529. "200": {
  11530. "description": "OK",
  11531. "schema": {
  11532. "$ref": "#/definitions/app.Response"
  11533. }
  11534. },
  11535. "500": {
  11536. "description": "Internal Server Error",
  11537. "schema": {
  11538. "$ref": "#/definitions/app.Response"
  11539. }
  11540. }
  11541. }
  11542. }
  11543. },
  11544. "/User/GetUserAccount": {
  11545. "get": {
  11546. "security": [
  11547. {
  11548. "ApiKeyAuth": []
  11549. }
  11550. ],
  11551. "produces": [
  11552. "application/json"
  11553. ],
  11554. "tags": [
  11555. "用户信息"
  11556. ],
  11557. "summary": "获取用户账号信息",
  11558. "parameters": [
  11559. {
  11560. "type": "integer",
  11561. "description": "用户ID",
  11562. "name": "userID",
  11563. "in": "query",
  11564. "required": true
  11565. }
  11566. ],
  11567. "responses": {
  11568. "200": {
  11569. "description": "OK",
  11570. "schema": {
  11571. "$ref": "#/definitions/models.Useraccount"
  11572. }
  11573. },
  11574. "500": {
  11575. "description": "Internal Server Error",
  11576. "schema": {
  11577. "$ref": "#/definitions/app.Response"
  11578. }
  11579. }
  11580. }
  11581. }
  11582. },
  11583. "/User/GetUserAuthStatus": {
  11584. "get": {
  11585. "security": [
  11586. {
  11587. "ApiKeyAuth": []
  11588. }
  11589. ],
  11590. "produces": [
  11591. "application/json"
  11592. ],
  11593. "tags": [
  11594. "用户信息"
  11595. ],
  11596. "summary": "获取用户实名认证状态",
  11597. "parameters": [
  11598. {
  11599. "type": "integer",
  11600. "description": "用户ID",
  11601. "name": "userID",
  11602. "in": "query",
  11603. "required": true
  11604. }
  11605. ],
  11606. "responses": {
  11607. "200": {
  11608. "description": "OK",
  11609. "schema": {
  11610. "$ref": "#/definitions/app.Response"
  11611. }
  11612. },
  11613. "500": {
  11614. "description": "Internal Server Error",
  11615. "schema": {
  11616. "$ref": "#/definitions/app.Response"
  11617. }
  11618. }
  11619. }
  11620. }
  11621. },
  11622. "/User/LoginQuery": {
  11623. "get": {
  11624. "security": [
  11625. {
  11626. "ApiKeyAuth": []
  11627. }
  11628. ],
  11629. "produces": [
  11630. "application/json"
  11631. ],
  11632. "tags": [
  11633. "用户信息"
  11634. ],
  11635. "summary": "账户登录后信息查询",
  11636. "parameters": [
  11637. {
  11638. "type": "integer",
  11639. "description": "登录账号",
  11640. "name": "loginID",
  11641. "in": "query",
  11642. "required": true
  11643. }
  11644. ],
  11645. "responses": {
  11646. "200": {
  11647. "description": "OK",
  11648. "schema": {
  11649. "$ref": "#/definitions/user.LoginQueryRsp"
  11650. }
  11651. },
  11652. "500": {
  11653. "description": "Internal Server Error",
  11654. "schema": {
  11655. "$ref": "#/definitions/app.Response"
  11656. }
  11657. }
  11658. }
  11659. }
  11660. },
  11661. "/User/QueryMessageBoard": {
  11662. "get": {
  11663. "security": [
  11664. {
  11665. "ApiKeyAuth": []
  11666. }
  11667. ],
  11668. "produces": [
  11669. "application/json"
  11670. ],
  11671. "tags": [
  11672. "用户信息"
  11673. ],
  11674. "summary": "获取用户留言板信息",
  11675. "parameters": [
  11676. {
  11677. "type": "integer",
  11678. "description": "用户ID",
  11679. "name": "userID",
  11680. "in": "query",
  11681. "required": true
  11682. }
  11683. ],
  11684. "responses": {
  11685. "200": {
  11686. "description": "OK",
  11687. "schema": {
  11688. "$ref": "#/definitions/models.Messageboard"
  11689. }
  11690. },
  11691. "500": {
  11692. "description": "Internal Server Error",
  11693. "schema": {
  11694. "$ref": "#/definitions/app.Response"
  11695. }
  11696. }
  11697. }
  11698. }
  11699. },
  11700. "/User/QueryUserFavoriteGoodses": {
  11701. "get": {
  11702. "security": [
  11703. {
  11704. "ApiKeyAuth": []
  11705. }
  11706. ],
  11707. "produces": [
  11708. "application/json"
  11709. ],
  11710. "tags": [
  11711. "用户信息"
  11712. ],
  11713. "summary": "获取用户商品收藏信息",
  11714. "parameters": [
  11715. {
  11716. "type": "integer",
  11717. "description": "用户ID",
  11718. "name": "userID",
  11719. "in": "query",
  11720. "required": true
  11721. }
  11722. ],
  11723. "responses": {
  11724. "200": {
  11725. "description": "OK",
  11726. "schema": {
  11727. "$ref": "#/definitions/models.Userfavoritegoods"
  11728. }
  11729. },
  11730. "500": {
  11731. "description": "Internal Server Error",
  11732. "schema": {
  11733. "$ref": "#/definitions/app.Response"
  11734. }
  11735. }
  11736. }
  11737. }
  11738. },
  11739. "/User/QueryUserInfo": {
  11740. "get": {
  11741. "security": [
  11742. {
  11743. "ApiKeyAuth": []
  11744. }
  11745. ],
  11746. "produces": [
  11747. "application/json"
  11748. ],
  11749. "tags": [
  11750. "用户信息"
  11751. ],
  11752. "summary": "获取用户信息",
  11753. "parameters": [
  11754. {
  11755. "type": "integer",
  11756. "description": "用户ID",
  11757. "name": "userID",
  11758. "in": "query",
  11759. "required": true
  11760. },
  11761. {
  11762. "type": "boolean",
  11763. "description": "是否解密",
  11764. "name": "isDecrypt",
  11765. "in": "query"
  11766. }
  11767. ],
  11768. "responses": {
  11769. "200": {
  11770. "description": "OK",
  11771. "schema": {
  11772. "$ref": "#/definitions/models.Userinfo"
  11773. }
  11774. },
  11775. "500": {
  11776. "description": "Internal Server Error",
  11777. "schema": {
  11778. "$ref": "#/definitions/app.Response"
  11779. }
  11780. }
  11781. }
  11782. }
  11783. },
  11784. "/User/QueryUserReferNum": {
  11785. "get": {
  11786. "produces": [
  11787. "application/json"
  11788. ],
  11789. "tags": [
  11790. "用户信息"
  11791. ],
  11792. "summary": "获取用户邀请码",
  11793. "parameters": [
  11794. {
  11795. "type": "integer",
  11796. "description": "用户ID",
  11797. "name": "userID",
  11798. "in": "query",
  11799. "required": true
  11800. }
  11801. ],
  11802. "responses": {
  11803. "200": {
  11804. "description": "OK",
  11805. "schema": {
  11806. "$ref": "#/definitions/app.Response"
  11807. }
  11808. },
  11809. "500": {
  11810. "description": "Internal Server Error",
  11811. "schema": {
  11812. "$ref": "#/definitions/app.Response"
  11813. }
  11814. }
  11815. }
  11816. }
  11817. },
  11818. "/User/RemoveUserFavoriteGoods": {
  11819. "post": {
  11820. "security": [
  11821. {
  11822. "ApiKeyAuth": []
  11823. }
  11824. ],
  11825. "produces": [
  11826. "application/json"
  11827. ],
  11828. "tags": [
  11829. "用户信息"
  11830. ],
  11831. "summary": "移除用户商品收藏信息",
  11832. "parameters": [
  11833. {
  11834. "type": "integer",
  11835. "description": "用户ID",
  11836. "name": "userID",
  11837. "in": "query",
  11838. "required": true
  11839. },
  11840. {
  11841. "type": "integer",
  11842. "description": "商品ID",
  11843. "name": "goodsID",
  11844. "in": "query",
  11845. "required": true
  11846. }
  11847. ],
  11848. "responses": {
  11849. "200": {
  11850. "description": "OK",
  11851. "schema": {
  11852. "$ref": "#/definitions/app.Response"
  11853. }
  11854. },
  11855. "500": {
  11856. "description": "Internal Server Error",
  11857. "schema": {
  11858. "$ref": "#/definitions/app.Response"
  11859. }
  11860. }
  11861. }
  11862. }
  11863. },
  11864. "/User/UpdateUserAccountStatus": {
  11865. "post": {
  11866. "security": [
  11867. {
  11868. "ApiKeyAuth": []
  11869. }
  11870. ],
  11871. "produces": [
  11872. "application/json"
  11873. ],
  11874. "tags": [
  11875. "用户信息"
  11876. ],
  11877. "summary": "更新用户状态",
  11878. "parameters": [
  11879. {
  11880. "type": "integer",
  11881. "description": "用户ID",
  11882. "name": "userID",
  11883. "in": "query",
  11884. "required": true
  11885. },
  11886. {
  11887. "type": "integer",
  11888. "description": "账户状态 - 4:正常 6:注销(停用)",
  11889. "name": "accountStatus",
  11890. "in": "query",
  11891. "required": true
  11892. }
  11893. ],
  11894. "responses": {
  11895. "200": {
  11896. "description": "OK",
  11897. "schema": {
  11898. "$ref": "#/definitions/app.Response"
  11899. }
  11900. },
  11901. "500": {
  11902. "description": "Internal Server Error",
  11903. "schema": {
  11904. "$ref": "#/definitions/app.Response"
  11905. }
  11906. }
  11907. }
  11908. }
  11909. },
  11910. "/WRTrade/GetAllDeliveryGoods": {
  11911. "get": {
  11912. "security": [
  11913. {
  11914. "ApiKeyAuth": []
  11915. },
  11916. {
  11917. "ApiKeyAuth": []
  11918. }
  11919. ],
  11920. "produces": [
  11921. "application/json",
  11922. "application/json"
  11923. ],
  11924. "tags": [
  11925. "仓单贸易",
  11926. "仓单贸易"
  11927. ],
  11928. "summary": "获取带仓单分类的种类信息",
  11929. "responses": {
  11930. "200": {
  11931. "description": "OK",
  11932. "schema": {
  11933. "$ref": "#/definitions/app.Response"
  11934. }
  11935. },
  11936. "500": {
  11937. "description": "Internal Server Error",
  11938. "schema": {
  11939. "$ref": "#/definitions/app.Response"
  11940. }
  11941. }
  11942. }
  11943. }
  11944. },
  11945. "/WrTrade2/QueryDeliveryGoodsSection": {
  11946. "get": {
  11947. "security": [
  11948. {
  11949. "ApiKeyAuth": []
  11950. }
  11951. ],
  11952. "produces": [
  11953. "application/json"
  11954. ],
  11955. "tags": [
  11956. "仓单贸易v2"
  11957. ],
  11958. "summary": "查询板块(分类)",
  11959. "responses": {
  11960. "200": {
  11961. "description": "OK",
  11962. "schema": {
  11963. "type": "array",
  11964. "items": {
  11965. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  11966. }
  11967. }
  11968. },
  11969. "500": {
  11970. "description": "Internal Server Error",
  11971. "schema": {
  11972. "$ref": "#/definitions/app.Response"
  11973. }
  11974. }
  11975. }
  11976. }
  11977. },
  11978. "/WrTrade2/QueryFaProductDetail": {
  11979. "get": {
  11980. "security": [
  11981. {
  11982. "ApiKeyAuth": []
  11983. }
  11984. ],
  11985. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  11986. "produces": [
  11987. "application/json"
  11988. ],
  11989. "tags": [
  11990. "仓单贸易v2"
  11991. ],
  11992. "summary": "查询融资产品列表",
  11993. "parameters": [
  11994. {
  11995. "type": "integer",
  11996. "description": "仓单要素id",
  11997. "name": "wrfactortypeid",
  11998. "in": "query",
  11999. "required": true
  12000. }
  12001. ],
  12002. "responses": {
  12003. "200": {
  12004. "description": "OK",
  12005. "schema": {
  12006. "type": "array",
  12007. "items": {
  12008. "$ref": "#/definitions/models.WrFAProductDetail"
  12009. }
  12010. }
  12011. },
  12012. "500": {
  12013. "description": "Internal Server Error",
  12014. "schema": {
  12015. "$ref": "#/definitions/app.Response"
  12016. }
  12017. }
  12018. }
  12019. }
  12020. },
  12021. "/WrTrade2/QueryFilterItem": {
  12022. "get": {
  12023. "security": [
  12024. {
  12025. "ApiKeyAuth": []
  12026. }
  12027. ],
  12028. "produces": [
  12029. "application/json"
  12030. ],
  12031. "tags": [
  12032. "仓单贸易v2"
  12033. ],
  12034. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  12035. "parameters": [
  12036. {
  12037. "type": "string",
  12038. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  12039. "name": "itype",
  12040. "in": "query",
  12041. "required": true
  12042. }
  12043. ],
  12044. "responses": {
  12045. "200": {
  12046. "description": "OK",
  12047. "schema": {
  12048. "type": "array",
  12049. "items": {
  12050. "$ref": "#/definitions/models.WrFilterItem"
  12051. }
  12052. }
  12053. },
  12054. "500": {
  12055. "description": "Internal Server Error",
  12056. "schema": {
  12057. "$ref": "#/definitions/app.Response"
  12058. }
  12059. }
  12060. }
  12061. }
  12062. },
  12063. "/WrTrade2/QueryFtDeliveryGoods": {
  12064. "get": {
  12065. "security": [
  12066. {
  12067. "ApiKeyAuth": []
  12068. }
  12069. ],
  12070. "produces": [
  12071. "application/json"
  12072. ],
  12073. "tags": [
  12074. "仓单贸易v2"
  12075. ],
  12076. "summary": "查询品种品类筛选框列表",
  12077. "responses": {
  12078. "200": {
  12079. "description": "OK",
  12080. "schema": {
  12081. "type": "array",
  12082. "items": {
  12083. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  12084. }
  12085. }
  12086. },
  12087. "500": {
  12088. "description": "Internal Server Error",
  12089. "schema": {
  12090. "$ref": "#/definitions/app.Response"
  12091. }
  12092. }
  12093. }
  12094. }
  12095. },
  12096. "/WrTrade2/QueryHoldLB": {
  12097. "get": {
  12098. "security": [
  12099. {
  12100. "ApiKeyAuth": []
  12101. }
  12102. ],
  12103. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  12104. "produces": [
  12105. "application/json"
  12106. ],
  12107. "tags": [
  12108. "仓单贸易v2"
  12109. ],
  12110. "summary": "查询仓单持有记录",
  12111. "parameters": [
  12112. {
  12113. "type": "integer",
  12114. "description": "资金账号",
  12115. "name": "accountid",
  12116. "in": "query",
  12117. "required": true
  12118. },
  12119. {
  12120. "type": "integer",
  12121. "description": "仓库id",
  12122. "name": "warehouseid",
  12123. "in": "query"
  12124. },
  12125. {
  12126. "type": "integer",
  12127. "description": "品种id",
  12128. "name": "deliverygoodsid",
  12129. "in": "query"
  12130. },
  12131. {
  12132. "type": "integer",
  12133. "description": "品类id",
  12134. "name": "wrstandardid",
  12135. "in": "query"
  12136. },
  12137. {
  12138. "type": "integer",
  12139. "description": "仓单要素id",
  12140. "name": "wrfactortypeid",
  12141. "in": "query"
  12142. },
  12143. {
  12144. "type": "string",
  12145. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12146. "name": "dgitemname",
  12147. "in": "query"
  12148. }
  12149. ],
  12150. "responses": {
  12151. "200": {
  12152. "description": "OK",
  12153. "schema": {
  12154. "type": "array",
  12155. "items": {
  12156. "$ref": "#/definitions/models.WrHoldLB"
  12157. }
  12158. }
  12159. },
  12160. "500": {
  12161. "description": "Internal Server Error",
  12162. "schema": {
  12163. "$ref": "#/definitions/app.Response"
  12164. }
  12165. }
  12166. }
  12167. }
  12168. },
  12169. "/WrTrade2/QueryOrderQuote": {
  12170. "get": {
  12171. "security": [
  12172. {
  12173. "ApiKeyAuth": []
  12174. }
  12175. ],
  12176. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  12177. "produces": [
  12178. "application/json"
  12179. ],
  12180. "tags": [
  12181. "仓单贸易v2"
  12182. ],
  12183. "summary": "查询大厅行情列表",
  12184. "parameters": [
  12185. {
  12186. "type": "integer",
  12187. "description": "页码",
  12188. "name": "page",
  12189. "in": "query"
  12190. },
  12191. {
  12192. "type": "integer",
  12193. "description": "每页条数",
  12194. "name": "pagesize",
  12195. "in": "query"
  12196. },
  12197. {
  12198. "type": "integer",
  12199. "description": "仓单贸易市场id",
  12200. "name": "marketid",
  12201. "in": "query"
  12202. },
  12203. {
  12204. "type": "integer",
  12205. "description": "价格方式 - 1:固定价 2-浮动价",
  12206. "name": "wrpricetype",
  12207. "in": "query",
  12208. "required": true
  12209. },
  12210. {
  12211. "type": "integer",
  12212. "description": "0:仓单预售 1:仓单贸易",
  12213. "name": "haswr",
  12214. "in": "query",
  12215. "required": true
  12216. },
  12217. {
  12218. "type": "string",
  12219. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12220. "name": "dgitemname",
  12221. "in": "query"
  12222. },
  12223. {
  12224. "type": "integer",
  12225. "description": "仓库id(筛选条件)",
  12226. "name": "warehouseid",
  12227. "in": "query"
  12228. },
  12229. {
  12230. "type": "integer",
  12231. "description": "品种id",
  12232. "name": "deliverygoodsid",
  12233. "in": "query"
  12234. },
  12235. {
  12236. "type": "integer",
  12237. "description": "品类id",
  12238. "name": "wrstandardid",
  12239. "in": "query"
  12240. },
  12241. {
  12242. "type": "integer",
  12243. "description": "仓单要素id",
  12244. "name": "wrfactortypeid",
  12245. "in": "query"
  12246. },
  12247. {
  12248. "type": "string",
  12249. "description": "交收月(yyyy-mm) 仓单预售填写",
  12250. "name": "deliverymonth",
  12251. "in": "query"
  12252. }
  12253. ],
  12254. "responses": {
  12255. "200": {
  12256. "description": "OK",
  12257. "schema": {
  12258. "type": "array",
  12259. "items": {
  12260. "$ref": "#/definitions/models.WrOrderQuote"
  12261. }
  12262. }
  12263. },
  12264. "500": {
  12265. "description": "Internal Server Error",
  12266. "schema": {
  12267. "$ref": "#/definitions/app.Response"
  12268. }
  12269. }
  12270. }
  12271. }
  12272. },
  12273. "/WrTrade2/QueryOrderQuoteDetail": {
  12274. "get": {
  12275. "security": [
  12276. {
  12277. "ApiKeyAuth": []
  12278. }
  12279. ],
  12280. "produces": [
  12281. "application/json"
  12282. ],
  12283. "tags": [
  12284. "仓单贸易v2"
  12285. ],
  12286. "summary": "查询买卖大厅",
  12287. "parameters": [
  12288. {
  12289. "type": "integer",
  12290. "description": "页码",
  12291. "name": "page",
  12292. "in": "query"
  12293. },
  12294. {
  12295. "type": "integer",
  12296. "description": "每页条数",
  12297. "name": "pagesize",
  12298. "in": "query"
  12299. },
  12300. {
  12301. "type": "integer",
  12302. "description": "仓单贸易市场id",
  12303. "name": "marketid",
  12304. "in": "query"
  12305. },
  12306. {
  12307. "type": "integer",
  12308. "description": "价格方式 - 1:固定价 2-浮动价",
  12309. "name": "wrpricetype",
  12310. "in": "query",
  12311. "required": true
  12312. },
  12313. {
  12314. "type": "integer",
  12315. "description": "0:仓单预售 1:仓单贸易",
  12316. "name": "haswr",
  12317. "in": "query",
  12318. "required": true
  12319. },
  12320. {
  12321. "type": "integer",
  12322. "description": "仓单要素id",
  12323. "name": "wrfactortypeid",
  12324. "in": "query",
  12325. "required": true
  12326. },
  12327. {
  12328. "type": "integer",
  12329. "description": "期货商品id(浮动价方式时填)",
  12330. "name": "goodsid",
  12331. "in": "query"
  12332. },
  12333. {
  12334. "type": "integer",
  12335. "description": "买卖方向 0-买 1-卖",
  12336. "name": "buyorsell",
  12337. "in": "query",
  12338. "required": true
  12339. },
  12340. {
  12341. "type": "string",
  12342. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  12343. "name": "deliverymonth",
  12344. "in": "query"
  12345. }
  12346. ],
  12347. "responses": {
  12348. "200": {
  12349. "description": "OK",
  12350. "schema": {
  12351. "type": "array",
  12352. "items": {
  12353. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  12354. }
  12355. }
  12356. },
  12357. "500": {
  12358. "description": "Internal Server Error",
  12359. "schema": {
  12360. "$ref": "#/definitions/app.Response"
  12361. }
  12362. }
  12363. }
  12364. }
  12365. },
  12366. "/WrTrade2/QueryOrderQuoteMyq": {
  12367. "get": {
  12368. "security": [
  12369. {
  12370. "ApiKeyAuth": []
  12371. }
  12372. ],
  12373. "produces": [
  12374. "application/json"
  12375. ],
  12376. "tags": [
  12377. "仓单贸易v2"
  12378. ],
  12379. "summary": "查询贸易圈挂牌大厅",
  12380. "parameters": [
  12381. {
  12382. "type": "integer",
  12383. "description": "页码",
  12384. "name": "page",
  12385. "in": "query"
  12386. },
  12387. {
  12388. "type": "integer",
  12389. "description": "每页条数",
  12390. "name": "pagesize",
  12391. "in": "query"
  12392. },
  12393. {
  12394. "type": "integer",
  12395. "description": "用户id",
  12396. "name": "userid",
  12397. "in": "query",
  12398. "required": true
  12399. },
  12400. {
  12401. "type": "integer",
  12402. "description": "仓单贸易市场id",
  12403. "name": "marketid",
  12404. "in": "query"
  12405. },
  12406. {
  12407. "type": "integer",
  12408. "description": "0:仓单预售 1:仓单贸易",
  12409. "name": "haswr",
  12410. "in": "query",
  12411. "required": true
  12412. },
  12413. {
  12414. "type": "integer",
  12415. "description": "买卖方向 0-买 1-卖",
  12416. "name": "buyorsell",
  12417. "in": "query",
  12418. "required": true
  12419. },
  12420. {
  12421. "type": "integer",
  12422. "description": "品种id",
  12423. "name": "deliverygoodsid",
  12424. "in": "query"
  12425. },
  12426. {
  12427. "type": "integer",
  12428. "description": "品类id",
  12429. "name": "wrstandardid",
  12430. "in": "query"
  12431. },
  12432. {
  12433. "type": "string",
  12434. "description": "交收月(yyyy-mm) 仓单预售填写",
  12435. "name": "deliverymonth",
  12436. "in": "query"
  12437. },
  12438. {
  12439. "type": "string",
  12440. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12441. "name": "dgitemname",
  12442. "in": "query"
  12443. }
  12444. ],
  12445. "responses": {
  12446. "200": {
  12447. "description": "OK",
  12448. "schema": {
  12449. "type": "array",
  12450. "items": {
  12451. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  12452. }
  12453. }
  12454. },
  12455. "500": {
  12456. "description": "Internal Server Error",
  12457. "schema": {
  12458. "$ref": "#/definitions/app.Response"
  12459. }
  12460. }
  12461. }
  12462. }
  12463. },
  12464. "/WrTrade2/QueryPerformancePlan": {
  12465. "get": {
  12466. "security": [
  12467. {
  12468. "ApiKeyAuth": []
  12469. }
  12470. ],
  12471. "produces": [
  12472. "application/json"
  12473. ],
  12474. "tags": [
  12475. "仓单贸易v2"
  12476. ],
  12477. "summary": "查询履约信息",
  12478. "parameters": [
  12479. {
  12480. "type": "integer",
  12481. "description": "用户id",
  12482. "name": "userid",
  12483. "in": "query",
  12484. "required": true
  12485. },
  12486. {
  12487. "type": "integer",
  12488. "description": "买卖方向 0-买 1-卖",
  12489. "name": "buyorsell",
  12490. "in": "query",
  12491. "required": true
  12492. }
  12493. ],
  12494. "responses": {
  12495. "200": {
  12496. "description": "OK",
  12497. "schema": {
  12498. "type": "array",
  12499. "items": {
  12500. "$ref": "#/definitions/models.WrPerformancePlan"
  12501. }
  12502. }
  12503. },
  12504. "500": {
  12505. "description": "Internal Server Error",
  12506. "schema": {
  12507. "$ref": "#/definitions/app.Response"
  12508. }
  12509. }
  12510. }
  12511. }
  12512. },
  12513. "/WrTrade2/QueryPermancePlanTmp": {
  12514. "get": {
  12515. "security": [
  12516. {
  12517. "ApiKeyAuth": []
  12518. }
  12519. ],
  12520. "description": "返回指定用户的模板和公共模板(用户id为空)",
  12521. "produces": [
  12522. "application/json"
  12523. ],
  12524. "tags": [
  12525. "仓单贸易v2"
  12526. ],
  12527. "summary": "查询履约模板",
  12528. "parameters": [
  12529. {
  12530. "type": "integer",
  12531. "description": "用户id",
  12532. "name": "userid",
  12533. "in": "query"
  12534. },
  12535. {
  12536. "type": "string",
  12537. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  12538. "name": "tmptype",
  12539. "in": "query"
  12540. },
  12541. {
  12542. "type": "integer",
  12543. "description": "是否包含公共模板(用户id为空的) 1-包含",
  12544. "name": "includepub",
  12545. "in": "query"
  12546. }
  12547. ],
  12548. "responses": {
  12549. "200": {
  12550. "description": "OK",
  12551. "schema": {
  12552. "type": "array",
  12553. "items": {
  12554. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  12555. }
  12556. }
  12557. },
  12558. "500": {
  12559. "description": "Internal Server Error",
  12560. "schema": {
  12561. "$ref": "#/definitions/app.Response"
  12562. }
  12563. }
  12564. }
  12565. }
  12566. },
  12567. "/WrTrade2/QuerySiteColumnDetail": {
  12568. "get": {
  12569. "security": [
  12570. {
  12571. "ApiKeyAuth": []
  12572. }
  12573. ],
  12574. "produces": [
  12575. "application/json"
  12576. ],
  12577. "tags": [
  12578. "仓单贸易v2"
  12579. ],
  12580. "summary": "查询资讯",
  12581. "parameters": [
  12582. {
  12583. "type": "integer",
  12584. "description": "页码",
  12585. "name": "page",
  12586. "in": "query"
  12587. },
  12588. {
  12589. "type": "integer",
  12590. "description": "每页条数",
  12591. "name": "pagesize",
  12592. "in": "query"
  12593. }
  12594. ],
  12595. "responses": {
  12596. "200": {
  12597. "description": "OK",
  12598. "schema": {
  12599. "type": "array",
  12600. "items": {
  12601. "$ref": "#/definitions/models.WrSiteColumnDetail"
  12602. }
  12603. }
  12604. },
  12605. "500": {
  12606. "description": "Internal Server Error",
  12607. "schema": {
  12608. "$ref": "#/definitions/app.Response"
  12609. }
  12610. }
  12611. }
  12612. }
  12613. },
  12614. "/WrTrade2/QuerySpotGroupTradeSum": {
  12615. "get": {
  12616. "security": [
  12617. {
  12618. "ApiKeyAuth": []
  12619. }
  12620. ],
  12621. "produces": [
  12622. "application/json"
  12623. ],
  12624. "tags": [
  12625. "仓单贸易v2"
  12626. ],
  12627. "summary": "查询指数",
  12628. "responses": {
  12629. "200": {
  12630. "description": "OK",
  12631. "schema": {
  12632. "type": "array",
  12633. "items": {
  12634. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  12635. }
  12636. }
  12637. },
  12638. "500": {
  12639. "description": "Internal Server Error",
  12640. "schema": {
  12641. "$ref": "#/definitions/app.Response"
  12642. }
  12643. }
  12644. }
  12645. }
  12646. },
  12647. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  12648. "get": {
  12649. "security": [
  12650. {
  12651. "ApiKeyAuth": []
  12652. }
  12653. ],
  12654. "description": "查询的结果将会按日期 从小到大 排序",
  12655. "produces": [
  12656. "application/json"
  12657. ],
  12658. "tags": [
  12659. "仓单贸易v2"
  12660. ],
  12661. "summary": "查询指数详细(价格走势图)",
  12662. "parameters": [
  12663. {
  12664. "type": "integer",
  12665. "description": "现货商品id",
  12666. "name": "deliverygoodsid",
  12667. "in": "query",
  12668. "required": true
  12669. },
  12670. {
  12671. "type": "integer",
  12672. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  12673. "name": "lastnum",
  12674. "in": "query"
  12675. }
  12676. ],
  12677. "responses": {
  12678. "200": {
  12679. "description": "OK",
  12680. "schema": {
  12681. "type": "array",
  12682. "items": {
  12683. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  12684. }
  12685. }
  12686. },
  12687. "500": {
  12688. "description": "Internal Server Error",
  12689. "schema": {
  12690. "$ref": "#/definitions/app.Response"
  12691. }
  12692. }
  12693. }
  12694. }
  12695. },
  12696. "/WrTrade2/QueryWrAverageTradePrice": {
  12697. "get": {
  12698. "security": [
  12699. {
  12700. "ApiKeyAuth": []
  12701. }
  12702. ],
  12703. "produces": [
  12704. "application/json"
  12705. ],
  12706. "tags": [
  12707. "仓单贸易v2"
  12708. ],
  12709. "summary": "查询成交价(历史走势)",
  12710. "parameters": [
  12711. {
  12712. "type": "integer",
  12713. "description": "页码",
  12714. "name": "page",
  12715. "in": "query"
  12716. },
  12717. {
  12718. "type": "integer",
  12719. "description": "每页条数",
  12720. "name": "pagesize",
  12721. "in": "query"
  12722. },
  12723. {
  12724. "type": "integer",
  12725. "description": "0:仓单预售 1:仓单贸易",
  12726. "name": "haswr",
  12727. "in": "query",
  12728. "required": true
  12729. },
  12730. {
  12731. "type": "integer",
  12732. "description": "仓单要素id",
  12733. "name": "wrfactortypeid",
  12734. "in": "query",
  12735. "required": true
  12736. }
  12737. ],
  12738. "responses": {
  12739. "200": {
  12740. "description": "OK",
  12741. "schema": {
  12742. "type": "array",
  12743. "items": {
  12744. "$ref": "#/definitions/models.WrAverageTradePrice"
  12745. }
  12746. }
  12747. },
  12748. "500": {
  12749. "description": "Internal Server Error",
  12750. "schema": {
  12751. "$ref": "#/definitions/app.Response"
  12752. }
  12753. }
  12754. }
  12755. }
  12756. },
  12757. "/WrTrade2/QueryWrBsGoodsInfo": {
  12758. "get": {
  12759. "security": [
  12760. {
  12761. "ApiKeyAuth": []
  12762. }
  12763. ],
  12764. "description": "合约交易/买卖大厅/详情",
  12765. "produces": [
  12766. "application/json"
  12767. ],
  12768. "tags": [
  12769. "仓单贸易v2"
  12770. ],
  12771. "summary": "查询合约交易买卖大厅详情",
  12772. "parameters": [
  12773. {
  12774. "type": "integer",
  12775. "description": "商品id",
  12776. "name": "goodsid",
  12777. "in": "query",
  12778. "required": true
  12779. }
  12780. ],
  12781. "responses": {
  12782. "200": {
  12783. "description": "OK",
  12784. "schema": {
  12785. "type": "array",
  12786. "items": {
  12787. "$ref": "#/definitions/models.WrBsGoodsInfo"
  12788. }
  12789. }
  12790. },
  12791. "500": {
  12792. "description": "Internal Server Error",
  12793. "schema": {
  12794. "$ref": "#/definitions/app.Response"
  12795. }
  12796. }
  12797. }
  12798. }
  12799. },
  12800. "/WrTrade2/QueryWrBuybackDetail": {
  12801. "get": {
  12802. "security": [
  12803. {
  12804. "ApiKeyAuth": []
  12805. }
  12806. ],
  12807. "produces": [
  12808. "application/json"
  12809. ],
  12810. "tags": [
  12811. "仓单贸易v2"
  12812. ],
  12813. "summary": "查询仓单回购明细",
  12814. "parameters": [
  12815. {
  12816. "type": "integer",
  12817. "description": "融资合同id",
  12818. "name": "scfcontractid",
  12819. "in": "query"
  12820. }
  12821. ],
  12822. "responses": {
  12823. "200": {
  12824. "description": "OK",
  12825. "schema": {
  12826. "type": "array",
  12827. "items": {
  12828. "$ref": "#/definitions/models.WrBuybackDetail"
  12829. }
  12830. }
  12831. },
  12832. "500": {
  12833. "description": "Internal Server Error",
  12834. "schema": {
  12835. "$ref": "#/definitions/app.Response"
  12836. }
  12837. }
  12838. }
  12839. }
  12840. },
  12841. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  12842. "get": {
  12843. "security": [
  12844. {
  12845. "ApiKeyAuth": []
  12846. }
  12847. ],
  12848. "produces": [
  12849. "application/json"
  12850. ],
  12851. "tags": [
  12852. "仓单贸易v2"
  12853. ],
  12854. "summary": "查询合约交收可点选仓单",
  12855. "parameters": [
  12856. {
  12857. "type": "integer",
  12858. "description": "资金账号",
  12859. "name": "accountid",
  12860. "in": "query",
  12861. "required": true
  12862. },
  12863. {
  12864. "type": "integer",
  12865. "description": "商品id",
  12866. "name": "goodsid",
  12867. "in": "query",
  12868. "required": true
  12869. }
  12870. ],
  12871. "responses": {
  12872. "200": {
  12873. "description": "OK",
  12874. "schema": {
  12875. "type": "array",
  12876. "items": {
  12877. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  12878. }
  12879. }
  12880. },
  12881. "500": {
  12882. "description": "Internal Server Error",
  12883. "schema": {
  12884. "$ref": "#/definitions/app.Response"
  12885. }
  12886. }
  12887. }
  12888. }
  12889. },
  12890. "/WrTrade2/QueryWrDeliveryDetail": {
  12891. "get": {
  12892. "security": [
  12893. {
  12894. "ApiKeyAuth": []
  12895. }
  12896. ],
  12897. "produces": [
  12898. "application/json"
  12899. ],
  12900. "tags": [
  12901. "仓单贸易v2"
  12902. ],
  12903. "summary": "查询交收",
  12904. "parameters": [
  12905. {
  12906. "type": "integer",
  12907. "description": "用户id",
  12908. "name": "userid",
  12909. "in": "query",
  12910. "required": true
  12911. },
  12912. {
  12913. "type": "integer",
  12914. "description": "资金账号id",
  12915. "name": "accountid",
  12916. "in": "query"
  12917. }
  12918. ],
  12919. "responses": {
  12920. "200": {
  12921. "description": "OK",
  12922. "schema": {
  12923. "type": "array",
  12924. "items": {
  12925. "$ref": "#/definitions/models.WrDeliveryDetail"
  12926. }
  12927. }
  12928. },
  12929. "500": {
  12930. "description": "Internal Server Error",
  12931. "schema": {
  12932. "$ref": "#/definitions/app.Response"
  12933. }
  12934. }
  12935. }
  12936. }
  12937. },
  12938. "/WrTrade2/QueryWrFactorTypeInfo": {
  12939. "get": {
  12940. "security": [
  12941. {
  12942. "ApiKeyAuth": []
  12943. }
  12944. ],
  12945. "produces": [
  12946. "application/json"
  12947. ],
  12948. "tags": [
  12949. "仓单贸易v2"
  12950. ],
  12951. "summary": "查询仓单要素详细信息",
  12952. "parameters": [
  12953. {
  12954. "type": "integer",
  12955. "description": "仓单要素id",
  12956. "name": "wrfactortypeid",
  12957. "in": "query",
  12958. "required": true
  12959. }
  12960. ],
  12961. "responses": {
  12962. "200": {
  12963. "description": "OK",
  12964. "schema": {
  12965. "type": "array",
  12966. "items": {
  12967. "$ref": "#/definitions/models.WrFactorTypeInfo"
  12968. }
  12969. }
  12970. },
  12971. "500": {
  12972. "description": "Internal Server Error",
  12973. "schema": {
  12974. "$ref": "#/definitions/app.Response"
  12975. }
  12976. }
  12977. }
  12978. }
  12979. },
  12980. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  12981. "get": {
  12982. "security": [
  12983. {
  12984. "ApiKeyAuth": []
  12985. }
  12986. ],
  12987. "produces": [
  12988. "application/json"
  12989. ],
  12990. "tags": [
  12991. "仓单贸易v2"
  12992. ],
  12993. "summary": "查询仓单要素详细信息列表项",
  12994. "parameters": [
  12995. {
  12996. "type": "integer",
  12997. "description": "仓单要素id",
  12998. "name": "wrfactortypeid",
  12999. "in": "query",
  13000. "required": true
  13001. }
  13002. ],
  13003. "responses": {
  13004. "200": {
  13005. "description": "OK",
  13006. "schema": {
  13007. "type": "array",
  13008. "items": {
  13009. "$ref": "#/definitions/models.WrTypeItem"
  13010. }
  13011. }
  13012. },
  13013. "500": {
  13014. "description": "Internal Server Error",
  13015. "schema": {
  13016. "$ref": "#/definitions/app.Response"
  13017. }
  13018. }
  13019. }
  13020. }
  13021. },
  13022. "/WrTrade2/QueryWrFinanceBuyApply": {
  13023. "get": {
  13024. "security": [
  13025. {
  13026. "ApiKeyAuth": []
  13027. }
  13028. ],
  13029. "description": "页面 融资信息+ / 申请单",
  13030. "produces": [
  13031. "application/json"
  13032. ],
  13033. "tags": [
  13034. "仓单贸易v2"
  13035. ],
  13036. "summary": "查询融资购买申请",
  13037. "parameters": [
  13038. {
  13039. "type": "integer",
  13040. "description": "用户id",
  13041. "name": "userid",
  13042. "in": "query",
  13043. "required": true
  13044. }
  13045. ],
  13046. "responses": {
  13047. "200": {
  13048. "description": "OK",
  13049. "schema": {
  13050. "type": "array",
  13051. "items": {
  13052. "$ref": "#/definitions/models.WrFinanceBuyApply"
  13053. }
  13054. }
  13055. },
  13056. "500": {
  13057. "description": "Internal Server Error",
  13058. "schema": {
  13059. "$ref": "#/definitions/app.Response"
  13060. }
  13061. }
  13062. }
  13063. }
  13064. },
  13065. "/WrTrade2/QueryWrFriendApply": {
  13066. "get": {
  13067. "security": [
  13068. {
  13069. "ApiKeyAuth": []
  13070. }
  13071. ],
  13072. "produces": [
  13073. "application/json"
  13074. ],
  13075. "tags": [
  13076. "仓单贸易v2"
  13077. ],
  13078. "summary": "查询好友申请记录",
  13079. "parameters": [
  13080. {
  13081. "type": "integer",
  13082. "description": "用户id",
  13083. "name": "userid",
  13084. "in": "query",
  13085. "required": true
  13086. }
  13087. ],
  13088. "responses": {
  13089. "200": {
  13090. "description": "OK",
  13091. "schema": {
  13092. "type": "array",
  13093. "items": {
  13094. "$ref": "#/definitions/models.WrFriendApply"
  13095. }
  13096. }
  13097. },
  13098. "500": {
  13099. "description": "Internal Server Error",
  13100. "schema": {
  13101. "$ref": "#/definitions/app.Response"
  13102. }
  13103. }
  13104. }
  13105. }
  13106. },
  13107. "/WrTrade2/QueryWrGoodsInfo": {
  13108. "get": {
  13109. "security": [
  13110. {
  13111. "ApiKeyAuth": []
  13112. }
  13113. ],
  13114. "produces": [
  13115. "application/json"
  13116. ],
  13117. "tags": [
  13118. "仓单贸易v2"
  13119. ],
  13120. "summary": "查询仓单商品信息",
  13121. "parameters": [
  13122. {
  13123. "type": "integer",
  13124. "description": "仓单贸易市场id",
  13125. "name": "marketid",
  13126. "in": "query"
  13127. },
  13128. {
  13129. "type": "integer",
  13130. "description": "0:仓单预售 1:仓单贸易",
  13131. "name": "haswr",
  13132. "in": "query",
  13133. "required": true
  13134. },
  13135. {
  13136. "type": "integer",
  13137. "description": "仓单要素id",
  13138. "name": "wrfactortypeid",
  13139. "in": "query",
  13140. "required": true
  13141. },
  13142. {
  13143. "type": "integer",
  13144. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  13145. "name": "tmplateid",
  13146. "in": "query"
  13147. }
  13148. ],
  13149. "responses": {
  13150. "200": {
  13151. "description": "OK",
  13152. "schema": {
  13153. "type": "array",
  13154. "items": {
  13155. "$ref": "#/definitions/models.WrGoodsInfo"
  13156. }
  13157. }
  13158. },
  13159. "500": {
  13160. "description": "Internal Server Error",
  13161. "schema": {
  13162. "$ref": "#/definitions/app.Response"
  13163. }
  13164. }
  13165. }
  13166. }
  13167. },
  13168. "/WrTrade2/QueryWrMarketTradeConfig": {
  13169. "get": {
  13170. "security": [
  13171. {
  13172. "ApiKeyAuth": []
  13173. }
  13174. ],
  13175. "produces": [
  13176. "application/json"
  13177. ],
  13178. "tags": [
  13179. "仓单贸易v2"
  13180. ],
  13181. "summary": "查询市场交易参数配置",
  13182. "parameters": [
  13183. {
  13184. "type": "integer",
  13185. "description": "市场id",
  13186. "name": "marketid",
  13187. "in": "query"
  13188. }
  13189. ],
  13190. "responses": {
  13191. "200": {
  13192. "description": "OK",
  13193. "schema": {
  13194. "type": "array",
  13195. "items": {
  13196. "$ref": "#/definitions/models.WrMarketTradeConfig"
  13197. }
  13198. }
  13199. },
  13200. "500": {
  13201. "description": "Internal Server Error",
  13202. "schema": {
  13203. "$ref": "#/definitions/app.Response"
  13204. }
  13205. }
  13206. }
  13207. }
  13208. },
  13209. "/WrTrade2/QueryWrOrderDetail": {
  13210. "get": {
  13211. "security": [
  13212. {
  13213. "ApiKeyAuth": []
  13214. }
  13215. ],
  13216. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  13217. "produces": [
  13218. "application/json"
  13219. ],
  13220. "tags": [
  13221. "仓单贸易v2"
  13222. ],
  13223. "summary": "查询仓单委托单(挂单)",
  13224. "parameters": [
  13225. {
  13226. "type": "integer",
  13227. "description": "页码",
  13228. "name": "page",
  13229. "in": "query"
  13230. },
  13231. {
  13232. "type": "integer",
  13233. "description": "每页条数",
  13234. "name": "pagesize",
  13235. "in": "query"
  13236. },
  13237. {
  13238. "type": "integer",
  13239. "description": "用户id",
  13240. "name": "userid",
  13241. "in": "query",
  13242. "required": true
  13243. },
  13244. {
  13245. "type": "integer",
  13246. "description": "仓单贸易市场id",
  13247. "name": "marketid",
  13248. "in": "query"
  13249. },
  13250. {
  13251. "type": "integer",
  13252. "description": "0:仓单预售 1:仓单贸易",
  13253. "name": "haswr",
  13254. "in": "query",
  13255. "required": true
  13256. }
  13257. ],
  13258. "responses": {
  13259. "200": {
  13260. "description": "OK",
  13261. "schema": {
  13262. "type": "array",
  13263. "items": {
  13264. "$ref": "#/definitions/models.WrOrderDetail"
  13265. }
  13266. }
  13267. },
  13268. "500": {
  13269. "description": "Internal Server Error",
  13270. "schema": {
  13271. "$ref": "#/definitions/app.Response"
  13272. }
  13273. }
  13274. }
  13275. }
  13276. },
  13277. "/WrTrade2/QueryWrOutInApply": {
  13278. "get": {
  13279. "security": [
  13280. {
  13281. "ApiKeyAuth": []
  13282. }
  13283. ],
  13284. "produces": [
  13285. "application/json"
  13286. ],
  13287. "tags": [
  13288. "仓单贸易v2"
  13289. ],
  13290. "summary": "查询提货申请",
  13291. "parameters": [
  13292. {
  13293. "type": "integer",
  13294. "description": "用户id",
  13295. "name": "userid",
  13296. "in": "query",
  13297. "required": true
  13298. }
  13299. ],
  13300. "responses": {
  13301. "200": {
  13302. "description": "OK",
  13303. "schema": {
  13304. "type": "array",
  13305. "items": {
  13306. "$ref": "#/definitions/models.WrOutInApply"
  13307. }
  13308. }
  13309. },
  13310. "500": {
  13311. "description": "Internal Server Error",
  13312. "schema": {
  13313. "$ref": "#/definitions/app.Response"
  13314. }
  13315. }
  13316. }
  13317. }
  13318. },
  13319. "/WrTrade2/QueryWrPerformancePlanStep": {
  13320. "get": {
  13321. "security": [
  13322. {
  13323. "ApiKeyAuth": []
  13324. }
  13325. ],
  13326. "produces": [
  13327. "application/json"
  13328. ],
  13329. "tags": [
  13330. "仓单贸易v2"
  13331. ],
  13332. "summary": "查询履约信息详情",
  13333. "parameters": [
  13334. {
  13335. "type": "integer",
  13336. "description": "履约计划id(performanceplanid)",
  13337. "name": "planid",
  13338. "in": "query",
  13339. "required": true
  13340. },
  13341. {
  13342. "type": "integer",
  13343. "description": "当前步骤id",
  13344. "name": "curstepid",
  13345. "in": "query"
  13346. }
  13347. ],
  13348. "responses": {
  13349. "200": {
  13350. "description": "OK",
  13351. "schema": {
  13352. "type": "array",
  13353. "items": {
  13354. "$ref": "#/definitions/models.WrPerformancePlanStep"
  13355. }
  13356. }
  13357. },
  13358. "500": {
  13359. "description": "Internal Server Error",
  13360. "schema": {
  13361. "$ref": "#/definitions/app.Response"
  13362. }
  13363. }
  13364. }
  13365. }
  13366. },
  13367. "/WrTrade2/QueryWrPerformanceStepType": {
  13368. "get": {
  13369. "security": [
  13370. {
  13371. "ApiKeyAuth": []
  13372. }
  13373. ],
  13374. "produces": [
  13375. "application/json"
  13376. ],
  13377. "tags": [
  13378. "仓单贸易v2"
  13379. ],
  13380. "summary": "查询履约步骤枚举",
  13381. "responses": {
  13382. "200": {
  13383. "description": "OK",
  13384. "schema": {
  13385. "type": "array",
  13386. "items": {
  13387. "$ref": "#/definitions/models.WrPerformanceStepType"
  13388. }
  13389. }
  13390. },
  13391. "500": {
  13392. "description": "Internal Server Error",
  13393. "schema": {
  13394. "$ref": "#/definitions/app.Response"
  13395. }
  13396. }
  13397. }
  13398. }
  13399. },
  13400. "/WrTrade2/QueryWrPosition": {
  13401. "get": {
  13402. "security": [
  13403. {
  13404. "ApiKeyAuth": []
  13405. }
  13406. ],
  13407. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  13408. "produces": [
  13409. "application/json"
  13410. ],
  13411. "tags": [
  13412. "仓单贸易v2"
  13413. ],
  13414. "summary": "查询现货(预售)仓单持仓",
  13415. "parameters": [
  13416. {
  13417. "type": "integer",
  13418. "description": "用户id",
  13419. "name": "userid",
  13420. "in": "query",
  13421. "required": true
  13422. },
  13423. {
  13424. "type": "integer",
  13425. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  13426. "name": "querytype",
  13427. "in": "query",
  13428. "required": true
  13429. },
  13430. {
  13431. "type": "integer",
  13432. "description": "0:仓单预售 1:仓单贸易",
  13433. "name": "haswr",
  13434. "in": "query",
  13435. "required": true
  13436. },
  13437. {
  13438. "type": "string",
  13439. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13440. "name": "dgitemname",
  13441. "in": "query"
  13442. },
  13443. {
  13444. "type": "integer",
  13445. "description": "仓库id(筛选条件)",
  13446. "name": "warehouseid",
  13447. "in": "query"
  13448. },
  13449. {
  13450. "type": "integer",
  13451. "description": "品种id",
  13452. "name": "deliverygoodsid",
  13453. "in": "query"
  13454. },
  13455. {
  13456. "type": "integer",
  13457. "description": "品类id",
  13458. "name": "wrstandardid",
  13459. "in": "query"
  13460. }
  13461. ],
  13462. "responses": {
  13463. "200": {
  13464. "description": "OK",
  13465. "schema": {
  13466. "type": "array",
  13467. "items": {
  13468. "$ref": "#/definitions/models.WrPosition"
  13469. }
  13470. }
  13471. },
  13472. "500": {
  13473. "description": "Internal Server Error",
  13474. "schema": {
  13475. "$ref": "#/definitions/app.Response"
  13476. }
  13477. }
  13478. }
  13479. }
  13480. },
  13481. "/WrTrade2/QueryWrScfContract": {
  13482. "get": {
  13483. "security": [
  13484. {
  13485. "ApiKeyAuth": []
  13486. }
  13487. ],
  13488. "produces": [
  13489. "application/json"
  13490. ],
  13491. "tags": [
  13492. "仓单贸易v2"
  13493. ],
  13494. "summary": "查询仓单贸易融资合同",
  13495. "parameters": [
  13496. {
  13497. "type": "integer",
  13498. "description": "用户id",
  13499. "name": "userid",
  13500. "in": "query",
  13501. "required": true
  13502. },
  13503. {
  13504. "type": "integer",
  13505. "description": "融资合同id",
  13506. "name": "scfcontractid",
  13507. "in": "query"
  13508. }
  13509. ],
  13510. "responses": {
  13511. "200": {
  13512. "description": "OK",
  13513. "schema": {
  13514. "type": "array",
  13515. "items": {
  13516. "$ref": "#/definitions/models.WrScfContract"
  13517. }
  13518. }
  13519. },
  13520. "500": {
  13521. "description": "Internal Server Error",
  13522. "schema": {
  13523. "$ref": "#/definitions/app.Response"
  13524. }
  13525. }
  13526. }
  13527. }
  13528. },
  13529. "/WrTrade2/QueryWrScfContractInterest": {
  13530. "get": {
  13531. "security": [
  13532. {
  13533. "ApiKeyAuth": []
  13534. }
  13535. ],
  13536. "produces": [
  13537. "application/json"
  13538. ],
  13539. "tags": [
  13540. "仓单贸易v2"
  13541. ],
  13542. "summary": "查询融资合同费用明细",
  13543. "parameters": [
  13544. {
  13545. "type": "integer",
  13546. "description": "融资合同id",
  13547. "name": "scfcontractid",
  13548. "in": "query"
  13549. }
  13550. ],
  13551. "responses": {
  13552. "200": {
  13553. "description": "OK",
  13554. "schema": {
  13555. "type": "array",
  13556. "items": {
  13557. "$ref": "#/definitions/models.WrScfContractInterest"
  13558. }
  13559. }
  13560. },
  13561. "500": {
  13562. "description": "Internal Server Error",
  13563. "schema": {
  13564. "$ref": "#/definitions/app.Response"
  13565. }
  13566. }
  13567. }
  13568. }
  13569. },
  13570. "/WrTrade2/QueryWrSpecialMatchOrder": {
  13571. "get": {
  13572. "security": [
  13573. {
  13574. "ApiKeyAuth": []
  13575. }
  13576. ],
  13577. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  13578. "produces": [
  13579. "application/json"
  13580. ],
  13581. "tags": [
  13582. "仓单贸易v2"
  13583. ],
  13584. "summary": "查询指定成交",
  13585. "parameters": [
  13586. {
  13587. "type": "integer",
  13588. "description": "页码",
  13589. "name": "page",
  13590. "in": "query"
  13591. },
  13592. {
  13593. "type": "integer",
  13594. "description": "每页条数",
  13595. "name": "pagesize",
  13596. "in": "query"
  13597. },
  13598. {
  13599. "type": "integer",
  13600. "description": "用户id",
  13601. "name": "userid",
  13602. "in": "query",
  13603. "required": true
  13604. },
  13605. {
  13606. "type": "integer",
  13607. "description": "仓单贸易市场id",
  13608. "name": "marketid",
  13609. "in": "query"
  13610. },
  13611. {
  13612. "type": "integer",
  13613. "description": "0:仓单预售 1:仓单贸易",
  13614. "name": "haswr",
  13615. "in": "query",
  13616. "required": true
  13617. },
  13618. {
  13619. "type": "integer",
  13620. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  13621. "name": "isspecified",
  13622. "in": "query"
  13623. }
  13624. ],
  13625. "responses": {
  13626. "200": {
  13627. "description": "OK",
  13628. "schema": {
  13629. "type": "array",
  13630. "items": {
  13631. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  13632. }
  13633. }
  13634. },
  13635. "500": {
  13636. "description": "Internal Server Error",
  13637. "schema": {
  13638. "$ref": "#/definitions/app.Response"
  13639. }
  13640. }
  13641. }
  13642. }
  13643. },
  13644. "/WrTrade2/QueryWrStandardFactoryItem": {
  13645. "get": {
  13646. "security": [
  13647. {
  13648. "ApiKeyAuth": []
  13649. }
  13650. ],
  13651. "produces": [
  13652. "application/json"
  13653. ],
  13654. "tags": [
  13655. "仓单贸易v2"
  13656. ],
  13657. "summary": "查询品类要素定义项",
  13658. "parameters": [
  13659. {
  13660. "type": "integer",
  13661. "description": "品类id",
  13662. "name": "wrstandardid",
  13663. "in": "query",
  13664. "required": true
  13665. }
  13666. ],
  13667. "responses": {
  13668. "200": {
  13669. "description": "OK",
  13670. "schema": {
  13671. "type": "array",
  13672. "items": {
  13673. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  13674. }
  13675. }
  13676. },
  13677. "500": {
  13678. "description": "Internal Server Error",
  13679. "schema": {
  13680. "$ref": "#/definitions/app.Response"
  13681. }
  13682. }
  13683. }
  13684. }
  13685. },
  13686. "/WrTrade2/QueryWrTradeBargainApply": {
  13687. "get": {
  13688. "security": [
  13689. {
  13690. "ApiKeyAuth": []
  13691. }
  13692. ],
  13693. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  13694. "produces": [
  13695. "application/json"
  13696. ],
  13697. "tags": [
  13698. "仓单贸易v2"
  13699. ],
  13700. "summary": "查询议价单",
  13701. "parameters": [
  13702. {
  13703. "type": "integer",
  13704. "description": "议价人id(摘牌方)",
  13705. "name": "userid",
  13706. "in": "query"
  13707. },
  13708. {
  13709. "type": "integer",
  13710. "description": "挂牌方id(查对方议价时,填写此项)",
  13711. "name": "matchuserid",
  13712. "in": "query"
  13713. },
  13714. {
  13715. "type": "integer",
  13716. "description": "关联委托单id",
  13717. "name": "wrtradeorderid",
  13718. "in": "query"
  13719. },
  13720. {
  13721. "type": "integer",
  13722. "description": "0:仓单预售 1:仓单贸易",
  13723. "name": "haswr",
  13724. "in": "query",
  13725. "required": true
  13726. }
  13727. ],
  13728. "responses": {
  13729. "200": {
  13730. "description": "OK",
  13731. "schema": {
  13732. "type": "array",
  13733. "items": {
  13734. "$ref": "#/definitions/models.WRTradeBargainApply"
  13735. }
  13736. }
  13737. },
  13738. "500": {
  13739. "description": "Internal Server Error",
  13740. "schema": {
  13741. "$ref": "#/definitions/app.Response"
  13742. }
  13743. }
  13744. }
  13745. }
  13746. },
  13747. "/WrTrade2/QueryWrTradeDetail": {
  13748. "get": {
  13749. "security": [
  13750. {
  13751. "ApiKeyAuth": []
  13752. }
  13753. ],
  13754. "produces": [
  13755. "application/json"
  13756. ],
  13757. "tags": [
  13758. "仓单贸易v2"
  13759. ],
  13760. "summary": "查询仓单成交明细",
  13761. "parameters": [
  13762. {
  13763. "type": "integer",
  13764. "description": "页码",
  13765. "name": "page",
  13766. "in": "query"
  13767. },
  13768. {
  13769. "type": "integer",
  13770. "description": "每页条数",
  13771. "name": "pagesize",
  13772. "in": "query"
  13773. },
  13774. {
  13775. "type": "integer",
  13776. "description": "用户id",
  13777. "name": "userid",
  13778. "in": "query",
  13779. "required": true
  13780. },
  13781. {
  13782. "type": "integer",
  13783. "description": "仓单贸易市场id",
  13784. "name": "marketid",
  13785. "in": "query"
  13786. },
  13787. {
  13788. "type": "integer",
  13789. "description": "0:仓单预售 1:仓单贸易",
  13790. "name": "haswr",
  13791. "in": "query",
  13792. "required": true
  13793. }
  13794. ],
  13795. "responses": {
  13796. "200": {
  13797. "description": "OK",
  13798. "schema": {
  13799. "type": "array",
  13800. "items": {
  13801. "$ref": "#/definitions/models.WrTradeDetail"
  13802. }
  13803. }
  13804. },
  13805. "500": {
  13806. "description": "Internal Server Error",
  13807. "schema": {
  13808. "$ref": "#/definitions/app.Response"
  13809. }
  13810. }
  13811. }
  13812. }
  13813. },
  13814. "/WrTrade2/QueryWrTradeOrderDetail": {
  13815. "get": {
  13816. "security": [
  13817. {
  13818. "ApiKeyAuth": []
  13819. }
  13820. ],
  13821. "produces": [
  13822. "application/json"
  13823. ],
  13824. "tags": [
  13825. "仓单贸易v2"
  13826. ],
  13827. "summary": "查询合约交易买卖大厅",
  13828. "parameters": [
  13829. {
  13830. "type": "integer",
  13831. "description": "页码",
  13832. "name": "page",
  13833. "in": "query"
  13834. },
  13835. {
  13836. "type": "integer",
  13837. "description": "每页条数",
  13838. "name": "pagesize",
  13839. "in": "query"
  13840. },
  13841. {
  13842. "type": "integer",
  13843. "description": "商品id",
  13844. "name": "goodsid",
  13845. "in": "query",
  13846. "required": true
  13847. },
  13848. {
  13849. "type": "integer",
  13850. "description": "买卖方向 0-买 1-卖",
  13851. "name": "buyorsell",
  13852. "in": "query",
  13853. "required": true
  13854. }
  13855. ],
  13856. "responses": {
  13857. "200": {
  13858. "description": "OK",
  13859. "schema": {
  13860. "type": "array",
  13861. "items": {
  13862. "$ref": "#/definitions/models.WrTradeOrderDetail"
  13863. }
  13864. }
  13865. },
  13866. "500": {
  13867. "description": "Internal Server Error",
  13868. "schema": {
  13869. "$ref": "#/definitions/app.Response"
  13870. }
  13871. }
  13872. }
  13873. }
  13874. },
  13875. "/WrTrade2/QueryWrUserFriend": {
  13876. "get": {
  13877. "security": [
  13878. {
  13879. "ApiKeyAuth": []
  13880. }
  13881. ],
  13882. "produces": [
  13883. "application/json"
  13884. ],
  13885. "tags": [
  13886. "仓单贸易v2"
  13887. ],
  13888. "summary": "查询我的朋友",
  13889. "parameters": [
  13890. {
  13891. "type": "integer",
  13892. "description": "用户id",
  13893. "name": "userid",
  13894. "in": "query",
  13895. "required": true
  13896. },
  13897. {
  13898. "type": "integer",
  13899. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  13900. "name": "newuserid",
  13901. "in": "query"
  13902. }
  13903. ],
  13904. "responses": {
  13905. "200": {
  13906. "description": "OK",
  13907. "schema": {
  13908. "type": "array",
  13909. "items": {
  13910. "$ref": "#/definitions/models.WrUserFriend"
  13911. }
  13912. }
  13913. },
  13914. "500": {
  13915. "description": "Internal Server Error",
  13916. "schema": {
  13917. "$ref": "#/definitions/app.Response"
  13918. }
  13919. }
  13920. }
  13921. }
  13922. },
  13923. "/WrTrade2/QueryWrUserReceiptInfo": {
  13924. "get": {
  13925. "security": [
  13926. {
  13927. "ApiKeyAuth": []
  13928. }
  13929. ],
  13930. "produces": [
  13931. "application/json"
  13932. ],
  13933. "tags": [
  13934. "仓单贸易v2"
  13935. ],
  13936. "summary": "查询发票信息",
  13937. "parameters": [
  13938. {
  13939. "type": "integer",
  13940. "description": "用户id",
  13941. "name": "userid",
  13942. "in": "query"
  13943. },
  13944. {
  13945. "type": "integer",
  13946. "description": "发票类型 - 1:个人 2:企业",
  13947. "name": "receipttype",
  13948. "in": "query"
  13949. }
  13950. ],
  13951. "responses": {
  13952. "200": {
  13953. "description": "OK",
  13954. "schema": {
  13955. "type": "array",
  13956. "items": {
  13957. "$ref": "#/definitions/models.WrUserReceiptInfo"
  13958. }
  13959. }
  13960. },
  13961. "500": {
  13962. "description": "Internal Server Error",
  13963. "schema": {
  13964. "$ref": "#/definitions/app.Response"
  13965. }
  13966. }
  13967. }
  13968. }
  13969. },
  13970. "/ZJ/GetBankTip": {
  13971. "get": {
  13972. "produces": [
  13973. "application/json"
  13974. ],
  13975. "tags": [
  13976. "中江"
  13977. ],
  13978. "summary": "获取中江网银端出入金提示信息",
  13979. "responses": {
  13980. "200": {
  13981. "description": "OK",
  13982. "schema": {
  13983. "type": "string"
  13984. }
  13985. },
  13986. "500": {
  13987. "description": "Internal Server Error",
  13988. "schema": {
  13989. "$ref": "#/definitions/app.Response"
  13990. }
  13991. }
  13992. }
  13993. }
  13994. },
  13995. "/ZJ/GetCusBankChannels": {
  13996. "get": {
  13997. "produces": [
  13998. "application/json"
  13999. ],
  14000. "tags": [
  14001. "中江"
  14002. ],
  14003. "summary": "获取中江出入金渠道显示列表",
  14004. "responses": {
  14005. "200": {
  14006. "description": "OK",
  14007. "schema": {
  14008. "type": "array",
  14009. "items": {
  14010. "type": "string"
  14011. }
  14012. }
  14013. },
  14014. "500": {
  14015. "description": "Internal Server Error",
  14016. "schema": {
  14017. "$ref": "#/definitions/app.Response"
  14018. }
  14019. }
  14020. }
  14021. }
  14022. }
  14023. },
  14024. "definitions": {
  14025. "app.Response": {
  14026. "type": "object",
  14027. "properties": {
  14028. "code": {
  14029. "type": "integer"
  14030. },
  14031. "data": {
  14032. "type": "object"
  14033. },
  14034. "msg": {
  14035. "type": "string"
  14036. },
  14037. "page": {
  14038. "description": "页码",
  14039. "type": "integer"
  14040. },
  14041. "pagesize": {
  14042. "description": "每页条数",
  14043. "type": "integer"
  14044. },
  14045. "total": {
  14046. "description": "总条数",
  14047. "type": "integer"
  14048. }
  14049. }
  14050. },
  14051. "common.ClientMenu": {
  14052. "type": "object",
  14053. "properties": {
  14054. "children": {
  14055. "description": "子菜单列表",
  14056. "type": "array",
  14057. "items": {
  14058. "$ref": "#/definitions/common.ClientMenu"
  14059. }
  14060. },
  14061. "code": {
  14062. "description": "ID",
  14063. "type": "string"
  14064. },
  14065. "isshow": {
  14066. "description": "是否显示",
  14067. "type": "boolean"
  14068. },
  14069. "remark": {
  14070. "description": "备注",
  14071. "type": "string"
  14072. },
  14073. "rulekey": {
  14074. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  14075. "type": "string"
  14076. },
  14077. "sort": {
  14078. "description": "排序",
  14079. "type": "integer"
  14080. },
  14081. "title": {
  14082. "description": "标题",
  14083. "type": "string"
  14084. },
  14085. "type": {
  14086. "description": "类型,1:菜单 2:按钮",
  14087. "type": "integer"
  14088. },
  14089. "url": {
  14090. "description": "URL",
  14091. "type": "string"
  14092. }
  14093. }
  14094. },
  14095. "common.PCWebMenu": {
  14096. "type": "object",
  14097. "properties": {
  14098. "auth": {
  14099. "description": "页面权限列表",
  14100. "type": "array",
  14101. "items": {
  14102. "$ref": "#/definitions/common.PCWebMenuAuth"
  14103. }
  14104. },
  14105. "children": {
  14106. "description": "子菜单列表",
  14107. "type": "array",
  14108. "items": {
  14109. "$ref": "#/definitions/common.PCWebMenu"
  14110. }
  14111. },
  14112. "code": {
  14113. "description": "ID,新版本中权限KEY也是这个字段",
  14114. "type": "string"
  14115. },
  14116. "component": {
  14117. "description": "路由组件",
  14118. "type": "string"
  14119. },
  14120. "isshow": {
  14121. "description": "是否显示",
  14122. "type": "boolean"
  14123. },
  14124. "path": {
  14125. "description": "路由路径",
  14126. "type": "string"
  14127. },
  14128. "remark": {
  14129. "description": "备注",
  14130. "type": "string"
  14131. },
  14132. "rulekey": {
  14133. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14134. "type": "string"
  14135. },
  14136. "sort": {
  14137. "description": "排序",
  14138. "type": "integer"
  14139. },
  14140. "title": {
  14141. "description": "标题",
  14142. "type": "string"
  14143. },
  14144. "url": {
  14145. "description": "URL",
  14146. "type": "string"
  14147. }
  14148. }
  14149. },
  14150. "common.PCWebMenuAuth": {
  14151. "type": "object",
  14152. "properties": {
  14153. "code": {
  14154. "description": "ID,新版本中权限KEY也是这个字段",
  14155. "type": "string"
  14156. },
  14157. "isshow": {
  14158. "description": "是否显示",
  14159. "type": "boolean"
  14160. },
  14161. "label": {
  14162. "description": "标题",
  14163. "type": "string"
  14164. },
  14165. "remark": {
  14166. "description": "备注",
  14167. "type": "string"
  14168. },
  14169. "rulekey": {
  14170. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14171. "type": "string"
  14172. }
  14173. }
  14174. },
  14175. "common.QueryImageConfigsRsp": {
  14176. "type": "object",
  14177. "required": [
  14178. "configid"
  14179. ],
  14180. "properties": {
  14181. "areauserid": {
  14182. "description": "所属机构ID",
  14183. "type": "integer"
  14184. },
  14185. "configid": {
  14186. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14187. "type": "integer"
  14188. },
  14189. "createdate": {
  14190. "description": "创建时间",
  14191. "type": "string"
  14192. },
  14193. "creatorid": {
  14194. "description": "创建人",
  14195. "type": "integer"
  14196. },
  14197. "imagepath": {
  14198. "description": "图片",
  14199. "type": "string"
  14200. },
  14201. "imagetype": {
  14202. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  14203. "type": "integer"
  14204. },
  14205. "isshow": {
  14206. "description": "是否展示 - 0:不展示 1:展示",
  14207. "type": "integer"
  14208. },
  14209. "marketid": {
  14210. "description": "市场ID",
  14211. "type": "integer"
  14212. },
  14213. "modifierid": {
  14214. "description": "操作人",
  14215. "type": "integer"
  14216. },
  14217. "sort": {
  14218. "description": "排序",
  14219. "type": "integer"
  14220. },
  14221. "title": {
  14222. "description": "标题",
  14223. "type": "string"
  14224. },
  14225. "trademode": {
  14226. "description": "交易模式",
  14227. "type": "integer"
  14228. },
  14229. "updatedate": {
  14230. "description": "修改时间",
  14231. "type": "string"
  14232. },
  14233. "url": {
  14234. "description": "链接(地址或商品ID)",
  14235. "type": "string"
  14236. },
  14237. "urltype": {
  14238. "description": "链接类型 - 1:直接地址 2:商品ID",
  14239. "type": "integer"
  14240. }
  14241. }
  14242. },
  14243. "common.QueryNoticeRsp": {
  14244. "type": "object",
  14245. "required": [
  14246. "autoid"
  14247. ],
  14248. "properties": {
  14249. "auditoruserid": {
  14250. "description": "审核人",
  14251. "type": "integer"
  14252. },
  14253. "auditremark": {
  14254. "description": "审核备注",
  14255. "type": "string"
  14256. },
  14257. "audittime": {
  14258. "description": "审核日期",
  14259. "type": "string"
  14260. },
  14261. "autoid": {
  14262. "description": "自增ID",
  14263. "type": "integer"
  14264. },
  14265. "content": {
  14266. "description": "内容",
  14267. "type": "string"
  14268. },
  14269. "createtime": {
  14270. "description": "创建时间",
  14271. "type": "string"
  14272. },
  14273. "creatorid": {
  14274. "description": "建仓人",
  14275. "type": "integer"
  14276. },
  14277. "endtime": {
  14278. "description": "结束时间",
  14279. "type": "string"
  14280. },
  14281. "istop": {
  14282. "description": "是否置顶 - 0:不置顶 1:置顶",
  14283. "type": "integer"
  14284. },
  14285. "msgiconurl": {
  14286. "description": "消息图标Url",
  14287. "type": "string"
  14288. },
  14289. "msgtype": {
  14290. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  14291. "type": "integer"
  14292. },
  14293. "publisher": {
  14294. "description": "消息发布者",
  14295. "type": "string"
  14296. },
  14297. "readed": {
  14298. "description": "是否已读",
  14299. "type": "boolean"
  14300. },
  14301. "scheduletime": {
  14302. "description": "计划发送时间",
  14303. "type": "string"
  14304. },
  14305. "sendtype": {
  14306. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  14307. "type": "integer"
  14308. },
  14309. "sentstatus": {
  14310. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  14311. "type": "integer"
  14312. },
  14313. "title": {
  14314. "description": "标题",
  14315. "type": "string"
  14316. },
  14317. "userid": {
  14318. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  14319. "type": "integer"
  14320. }
  14321. }
  14322. },
  14323. "common.QueryProvincesAndCitiesRsp": {
  14324. "type": "object",
  14325. "properties": {
  14326. "cities": {
  14327. "description": "市",
  14328. "type": "array",
  14329. "items": {
  14330. "$ref": "#/definitions/models.Division"
  14331. }
  14332. },
  14333. "province": {
  14334. "description": "省",
  14335. "$ref": "#/definitions/models.Division"
  14336. }
  14337. }
  14338. },
  14339. "common.QueryTableDefineRsp": {
  14340. "type": "object",
  14341. "required": [
  14342. "tablekey"
  14343. ],
  14344. "properties": {
  14345. "columns": {
  14346. "description": "列头信息数组",
  14347. "type": "array",
  14348. "items": {
  14349. "$ref": "#/definitions/models.Tablecolumnconfig"
  14350. }
  14351. },
  14352. "remark": {
  14353. "description": "Remark",
  14354. "type": "string"
  14355. },
  14356. "tabelmenu": {
  14357. "description": "列表菜单",
  14358. "type": "string"
  14359. },
  14360. "tablekey": {
  14361. "description": "列表Key",
  14362. "type": "string"
  14363. },
  14364. "tablename": {
  14365. "description": "列表名称",
  14366. "type": "string"
  14367. },
  14368. "tabletype": {
  14369. "description": "列表类型 - 1:管理端 2:终端",
  14370. "type": "integer"
  14371. }
  14372. }
  14373. },
  14374. "common.QueryTraderMenuRsp": {
  14375. "type": "object",
  14376. "properties": {
  14377. "OperationMenu": {
  14378. "description": "功能菜单",
  14379. "type": "array",
  14380. "items": {
  14381. "$ref": "#/definitions/models.OperationPrimaryMenu"
  14382. }
  14383. },
  14384. "QuoteMenu": {
  14385. "description": "报价牌分类菜单",
  14386. "type": "array",
  14387. "items": {
  14388. "$ref": "#/definitions/models.QuotePrimaryMenu"
  14389. }
  14390. }
  14391. }
  14392. },
  14393. "cptrade.Cptradepositioncancel": {
  14394. "type": "object",
  14395. "required": [
  14396. "cancelid"
  14397. ],
  14398. "properties": {
  14399. "accountid": {
  14400. "description": "申请人账户ID",
  14401. "type": "integer"
  14402. },
  14403. "applystatus": {
  14404. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14405. "type": "integer"
  14406. },
  14407. "applytime": {
  14408. "description": "申请时间",
  14409. "type": "string"
  14410. },
  14411. "cancelid": {
  14412. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  14413. "type": "integer"
  14414. },
  14415. "cancelqty": {
  14416. "description": "注销数量",
  14417. "type": "integer"
  14418. },
  14419. "createtime": {
  14420. "description": "创建时间",
  14421. "type": "string"
  14422. },
  14423. "creatorid": {
  14424. "description": "创建人ID",
  14425. "type": "integer"
  14426. },
  14427. "creatorname": {
  14428. "description": "创建人",
  14429. "type": "string"
  14430. },
  14431. "goodscode": {
  14432. "description": "订单商品代码",
  14433. "type": "string"
  14434. },
  14435. "goodsid": {
  14436. "description": "商品ID",
  14437. "type": "integer"
  14438. },
  14439. "goodsname": {
  14440. "description": "订单商品名称",
  14441. "type": "string"
  14442. },
  14443. "goodunit": {
  14444. "description": "报价单位",
  14445. "type": "string"
  14446. },
  14447. "handlestatus": {
  14448. "description": "处理状态",
  14449. "type": "integer"
  14450. },
  14451. "marketid": {
  14452. "description": "市场ID",
  14453. "type": "integer"
  14454. },
  14455. "marketname": {
  14456. "description": "市场名称",
  14457. "type": "string"
  14458. },
  14459. "tradedate": {
  14460. "description": "交易日(yyyyMMdd)",
  14461. "type": "string"
  14462. },
  14463. "userid": {
  14464. "description": "申请人ID",
  14465. "type": "integer"
  14466. }
  14467. }
  14468. },
  14469. "cptrade.Cptradepresaleapply": {
  14470. "type": "object",
  14471. "required": [
  14472. "applyid"
  14473. ],
  14474. "properties": {
  14475. "accountid": {
  14476. "description": "申请人账户ID",
  14477. "type": "integer"
  14478. },
  14479. "applyid": {
  14480. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  14481. "type": "integer"
  14482. },
  14483. "applyremark": {
  14484. "description": "申请备注",
  14485. "type": "string"
  14486. },
  14487. "applystatus": {
  14488. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14489. "type": "integer"
  14490. },
  14491. "applytime": {
  14492. "description": "申请时间",
  14493. "type": "string"
  14494. },
  14495. "attachmenturl": {
  14496. "description": "附件地址",
  14497. "type": "string"
  14498. },
  14499. "endtime": {
  14500. "description": "预售结束时间",
  14501. "type": "string"
  14502. },
  14503. "goodscode": {
  14504. "description": "商品代码",
  14505. "type": "string"
  14506. },
  14507. "goodsid": {
  14508. "description": "商品ID",
  14509. "type": "integer"
  14510. },
  14511. "goodsname": {
  14512. "description": "商品名称",
  14513. "type": "string"
  14514. },
  14515. "goodunit": {
  14516. "description": "报价单位",
  14517. "type": "string"
  14518. },
  14519. "handlestatus": {
  14520. "description": "处理状态",
  14521. "type": "integer"
  14522. },
  14523. "marketid": {
  14524. "description": "预售市场ID",
  14525. "type": "integer"
  14526. },
  14527. "marketname": {
  14528. "description": "预售市场名称",
  14529. "type": "string"
  14530. },
  14531. "presaleqty": {
  14532. "description": "预售数量",
  14533. "type": "integer"
  14534. },
  14535. "relatedgoodscode": {
  14536. "description": "关联交易合约代码",
  14537. "type": "string"
  14538. },
  14539. "relatedgoodsid": {
  14540. "description": "关联交易合约ID",
  14541. "type": "integer"
  14542. },
  14543. "relatedgoodsname": {
  14544. "description": "关联交易合约名称",
  14545. "type": "string"
  14546. },
  14547. "starttime": {
  14548. "description": "预售开始时间",
  14549. "type": "string"
  14550. },
  14551. "tradedate": {
  14552. "description": "交易日(yyyyMMdd)",
  14553. "type": "string"
  14554. },
  14555. "trademode": {
  14556. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  14557. "type": "integer"
  14558. },
  14559. "userid": {
  14560. "description": "申请人ID",
  14561. "type": "integer"
  14562. }
  14563. }
  14564. },
  14565. "cptrade.Cptradeusergoodsdata": {
  14566. "type": "object",
  14567. "required": [
  14568. "accountid",
  14569. "goodsid"
  14570. ],
  14571. "properties": {
  14572. "EnabledQty": {
  14573. "description": "可用量",
  14574. "type": "integer"
  14575. },
  14576. "GoodsCode": {
  14577. "description": "订单商品代码",
  14578. "type": "string"
  14579. },
  14580. "GoodsName": {
  14581. "description": "订单商品名称",
  14582. "type": "string"
  14583. },
  14584. "WRStandardCode": {
  14585. "description": "仓单标准代码",
  14586. "type": "string"
  14587. },
  14588. "WRStandardName": {
  14589. "description": "仓单标准名称",
  14590. "type": "string"
  14591. },
  14592. "accountid": {
  14593. "description": "账户ID",
  14594. "type": "integer"
  14595. },
  14596. "cancelqty": {
  14597. "description": "注销量",
  14598. "type": "integer"
  14599. },
  14600. "curpresaleqty": {
  14601. "description": "当前预售量",
  14602. "type": "integer"
  14603. },
  14604. "deliveryqty": {
  14605. "description": "交割量",
  14606. "type": "integer"
  14607. },
  14608. "freezeamount": {
  14609. "description": "冻结金额",
  14610. "type": "number"
  14611. },
  14612. "goodsid": {
  14613. "description": "商品ID",
  14614. "type": "integer"
  14615. },
  14616. "goodunit": {
  14617. "description": "报价单位",
  14618. "type": "string"
  14619. },
  14620. "hasspotfreeze": {
  14621. "description": "是否有现货冻结 - 0:否 1:有",
  14622. "type": "integer"
  14623. },
  14624. "inqty": {
  14625. "description": "转入量(总数量)",
  14626. "type": "integer"
  14627. },
  14628. "marketid": {
  14629. "description": "市场ID",
  14630. "type": "integer"
  14631. },
  14632. "presaledamount": {
  14633. "description": "已预售总金额",
  14634. "type": "integer"
  14635. },
  14636. "presaledqty": {
  14637. "description": "已预售量",
  14638. "type": "integer"
  14639. },
  14640. "userid": {
  14641. "description": "用户ID",
  14642. "type": "integer"
  14643. },
  14644. "wrstandardid": {
  14645. "description": "仓单标准ID",
  14646. "type": "integer"
  14647. }
  14648. }
  14649. },
  14650. "cptrade.QueryCPTradeMyBidRsp": {
  14651. "type": "object",
  14652. "required": [
  14653. "accountid",
  14654. "goodsid",
  14655. "marketid",
  14656. "orderid",
  14657. "orderqty",
  14658. "ordertime",
  14659. "tradeprice",
  14660. "tradeqty"
  14661. ],
  14662. "properties": {
  14663. "accountid": {
  14664. "description": "账户ID[报价币种]",
  14665. "type": "integer"
  14666. },
  14667. "goodsid": {
  14668. "description": "商品ID",
  14669. "type": "integer"
  14670. },
  14671. "goodunit": {
  14672. "description": "报价单位",
  14673. "type": "string"
  14674. },
  14675. "marketid": {
  14676. "description": "市场ID",
  14677. "type": "integer"
  14678. },
  14679. "orderid": {
  14680. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14681. "type": "integer"
  14682. },
  14683. "orderprice": {
  14684. "description": "委托价格",
  14685. "type": "number"
  14686. },
  14687. "orderqty": {
  14688. "description": "委托数量",
  14689. "type": "integer"
  14690. },
  14691. "ordertime": {
  14692. "description": "委托时间",
  14693. "type": "string"
  14694. },
  14695. "ordertotalprice": {
  14696. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  14697. "type": "number"
  14698. },
  14699. "ordertotalweight": {
  14700. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  14701. "type": "integer"
  14702. },
  14703. "totaltotalprice": {
  14704. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  14705. "type": "number"
  14706. },
  14707. "tradeprice": {
  14708. "description": "成交价格",
  14709. "type": "number"
  14710. },
  14711. "tradeqty": {
  14712. "description": "成交数量",
  14713. "type": "integer"
  14714. }
  14715. }
  14716. },
  14717. "cptrade.QueryCPTradeOrderDetailRsq": {
  14718. "type": "object",
  14719. "required": [
  14720. "accountid",
  14721. "buildtype",
  14722. "buyorsell",
  14723. "goodsid",
  14724. "marketid",
  14725. "memberuserid",
  14726. "operatetype",
  14727. "orderqty",
  14728. "ordertime",
  14729. "pricemode",
  14730. "strorderid",
  14731. "tradedate",
  14732. "validtype"
  14733. ],
  14734. "properties": {
  14735. "accountid": {
  14736. "description": "账户ID[报价币种]",
  14737. "type": "integer"
  14738. },
  14739. "buildtype": {
  14740. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  14741. "type": "integer"
  14742. },
  14743. "buyorsell": {
  14744. "description": "买卖 - 0:买 1:卖",
  14745. "type": "integer"
  14746. },
  14747. "cancelorderid": {
  14748. "description": "撤单单号(撤单时填写)",
  14749. "type": "integer"
  14750. },
  14751. "cancelqty": {
  14752. "description": "撤单数量",
  14753. "type": "integer"
  14754. },
  14755. "clientordertime": {
  14756. "description": "客户端委托时间",
  14757. "type": "string"
  14758. },
  14759. "clientticket": {
  14760. "description": "客户端流水号",
  14761. "type": "string"
  14762. },
  14763. "clienttype": {
  14764. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14765. "type": "integer"
  14766. },
  14767. "closeexchagechargevalue": {
  14768. "description": "平仓交易所手续费设置值",
  14769. "type": "number"
  14770. },
  14771. "closefeealgorithm": {
  14772. "description": "平仓手续费收取方式 1:比率 2:固定",
  14773. "type": "integer"
  14774. },
  14775. "closefreezecharge": {
  14776. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  14777. "type": "number"
  14778. },
  14779. "closememberchargevalue": {
  14780. "description": "平仓会员手续费设置值",
  14781. "type": "number"
  14782. },
  14783. "closeqty": {
  14784. "description": "平仓数量(先建后平操作 需要记录)",
  14785. "type": "integer"
  14786. },
  14787. "closetradeqty": {
  14788. "description": "平仓成交数量(先建后平操作,需要记录)",
  14789. "type": "integer"
  14790. },
  14791. "closeunfreezecharge": {
  14792. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  14793. "type": "number"
  14794. },
  14795. "delistingtype": {
  14796. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  14797. "type": "integer"
  14798. },
  14799. "freezecharge": {
  14800. "description": "冻结手续费",
  14801. "type": "number"
  14802. },
  14803. "freezemargin": {
  14804. "description": "冻结保证金(冻结交易金额)",
  14805. "type": "number"
  14806. },
  14807. "gcaccountid": {
  14808. "description": "账户ID[合约币种]",
  14809. "type": "integer"
  14810. },
  14811. "goodsid": {
  14812. "description": "商品ID",
  14813. "type": "integer"
  14814. },
  14815. "isconfirmexercise": {
  14816. "description": "是否确认行权- 0:否 1:是",
  14817. "type": "integer"
  14818. },
  14819. "ispreexercise": {
  14820. "description": "是否预申报- 0:否 1:是",
  14821. "type": "integer"
  14822. },
  14823. "listingselecttype": {
  14824. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14825. "type": "integer"
  14826. },
  14827. "marginalgorithm": {
  14828. "description": "保证金收取方式 1:比率 2:固定",
  14829. "type": "integer"
  14830. },
  14831. "marginvalue": {
  14832. "description": "即市保证金设置值",
  14833. "type": "number"
  14834. },
  14835. "marketid": {
  14836. "description": "市场ID",
  14837. "type": "integer"
  14838. },
  14839. "marketmaxsub": {
  14840. "description": "市价最大偏移范围",
  14841. "type": "number"
  14842. },
  14843. "memberuserid": {
  14844. "description": "所属会员UserID",
  14845. "type": "integer"
  14846. },
  14847. "openexchagechargevalue": {
  14848. "description": "建仓交易所手续费设置值",
  14849. "type": "number"
  14850. },
  14851. "openfeealgorithm": {
  14852. "description": "建仓手续费收取方式 1:比率 2:固定",
  14853. "type": "integer"
  14854. },
  14855. "openfreezecharge": {
  14856. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  14857. "type": "number"
  14858. },
  14859. "openmemberchargevalue": {
  14860. "description": "建仓会员手续费设置值",
  14861. "type": "number"
  14862. },
  14863. "openqty": {
  14864. "description": "开仓数量(先建后平操作,需要记录)",
  14865. "type": "integer"
  14866. },
  14867. "opentradeqty": {
  14868. "description": "开仓成交数量(先建后平操作,需要记录)",
  14869. "type": "integer"
  14870. },
  14871. "openunfreezecharge": {
  14872. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  14873. "type": "number"
  14874. },
  14875. "operatetype": {
  14876. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  14877. "type": "integer"
  14878. },
  14879. "operatorid": {
  14880. "description": "登录账号(LoginID)",
  14881. "type": "integer"
  14882. },
  14883. "optiontype": {
  14884. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  14885. "type": "integer"
  14886. },
  14887. "orderprice": {
  14888. "description": "委托价格",
  14889. "type": "number"
  14890. },
  14891. "orderqty": {
  14892. "description": "委托数量",
  14893. "type": "integer"
  14894. },
  14895. "ordersrc": {
  14896. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  14897. "type": "integer"
  14898. },
  14899. "orderstatus": {
  14900. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14901. "type": "integer"
  14902. },
  14903. "ordertime": {
  14904. "description": "委托时间",
  14905. "type": "string"
  14906. },
  14907. "preexerciseprice": {
  14908. "description": "预申报价格",
  14909. "type": "number"
  14910. },
  14911. "premium": {
  14912. "description": "权利金",
  14913. "type": "number"
  14914. },
  14915. "preorderid": {
  14916. "description": "关联预埋单号(止盈止损单时填写)",
  14917. "type": "integer"
  14918. },
  14919. "pricemode": {
  14920. "description": "取价方式 - 1:市价 2: 限价",
  14921. "type": "integer"
  14922. },
  14923. "quoteid": {
  14924. "description": "报价单ID",
  14925. "type": "integer"
  14926. },
  14927. "relatedid": {
  14928. "description": "关联单号(交割单)",
  14929. "type": "integer"
  14930. },
  14931. "retcode": {
  14932. "description": "错误代码",
  14933. "type": "integer"
  14934. },
  14935. "sessionid": {
  14936. "description": "会话ID",
  14937. "type": "integer"
  14938. },
  14939. "strorderid": {
  14940. "description": "委托单号",
  14941. "type": "string"
  14942. },
  14943. "tradedate": {
  14944. "description": "交易日(yyyyMMdd)",
  14945. "type": "string"
  14946. },
  14947. "tradeproperty": {
  14948. "description": "交易属性",
  14949. "type": "integer"
  14950. },
  14951. "tradeqty": {
  14952. "description": "成交数量",
  14953. "type": "integer"
  14954. },
  14955. "unfreezecharge": {
  14956. "description": "解冻手续费",
  14957. "type": "number"
  14958. },
  14959. "unfreezemargin": {
  14960. "description": "解冻保证金",
  14961. "type": "number"
  14962. },
  14963. "updatetime": {
  14964. "description": "更新时间",
  14965. "type": "string"
  14966. },
  14967. "uuid": {
  14968. "description": "发起端唯一id",
  14969. "type": "string"
  14970. },
  14971. "validtime": {
  14972. "description": "有效期限",
  14973. "type": "string"
  14974. },
  14975. "validtype": {
  14976. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  14977. "type": "integer"
  14978. },
  14979. "volumetype": {
  14980. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  14981. "type": "integer"
  14982. }
  14983. }
  14984. },
  14985. "cptrade.QueryMyCPTradeGoodsRsp": {
  14986. "type": "object",
  14987. "required": [
  14988. "goodscode",
  14989. "goodsid",
  14990. "goodsname",
  14991. "marketid",
  14992. "relatedgoodscode",
  14993. "relatedgoodsname"
  14994. ],
  14995. "properties": {
  14996. "accountid": {
  14997. "description": "卖方账户ID",
  14998. "type": "integer"
  14999. },
  15000. "agreeunit": {
  15001. "description": "合约单位",
  15002. "type": "number"
  15003. },
  15004. "applyid": {
  15005. "description": "关联申请ID",
  15006. "type": "integer"
  15007. },
  15008. "attachmenturl": {
  15009. "description": "附件地址",
  15010. "type": "string"
  15011. },
  15012. "createtime": {
  15013. "description": "创建时间",
  15014. "type": "string"
  15015. },
  15016. "currencyid": {
  15017. "description": "报价货币ID",
  15018. "type": "integer"
  15019. },
  15020. "decimalplace": {
  15021. "description": "报价小数位",
  15022. "type": "integer"
  15023. },
  15024. "endtime": {
  15025. "description": "预售结束时间",
  15026. "type": "string"
  15027. },
  15028. "floorprice": {
  15029. "description": "底价[大宗式竞拍]",
  15030. "type": "number"
  15031. },
  15032. "goodscode": {
  15033. "description": "商品代码(预售)",
  15034. "type": "string"
  15035. },
  15036. "goodsdetail": {
  15037. "description": "详情[大宗]",
  15038. "type": "string"
  15039. },
  15040. "goodsid": {
  15041. "description": "商品ID(自增ID SEQ_GOODS)",
  15042. "type": "integer"
  15043. },
  15044. "goodsname": {
  15045. "description": "商品名称(预售)",
  15046. "type": "string"
  15047. },
  15048. "goodunit": {
  15049. "description": "报价单位",
  15050. "type": "string"
  15051. },
  15052. "goodunitid": {
  15053. "description": "报价单位ID",
  15054. "type": "integer"
  15055. },
  15056. "marketid": {
  15057. "description": "所属市场ID",
  15058. "type": "integer"
  15059. },
  15060. "marketname": {
  15061. "description": "预售市场名称",
  15062. "type": "string"
  15063. },
  15064. "presaledamount": {
  15065. "description": "已预售总金额(预售结束时更新)",
  15066. "type": "number"
  15067. },
  15068. "presaledqty": {
  15069. "description": "已预售量(预售结束时更新)",
  15070. "type": "integer"
  15071. },
  15072. "presalemode": {
  15073. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15074. "type": "integer"
  15075. },
  15076. "presaleqty": {
  15077. "description": "预售数量",
  15078. "type": "integer"
  15079. },
  15080. "refprice": {
  15081. "description": "参考价格[一口价]",
  15082. "type": "number"
  15083. },
  15084. "relatedgoodscode": {
  15085. "description": "商品代码(订单)",
  15086. "type": "string"
  15087. },
  15088. "relatedgoodsid": {
  15089. "description": "关联交易合约ID",
  15090. "type": "integer"
  15091. },
  15092. "relatedgoodsname": {
  15093. "description": "商品名称(订单)",
  15094. "type": "string"
  15095. },
  15096. "relatedmarketid": {
  15097. "description": "关联交易合约市场ID",
  15098. "type": "integer"
  15099. },
  15100. "sellstatus": {
  15101. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15102. "type": "integer"
  15103. },
  15104. "startprice": {
  15105. "description": "起拍价[大宗式竞拍]",
  15106. "type": "number"
  15107. },
  15108. "starttime": {
  15109. "description": "预售开始时间",
  15110. "type": "string"
  15111. },
  15112. "tradedate": {
  15113. "description": "交易日(yyyyMMdd)",
  15114. "type": "string"
  15115. },
  15116. "tradeprice": {
  15117. "description": "成交价[大宗]",
  15118. "type": "number"
  15119. },
  15120. "userid": {
  15121. "description": "卖方用户ID",
  15122. "type": "integer"
  15123. }
  15124. }
  15125. },
  15126. "cptrade.QueryPresaleGoodsExRsp": {
  15127. "type": "object",
  15128. "required": [
  15129. "goodsid"
  15130. ],
  15131. "properties": {
  15132. "attachmenturl": {
  15133. "description": "附件地址",
  15134. "type": "string"
  15135. },
  15136. "createtime": {
  15137. "description": "创建时间",
  15138. "type": "string"
  15139. },
  15140. "endtime": {
  15141. "description": "预售结束时间",
  15142. "type": "string"
  15143. },
  15144. "floorprice": {
  15145. "description": "底价[大宗式竞拍]",
  15146. "type": "number"
  15147. },
  15148. "goodsdetail": {
  15149. "description": "详情[大宗]",
  15150. "type": "string"
  15151. },
  15152. "goodsid": {
  15153. "description": "商品ID(预售)",
  15154. "type": "integer"
  15155. },
  15156. "goodunit": {
  15157. "description": "报价单位",
  15158. "type": "string"
  15159. },
  15160. "marketid": {
  15161. "description": "预售市场ID - 根据预售模式选择市场",
  15162. "type": "integer"
  15163. },
  15164. "presaledamount": {
  15165. "description": "已预售总金额(预售结束时更新)",
  15166. "type": "number"
  15167. },
  15168. "presaledqty": {
  15169. "description": "已预售量(预售结束时更新)",
  15170. "type": "integer"
  15171. },
  15172. "presalemode": {
  15173. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15174. "type": "integer"
  15175. },
  15176. "presaleqty": {
  15177. "description": "预售数量",
  15178. "type": "integer"
  15179. },
  15180. "refprice": {
  15181. "description": "参考价格[一口价]",
  15182. "type": "number"
  15183. },
  15184. "relatedgoodsid": {
  15185. "description": "关联交易合约ID",
  15186. "type": "integer"
  15187. },
  15188. "relatedmarketid": {
  15189. "description": "关联交易合约市场ID",
  15190. "type": "integer"
  15191. },
  15192. "sellstatus": {
  15193. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15194. "type": "integer"
  15195. },
  15196. "startprice": {
  15197. "description": "起拍价[大宗式竞拍]",
  15198. "type": "number"
  15199. },
  15200. "starttime": {
  15201. "description": "预售开始时间",
  15202. "type": "string"
  15203. },
  15204. "tradedate": {
  15205. "description": "交易日(yyyyMMdd)",
  15206. "type": "string"
  15207. },
  15208. "tradeprice": {
  15209. "description": "成交价[大宗]",
  15210. "type": "number"
  15211. }
  15212. }
  15213. },
  15214. "delivery.QueryDeliveryRelationRsp": {
  15215. "type": "object",
  15216. "required": [
  15217. "begindate",
  15218. "enddate",
  15219. "goodsid",
  15220. "mindeliveryqty",
  15221. "xdeliveryratio"
  15222. ],
  15223. "properties": {
  15224. "begindate": {
  15225. "description": "起始日期(yyyyMMdd)",
  15226. "type": "string"
  15227. },
  15228. "buytemplateid": {
  15229. "description": "买履约计划模板ID",
  15230. "type": "integer"
  15231. },
  15232. "deliverygoodscode": {
  15233. "description": "品种代码",
  15234. "type": "string"
  15235. },
  15236. "deliverygoodsid": {
  15237. "description": "交割商品",
  15238. "type": "integer"
  15239. },
  15240. "deliverygoodsname": {
  15241. "description": "品种名称",
  15242. "type": "string"
  15243. },
  15244. "deliverymode": {
  15245. "description": "交割方式 - 1:点选式 2:申报式",
  15246. "type": "integer"
  15247. },
  15248. "deliverypricerule": {
  15249. "description": "交割价规则- 1:行情价 2:建仓价",
  15250. "type": "integer"
  15251. },
  15252. "deliverytype": {
  15253. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  15254. "type": "integer"
  15255. },
  15256. "enddate": {
  15257. "description": "结束日期(yyyyMMdd)",
  15258. "type": "string"
  15259. },
  15260. "enumdicname": {
  15261. "description": "品类单位名称",
  15262. "type": "string"
  15263. },
  15264. "goodscode": {
  15265. "description": "商品代码",
  15266. "type": "string"
  15267. },
  15268. "goodsid": {
  15269. "description": "交易合约ID",
  15270. "type": "integer"
  15271. },
  15272. "goodsname": {
  15273. "description": "商品名称",
  15274. "type": "string"
  15275. },
  15276. "marketid": {
  15277. "description": "市场ID",
  15278. "type": "integer"
  15279. },
  15280. "mindeliveryqty": {
  15281. "description": "最小交割系数(K)",
  15282. "type": "integer"
  15283. },
  15284. "p2deliveryprice": {
  15285. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  15286. "type": "number"
  15287. },
  15288. "p2deliveryratio": {
  15289. "description": "P2合约系数(p)",
  15290. "type": "integer"
  15291. },
  15292. "p2goodsid": {
  15293. "description": "P2合约ID",
  15294. "type": "integer"
  15295. },
  15296. "p2pricemode": {
  15297. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  15298. "type": "integer"
  15299. },
  15300. "pdeliveryprice": {
  15301. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  15302. "type": "number"
  15303. },
  15304. "pdeliveryratio": {
  15305. "description": "P合约系数(n)",
  15306. "type": "integer"
  15307. },
  15308. "pgoodscode": {
  15309. "description": "p合约代码",
  15310. "type": "string"
  15311. },
  15312. "pgoodsid": {
  15313. "description": "P合约ID",
  15314. "type": "integer"
  15315. },
  15316. "ppricemode": {
  15317. "description": "P合约价格方式 - 1:商品价 2:固定值",
  15318. "type": "integer"
  15319. },
  15320. "rratio": {
  15321. "description": "兑换系数(R)",
  15322. "type": "integer"
  15323. },
  15324. "rratio1": {
  15325. "description": "兑换系数(交易合约)(R1)",
  15326. "type": "integer"
  15327. },
  15328. "rratio2": {
  15329. "description": "兑换系数(仓单标准)(R2)",
  15330. "type": "integer"
  15331. },
  15332. "selltemplateid": {
  15333. "description": "卖履约计划模板ID",
  15334. "type": "integer"
  15335. },
  15336. "wrstandardid": {
  15337. "description": "仓单标准ID",
  15338. "type": "integer"
  15339. },
  15340. "xdeliveryratio": {
  15341. "description": "交易合约系数(m)",
  15342. "type": "integer"
  15343. }
  15344. }
  15345. },
  15346. "ermcp.ExposureDetailRsp": {
  15347. "type": "object",
  15348. "properties": {
  15349. "areauserid": {
  15350. "description": "机构ID",
  15351. "type": "integer"
  15352. },
  15353. "changeQty": {
  15354. "description": "套保变动量",
  15355. "type": "number"
  15356. },
  15357. "contracttype": {
  15358. "description": "现货合同类型 - 1:采购 -1:销售",
  15359. "type": "integer"
  15360. },
  15361. "convertfactor": {
  15362. "description": "标仓系数",
  15363. "type": "number"
  15364. },
  15365. "convertratio": {
  15366. "description": "套保系数",
  15367. "type": "number"
  15368. },
  15369. "createtime": {
  15370. "description": "时间",
  15371. "type": "string"
  15372. },
  15373. "enumdicname": {
  15374. "description": "现货商品单位名称",
  15375. "type": "string"
  15376. },
  15377. "logtype": {
  15378. "description": "类型 - 1:套保计划 2:现货合同",
  15379. "type": "integer"
  15380. },
  15381. "middlegoodsId": {
  15382. "description": "套保商品id",
  15383. "type": "integer"
  15384. },
  15385. "middlegoodscode": {
  15386. "description": "套保商品代码",
  15387. "type": "string"
  15388. },
  15389. "middlegoodsname": {
  15390. "description": "套保商品名称",
  15391. "type": "string"
  15392. },
  15393. "qty": {
  15394. "description": "数量",
  15395. "type": "number"
  15396. },
  15397. "relateNo": {
  15398. "description": "现货合同/套保计划编号",
  15399. "type": "string"
  15400. },
  15401. "wrstandardcode": {
  15402. "description": "现货商品代码",
  15403. "type": "string"
  15404. },
  15405. "wrstandardid": {
  15406. "description": "现货商品ID",
  15407. "type": "integer"
  15408. },
  15409. "wrstandardname": {
  15410. "description": "现货商品名称",
  15411. "type": "string"
  15412. }
  15413. }
  15414. },
  15415. "ermcp.ExposureHedgePosDetailRsp": {
  15416. "type": "object",
  15417. "properties": {
  15418. "buyorsell": {
  15419. "description": "买卖方向 0-买 1-卖",
  15420. "type": "integer"
  15421. },
  15422. "channelbuildtype": {
  15423. "description": "开平方向 1-建仓 2-平仓",
  15424. "type": "integer"
  15425. },
  15426. "goodscode": {
  15427. "description": "商品代码",
  15428. "type": "string"
  15429. },
  15430. "goodsname": {
  15431. "description": "商品名称",
  15432. "type": "string"
  15433. },
  15434. "hedgegoodsid": {
  15435. "description": "商品id",
  15436. "type": "integer"
  15437. },
  15438. "tradeqty": {
  15439. "description": "数量(成交数量)",
  15440. "type": "integer"
  15441. },
  15442. "tradetime": {
  15443. "description": "时间(成交时间)",
  15444. "type": "string"
  15445. }
  15446. }
  15447. },
  15448. "ermcp.ExposureHedgePositionRsp": {
  15449. "type": "object",
  15450. "properties": {
  15451. "accountid": {
  15452. "description": "资金账号[外部母账户]",
  15453. "type": "integer"
  15454. },
  15455. "curbuyposition": {
  15456. "description": "期末买头寸",
  15457. "type": "integer"
  15458. },
  15459. "cursellposition": {
  15460. "description": "期末卖头寸",
  15461. "type": "integer"
  15462. },
  15463. "curtdbuyposition": {
  15464. "description": "期末今日买头寸",
  15465. "type": "integer"
  15466. },
  15467. "curtdsellposition": {
  15468. "description": "期末今日卖头寸",
  15469. "type": "integer"
  15470. },
  15471. "curydbuyposition": {
  15472. "description": "期末上日买头寸",
  15473. "type": "integer"
  15474. },
  15475. "curydsellposition": {
  15476. "description": "期末上日卖头寸",
  15477. "type": "integer"
  15478. },
  15479. "decreaseqty": {
  15480. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15481. "type": "integer"
  15482. },
  15483. "fretdbuyposition": {
  15484. "description": "冻结今日买头寸",
  15485. "type": "integer"
  15486. },
  15487. "fretdsellposition": {
  15488. "description": "冻结今日卖头寸",
  15489. "type": "integer"
  15490. },
  15491. "freydbuyposition": {
  15492. "description": "冻结上日买头寸",
  15493. "type": "integer"
  15494. },
  15495. "freydsellposition": {
  15496. "description": "冻结上日卖头寸",
  15497. "type": "integer"
  15498. },
  15499. "goodscode": {
  15500. "description": "商品代码",
  15501. "type": "string"
  15502. },
  15503. "goodsid": {
  15504. "description": "商品id",
  15505. "type": "integer"
  15506. },
  15507. "goodsname": {
  15508. "description": "商品名称",
  15509. "type": "string"
  15510. },
  15511. "hedgeaccountcode": {
  15512. "description": "对冲账号",
  15513. "type": "string"
  15514. },
  15515. "hedgegoodsid": {
  15516. "description": "对冲合约ID",
  15517. "type": "integer"
  15518. },
  15519. "increaseqty": {
  15520. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15521. "type": "integer"
  15522. },
  15523. "marketid": {
  15524. "description": "市场ID",
  15525. "type": "integer"
  15526. },
  15527. "relateduserid": {
  15528. "description": "关联用户id",
  15529. "type": "integer"
  15530. },
  15531. "totalcurqty": {
  15532. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  15533. "type": "integer"
  15534. },
  15535. "totalydqty": {
  15536. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  15537. "type": "integer"
  15538. },
  15539. "tradedate": {
  15540. "description": "交易日(yyyyMMdd)",
  15541. "type": "string"
  15542. },
  15543. "ydbuyposition": {
  15544. "description": "期初买头寸",
  15545. "type": "integer"
  15546. },
  15547. "ydsellposition": {
  15548. "description": "期初卖头寸",
  15549. "type": "integer"
  15550. }
  15551. }
  15552. },
  15553. "ermcp.ExposureSpotDetailRsp": {
  15554. "type": "object",
  15555. "properties": {
  15556. "contracttype": {
  15557. "description": "合同类型 1-采购 -1-销售",
  15558. "type": "integer"
  15559. },
  15560. "createtime": {
  15561. "description": "创建时间",
  15562. "type": "string"
  15563. },
  15564. "enumdicname": {
  15565. "description": "现货商品单位名称",
  15566. "type": "string"
  15567. },
  15568. "logtype": {
  15569. "description": "记录类型 1-套保 2-现货合同",
  15570. "type": "integer"
  15571. },
  15572. "qty": {
  15573. "description": "数量",
  15574. "type": "number"
  15575. },
  15576. "recordname": {
  15577. "description": "类型名称",
  15578. "type": "string"
  15579. },
  15580. "relatedid": {
  15581. "description": "套保计划ID/现货合同ID",
  15582. "type": "string"
  15583. },
  15584. "relatedno": {
  15585. "description": "编号",
  15586. "type": "string"
  15587. },
  15588. "strtime": {
  15589. "description": "时间",
  15590. "type": "string"
  15591. },
  15592. "wrstandardcode": {
  15593. "description": "现货商品代码",
  15594. "type": "string"
  15595. },
  15596. "wrstandardname": {
  15597. "description": "现货商品名称",
  15598. "type": "string"
  15599. }
  15600. }
  15601. },
  15602. "ermcp.ExposureSpotRsp": {
  15603. "type": "object",
  15604. "properties": {
  15605. "areauserid": {
  15606. "description": "所属机构",
  15607. "type": "integer"
  15608. },
  15609. "decreaseqty": {
  15610. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15611. "type": "number"
  15612. },
  15613. "increaseqty": {
  15614. "description": "增加数量=销售计划数量+采购已定价数量",
  15615. "type": "number"
  15616. },
  15617. "oritoalspotqty": {
  15618. "description": "昨日数量",
  15619. "type": "number"
  15620. },
  15621. "totalspotqty": {
  15622. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15623. "type": "number"
  15624. },
  15625. "updatetime": {
  15626. "description": "更新时间",
  15627. "type": "string"
  15628. },
  15629. "wrstandardcode": {
  15630. "description": "现货品种代码",
  15631. "type": "string"
  15632. },
  15633. "wrstandardid": {
  15634. "description": "现货商品ID",
  15635. "type": "integer"
  15636. },
  15637. "wrstandardname": {
  15638. "description": "现货品种",
  15639. "type": "string"
  15640. }
  15641. }
  15642. },
  15643. "ermcp.HisExposureRsp": {
  15644. "type": "object",
  15645. "properties": {
  15646. "data": {
  15647. "description": "历史敞口",
  15648. "type": "array",
  15649. "items": {
  15650. "$ref": "#/definitions/models.ErmcpHisExposure"
  15651. }
  15652. },
  15653. "enumdicname": {
  15654. "description": "单位名称",
  15655. "type": "string"
  15656. },
  15657. "middlegoodscode": {
  15658. "description": "套保品种代码",
  15659. "type": "string"
  15660. },
  15661. "middlegoodsid": {
  15662. "description": "套保品种ID",
  15663. "type": "integer"
  15664. },
  15665. "middlegoodsname": {
  15666. "description": "套保品种名称",
  15667. "type": "string"
  15668. }
  15669. }
  15670. },
  15671. "ermcp.PendingAuditCntRsp": {
  15672. "type": "object",
  15673. "properties": {
  15674. "areastockqty": {
  15675. "description": "待审核数量: 库存申请",
  15676. "type": "integer"
  15677. },
  15678. "businessdjqty": {
  15679. "description": "待审核数量: 点价",
  15680. "type": "integer"
  15681. },
  15682. "businessfpqty": {
  15683. "description": "待审核数量: 发票",
  15684. "type": "integer"
  15685. },
  15686. "businessjsqty": {
  15687. "description": "待审核数量: 结算",
  15688. "type": "integer"
  15689. },
  15690. "businesskxqty": {
  15691. "description": "待审核数量: 款项",
  15692. "type": "integer"
  15693. },
  15694. "hedgeplanqty": {
  15695. "description": "待审核数量: 套保计划",
  15696. "type": "integer"
  15697. },
  15698. "spotcontractqty": {
  15699. "description": "待审核数量: 现货合同",
  15700. "type": "integer"
  15701. },
  15702. "userqty": {
  15703. "description": "待审核数量: 用户",
  15704. "type": "integer"
  15705. }
  15706. }
  15707. },
  15708. "ermcp.QryAvalidGPRsp": {
  15709. "type": "object",
  15710. "properties": {
  15711. "goodsgroupid": {
  15712. "description": "期货品种id",
  15713. "type": "integer"
  15714. },
  15715. "goodsgroupname": {
  15716. "description": "期货品种名称",
  15717. "type": "string"
  15718. },
  15719. "goodunitid": {
  15720. "description": "品种单位id",
  15721. "type": "integer"
  15722. },
  15723. "goodunitname": {
  15724. "description": "品种单位名称",
  15725. "type": "string"
  15726. },
  15727. "outergroupcode": {
  15728. "description": "期货品种代码",
  15729. "type": "string"
  15730. }
  15731. }
  15732. },
  15733. "ermcp.QryBusinessDjRsp": {
  15734. "type": "object",
  15735. "properties": {
  15736. "amount": {
  15737. "description": "点价金额=(点价价格+升贴水)*点价数量",
  15738. "type": "number"
  15739. },
  15740. "applyid": {
  15741. "description": "申请人",
  15742. "type": "string"
  15743. },
  15744. "applyname": {
  15745. "description": "申请人名称",
  15746. "type": "string"
  15747. },
  15748. "applystatus": {
  15749. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15750. "type": "integer"
  15751. },
  15752. "applytime": {
  15753. "description": "申请时间",
  15754. "type": "string"
  15755. },
  15756. "attachurl": {
  15757. "description": "附件",
  15758. "type": "string"
  15759. },
  15760. "auditid": {
  15761. "description": "审核人ID",
  15762. "type": "string"
  15763. },
  15764. "auditname": {
  15765. "description": "审核人名称",
  15766. "type": "string"
  15767. },
  15768. "auditremark": {
  15769. "description": "审核备注",
  15770. "type": "string"
  15771. },
  15772. "audittime": {
  15773. "description": "审核时间",
  15774. "type": "string"
  15775. },
  15776. "buyusername": {
  15777. "description": "采购方名称",
  15778. "type": "string"
  15779. },
  15780. "contractno": {
  15781. "description": "合同编号",
  15782. "type": "string"
  15783. },
  15784. "contractstatus": {
  15785. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15786. "type": "integer"
  15787. },
  15788. "contracttype": {
  15789. "description": "现货合同类型 - 1:采购 -1:销售",
  15790. "type": "integer"
  15791. },
  15792. "deliverygoodscode": {
  15793. "description": "现货品种代码",
  15794. "type": "string"
  15795. },
  15796. "deliverygoodsid": {
  15797. "description": "现货商品ID",
  15798. "type": "integer"
  15799. },
  15800. "deliverygoodsname": {
  15801. "description": "现货品种名称",
  15802. "type": "string"
  15803. },
  15804. "enumdicname": {
  15805. "description": "单位名称",
  15806. "type": "string"
  15807. },
  15808. "goodscode": {
  15809. "description": "点价合约",
  15810. "type": "string"
  15811. },
  15812. "goodsname": {
  15813. "description": "商品名称",
  15814. "type": "string"
  15815. },
  15816. "operateapplyid": {
  15817. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15818. "type": "string"
  15819. },
  15820. "operateapplytype": {
  15821. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15822. "type": "integer"
  15823. },
  15824. "pricedPrice": {
  15825. "description": "点价价格(非必填)",
  15826. "type": "number"
  15827. },
  15828. "pricedQty": {
  15829. "description": "点价数量(非必填)",
  15830. "type": "number"
  15831. },
  15832. "pricemove": {
  15833. "description": "升贴水",
  15834. "type": "number"
  15835. },
  15836. "pricetype": {
  15837. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15838. "type": "integer"
  15839. },
  15840. "relatedid": {
  15841. "description": "现货合同ID",
  15842. "type": "string"
  15843. },
  15844. "sellusername": {
  15845. "description": "销售方名字",
  15846. "type": "string"
  15847. },
  15848. "userid": {
  15849. "description": "用户ID",
  15850. "type": "integer"
  15851. },
  15852. "wrstandardcode": {
  15853. "description": "品类代码",
  15854. "type": "string"
  15855. },
  15856. "wrstandardid": {
  15857. "description": "品类id",
  15858. "type": "integer"
  15859. },
  15860. "wrstandardname": {
  15861. "description": "品类名称",
  15862. "type": "string"
  15863. }
  15864. }
  15865. },
  15866. "ermcp.QryBussinessFpRsp": {
  15867. "type": "object",
  15868. "properties": {
  15869. "applyid": {
  15870. "description": "申请人",
  15871. "type": "string"
  15872. },
  15873. "applyname": {
  15874. "description": "申请人名称",
  15875. "type": "string"
  15876. },
  15877. "applystatus": {
  15878. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15879. "type": "integer"
  15880. },
  15881. "applytime": {
  15882. "description": "申请时间",
  15883. "type": "string"
  15884. },
  15885. "attachurl": {
  15886. "description": "附件",
  15887. "type": "string"
  15888. },
  15889. "auditid": {
  15890. "description": "审核人ID",
  15891. "type": "string"
  15892. },
  15893. "auditname": {
  15894. "description": "审核人名称",
  15895. "type": "string"
  15896. },
  15897. "auditremark": {
  15898. "description": "审核备注",
  15899. "type": "string"
  15900. },
  15901. "audittime": {
  15902. "description": "审核时间",
  15903. "type": "string"
  15904. },
  15905. "buyusername": {
  15906. "description": "采购方名称",
  15907. "type": "string"
  15908. },
  15909. "contractno": {
  15910. "description": "合同编号",
  15911. "type": "string"
  15912. },
  15913. "contractstatus": {
  15914. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15915. "type": "integer"
  15916. },
  15917. "contracttype": {
  15918. "description": "现货合同类型 - 1:采购 -1:销售",
  15919. "type": "integer"
  15920. },
  15921. "deliverygoodscode": {
  15922. "description": "现货品种代码",
  15923. "type": "string"
  15924. },
  15925. "deliverygoodsid": {
  15926. "description": "现货商品ID",
  15927. "type": "integer"
  15928. },
  15929. "deliverygoodsname": {
  15930. "description": "现货品种名称",
  15931. "type": "string"
  15932. },
  15933. "enumdicname": {
  15934. "description": "单位名称",
  15935. "type": "string"
  15936. },
  15937. "goodscode": {
  15938. "description": "点价合约",
  15939. "type": "string"
  15940. },
  15941. "goodsname": {
  15942. "description": "商品名称",
  15943. "type": "string"
  15944. },
  15945. "invoiceAmount": {
  15946. "description": "已开收票金额(销售为开票,采购为收票)",
  15947. "type": "number"
  15948. },
  15949. "operateapplyid": {
  15950. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15951. "type": "string"
  15952. },
  15953. "operateapplytype": {
  15954. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15955. "type": "integer"
  15956. },
  15957. "pricemove": {
  15958. "description": "升贴水",
  15959. "type": "number"
  15960. },
  15961. "pricetype": {
  15962. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15963. "type": "integer"
  15964. },
  15965. "relatedid": {
  15966. "description": "现货合同ID",
  15967. "type": "string"
  15968. },
  15969. "sellusername": {
  15970. "description": "销售方名字",
  15971. "type": "string"
  15972. },
  15973. "userid": {
  15974. "description": "用户ID",
  15975. "type": "integer"
  15976. },
  15977. "wrstandardcode": {
  15978. "description": "品类代码",
  15979. "type": "string"
  15980. },
  15981. "wrstandardid": {
  15982. "description": "品类id",
  15983. "type": "integer"
  15984. },
  15985. "wrstandardname": {
  15986. "description": "品类名称",
  15987. "type": "string"
  15988. }
  15989. }
  15990. },
  15991. "ermcp.QryBussinessJsExRsp": {
  15992. "type": "object",
  15993. "properties": {
  15994. "applyid": {
  15995. "description": "申请人",
  15996. "type": "string"
  15997. },
  15998. "applyname": {
  15999. "description": "申请人名称",
  16000. "type": "string"
  16001. },
  16002. "applystatus": {
  16003. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16004. "type": "integer"
  16005. },
  16006. "applytime": {
  16007. "description": "申请时间",
  16008. "type": "string"
  16009. },
  16010. "attachurl": {
  16011. "description": "附件",
  16012. "type": "string"
  16013. },
  16014. "auditid": {
  16015. "description": "审核人ID",
  16016. "type": "string"
  16017. },
  16018. "auditname": {
  16019. "description": "审核人名称",
  16020. "type": "string"
  16021. },
  16022. "auditremark": {
  16023. "description": "审核备注",
  16024. "type": "string"
  16025. },
  16026. "audittime": {
  16027. "description": "审核时间",
  16028. "type": "string"
  16029. },
  16030. "buyusername": {
  16031. "description": "采购方名称",
  16032. "type": "string"
  16033. },
  16034. "contractno": {
  16035. "description": "合同编号",
  16036. "type": "string"
  16037. },
  16038. "contractstatus": {
  16039. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16040. "type": "integer"
  16041. },
  16042. "contracttype": {
  16043. "description": "现货合同类型 - 1:采购 -1:销售",
  16044. "type": "integer"
  16045. },
  16046. "deliverygoodscode": {
  16047. "description": "现货品种代码",
  16048. "type": "string"
  16049. },
  16050. "deliverygoodsid": {
  16051. "description": "现货商品ID",
  16052. "type": "integer"
  16053. },
  16054. "deliverygoodsname": {
  16055. "description": "现货品种名称",
  16056. "type": "string"
  16057. },
  16058. "enumdicname": {
  16059. "description": "单位名称",
  16060. "type": "string"
  16061. },
  16062. "goodscode": {
  16063. "description": "点价合约",
  16064. "type": "string"
  16065. },
  16066. "goodsname": {
  16067. "description": "商品名称",
  16068. "type": "string"
  16069. },
  16070. "operateapplyid": {
  16071. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16072. "type": "string"
  16073. },
  16074. "operateapplytype": {
  16075. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16076. "type": "integer"
  16077. },
  16078. "pricemove": {
  16079. "description": "升贴水",
  16080. "type": "number"
  16081. },
  16082. "pricetype": {
  16083. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16084. "type": "integer"
  16085. },
  16086. "reckontype": {
  16087. "description": "结算类型",
  16088. "type": "string"
  16089. },
  16090. "reckonvalue": {
  16091. "description": "值",
  16092. "type": "number"
  16093. },
  16094. "relatedid": {
  16095. "description": "现货合同ID",
  16096. "type": "string"
  16097. },
  16098. "sellusername": {
  16099. "description": "销售方名字",
  16100. "type": "string"
  16101. },
  16102. "userid": {
  16103. "description": "用户ID",
  16104. "type": "integer"
  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.QryBussinessJsRsp": {
  16121. "type": "object",
  16122. "properties": {
  16123. "addmargin": {
  16124. "description": "追加保证金(非必填)",
  16125. "type": "number"
  16126. },
  16127. "applyid": {
  16128. "description": "申请人",
  16129. "type": "string"
  16130. },
  16131. "applyname": {
  16132. "description": "申请人名称",
  16133. "type": "string"
  16134. },
  16135. "applystatus": {
  16136. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16137. "type": "integer"
  16138. },
  16139. "applytime": {
  16140. "description": "申请时间",
  16141. "type": "string"
  16142. },
  16143. "attachurl": {
  16144. "description": "附件",
  16145. "type": "string"
  16146. },
  16147. "auditid": {
  16148. "description": "审核人ID",
  16149. "type": "string"
  16150. },
  16151. "auditname": {
  16152. "description": "审核人名称",
  16153. "type": "string"
  16154. },
  16155. "auditremark": {
  16156. "description": "审核备注",
  16157. "type": "string"
  16158. },
  16159. "audittime": {
  16160. "description": "审核时间",
  16161. "type": "string"
  16162. },
  16163. "buyusername": {
  16164. "description": "采购方名称",
  16165. "type": "string"
  16166. },
  16167. "contractno": {
  16168. "description": "合同编号",
  16169. "type": "string"
  16170. },
  16171. "contractstatus": {
  16172. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16173. "type": "integer"
  16174. },
  16175. "contracttype": {
  16176. "description": "现货合同类型 - 1:采购 -1:销售",
  16177. "type": "integer"
  16178. },
  16179. "decmargin": {
  16180. "description": "减少保证金(非必填)",
  16181. "type": "number"
  16182. },
  16183. "deliverygoodscode": {
  16184. "description": "现货品种代码",
  16185. "type": "string"
  16186. },
  16187. "deliverygoodsid": {
  16188. "description": "现货商品ID",
  16189. "type": "integer"
  16190. },
  16191. "deliverygoodsname": {
  16192. "description": "现货品种名称",
  16193. "type": "string"
  16194. },
  16195. "enumdicname": {
  16196. "description": "单位名称",
  16197. "type": "string"
  16198. },
  16199. "goodscode": {
  16200. "description": "点价合约",
  16201. "type": "string"
  16202. },
  16203. "goodsname": {
  16204. "description": "商品名称",
  16205. "type": "string"
  16206. },
  16207. "operateapplyid": {
  16208. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16209. "type": "string"
  16210. },
  16211. "operateapplytype": {
  16212. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16213. "type": "integer"
  16214. },
  16215. "pricemove": {
  16216. "description": "升贴水",
  16217. "type": "number"
  16218. },
  16219. "pricetype": {
  16220. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16221. "type": "integer"
  16222. },
  16223. "reckonadjustamount": {
  16224. "description": "结算调整金额(非必填)",
  16225. "type": "number"
  16226. },
  16227. "reckonosamount": {
  16228. "description": "结算溢短金额(非必填)",
  16229. "type": "number"
  16230. },
  16231. "reckonotheramount": {
  16232. "description": "结算其他费用(非必填)",
  16233. "type": "number"
  16234. },
  16235. "reckonrealqty": {
  16236. "description": "结算实际数量(非必填)",
  16237. "type": "number"
  16238. },
  16239. "relatedid": {
  16240. "description": "现货合同ID",
  16241. "type": "string"
  16242. },
  16243. "sellusername": {
  16244. "description": "销售方名字",
  16245. "type": "string"
  16246. },
  16247. "userid": {
  16248. "description": "用户ID",
  16249. "type": "integer"
  16250. },
  16251. "wrstandardcode": {
  16252. "description": "品类代码",
  16253. "type": "string"
  16254. },
  16255. "wrstandardid": {
  16256. "description": "品类id",
  16257. "type": "integer"
  16258. },
  16259. "wrstandardname": {
  16260. "description": "品类名称",
  16261. "type": "string"
  16262. }
  16263. }
  16264. },
  16265. "ermcp.QryBussinessKxRsp": {
  16266. "type": "object",
  16267. "properties": {
  16268. "applyid": {
  16269. "description": "申请人",
  16270. "type": "string"
  16271. },
  16272. "applyname": {
  16273. "description": "申请人名称",
  16274. "type": "string"
  16275. },
  16276. "applystatus": {
  16277. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16278. "type": "integer"
  16279. },
  16280. "applytime": {
  16281. "description": "申请时间",
  16282. "type": "string"
  16283. },
  16284. "attachurl": {
  16285. "description": "附件",
  16286. "type": "string"
  16287. },
  16288. "auditid": {
  16289. "description": "审核人ID",
  16290. "type": "string"
  16291. },
  16292. "auditname": {
  16293. "description": "审核人名称",
  16294. "type": "string"
  16295. },
  16296. "auditremark": {
  16297. "description": "审核备注",
  16298. "type": "string"
  16299. },
  16300. "audittime": {
  16301. "description": "审核时间",
  16302. "type": "string"
  16303. },
  16304. "buyusername": {
  16305. "description": "采购方名称",
  16306. "type": "string"
  16307. },
  16308. "contractno": {
  16309. "description": "合同编号",
  16310. "type": "string"
  16311. },
  16312. "contractstatus": {
  16313. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16314. "type": "integer"
  16315. },
  16316. "contracttype": {
  16317. "description": "现货合同类型 - 1:采购 -1:销售",
  16318. "type": "integer"
  16319. },
  16320. "deductamount": {
  16321. "description": "退款(非必填)",
  16322. "type": "number"
  16323. },
  16324. "deliverygoodscode": {
  16325. "description": "现货品种代码",
  16326. "type": "string"
  16327. },
  16328. "deliverygoodsid": {
  16329. "description": "现货商品ID",
  16330. "type": "integer"
  16331. },
  16332. "deliverygoodsname": {
  16333. "description": "现货品种名称",
  16334. "type": "string"
  16335. },
  16336. "enumdicname": {
  16337. "description": "单位名称",
  16338. "type": "string"
  16339. },
  16340. "goodscode": {
  16341. "description": "点价合约",
  16342. "type": "string"
  16343. },
  16344. "goodsname": {
  16345. "description": "商品名称",
  16346. "type": "string"
  16347. },
  16348. "kxtype": {
  16349. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  16350. "type": "integer"
  16351. },
  16352. "operateapplyid": {
  16353. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16354. "type": "string"
  16355. },
  16356. "operateapplytype": {
  16357. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16358. "type": "integer"
  16359. },
  16360. "payamount": {
  16361. "description": "收付款(非必填)",
  16362. "type": "number"
  16363. },
  16364. "pricemove": {
  16365. "description": "升贴水",
  16366. "type": "number"
  16367. },
  16368. "pricetype": {
  16369. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16370. "type": "integer"
  16371. },
  16372. "relatedid": {
  16373. "description": "现货合同ID",
  16374. "type": "string"
  16375. },
  16376. "sellusername": {
  16377. "description": "销售方名字",
  16378. "type": "string"
  16379. },
  16380. "userid": {
  16381. "description": "用户ID",
  16382. "type": "integer"
  16383. },
  16384. "wrstandardcode": {
  16385. "description": "品类代码",
  16386. "type": "string"
  16387. },
  16388. "wrstandardid": {
  16389. "description": "品类id",
  16390. "type": "integer"
  16391. },
  16392. "wrstandardname": {
  16393. "description": "品类名称",
  16394. "type": "string"
  16395. }
  16396. }
  16397. },
  16398. "ermcp.QryGGCovertCfgRsp": {
  16399. "type": "object",
  16400. "properties": {
  16401. "convertratio": {
  16402. "description": "折算系数",
  16403. "type": "number"
  16404. },
  16405. "destgoodsgroupid": {
  16406. "description": "目标品种ID",
  16407. "type": "integer"
  16408. },
  16409. "dstcode": {
  16410. "description": "目录品种代码",
  16411. "type": "string"
  16412. },
  16413. "dstexchangecode": {
  16414. "description": "目标期货交易所",
  16415. "type": "string"
  16416. },
  16417. "dstname": {
  16418. "description": "目标品种名称",
  16419. "type": "string"
  16420. },
  16421. "dstunitid": {
  16422. "description": "目标品种单位ID",
  16423. "type": "integer"
  16424. },
  16425. "dstunitidname": {
  16426. "description": "目标品种单位名称",
  16427. "type": "string"
  16428. },
  16429. "modifytime": {
  16430. "description": "修改时间",
  16431. "type": "string"
  16432. },
  16433. "srccode": {
  16434. "description": "源品种代码",
  16435. "type": "string"
  16436. },
  16437. "srcexchangecode": {
  16438. "description": "源期货交易所",
  16439. "type": "string"
  16440. },
  16441. "srcgoodsgroupid": {
  16442. "description": "源品种ID",
  16443. "type": "integer"
  16444. },
  16445. "srcname": {
  16446. "description": "源品种名称",
  16447. "type": "string"
  16448. },
  16449. "srcunitid": {
  16450. "description": "源品种单位ID",
  16451. "type": "integer"
  16452. },
  16453. "srcunitidname": {
  16454. "description": "源品种单位名称",
  16455. "type": "string"
  16456. }
  16457. }
  16458. },
  16459. "ermcp.QryMGChangeLogRsp": {
  16460. "type": "object",
  16461. "properties": {
  16462. "aftervalue": {
  16463. "description": "变更后",
  16464. "type": "number"
  16465. },
  16466. "applyid": {
  16467. "description": "操作人",
  16468. "type": "integer"
  16469. },
  16470. "applyname": {
  16471. "description": "操作人名称",
  16472. "type": "string"
  16473. },
  16474. "applysrc": {
  16475. "description": "操作来源 - 1:管理端 2:终端",
  16476. "type": "integer"
  16477. },
  16478. "beforevalue": {
  16479. "description": "变更前",
  16480. "type": "number"
  16481. },
  16482. "changelogtype": {
  16483. "description": "变更流水类型 - 1:套保比率变更",
  16484. "type": "integer"
  16485. },
  16486. "handlestatus": {
  16487. "description": "处理状态",
  16488. "type": "integer"
  16489. },
  16490. "logdatetime": {
  16491. "description": "流水日期",
  16492. "type": "string"
  16493. },
  16494. "logid": {
  16495. "description": "流水ID",
  16496. "type": "integer"
  16497. },
  16498. "logremark": {
  16499. "description": "流水备注",
  16500. "type": "string"
  16501. },
  16502. "middlegoodsid": {
  16503. "description": "套保品种ID",
  16504. "type": "integer"
  16505. },
  16506. "tradedate": {
  16507. "description": "交易日(yyyyMMdd)",
  16508. "type": "string"
  16509. },
  16510. "updatetime": {
  16511. "description": "更新时间",
  16512. "type": "string"
  16513. }
  16514. }
  16515. },
  16516. "ermcp.QryMiddleGoodsDetailRsp": {
  16517. "type": "object",
  16518. "properties": {
  16519. "cvList": {
  16520. "description": "期货品种折算列表",
  16521. "type": "array",
  16522. "items": {
  16523. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16524. }
  16525. },
  16526. "mg": {
  16527. "description": "套保品种基本信息",
  16528. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16529. },
  16530. "wrcList": {
  16531. "description": "现货品种列表(现货商品折算配置)",
  16532. "type": "array",
  16533. "items": {
  16534. "$ref": "#/definitions/models.WRSConverTDetail"
  16535. }
  16536. }
  16537. }
  16538. },
  16539. "ermcp.QryMiddleGoodsRsp": {
  16540. "type": "object",
  16541. "properties": {
  16542. "areauserid": {
  16543. "description": "机构用户ID",
  16544. "type": "integer"
  16545. },
  16546. "createtime": {
  16547. "description": "修改时间",
  16548. "type": "string"
  16549. },
  16550. "enumdicname": {
  16551. "description": "单位名称",
  16552. "type": "string"
  16553. },
  16554. "evaluateratio": {
  16555. "description": "估价系数",
  16556. "type": "number"
  16557. },
  16558. "goodsgroupid": {
  16559. "description": "关联期货品种ID",
  16560. "type": "integer"
  16561. },
  16562. "goodsunitid": {
  16563. "description": "单位ID",
  16564. "type": "integer"
  16565. },
  16566. "isvalid": {
  16567. "description": "状态 0-无效(停用) 1-有效(正常)",
  16568. "type": "integer"
  16569. },
  16570. "middlegoodscode": {
  16571. "description": "套保品种代码",
  16572. "type": "string"
  16573. },
  16574. "middlegoodsid": {
  16575. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16576. "type": "integer"
  16577. },
  16578. "middlegoodsname": {
  16579. "description": "套保品种名称",
  16580. "type": "string"
  16581. },
  16582. "modifytime": {
  16583. "description": "修改时间",
  16584. "type": "string"
  16585. },
  16586. "needarbitrageratio": {
  16587. "description": "套利比例",
  16588. "type": "number"
  16589. },
  16590. "needhedgeratio": {
  16591. "description": "套保比率",
  16592. "type": "number"
  16593. },
  16594. "qtydecimalplace": {
  16595. "description": "数量小数位",
  16596. "type": "integer"
  16597. },
  16598. "relatedgoodsid": {
  16599. "description": "关联交易商品ID",
  16600. "type": "integer"
  16601. },
  16602. "relatedgoodstype": {
  16603. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16604. "type": "integer"
  16605. },
  16606. "remark": {
  16607. "description": "备注",
  16608. "type": "string"
  16609. }
  16610. }
  16611. },
  16612. "ermcp.QryOPLogRsp": {
  16613. "type": "object",
  16614. "properties": {
  16615. "aftervalue": {
  16616. "description": "变更后",
  16617. "type": "number"
  16618. },
  16619. "applyid": {
  16620. "description": "操作人ID",
  16621. "type": "string"
  16622. },
  16623. "applyname": {
  16624. "description": "操作人名称",
  16625. "type": "string"
  16626. },
  16627. "beforevalue": {
  16628. "description": "变更前",
  16629. "type": "number"
  16630. },
  16631. "biztype": {
  16632. "description": "业务类型 - 1:套保计划 2:现货合同",
  16633. "type": "integer"
  16634. },
  16635. "contracttype": {
  16636. "description": "现货合同类型 - 1:采购 -1:销售",
  16637. "type": "integer"
  16638. },
  16639. "logvalue": {
  16640. "description": "数值",
  16641. "type": "number"
  16642. },
  16643. "operatelogtype": {
  16644. "description": "操作流水类型",
  16645. "type": "integer"
  16646. },
  16647. "operatelogtypedesc": {
  16648. "description": "操作流水类型名称",
  16649. "type": "string"
  16650. },
  16651. "relatedid": {
  16652. "description": "现货合同ID\\套保计划",
  16653. "type": "string"
  16654. },
  16655. "updatetime": {
  16656. "description": "更新时间",
  16657. "type": "string"
  16658. }
  16659. }
  16660. },
  16661. "ermcp.QryUserInfoRsp": {
  16662. "type": "object",
  16663. "properties": {
  16664. "address": {
  16665. "description": "通讯地址",
  16666. "type": "string"
  16667. },
  16668. "attachment1": {
  16669. "description": "附件1",
  16670. "type": "string"
  16671. },
  16672. "audittime": {
  16673. "description": "审核时间",
  16674. "type": "string"
  16675. },
  16676. "cardbackphotourl": {
  16677. "description": "证件反面图片地址",
  16678. "type": "string"
  16679. },
  16680. "cardfrontphotourl": {
  16681. "description": "证件正面图片地址",
  16682. "type": "string"
  16683. },
  16684. "cardnum": {
  16685. "description": "证件号码",
  16686. "type": "string"
  16687. },
  16688. "cardtype": {
  16689. "description": "证件类型",
  16690. "type": "integer"
  16691. },
  16692. "cardtypename": {
  16693. "description": "证件类型名称",
  16694. "type": "string"
  16695. },
  16696. "cityid": {
  16697. "description": "市",
  16698. "type": "integer"
  16699. },
  16700. "contactname": {
  16701. "description": "联系人",
  16702. "type": "string"
  16703. },
  16704. "countryid": {
  16705. "description": "国家",
  16706. "type": "integer"
  16707. },
  16708. "createtime": {
  16709. "description": "创建时间",
  16710. "type": "string"
  16711. },
  16712. "customername": {
  16713. "description": "企业名称",
  16714. "type": "string"
  16715. },
  16716. "districtid": {
  16717. "description": "区域",
  16718. "type": "integer"
  16719. },
  16720. "email": {
  16721. "description": "邮件",
  16722. "type": "string"
  16723. },
  16724. "legalpersonname": {
  16725. "description": "法人姓名(企业)",
  16726. "type": "string"
  16727. },
  16728. "memberuserid": {
  16729. "description": "所属机构ID",
  16730. "type": "integer"
  16731. },
  16732. "mobile": {
  16733. "description": "手机号码",
  16734. "type": "string"
  16735. },
  16736. "modifytime": {
  16737. "description": "修改时间",
  16738. "type": "string"
  16739. },
  16740. "nickname": {
  16741. "description": "昵称",
  16742. "type": "string"
  16743. },
  16744. "provinceid": {
  16745. "description": "省",
  16746. "type": "integer"
  16747. },
  16748. "remark": {
  16749. "description": "备注",
  16750. "type": "string"
  16751. },
  16752. "status": {
  16753. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16754. "type": "integer"
  16755. },
  16756. "statusdesc": {
  16757. "description": "账户状态中文描述",
  16758. "type": "string"
  16759. },
  16760. "taxpayernum": {
  16761. "description": "纳税人识别号",
  16762. "type": "string"
  16763. },
  16764. "telphone": {
  16765. "description": "联系电话",
  16766. "type": "string"
  16767. },
  16768. "userid": {
  16769. "description": "用户ID",
  16770. "type": "integer"
  16771. },
  16772. "userinfotype": {
  16773. "description": "客户类型",
  16774. "type": "string"
  16775. }
  16776. }
  16777. },
  16778. "ermcp.QryWarehouseRsp": {
  16779. "type": "object",
  16780. "properties": {
  16781. "address": {
  16782. "description": "详细地址",
  16783. "type": "string"
  16784. },
  16785. "areauserid": {
  16786. "description": "所属机构",
  16787. "type": "integer"
  16788. },
  16789. "autoid": {
  16790. "description": "自增ID(仓库ID)",
  16791. "type": "integer"
  16792. },
  16793. "cityid": {
  16794. "description": "市",
  16795. "type": "integer"
  16796. },
  16797. "contactname": {
  16798. "description": "联系人",
  16799. "type": "string"
  16800. },
  16801. "contactnum": {
  16802. "description": "联系电话",
  16803. "type": "string"
  16804. },
  16805. "countryid": {
  16806. "description": "国家",
  16807. "type": "integer"
  16808. },
  16809. "createtime": {
  16810. "description": "创建时间",
  16811. "type": "string"
  16812. },
  16813. "districtid": {
  16814. "description": "区",
  16815. "type": "integer"
  16816. },
  16817. "hasvideo": {
  16818. "description": "是否有视频 - 0:无 1:有",
  16819. "type": "integer"
  16820. },
  16821. "provinceid": {
  16822. "description": "省",
  16823. "type": "integer"
  16824. },
  16825. "remark": {
  16826. "description": "审核备注",
  16827. "type": "string"
  16828. },
  16829. "videourl": {
  16830. "description": "视频地址",
  16831. "type": "string"
  16832. },
  16833. "warehousecode": {
  16834. "description": "仓库代码",
  16835. "type": "string"
  16836. },
  16837. "warehousename": {
  16838. "description": "仓库名称",
  16839. "type": "string"
  16840. },
  16841. "warehousestatus": {
  16842. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16843. "type": "integer"
  16844. },
  16845. "warehousetype": {
  16846. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16847. "type": "integer"
  16848. }
  16849. }
  16850. },
  16851. "ermcp.QueryErmcpTradePositionRsp": {
  16852. "type": "object",
  16853. "properties": {
  16854. "agreeunit": {
  16855. "description": "合约单位",
  16856. "type": "number"
  16857. },
  16858. "buyorsell": {
  16859. "description": "方向 - 0:买 1:卖",
  16860. "type": "integer"
  16861. },
  16862. "curpositionqty": {
  16863. "description": "持仓(总仓数量, 期末头寸)",
  16864. "type": "integer"
  16865. },
  16866. "curtdposition": {
  16867. "description": "今仓数量(期末今日头寸)",
  16868. "type": "integer"
  16869. },
  16870. "curtdpositionenabled": {
  16871. "description": "今仓可用",
  16872. "type": "integer"
  16873. },
  16874. "decimalplace": {
  16875. "description": "报价小数位",
  16876. "type": "integer"
  16877. },
  16878. "enableqty": {
  16879. "description": "可用(总仓可用)",
  16880. "type": "integer"
  16881. },
  16882. "exexchangename": {
  16883. "description": "外部交易所名称",
  16884. "type": "string"
  16885. },
  16886. "goodscode": {
  16887. "description": "商品代码(内部)",
  16888. "type": "string"
  16889. },
  16890. "goodsid": {
  16891. "description": "商品ID(自增ID SEQ_GOODS)",
  16892. "type": "integer"
  16893. },
  16894. "goodsname": {
  16895. "description": "商品名称",
  16896. "type": "string"
  16897. },
  16898. "last": {
  16899. "description": "现价",
  16900. "type": "number"
  16901. },
  16902. "marketid": {
  16903. "description": "所属市场ID",
  16904. "type": "integer"
  16905. },
  16906. "openaverageprice": {
  16907. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  16908. "type": "number"
  16909. },
  16910. "opencost": {
  16911. "description": "开仓成本",
  16912. "type": "number"
  16913. },
  16914. "openpl": {
  16915. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16916. "type": "number"
  16917. },
  16918. "outgoodscode": {
  16919. "description": "商品代码(外部)",
  16920. "type": "string"
  16921. },
  16922. "positionaverageprice": {
  16923. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  16924. "type": "number"
  16925. },
  16926. "positioncost": {
  16927. "description": "持仓成本",
  16928. "type": "number"
  16929. },
  16930. "positionpl": {
  16931. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  16932. "type": "number"
  16933. },
  16934. "positionplrate": {
  16935. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  16936. "type": "number"
  16937. },
  16938. "usedmargin": {
  16939. "description": "占用保证金",
  16940. "type": "number"
  16941. }
  16942. }
  16943. },
  16944. "ermcp.RealtimeExposurePositionRsp": {
  16945. "type": "object",
  16946. "properties": {
  16947. "agreeunit": {
  16948. "description": "合约单位",
  16949. "type": "string"
  16950. },
  16951. "areauserid": {
  16952. "description": "所属机构id",
  16953. "type": "integer"
  16954. },
  16955. "convertratio": {
  16956. "description": "期货品种系数(折算系数)",
  16957. "type": "number"
  16958. },
  16959. "curqty": {
  16960. "description": "当前持仓",
  16961. "type": "integer"
  16962. },
  16963. "diffhedgeqty": {
  16964. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  16965. "type": "number"
  16966. },
  16967. "diffqty": {
  16968. "description": "持仓变动量=当前持仓-昨日持仓",
  16969. "type": "integer"
  16970. },
  16971. "goodscode": {
  16972. "description": "商品代码",
  16973. "type": "string"
  16974. },
  16975. "goodsid": {
  16976. "description": "商品id",
  16977. "type": "integer"
  16978. },
  16979. "goodsname": {
  16980. "description": "商品名称",
  16981. "type": "string"
  16982. },
  16983. "middlegoodsid": {
  16984. "description": "套保商品id",
  16985. "type": "integer"
  16986. },
  16987. "ydqty": {
  16988. "description": "昨日持仓",
  16989. "type": "integer"
  16990. }
  16991. }
  16992. },
  16993. "ermcp.RealtimeExposureRsp": {
  16994. "type": "object",
  16995. "properties": {
  16996. "AreaUserID": {
  16997. "description": "所属机构",
  16998. "type": "integer"
  16999. },
  17000. "BuyFutureQty": {
  17001. "description": "买入期货数量",
  17002. "type": "number"
  17003. },
  17004. "BuyPlanQty": {
  17005. "description": "采购计划数量",
  17006. "type": "number"
  17007. },
  17008. "BuyPricedQty": {
  17009. "description": "采购合同已定价数量",
  17010. "type": "number"
  17011. },
  17012. "MiddleGoodsCode": {
  17013. "description": "套保品种代码",
  17014. "type": "string"
  17015. },
  17016. "MiddleGoodsHedgeRatio": {
  17017. "description": "套保比例",
  17018. "type": "number"
  17019. },
  17020. "MiddleGoodsID": {
  17021. "description": "套保品种",
  17022. "type": "integer"
  17023. },
  17024. "MiddleGoodsName": {
  17025. "description": "套保品种名称",
  17026. "type": "string"
  17027. },
  17028. "NeedHedgeExposoure": {
  17029. "description": "应套保敞口(套保敞口)",
  17030. "type": "number"
  17031. },
  17032. "NeedHedgeRatio": {
  17033. "description": "应套保敞口比例",
  17034. "type": "number"
  17035. },
  17036. "OriBuyFutureQty": {
  17037. "description": "期初买入期货数量",
  17038. "type": "number"
  17039. },
  17040. "OriBuyPlanQty": {
  17041. "description": "期初采购计划数量",
  17042. "type": "number"
  17043. },
  17044. "OriBuyPricedQty": {
  17045. "description": "期初采购合同已定价数量",
  17046. "type": "number"
  17047. },
  17048. "OriSellFutureQty": {
  17049. "description": "期初卖出期货数量",
  17050. "type": "number"
  17051. },
  17052. "OriSellPlanQty": {
  17053. "description": "期初销售计划数量",
  17054. "type": "number"
  17055. },
  17056. "OriSellPricedQty": {
  17057. "description": "期初销售合同已定价数量",
  17058. "type": "number"
  17059. },
  17060. "SellFutureQty": {
  17061. "description": "卖出期货数量",
  17062. "type": "number"
  17063. },
  17064. "SellPlanQty": {
  17065. "description": "销售计划数量",
  17066. "type": "number"
  17067. },
  17068. "SellPricedQty": {
  17069. "description": "销售合同已定价数量",
  17070. "type": "number"
  17071. },
  17072. "TotalExposure": {
  17073. "description": "总敞口 平安:净敞口",
  17074. "type": "number"
  17075. },
  17076. "TotalFutureQty": {
  17077. "description": "期货总量 平安:保值净持仓量",
  17078. "type": "number"
  17079. },
  17080. "TotalHedgeRatio": {
  17081. "description": "敞口比例",
  17082. "type": "number"
  17083. },
  17084. "TotalNeedHedgeQty": {
  17085. "description": "应套保总量(现货应套保总量)",
  17086. "type": "number"
  17087. },
  17088. "TotalSpotQty": {
  17089. "description": "现货总量 平安:采销定价净值",
  17090. "type": "number"
  17091. },
  17092. "arbitrageqty": {
  17093. "description": "套利量",
  17094. "type": "number"
  17095. },
  17096. "diffArbitrageQty": {
  17097. "description": "套利变动量",
  17098. "type": "number"
  17099. },
  17100. "diffExposoureQty": {
  17101. "description": "变动量(套保敞口)",
  17102. "type": "number"
  17103. },
  17104. "diffFutuQty": {
  17105. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  17106. "type": "number"
  17107. },
  17108. "diffHedgeQty": {
  17109. "description": "套保变动量",
  17110. "type": "number"
  17111. },
  17112. "diffQty": {
  17113. "description": "变动量(总敞口) 平安:净敞口今日变动",
  17114. "type": "number"
  17115. },
  17116. "diffSpotHedgeQty": {
  17117. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  17118. "type": "number"
  17119. },
  17120. "diffSpotQty": {
  17121. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  17122. "type": "number"
  17123. },
  17124. "enumdicname": {
  17125. "description": "单位名称",
  17126. "type": "string"
  17127. },
  17128. "hedgeqty": {
  17129. "description": "套保量",
  17130. "type": "number"
  17131. },
  17132. "needarbitrageqty": {
  17133. "description": "应套利量",
  17134. "type": "number"
  17135. },
  17136. "needarbitrageratio": {
  17137. "description": "套利比例",
  17138. "type": "number"
  17139. },
  17140. "needhedgeqty": {
  17141. "description": "应套保量",
  17142. "type": "number"
  17143. },
  17144. "oriTotalFutuQty": {
  17145. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  17146. "type": "number"
  17147. },
  17148. "oriTotalSpotQty": {
  17149. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  17150. "type": "number"
  17151. },
  17152. "oriarbitrageqty": {
  17153. "description": "期初套利量",
  17154. "type": "number"
  17155. },
  17156. "orihedgeqty": {
  17157. "description": "期初套保量",
  17158. "type": "number"
  17159. },
  17160. "orineedhedgeexposoure": {
  17161. "description": "期初套保敞口",
  17162. "type": "number"
  17163. },
  17164. "oritotalexposure": {
  17165. "description": "期初总敞口",
  17166. "type": "number"
  17167. },
  17168. "oritotalfutureqty": {
  17169. "description": "期初期货总量",
  17170. "type": "number"
  17171. },
  17172. "oritotalneedhedgeqty": {
  17173. "description": "期初现货应套保量",
  17174. "type": "number"
  17175. }
  17176. }
  17177. },
  17178. "erms2.QueryArbitrageStrategyRsp": {
  17179. "type": "object",
  17180. "required": [
  17181. "asapplyid"
  17182. ],
  17183. "properties": {
  17184. "applybasis": {
  17185. "description": "申请基差",
  17186. "type": "number"
  17187. },
  17188. "asapplyid": {
  17189. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  17190. "type": "string"
  17191. },
  17192. "asname": {
  17193. "description": "策略名称",
  17194. "type": "string"
  17195. },
  17196. "asno": {
  17197. "description": "策略编号",
  17198. "type": "string"
  17199. },
  17200. "basischangepl": {
  17201. "description": "基差变动损益[结算更新]",
  17202. "type": "number"
  17203. },
  17204. "biztype": {
  17205. "description": "业务类型 - 1:正向套利 -1:反向套利",
  17206. "type": "integer"
  17207. },
  17208. "closetradedate": {
  17209. "description": "完结交易日(yyyyMMdd)",
  17210. "type": "string"
  17211. },
  17212. "curbasis": {
  17213. "description": "当前基差[结算更新]",
  17214. "type": "number"
  17215. },
  17216. "deliverygoodsid": {
  17217. "description": "现货品种ID",
  17218. "type": "integer"
  17219. },
  17220. "futureavgprice": {
  17221. "description": "期货建仓均价",
  17222. "type": "number"
  17223. },
  17224. "futurecloseamount": {
  17225. "description": "期货平仓金额",
  17226. "type": "number"
  17227. },
  17228. "futurecloseqty": {
  17229. "description": "期货平仓数量",
  17230. "type": "number"
  17231. },
  17232. "futureopenamount": {
  17233. "description": "期货开仓金额",
  17234. "type": "number"
  17235. },
  17236. "futureopenqty": {
  17237. "description": "期货开仓数量",
  17238. "type": "number"
  17239. },
  17240. "futurepl": {
  17241. "description": "期货总盈亏[结算更新]",
  17242. "type": "number"
  17243. },
  17244. "futureqty": {
  17245. "description": "期货持仓数量",
  17246. "type": "number"
  17247. },
  17248. "futurequote": {
  17249. "description": "期货额度",
  17250. "type": "number"
  17251. },
  17252. "goodsgroupid": {
  17253. "description": "期货品种ID",
  17254. "type": "integer"
  17255. },
  17256. "marketid": {
  17257. "description": "市场ID",
  17258. "type": "integer"
  17259. },
  17260. "netexposure": {
  17261. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  17262. "type": "number"
  17263. },
  17264. "netexposurepl": {
  17265. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  17266. "type": "number"
  17267. },
  17268. "netexposurerate": {
  17269. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  17270. "type": "number"
  17271. },
  17272. "openbasis": {
  17273. "description": "建仓基差",
  17274. "type": "number"
  17275. },
  17276. "pricedspotqty": {
  17277. "description": "已定价现货数量",
  17278. "type": "number"
  17279. },
  17280. "pricedspotqtynotax": {
  17281. "description": "已定价现货不含税数量",
  17282. "type": "number"
  17283. },
  17284. "remark": {
  17285. "description": "备注",
  17286. "type": "string"
  17287. },
  17288. "spotavgprice": {
  17289. "description": "现货均价",
  17290. "type": "number"
  17291. },
  17292. "spotbuyamount": {
  17293. "description": "现货采购金额",
  17294. "type": "number"
  17295. },
  17296. "spotbuyqty": {
  17297. "description": "现货采购数量",
  17298. "type": "number"
  17299. },
  17300. "spotpl": {
  17301. "description": "现货总盈亏[结算更新]",
  17302. "type": "number"
  17303. },
  17304. "spotquota": {
  17305. "description": "现货额度",
  17306. "type": "number"
  17307. },
  17308. "spotsellamount": {
  17309. "description": "现货销售金额",
  17310. "type": "number"
  17311. },
  17312. "spotsellqty": {
  17313. "description": "现货销售数量",
  17314. "type": "number"
  17315. },
  17316. "spotusedquota": {
  17317. "description": "现货占用资金",
  17318. "type": "number"
  17319. },
  17320. "strategystatus": {
  17321. "description": "策略状态 - 0:未结束 1:已结束",
  17322. "type": "integer"
  17323. },
  17324. "totalpl": {
  17325. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  17326. "type": "number"
  17327. },
  17328. "tradedate": {
  17329. "description": "交易日(yyyyMMdd)",
  17330. "type": "string"
  17331. },
  17332. "updatetime": {
  17333. "description": "更新时间",
  17334. "type": "string"
  17335. },
  17336. "usedquota": {
  17337. "description": "已占用资金",
  17338. "type": "number"
  17339. },
  17340. "userid": {
  17341. "description": "所属机构",
  17342. "type": "integer"
  17343. }
  17344. }
  17345. },
  17346. "erms2.QueryInnerTradeDetailRsp": {
  17347. "type": "object",
  17348. "required": [
  17349. "asapplyid",
  17350. "buyorsell",
  17351. "goodscode",
  17352. "goodsgroupid",
  17353. "goodsgroupname",
  17354. "goodsname",
  17355. "tradeid"
  17356. ],
  17357. "properties": {
  17358. "accountid": {
  17359. "description": "账号ID",
  17360. "type": "integer"
  17361. },
  17362. "agreeunit": {
  17363. "description": "合约单位",
  17364. "type": "number"
  17365. },
  17366. "asapplyid": {
  17367. "description": "策略申请ID",
  17368. "type": "integer"
  17369. },
  17370. "asname": {
  17371. "description": "策略名称",
  17372. "type": "string"
  17373. },
  17374. "asno": {
  17375. "description": "策略编号",
  17376. "type": "string"
  17377. },
  17378. "buyorsell": {
  17379. "description": "方向 - 0:买 1:卖",
  17380. "type": "integer"
  17381. },
  17382. "channelbuildtype": {
  17383. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  17384. "type": "integer"
  17385. },
  17386. "closetype": {
  17387. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  17388. "type": "integer"
  17389. },
  17390. "decimalplace": {
  17391. "description": "报价小数位",
  17392. "type": "integer"
  17393. },
  17394. "detailtype": {
  17395. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  17396. "type": "integer"
  17397. },
  17398. "exexchangecode": {
  17399. "description": "外部交易所代码",
  17400. "type": "string"
  17401. },
  17402. "exexchangename": {
  17403. "description": "外部交易所名称",
  17404. "type": "string"
  17405. },
  17406. "goodscode": {
  17407. "description": "商品代码(合约)",
  17408. "type": "string"
  17409. },
  17410. "goodsgroupid": {
  17411. "description": "商品组ID(品种ID)",
  17412. "type": "integer"
  17413. },
  17414. "goodsgroupname": {
  17415. "description": "商品组名称(品种)",
  17416. "type": "string"
  17417. },
  17418. "goodsid": {
  17419. "description": "商品ID",
  17420. "type": "integer"
  17421. },
  17422. "goodsname": {
  17423. "description": "商品名称(合约)",
  17424. "type": "string"
  17425. },
  17426. "goodunit": {
  17427. "description": "报价单位",
  17428. "type": "string"
  17429. },
  17430. "marketid": {
  17431. "description": "市场ID",
  17432. "type": "integer"
  17433. },
  17434. "orderid": {
  17435. "description": "委托单号",
  17436. "type": "string"
  17437. },
  17438. "outgoodscode": {
  17439. "description": "商品代码(外部)",
  17440. "type": "string"
  17441. },
  17442. "relatedouttradeid": {
  17443. "description": "关联外部成交单ID",
  17444. "type": "string"
  17445. },
  17446. "remark": {
  17447. "description": "备注",
  17448. "type": "string"
  17449. },
  17450. "spotcontractid": {
  17451. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  17452. "type": "integer"
  17453. },
  17454. "spotcontractno": {
  17455. "description": "现货合同编号",
  17456. "type": "string"
  17457. },
  17458. "tradeid": {
  17459. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17460. "type": "string"
  17461. },
  17462. "tradeprice": {
  17463. "description": "成交价格",
  17464. "type": "number"
  17465. },
  17466. "tradeqty": {
  17467. "description": "成交数量",
  17468. "type": "integer"
  17469. },
  17470. "tradetime": {
  17471. "description": "成交时间",
  17472. "type": "string"
  17473. },
  17474. "updatetime": {
  17475. "description": "更新时间",
  17476. "type": "string"
  17477. }
  17478. }
  17479. },
  17480. "erms2.QuerySpotContractRsp": {
  17481. "type": "object",
  17482. "required": [
  17483. "spotcontractid"
  17484. ],
  17485. "properties": {
  17486. "accountid": {
  17487. "description": "资金账户ID",
  17488. "type": "integer"
  17489. },
  17490. "areauserid": {
  17491. "description": "所属机构",
  17492. "type": "integer"
  17493. },
  17494. "closedate": {
  17495. "description": "终止日期",
  17496. "type": "string"
  17497. },
  17498. "closeremark": {
  17499. "description": "结束备注",
  17500. "type": "string"
  17501. },
  17502. "closetradedate": {
  17503. "description": "完结交易日(yyyyMMdd)",
  17504. "type": "string"
  17505. },
  17506. "closetype": {
  17507. "description": "终止类型 - 1:违约 2:提前终止",
  17508. "type": "integer"
  17509. },
  17510. "contractamount": {
  17511. "description": "合同金额",
  17512. "type": "number"
  17513. },
  17514. "contractattachment": {
  17515. "description": "合同附件",
  17516. "type": "string"
  17517. },
  17518. "contractno": {
  17519. "description": "现货合同编号",
  17520. "type": "string"
  17521. },
  17522. "contractqty": {
  17523. "description": "合同数量(数值) (用于计算)",
  17524. "type": "number"
  17525. },
  17526. "contractqtychar": {
  17527. "description": "合同数量\\已订价数量 (用于显示)",
  17528. "type": "string"
  17529. },
  17530. "contractstatus": {
  17531. "description": "合同状态 - 0:未结束 1:已结束",
  17532. "type": "integer"
  17533. },
  17534. "contracttype": {
  17535. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  17536. "type": "integer"
  17537. },
  17538. "customeraccountid": {
  17539. "description": "客户资金账户ID",
  17540. "type": "integer"
  17541. },
  17542. "customeruserid": {
  17543. "description": "客户ID",
  17544. "type": "integer"
  17545. },
  17546. "deliverygoodsdesc": {
  17547. "description": "品种说明",
  17548. "type": "string"
  17549. },
  17550. "deliverygoodsid": {
  17551. "description": "现货品种ID",
  17552. "type": "integer"
  17553. },
  17554. "handlestatus": {
  17555. "description": "处理状态",
  17556. "type": "integer"
  17557. },
  17558. "invoiceatt": {
  17559. "description": "发票附件",
  17560. "type": "string"
  17561. },
  17562. "invoicedatetime": {
  17563. "description": "开收票更新时间",
  17564. "type": "string"
  17565. },
  17566. "invoiceopentime": {
  17567. "description": "开票时间",
  17568. "type": "string"
  17569. },
  17570. "invoiceremark": {
  17571. "description": "发票备注",
  17572. "type": "string"
  17573. },
  17574. "invoicestatus": {
  17575. "description": "开收票状态 - 0:未开票 1:已开票",
  17576. "type": "integer"
  17577. },
  17578. "lastdate": {
  17579. "description": "交货时间",
  17580. "type": "string"
  17581. },
  17582. "marketid": {
  17583. "description": "市场ID",
  17584. "type": "integer"
  17585. },
  17586. "paydatetime": {
  17587. "description": "收付款更新时间",
  17588. "type": "string"
  17589. },
  17590. "payremark": {
  17591. "description": "收付款备注",
  17592. "type": "string"
  17593. },
  17594. "paystatus": {
  17595. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  17596. "type": "integer"
  17597. },
  17598. "positionqty": {
  17599. "description": "头寸数量 - 合同数量去小数部分",
  17600. "type": "integer"
  17601. },
  17602. "producttype": {
  17603. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17604. "type": "integer"
  17605. },
  17606. "relatedqty": {
  17607. "description": "已关联数量",
  17608. "type": "number"
  17609. },
  17610. "relatedstatus": {
  17611. "description": "关联完结状态 - 0:未结束 1:已结束",
  17612. "type": "integer"
  17613. },
  17614. "remark": {
  17615. "description": "备注",
  17616. "type": "string"
  17617. },
  17618. "signdate": {
  17619. "description": "签订日期",
  17620. "type": "string"
  17621. },
  17622. "spotcontractid": {
  17623. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  17624. "type": "string"
  17625. },
  17626. "spotdatetime": {
  17627. "description": "收发货更新时间",
  17628. "type": "string"
  17629. },
  17630. "spotprice": {
  17631. "description": "价格",
  17632. "type": "number"
  17633. },
  17634. "spotremark": {
  17635. "description": "收发货备注",
  17636. "type": "string"
  17637. },
  17638. "spotstatus": {
  17639. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  17640. "type": "integer"
  17641. },
  17642. "tradedate": {
  17643. "description": "交易日(yyyyMMdd)",
  17644. "type": "string"
  17645. },
  17646. "userid": {
  17647. "description": "业务员用户ID",
  17648. "type": "integer"
  17649. },
  17650. "warehouseid": {
  17651. "description": "仓库ID",
  17652. "type": "integer"
  17653. },
  17654. "wrfactortypeid": {
  17655. "description": "仓单要素类型ID",
  17656. "type": "integer"
  17657. },
  17658. "wrstandardid": {
  17659. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17660. "type": "integer"
  17661. }
  17662. }
  17663. },
  17664. "erms3.AddErms2ASApplyReq": {
  17665. "type": "object",
  17666. "required": [
  17667. "asapplyid"
  17668. ],
  17669. "properties": {
  17670. "applybasis": {
  17671. "description": "申请基差",
  17672. "type": "number"
  17673. },
  17674. "applystatus": {
  17675. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17676. "type": "integer"
  17677. },
  17678. "asapplyid": {
  17679. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  17680. "type": "integer"
  17681. },
  17682. "asname": {
  17683. "description": "策略名称",
  17684. "type": "string"
  17685. },
  17686. "asno": {
  17687. "description": "策略编号",
  17688. "type": "string"
  17689. },
  17690. "auditid": {
  17691. "description": "审核人",
  17692. "type": "integer"
  17693. },
  17694. "auditremark": {
  17695. "description": "审核备注",
  17696. "type": "string"
  17697. },
  17698. "audittime": {
  17699. "description": "审核时间",
  17700. "type": "string"
  17701. },
  17702. "biztype": {
  17703. "description": "业务类型 - 1:正向套利 2:反向套利",
  17704. "type": "integer"
  17705. },
  17706. "createtime": {
  17707. "description": "创建时间",
  17708. "type": "string"
  17709. },
  17710. "creatorid": {
  17711. "description": "创建人",
  17712. "type": "integer"
  17713. },
  17714. "deliverygoodsid": {
  17715. "description": "现货品种ID",
  17716. "type": "integer"
  17717. },
  17718. "futurequote": {
  17719. "description": "期货额度",
  17720. "type": "number"
  17721. },
  17722. "goodsgroupid": {
  17723. "description": "期货品种ID",
  17724. "type": "integer"
  17725. },
  17726. "marketid": {
  17727. "description": "市场ID",
  17728. "type": "integer"
  17729. },
  17730. "remark": {
  17731. "description": "备注",
  17732. "type": "string"
  17733. },
  17734. "spotquota": {
  17735. "description": "现货额度",
  17736. "type": "number"
  17737. },
  17738. "tradedate": {
  17739. "description": "交易日(yyyyMMdd)",
  17740. "type": "string"
  17741. },
  17742. "userid": {
  17743. "description": "所属机构",
  17744. "type": "integer"
  17745. }
  17746. }
  17747. },
  17748. "erms3.AddErms2SpotTradeApplyReq": {
  17749. "type": "object",
  17750. "required": [
  17751. "spottradeid"
  17752. ],
  17753. "properties": {
  17754. "applyjsondetail": {
  17755. "description": "申请明细(JSON)",
  17756. "type": "string"
  17757. },
  17758. "applystatus": {
  17759. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17760. "type": "integer"
  17761. },
  17762. "areauserid": {
  17763. "description": "所属机构",
  17764. "type": "integer"
  17765. },
  17766. "auditid": {
  17767. "description": "审核人",
  17768. "type": "integer"
  17769. },
  17770. "auditremark": {
  17771. "description": "审核备注",
  17772. "type": "string"
  17773. },
  17774. "audittime": {
  17775. "description": "审核时间",
  17776. "type": "string"
  17777. },
  17778. "createtime": {
  17779. "description": "创建时间",
  17780. "type": "string"
  17781. },
  17782. "creatorid": {
  17783. "description": "创建人",
  17784. "type": "integer"
  17785. },
  17786. "deliverygoodsid": {
  17787. "description": "现货品种ID",
  17788. "type": "integer"
  17789. },
  17790. "futureaccountid": {
  17791. "description": "期货资金账户",
  17792. "type": "integer"
  17793. },
  17794. "goodsgroupid": {
  17795. "description": "期货品种",
  17796. "type": "integer"
  17797. },
  17798. "marketid": {
  17799. "description": "市场ID",
  17800. "type": "integer"
  17801. },
  17802. "remark": {
  17803. "description": "备注",
  17804. "type": "string"
  17805. },
  17806. "spotaccountid": {
  17807. "description": "现货资金账户",
  17808. "type": "integer"
  17809. },
  17810. "spottradeid": {
  17811. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  17812. "type": "integer"
  17813. },
  17814. "spottradename": {
  17815. "description": "业务名称",
  17816. "type": "string"
  17817. },
  17818. "spottradeno": {
  17819. "description": "业务编号",
  17820. "type": "string"
  17821. },
  17822. "tradedate": {
  17823. "description": "交易日(yyyyMMdd)",
  17824. "type": "string"
  17825. },
  17826. "wrstandardid": {
  17827. "description": "仓单标准ID",
  17828. "type": "integer"
  17829. }
  17830. }
  17831. },
  17832. "erms3.AddSpotContractApplyReq": {
  17833. "type": "object",
  17834. "required": [
  17835. "accountid",
  17836. "areauserid",
  17837. "contractno",
  17838. "contracttype",
  17839. "customeraccountid",
  17840. "customeruserid",
  17841. "details",
  17842. "orimargin",
  17843. "signdate"
  17844. ],
  17845. "properties": {
  17846. "accountid": {
  17847. "description": "资金账户ID",
  17848. "type": "integer"
  17849. },
  17850. "areauserid": {
  17851. "description": "所属机构",
  17852. "type": "integer"
  17853. },
  17854. "contractattachment": {
  17855. "description": "合同附件",
  17856. "type": "string"
  17857. },
  17858. "contractno": {
  17859. "description": "现货合同编号",
  17860. "type": "string"
  17861. },
  17862. "contracttype": {
  17863. "description": "现货合同类型 - 1:采购 -1:销售",
  17864. "type": "integer"
  17865. },
  17866. "creatorid": {
  17867. "description": "申请人",
  17868. "type": "integer"
  17869. },
  17870. "customeraccountid": {
  17871. "description": "客户资金账户ID",
  17872. "type": "integer"
  17873. },
  17874. "customeruserid": {
  17875. "description": "客户ID",
  17876. "type": "integer"
  17877. },
  17878. "details": {
  17879. "description": "明细",
  17880. "type": "array",
  17881. "items": {
  17882. "$ref": "#/definitions/erms3.SoptContractDetail"
  17883. }
  17884. },
  17885. "orimargin": {
  17886. "description": "初始保证金",
  17887. "type": "number"
  17888. },
  17889. "remark": {
  17890. "description": "备注",
  17891. "type": "string"
  17892. },
  17893. "signdate": {
  17894. "description": "签订日期",
  17895. "type": "string"
  17896. }
  17897. }
  17898. },
  17899. "erms3.AddSpotContractApplyRsp": {
  17900. "type": "object",
  17901. "required": [
  17902. "contractno"
  17903. ],
  17904. "properties": {
  17905. "contractno": {
  17906. "description": "现货合同编号",
  17907. "type": "string"
  17908. },
  17909. "spotcontractid": {
  17910. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  17911. "type": "integer"
  17912. }
  17913. }
  17914. },
  17915. "erms3.AddUserInfoApplyReq": {
  17916. "type": "object",
  17917. "required": [
  17918. "userid"
  17919. ],
  17920. "properties": {
  17921. "accountid": {
  17922. "description": "交易系统帐号Id (加密存储)",
  17923. "type": "integer"
  17924. },
  17925. "areacode": {
  17926. "description": "机构代码",
  17927. "type": "string"
  17928. },
  17929. "areaid": {
  17930. "description": "机构Id",
  17931. "type": "integer"
  17932. },
  17933. "attachment1": {
  17934. "description": "附件1",
  17935. "type": "string"
  17936. },
  17937. "attachment2": {
  17938. "description": "附件2",
  17939. "type": "string"
  17940. },
  17941. "attachment3": {
  17942. "description": "附件3",
  17943. "type": "string"
  17944. },
  17945. "attachment4": {
  17946. "description": "附件4",
  17947. "type": "string"
  17948. },
  17949. "attachment5": {
  17950. "description": "附件5",
  17951. "type": "string"
  17952. },
  17953. "auditedby": {
  17954. "description": "审核人",
  17955. "type": "string"
  17956. },
  17957. "auditime": {
  17958. "description": "审核时间",
  17959. "type": "string"
  17960. },
  17961. "auditsrc": {
  17962. "description": "审核来源 - 1:管理端 2:终端",
  17963. "type": "integer"
  17964. },
  17965. "bankaccount": {
  17966. "description": "银行帐号 (加密存储)",
  17967. "type": "string"
  17968. },
  17969. "bankaccountname": {
  17970. "description": "收款人名称",
  17971. "type": "string"
  17972. },
  17973. "bankcardbackphotourl": {
  17974. "description": "银行卡背面照地址",
  17975. "type": "string"
  17976. },
  17977. "bankcardfrontphotourl": {
  17978. "description": "银行卡正面照地址",
  17979. "type": "string"
  17980. },
  17981. "bankid": {
  17982. "description": "银行编码",
  17983. "type": "string"
  17984. },
  17985. "bankname": {
  17986. "description": "银行名称",
  17987. "type": "string"
  17988. },
  17989. "bankpictureurl": {
  17990. "description": "银行卡正面地址",
  17991. "type": "string"
  17992. },
  17993. "biznature": {
  17994. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  17995. "type": "integer"
  17996. },
  17997. "bizscope": {
  17998. "description": "企业经营范围(企业)",
  17999. "type": "string"
  18000. },
  18001. "biztype": {
  18002. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18003. "type": "integer"
  18004. },
  18005. "brokerid": {
  18006. "description": "经纪人ID(加密存储)",
  18007. "type": "string"
  18008. },
  18009. "cardaddress": {
  18010. "description": "证件地址 (加密存储)",
  18011. "type": "string"
  18012. },
  18013. "cardbackphotourl": {
  18014. "description": "背面证件照地址",
  18015. "type": "string"
  18016. },
  18017. "cardfrontphotourl": {
  18018. "description": "正面证件照地址",
  18019. "type": "string"
  18020. },
  18021. "cardnum": {
  18022. "description": "证件号码 (加密存储)",
  18023. "type": "string"
  18024. },
  18025. "cardtype": {
  18026. "description": "证件类型",
  18027. "type": "integer"
  18028. },
  18029. "cityid": {
  18030. "description": "市",
  18031. "type": "integer"
  18032. },
  18033. "company": {
  18034. "description": "公司(个人)",
  18035. "type": "string"
  18036. },
  18037. "contactcardbackphotourl": {
  18038. "description": "联系人证件背面图片地址",
  18039. "type": "string"
  18040. },
  18041. "contactcardfrontphotourl": {
  18042. "description": "联系人证件正面图片地址",
  18043. "type": "string"
  18044. },
  18045. "contactname": {
  18046. "description": "联系人",
  18047. "type": "string"
  18048. },
  18049. "countryid": {
  18050. "description": "国家",
  18051. "type": "integer"
  18052. },
  18053. "createtime": {
  18054. "description": "开户申请时间",
  18055. "type": "string"
  18056. },
  18057. "cusbankid": {
  18058. "description": "签约类型",
  18059. "type": "string"
  18060. },
  18061. "cusbankname": {
  18062. "description": "签约类型名称",
  18063. "type": "string"
  18064. },
  18065. "customername": {
  18066. "description": "客户名称(企业名称)",
  18067. "type": "string"
  18068. },
  18069. "districtid": {
  18070. "description": "地区",
  18071. "type": "integer"
  18072. },
  18073. "email": {
  18074. "description": "Email地址(加密存储)",
  18075. "type": "string"
  18076. },
  18077. "halfbodyphotourl": {
  18078. "description": "半身照地址",
  18079. "type": "string"
  18080. },
  18081. "headurl": {
  18082. "description": "头像地址",
  18083. "type": "string"
  18084. },
  18085. "ipaddress": {
  18086. "description": "IP地址",
  18087. "type": "string"
  18088. },
  18089. "isvalidate": {
  18090. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18091. "type": "string"
  18092. },
  18093. "legalcardbackphotourl": {
  18094. "description": "法人身份证背面照地址",
  18095. "type": "string"
  18096. },
  18097. "legalcardfrontphotourl": {
  18098. "description": "法人身份证正面照地址",
  18099. "type": "string"
  18100. },
  18101. "legalpersonname": {
  18102. "description": "法人姓名(企业)",
  18103. "type": "string"
  18104. },
  18105. "logincode": {
  18106. "description": "登录帐号 (加密存储)",
  18107. "type": "string"
  18108. },
  18109. "memberareaid": {
  18110. "description": "所属会员ID",
  18111. "type": "integer"
  18112. },
  18113. "mobile2": {
  18114. "description": "手机号码[明文-尚志]",
  18115. "type": "string"
  18116. },
  18117. "mobilephone": {
  18118. "description": "手机号码 (加密存储)",
  18119. "type": "string"
  18120. },
  18121. "modifiedby": {
  18122. "description": "修改人帐号",
  18123. "type": "integer"
  18124. },
  18125. "modifiedtime": {
  18126. "description": "修改时间",
  18127. "type": "string"
  18128. },
  18129. "nickname": {
  18130. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18131. "type": "string"
  18132. },
  18133. "openmode": {
  18134. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18135. "type": "integer"
  18136. },
  18137. "otherurl": {
  18138. "description": "其它图片地址[使用分号分隔]",
  18139. "type": "string"
  18140. },
  18141. "postalcode": {
  18142. "description": "邮政编码",
  18143. "type": "string"
  18144. },
  18145. "provinceid": {
  18146. "description": "省",
  18147. "type": "integer"
  18148. },
  18149. "proxystatementurl": {
  18150. "description": "授权委托书",
  18151. "type": "string"
  18152. },
  18153. "qq": {
  18154. "description": "QQ(加密存储",
  18155. "type": "string"
  18156. },
  18157. "referral": {
  18158. "description": "推荐人编码",
  18159. "type": "string"
  18160. },
  18161. "remark": {
  18162. "description": "备注",
  18163. "type": "string"
  18164. },
  18165. "removebeforestatus": {
  18166. "description": "REMOVEBEFORESTATUS",
  18167. "type": "integer"
  18168. },
  18169. "sex": {
  18170. "description": "性别 - 0:女 1:男",
  18171. "type": "integer"
  18172. },
  18173. "signedstatus": {
  18174. "description": "账户一号签签约状态",
  18175. "type": "integer"
  18176. },
  18177. "signpdfurl": {
  18178. "description": "签约pdf文件",
  18179. "type": "string"
  18180. },
  18181. "subbranch": {
  18182. "description": "开户支行",
  18183. "type": "string"
  18184. },
  18185. "taxpayernum": {
  18186. "description": "纳税人识别号",
  18187. "type": "string"
  18188. },
  18189. "telphone": {
  18190. "description": "联系电话(加密存储)",
  18191. "type": "string"
  18192. },
  18193. "userid": {
  18194. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18195. "type": "integer"
  18196. },
  18197. "userinfotype": {
  18198. "description": "用户信息类型 - 1:个人 2:企业",
  18199. "type": "integer"
  18200. },
  18201. "username": {
  18202. "description": "用户姓名",
  18203. "type": "string"
  18204. },
  18205. "userstate": {
  18206. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18207. "type": "integer"
  18208. },
  18209. "usertype": {
  18210. "description": "用户类型 - 1:投资者 2:机构",
  18211. "type": "integer"
  18212. },
  18213. "videourl": {
  18214. "description": "视频地址",
  18215. "type": "string"
  18216. },
  18217. "wechat": {
  18218. "description": "微信号 (加密存储)",
  18219. "type": "string"
  18220. }
  18221. }
  18222. },
  18223. "erms3.CustomerInfo": {
  18224. "type": "object",
  18225. "required": [
  18226. "userid"
  18227. ],
  18228. "properties": {
  18229. "accountids": {
  18230. "description": "资金账户ID列表",
  18231. "type": "array",
  18232. "items": {
  18233. "type": "integer"
  18234. }
  18235. },
  18236. "customername": {
  18237. "description": "名称(企业名称)",
  18238. "type": "string"
  18239. },
  18240. "mobile": {
  18241. "description": "手机号码",
  18242. "type": "string"
  18243. },
  18244. "userid": {
  18245. "description": "用户ID",
  18246. "type": "integer"
  18247. }
  18248. }
  18249. },
  18250. "erms3.ModifyUserInfoApplyReq": {
  18251. "type": "object",
  18252. "required": [
  18253. "userid"
  18254. ],
  18255. "properties": {
  18256. "accountid": {
  18257. "description": "交易系统帐号Id (加密存储)",
  18258. "type": "integer"
  18259. },
  18260. "areacode": {
  18261. "description": "机构代码",
  18262. "type": "string"
  18263. },
  18264. "areaid": {
  18265. "description": "机构Id",
  18266. "type": "integer"
  18267. },
  18268. "attachment1": {
  18269. "description": "附件1",
  18270. "type": "string"
  18271. },
  18272. "attachment2": {
  18273. "description": "附件2",
  18274. "type": "string"
  18275. },
  18276. "attachment3": {
  18277. "description": "附件3",
  18278. "type": "string"
  18279. },
  18280. "attachment4": {
  18281. "description": "附件4",
  18282. "type": "string"
  18283. },
  18284. "attachment5": {
  18285. "description": "附件5",
  18286. "type": "string"
  18287. },
  18288. "auditedby": {
  18289. "description": "审核人",
  18290. "type": "string"
  18291. },
  18292. "auditime": {
  18293. "description": "审核时间",
  18294. "type": "string"
  18295. },
  18296. "auditsrc": {
  18297. "description": "审核来源 - 1:管理端 2:终端",
  18298. "type": "integer"
  18299. },
  18300. "bankaccount": {
  18301. "description": "银行帐号 (加密存储)",
  18302. "type": "string"
  18303. },
  18304. "bankaccountname": {
  18305. "description": "收款人名称",
  18306. "type": "string"
  18307. },
  18308. "bankcardbackphotourl": {
  18309. "description": "银行卡背面照地址",
  18310. "type": "string"
  18311. },
  18312. "bankcardfrontphotourl": {
  18313. "description": "银行卡正面照地址",
  18314. "type": "string"
  18315. },
  18316. "bankid": {
  18317. "description": "银行编码",
  18318. "type": "string"
  18319. },
  18320. "bankname": {
  18321. "description": "银行名称",
  18322. "type": "string"
  18323. },
  18324. "bankpictureurl": {
  18325. "description": "银行卡正面地址",
  18326. "type": "string"
  18327. },
  18328. "biznature": {
  18329. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18330. "type": "integer"
  18331. },
  18332. "bizscope": {
  18333. "description": "企业经营范围(企业)",
  18334. "type": "string"
  18335. },
  18336. "biztype": {
  18337. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18338. "type": "integer"
  18339. },
  18340. "brokerid": {
  18341. "description": "经纪人ID(加密存储)",
  18342. "type": "string"
  18343. },
  18344. "cardaddress": {
  18345. "description": "证件地址 (加密存储)",
  18346. "type": "string"
  18347. },
  18348. "cardbackphotourl": {
  18349. "description": "背面证件照地址",
  18350. "type": "string"
  18351. },
  18352. "cardfrontphotourl": {
  18353. "description": "正面证件照地址",
  18354. "type": "string"
  18355. },
  18356. "cardnum": {
  18357. "description": "证件号码 (加密存储)",
  18358. "type": "string"
  18359. },
  18360. "cardtype": {
  18361. "description": "证件类型",
  18362. "type": "integer"
  18363. },
  18364. "cityid": {
  18365. "description": "市",
  18366. "type": "integer"
  18367. },
  18368. "company": {
  18369. "description": "公司(个人)",
  18370. "type": "string"
  18371. },
  18372. "contactcardbackphotourl": {
  18373. "description": "联系人证件背面图片地址",
  18374. "type": "string"
  18375. },
  18376. "contactcardfrontphotourl": {
  18377. "description": "联系人证件正面图片地址",
  18378. "type": "string"
  18379. },
  18380. "contactname": {
  18381. "description": "联系人",
  18382. "type": "string"
  18383. },
  18384. "countryid": {
  18385. "description": "国家",
  18386. "type": "integer"
  18387. },
  18388. "createtime": {
  18389. "description": "开户申请时间",
  18390. "type": "string"
  18391. },
  18392. "cusbankid": {
  18393. "description": "签约类型",
  18394. "type": "string"
  18395. },
  18396. "cusbankname": {
  18397. "description": "签约类型名称",
  18398. "type": "string"
  18399. },
  18400. "customername": {
  18401. "description": "客户名称(企业名称)",
  18402. "type": "string"
  18403. },
  18404. "districtid": {
  18405. "description": "地区",
  18406. "type": "integer"
  18407. },
  18408. "email": {
  18409. "description": "Email地址(加密存储)",
  18410. "type": "string"
  18411. },
  18412. "halfbodyphotourl": {
  18413. "description": "半身照地址",
  18414. "type": "string"
  18415. },
  18416. "headurl": {
  18417. "description": "头像地址",
  18418. "type": "string"
  18419. },
  18420. "ipaddress": {
  18421. "description": "IP地址",
  18422. "type": "string"
  18423. },
  18424. "isvalidate": {
  18425. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18426. "type": "string"
  18427. },
  18428. "legalcardbackphotourl": {
  18429. "description": "法人身份证背面照地址",
  18430. "type": "string"
  18431. },
  18432. "legalcardfrontphotourl": {
  18433. "description": "法人身份证正面照地址",
  18434. "type": "string"
  18435. },
  18436. "legalpersonname": {
  18437. "description": "法人姓名(企业)",
  18438. "type": "string"
  18439. },
  18440. "logincode": {
  18441. "description": "登录帐号 (加密存储)",
  18442. "type": "string"
  18443. },
  18444. "memberareaid": {
  18445. "description": "所属会员ID",
  18446. "type": "integer"
  18447. },
  18448. "mobile2": {
  18449. "description": "手机号码[明文-尚志]",
  18450. "type": "string"
  18451. },
  18452. "mobilephone": {
  18453. "description": "手机号码 (加密存储)",
  18454. "type": "string"
  18455. },
  18456. "modifiedby": {
  18457. "description": "修改人帐号",
  18458. "type": "integer"
  18459. },
  18460. "modifiedtime": {
  18461. "description": "修改时间",
  18462. "type": "string"
  18463. },
  18464. "nickname": {
  18465. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18466. "type": "string"
  18467. },
  18468. "openmode": {
  18469. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18470. "type": "integer"
  18471. },
  18472. "otherurl": {
  18473. "description": "其它图片地址[使用分号分隔]",
  18474. "type": "string"
  18475. },
  18476. "postalcode": {
  18477. "description": "邮政编码",
  18478. "type": "string"
  18479. },
  18480. "provinceid": {
  18481. "description": "省",
  18482. "type": "integer"
  18483. },
  18484. "proxystatementurl": {
  18485. "description": "授权委托书",
  18486. "type": "string"
  18487. },
  18488. "qq": {
  18489. "description": "QQ(加密存储",
  18490. "type": "string"
  18491. },
  18492. "referral": {
  18493. "description": "推荐人编码",
  18494. "type": "string"
  18495. },
  18496. "remark": {
  18497. "description": "备注",
  18498. "type": "string"
  18499. },
  18500. "removebeforestatus": {
  18501. "description": "REMOVEBEFORESTATUS",
  18502. "type": "integer"
  18503. },
  18504. "sex": {
  18505. "description": "性别 - 0:女 1:男",
  18506. "type": "integer"
  18507. },
  18508. "signedstatus": {
  18509. "description": "账户一号签签约状态",
  18510. "type": "integer"
  18511. },
  18512. "signpdfurl": {
  18513. "description": "签约pdf文件",
  18514. "type": "string"
  18515. },
  18516. "subbranch": {
  18517. "description": "开户支行",
  18518. "type": "string"
  18519. },
  18520. "taxpayernum": {
  18521. "description": "纳税人识别号",
  18522. "type": "string"
  18523. },
  18524. "telphone": {
  18525. "description": "联系电话(加密存储)",
  18526. "type": "string"
  18527. },
  18528. "userid": {
  18529. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18530. "type": "integer"
  18531. },
  18532. "userinfotype": {
  18533. "description": "用户信息类型 - 1:个人 2:企业",
  18534. "type": "integer"
  18535. },
  18536. "username": {
  18537. "description": "用户姓名",
  18538. "type": "string"
  18539. },
  18540. "userstate": {
  18541. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18542. "type": "integer"
  18543. },
  18544. "usertype": {
  18545. "description": "用户类型 - 1:投资者 2:机构",
  18546. "type": "integer"
  18547. },
  18548. "videourl": {
  18549. "description": "视频地址",
  18550. "type": "string"
  18551. },
  18552. "wechat": {
  18553. "description": "微信号 (加密存储)",
  18554. "type": "string"
  18555. }
  18556. }
  18557. },
  18558. "erms3.QryAuditContractRsp": {
  18559. "type": "object",
  18560. "required": [
  18561. "matchcustomername",
  18562. "spotcontractid"
  18563. ],
  18564. "properties": {
  18565. "accountid": {
  18566. "description": "交易员ID",
  18567. "type": "string"
  18568. },
  18569. "applystatus": {
  18570. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18571. "type": "integer"
  18572. },
  18573. "curdeliveryqty": {
  18574. "description": "未交收量",
  18575. "type": "integer"
  18576. },
  18577. "customername": {
  18578. "description": "采购方ID",
  18579. "type": "string"
  18580. },
  18581. "deliverygoodsid": {
  18582. "description": "品种ID",
  18583. "type": "string"
  18584. },
  18585. "deliveryqty": {
  18586. "description": "交收量",
  18587. "type": "integer"
  18588. },
  18589. "enumdicname": {
  18590. "description": "单位名称",
  18591. "type": "string"
  18592. },
  18593. "matchaccountid": {
  18594. "description": "业务员ID",
  18595. "type": "string"
  18596. },
  18597. "matchcustomername": {
  18598. "description": "销售方ID",
  18599. "type": "string"
  18600. },
  18601. "pricedqty": {
  18602. "description": "定价量",
  18603. "type": "number"
  18604. },
  18605. "signdate": {
  18606. "description": "签订日期",
  18607. "type": "string"
  18608. },
  18609. "spotcontractid": {
  18610. "description": "合同ID",
  18611. "type": "string"
  18612. },
  18613. "totaldqty": {
  18614. "description": "合同量",
  18615. "type": "number"
  18616. },
  18617. "unpricedqty": {
  18618. "description": "未定价量",
  18619. "type": "number"
  18620. },
  18621. "wrstandardname": {
  18622. "description": "商品名称",
  18623. "type": "string"
  18624. }
  18625. }
  18626. },
  18627. "erms3.QryPendingBizRsp": {
  18628. "type": "object",
  18629. "properties": {
  18630. "accountid": {
  18631. "description": "现货账户",
  18632. "type": "string"
  18633. },
  18634. "areaname": {
  18635. "description": "所属部门",
  18636. "type": "string"
  18637. },
  18638. "bizid": {
  18639. "description": "业务ID",
  18640. "type": "string"
  18641. },
  18642. "bizname": {
  18643. "description": "业务名称",
  18644. "type": "string"
  18645. },
  18646. "status": {
  18647. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18648. "type": "integer"
  18649. },
  18650. "type": {
  18651. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  18652. "type": "integer"
  18653. }
  18654. }
  18655. },
  18656. "erms3.QueryBusinessInfoRsp": {
  18657. "type": "object",
  18658. "properties": {
  18659. "businessid": {
  18660. "description": "业务ID.",
  18661. "type": "integer"
  18662. },
  18663. "buyamount": {
  18664. "description": "采购额.",
  18665. "type": "number"
  18666. },
  18667. "buyqty": {
  18668. "description": "采购量.",
  18669. "type": "string"
  18670. },
  18671. "futurepl": {
  18672. "description": "期货盈亏.",
  18673. "type": "number"
  18674. },
  18675. "futureqty": {
  18676. "description": "期货敞口.",
  18677. "type": "string"
  18678. },
  18679. "goodsid": {
  18680. "description": "商品名称/商品代码.",
  18681. "type": "string"
  18682. },
  18683. "hedgingqty": {
  18684. "description": "套保量.",
  18685. "type": "string"
  18686. },
  18687. "sellamount": {
  18688. "description": "销售额.",
  18689. "type": "number"
  18690. },
  18691. "sellqty": {
  18692. "description": "销售量.",
  18693. "type": "string"
  18694. },
  18695. "spotmarketvalue": {
  18696. "description": "现货市值.",
  18697. "type": "number"
  18698. },
  18699. "spotpl": {
  18700. "description": "浮动权益.",
  18701. "type": "number"
  18702. },
  18703. "spotqty": {
  18704. "description": "现货量.",
  18705. "type": "string"
  18706. },
  18707. "statu": {
  18708. "description": "状态,0-未结束 1-已结束.",
  18709. "type": "integer"
  18710. },
  18711. "totalpl": {
  18712. "description": "总盈亏.",
  18713. "type": "number"
  18714. },
  18715. "totalqty": {
  18716. "description": "总敞口.",
  18717. "type": "string"
  18718. },
  18719. "type": {
  18720. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  18721. "type": "integer"
  18722. }
  18723. }
  18724. },
  18725. "erms3.QuerySpotContractAppleFormRsp": {
  18726. "type": "object",
  18727. "properties": {
  18728. "goodses": {
  18729. "description": "合约列表",
  18730. "type": "array",
  18731. "items": {
  18732. "$ref": "#/definitions/models.GoodsIDAndName"
  18733. }
  18734. },
  18735. "oppositeusers": {
  18736. "description": "对方账号列表",
  18737. "type": "array",
  18738. "items": {
  18739. "$ref": "#/definitions/erms3.CustomerInfo"
  18740. }
  18741. },
  18742. "ouruser": {
  18743. "description": "我方账号",
  18744. "$ref": "#/definitions/erms3.CustomerInfo"
  18745. },
  18746. "warehouseinfos": {
  18747. "description": "仓库信息列表",
  18748. "type": "array",
  18749. "items": {
  18750. "$ref": "#/definitions/models.Warehouseinfo"
  18751. }
  18752. },
  18753. "wrstandards": {
  18754. "description": "仓单标准列表",
  18755. "type": "array",
  18756. "items": {
  18757. "$ref": "#/definitions/models.WRStandardInfo"
  18758. }
  18759. }
  18760. }
  18761. },
  18762. "erms3.QuerySpotContractInfoRsp": {
  18763. "type": "object",
  18764. "properties": {
  18765. "accountid": {
  18766. "description": "表示交易员ID.",
  18767. "type": "integer"
  18768. },
  18769. "curdeliveryqty": {
  18770. "description": "表示未交收量.",
  18771. "type": "number"
  18772. },
  18773. "customername": {
  18774. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  18775. "type": "string"
  18776. },
  18777. "deliverygoodsid": {
  18778. "description": "表示品种ID.",
  18779. "type": "string"
  18780. },
  18781. "deliveryqty": {
  18782. "description": "表示交收量.",
  18783. "type": "number"
  18784. },
  18785. "matchaccountid": {
  18786. "description": "表示业务员ID.",
  18787. "type": "integer"
  18788. },
  18789. "matchcustomername": {
  18790. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  18791. "type": "string"
  18792. },
  18793. "priceqty": {
  18794. "description": "表示定价量.",
  18795. "type": "number"
  18796. },
  18797. "relatedbizid": {
  18798. "description": "表示业务ID.",
  18799. "type": "string"
  18800. },
  18801. "signdate": {
  18802. "description": "表示签订日期.",
  18803. "type": "string"
  18804. },
  18805. "spotcontractid": {
  18806. "description": "合同ID",
  18807. "type": "string"
  18808. },
  18809. "status": {
  18810. "description": "表示状态,0-履约中 1-已完成.",
  18811. "type": "integer"
  18812. },
  18813. "totalqty": {
  18814. "description": "表示合同量.",
  18815. "type": "number"
  18816. },
  18817. "unpricedqty": {
  18818. "description": "表示未定价量.",
  18819. "type": "number"
  18820. },
  18821. "wrstandardname": {
  18822. "description": "表示商品ID.",
  18823. "type": "string"
  18824. }
  18825. }
  18826. },
  18827. "erms3.QueryUserInfoAppliesRsp": {
  18828. "type": "object",
  18829. "required": [
  18830. "userid"
  18831. ],
  18832. "properties": {
  18833. "biznature": {
  18834. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18835. "type": "integer"
  18836. },
  18837. "contactname": {
  18838. "description": "联系人",
  18839. "type": "string"
  18840. },
  18841. "createtime": {
  18842. "description": "开户申请时间",
  18843. "type": "string"
  18844. },
  18845. "userid": {
  18846. "description": "用户ID(自增ID)",
  18847. "type": "integer"
  18848. },
  18849. "userinfotype": {
  18850. "description": "用户信息类型 - 1:个人 2:企业",
  18851. "type": "integer"
  18852. },
  18853. "username": {
  18854. "description": "用户姓名",
  18855. "type": "string"
  18856. },
  18857. "userstate": {
  18858. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18859. "type": "integer"
  18860. }
  18861. }
  18862. },
  18863. "erms3.QueryUserInfosRsp": {
  18864. "type": "object",
  18865. "required": [
  18866. "userid"
  18867. ],
  18868. "properties": {
  18869. "biznature": {
  18870. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18871. "type": "integer"
  18872. },
  18873. "contactname": {
  18874. "description": "联系人",
  18875. "type": "string"
  18876. },
  18877. "customername": {
  18878. "description": "客户名称(企业名称)",
  18879. "type": "string"
  18880. },
  18881. "userid": {
  18882. "description": "用户ID",
  18883. "type": "integer"
  18884. },
  18885. "userinfotype": {
  18886. "description": "用户信息类型 - 1:个人 2:企业",
  18887. "type": "integer"
  18888. },
  18889. "userstatus": {
  18890. "description": "用户状态 - 1:正常 2:注销",
  18891. "type": "integer"
  18892. }
  18893. }
  18894. },
  18895. "erms3.SoptContractDetail": {
  18896. "type": "object",
  18897. "required": [
  18898. "deliverygoodsid",
  18899. "producttype",
  18900. "unitname",
  18901. "warehouseid",
  18902. "wrstandardid",
  18903. "wrstandardname"
  18904. ],
  18905. "properties": {
  18906. "deliverygoodsdesc": {
  18907. "description": "现货品种说明",
  18908. "type": "string"
  18909. },
  18910. "deliverygoodsid": {
  18911. "description": "现货品种ID",
  18912. "type": "integer"
  18913. },
  18914. "deliverygoodsname": {
  18915. "description": "现货品种名称",
  18916. "type": "string"
  18917. },
  18918. "pointdesc": {
  18919. "description": "点价描述",
  18920. "type": "string"
  18921. },
  18922. "producttype": {
  18923. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  18924. "type": "integer"
  18925. },
  18926. "producttypename": {
  18927. "description": "产品类型名称",
  18928. "type": "string"
  18929. },
  18930. "spotPointOrderVoList": {
  18931. "description": "点价列表",
  18932. "type": "array",
  18933. "items": {
  18934. "$ref": "#/definitions/erms3.SpotPointOrder"
  18935. }
  18936. },
  18937. "spotPriceOrderList": {
  18938. "description": "定价列表",
  18939. "type": "array",
  18940. "items": {
  18941. "$ref": "#/definitions/erms3.SpotPriceOrder"
  18942. }
  18943. },
  18944. "unitname": {
  18945. "description": "单位名称",
  18946. "type": "string"
  18947. },
  18948. "warehouseid": {
  18949. "description": "仓库ID",
  18950. "type": "integer"
  18951. },
  18952. "warehousename": {
  18953. "description": "仓库名称",
  18954. "type": "string"
  18955. },
  18956. "wrstandardid": {
  18957. "description": "交易标的ID",
  18958. "type": "integer"
  18959. },
  18960. "wrstandardname": {
  18961. "description": "交易标的名称",
  18962. "type": "string"
  18963. }
  18964. }
  18965. },
  18966. "erms3.SpotPointOrder": {
  18967. "type": "object",
  18968. "required": [
  18969. "basic",
  18970. "goodsid",
  18971. "qty"
  18972. ],
  18973. "properties": {
  18974. "basic": {
  18975. "description": "基差",
  18976. "type": "number"
  18977. },
  18978. "deliveryenddate": {
  18979. "description": "交收结束日期",
  18980. "type": "string"
  18981. },
  18982. "deliverystartdate": {
  18983. "description": "交收开始日期",
  18984. "type": "string"
  18985. },
  18986. "enddate": {
  18987. "description": "点价结束日期",
  18988. "type": "string"
  18989. },
  18990. "goodsid": {
  18991. "description": "商品ID",
  18992. "type": "integer"
  18993. },
  18994. "goodsname": {
  18995. "description": "商品名称",
  18996. "type": "string"
  18997. },
  18998. "qty": {
  18999. "description": "数量",
  19000. "type": "number"
  19001. },
  19002. "startdate": {
  19003. "description": "点价开始日期",
  19004. "type": "string"
  19005. }
  19006. }
  19007. },
  19008. "erms3.SpotPriceOrder": {
  19009. "type": "object",
  19010. "required": [
  19011. "amount",
  19012. "price",
  19013. "qty"
  19014. ],
  19015. "properties": {
  19016. "amount": {
  19017. "description": "金额",
  19018. "type": "number"
  19019. },
  19020. "deliveryenddate": {
  19021. "description": "交收结束日期",
  19022. "type": "string"
  19023. },
  19024. "deliverystartdate": {
  19025. "description": "交收开始日期",
  19026. "type": "string"
  19027. },
  19028. "price": {
  19029. "description": "价格",
  19030. "type": "number"
  19031. },
  19032. "qty": {
  19033. "description": "数量",
  19034. "type": "number"
  19035. }
  19036. }
  19037. },
  19038. "hsby.GetHsbyMyCountRsp": {
  19039. "type": "object",
  19040. "properties": {
  19041. "myCouponCount": {
  19042. "description": "我的优惠卷数量",
  19043. "type": "integer"
  19044. },
  19045. "myOrderDetailListingCount": {
  19046. "description": "我的订单求购中数量",
  19047. "type": "integer"
  19048. },
  19049. "myOrderDetailPreCount": {
  19050. "description": "我的订单抢购中数量",
  19051. "type": "integer"
  19052. },
  19053. "myPackageUnReceiveCount": {
  19054. "description": "我的包裹待收货数量",
  19055. "type": "integer"
  19056. },
  19057. "myPackageUnSendCount": {
  19058. "description": "我的包裹待发货数量",
  19059. "type": "integer"
  19060. },
  19061. "myPayOrderCount": {
  19062. "description": "我的订单待付款数量",
  19063. "type": "integer"
  19064. }
  19065. }
  19066. },
  19067. "hsby.QueryProvincesAndCitiesRsp": {
  19068. "type": "object",
  19069. "properties": {
  19070. "cities": {
  19071. "description": "市",
  19072. "type": "array",
  19073. "items": {
  19074. "$ref": "#/definitions/models.Division"
  19075. }
  19076. },
  19077. "province": {
  19078. "description": "省",
  19079. "$ref": "#/definitions/models.Division"
  19080. }
  19081. }
  19082. },
  19083. "models.Arearole": {
  19084. "type": "object",
  19085. "required": [
  19086. "roletype",
  19087. "userid"
  19088. ],
  19089. "properties": {
  19090. "createtime": {
  19091. "description": "创建时间",
  19092. "type": "string"
  19093. },
  19094. "creatorid": {
  19095. "description": "创建人ID",
  19096. "type": "integer"
  19097. },
  19098. "fromuserid": {
  19099. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  19100. "type": "integer"
  19101. },
  19102. "isreturnscore": {
  19103. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  19104. "type": "integer"
  19105. },
  19106. "modifierid": {
  19107. "description": "修改人ID",
  19108. "type": "integer"
  19109. },
  19110. "modifytime": {
  19111. "description": "修改时间",
  19112. "type": "string"
  19113. },
  19114. "orgtype": {
  19115. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  19116. "type": "integer"
  19117. },
  19118. "outuserid": {
  19119. "description": "外部账户[场外期权做市商]",
  19120. "type": "string"
  19121. },
  19122. "parentuserid": {
  19123. "description": "上级组织机构(组织机构)",
  19124. "type": "integer"
  19125. },
  19126. "roletype": {
  19127. "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:门店",
  19128. "type": "integer"
  19129. },
  19130. "rootuserid": {
  19131. "description": "顶级组织机构用户ID(组织机构)",
  19132. "type": "integer"
  19133. },
  19134. "shoppassword": {
  19135. "description": "商城店铺登陆密码(商城店铺角色使用)",
  19136. "type": "string"
  19137. },
  19138. "sublevelpath": {
  19139. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  19140. "type": "string"
  19141. },
  19142. "suborgtype": {
  19143. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  19144. "type": "integer"
  19145. },
  19146. "tradeaccountid": {
  19147. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  19148. "type": "integer"
  19149. },
  19150. "transurl": {
  19151. "description": "物流地址(物流机构)",
  19152. "type": "string"
  19153. },
  19154. "userid": {
  19155. "description": "机构用户ID其他做市关系,都设置为 1",
  19156. "type": "integer"
  19157. }
  19158. }
  19159. },
  19160. "models.Clientfixedadconfig": {
  19161. "type": "object",
  19162. "required": [
  19163. "adsort",
  19164. "adtype"
  19165. ],
  19166. "properties": {
  19167. "adsort": {
  19168. "description": "排序",
  19169. "type": "integer"
  19170. },
  19171. "adtype": {
  19172. "description": "广告位类型 - 1:新品抢购(HSBY)",
  19173. "type": "integer"
  19174. },
  19175. "areauserid": {
  19176. "description": "所属机构ID",
  19177. "type": "integer"
  19178. },
  19179. "createdate": {
  19180. "description": "创建时间",
  19181. "type": "string"
  19182. },
  19183. "creatorid": {
  19184. "description": "创建人",
  19185. "type": "integer"
  19186. },
  19187. "imagepath": {
  19188. "description": "图片",
  19189. "type": "string"
  19190. },
  19191. "isshow": {
  19192. "description": "是否展示 - 0:不展示 1:展示",
  19193. "type": "integer"
  19194. },
  19195. "modifierid": {
  19196. "description": "操作人",
  19197. "type": "integer"
  19198. },
  19199. "recsize": {
  19200. "description": "推荐尺寸",
  19201. "type": "string"
  19202. },
  19203. "title": {
  19204. "description": "标题",
  19205. "type": "string"
  19206. },
  19207. "updatedate": {
  19208. "description": "更新时间",
  19209. "type": "string"
  19210. },
  19211. "urlcontent": {
  19212. "description": "链接(地址或商品ID)",
  19213. "type": "string"
  19214. },
  19215. "urltype": {
  19216. "description": "链接类型 - 1:直接地址 2:商品ID",
  19217. "type": "integer"
  19218. }
  19219. }
  19220. },
  19221. "models.Division": {
  19222. "type": "object",
  19223. "required": [
  19224. "autoid",
  19225. "divisioncode"
  19226. ],
  19227. "properties": {
  19228. "autoid": {
  19229. "description": "自增ID",
  19230. "type": "integer"
  19231. },
  19232. "divisioncode": {
  19233. "description": "行政代码",
  19234. "type": "string"
  19235. },
  19236. "divisionlevel": {
  19237. "description": "行政级别",
  19238. "type": "string"
  19239. },
  19240. "divisionname": {
  19241. "description": "行政名称",
  19242. "type": "string"
  19243. },
  19244. "modifierid": {
  19245. "description": "修改人",
  19246. "type": "integer"
  19247. },
  19248. "modifytime": {
  19249. "description": "修改时间",
  19250. "type": "string"
  19251. },
  19252. "parentcode": {
  19253. "description": "上级行政代码",
  19254. "type": "string"
  19255. },
  19256. "pathname": {
  19257. "description": "路径名称",
  19258. "type": "string"
  19259. },
  19260. "postcode": {
  19261. "description": "邮政编码",
  19262. "type": "string"
  19263. },
  19264. "separablename": {
  19265. "description": "可拆分的全称",
  19266. "type": "string"
  19267. },
  19268. "shortcode": {
  19269. "description": "地区简码",
  19270. "type": "string"
  19271. }
  19272. }
  19273. },
  19274. "models.Enumdicitem": {
  19275. "type": "object",
  19276. "required": [
  19277. "autoid",
  19278. "enumdiccode",
  19279. "enumdicid",
  19280. "enumitemname"
  19281. ],
  19282. "properties": {
  19283. "autoid": {
  19284. "description": "自增ID",
  19285. "type": "integer"
  19286. },
  19287. "bankmappedvalue": {
  19288. "description": "银行服务对应值",
  19289. "type": "string"
  19290. },
  19291. "enumdiccode": {
  19292. "description": "所属枚举代码",
  19293. "type": "string"
  19294. },
  19295. "enumdicid": {
  19296. "description": "所属枚举ID",
  19297. "type": "integer"
  19298. },
  19299. "enumdicname": {
  19300. "description": "枚举项名称",
  19301. "type": "string"
  19302. },
  19303. "enumitemname": {
  19304. "description": "枚举项值",
  19305. "type": "integer"
  19306. },
  19307. "enumitemstatus": {
  19308. "description": "枚举项状态 - 1.启用 2.不启用",
  19309. "type": "integer"
  19310. },
  19311. "enumitemvalue": {
  19312. "description": "通用值 - [币种通用简写]",
  19313. "type": "string"
  19314. },
  19315. "param1": {
  19316. "description": "参数1[币种:币种小数位]",
  19317. "type": "string"
  19318. },
  19319. "param2": {
  19320. "description": "参数1[币种:币种显示单位]",
  19321. "type": "string"
  19322. },
  19323. "remark": {
  19324. "description": "备注",
  19325. "type": "string"
  19326. }
  19327. }
  19328. },
  19329. "models.Ermcp3AreaSpot": {
  19330. "type": "object",
  19331. "properties": {
  19332. "areauserid": {
  19333. "description": "所属机构",
  19334. "type": "integer"
  19335. },
  19336. "convertratio": {
  19337. "description": "套保系数",
  19338. "type": "number"
  19339. },
  19340. "decreaseqty": {
  19341. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  19342. "type": "number"
  19343. },
  19344. "enumdicname": {
  19345. "description": "单位名称",
  19346. "type": "string"
  19347. },
  19348. "increaseqty": {
  19349. "description": "增加数量=销售计划数量+采购已定价数量",
  19350. "type": "number"
  19351. },
  19352. "oritoalspotqty": {
  19353. "description": "昨日数量",
  19354. "type": "number"
  19355. },
  19356. "totalspotqty": {
  19357. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  19358. "type": "number"
  19359. },
  19360. "unitid": {
  19361. "description": "现货商品单位id",
  19362. "type": "integer"
  19363. },
  19364. "updatetime": {
  19365. "description": "更新时间",
  19366. "type": "string"
  19367. },
  19368. "wrstandardcode": {
  19369. "description": "现货商品代码",
  19370. "type": "string"
  19371. },
  19372. "wrstandardid": {
  19373. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19374. "type": "integer"
  19375. },
  19376. "wrstandardname": {
  19377. "description": "现货商品名称",
  19378. "type": "string"
  19379. }
  19380. }
  19381. },
  19382. "models.Ermcp3AreaSpotDetail": {
  19383. "type": "object",
  19384. "properties": {
  19385. "contracttype": {
  19386. "description": "合同类型 1-采购 -1-销售",
  19387. "type": "integer"
  19388. },
  19389. "createtime": {
  19390. "description": "创建时间",
  19391. "type": "string"
  19392. },
  19393. "enumdicname": {
  19394. "description": "现货商品单位名称",
  19395. "type": "string"
  19396. },
  19397. "logtype": {
  19398. "description": "记录类型 1-套保 2-现货合同",
  19399. "type": "integer"
  19400. },
  19401. "qty": {
  19402. "description": "数量",
  19403. "type": "number"
  19404. },
  19405. "recordname": {
  19406. "description": "类型名称",
  19407. "type": "string"
  19408. },
  19409. "relatedid": {
  19410. "description": "套保计划ID/现货合同ID",
  19411. "type": "string"
  19412. },
  19413. "relatedno": {
  19414. "description": "编号",
  19415. "type": "string"
  19416. },
  19417. "strtime": {
  19418. "description": "时间",
  19419. "type": "string"
  19420. },
  19421. "wrstandardcode": {
  19422. "description": "现货商品代码",
  19423. "type": "string"
  19424. },
  19425. "wrstandardid": {
  19426. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19427. "type": "integer"
  19428. },
  19429. "wrstandardname": {
  19430. "description": "现货商品名称",
  19431. "type": "string"
  19432. }
  19433. }
  19434. },
  19435. "models.Ermcp3AreaSpotPLReport": {
  19436. "type": "object",
  19437. "properties": {
  19438. "accountid": {
  19439. "description": "期货账户ID (作废, 默认为0)",
  19440. "type": "integer"
  19441. },
  19442. "accountname": {
  19443. "description": "机构名称",
  19444. "type": "string"
  19445. },
  19446. "actualpl": {
  19447. "description": "现货损益",
  19448. "type": "number"
  19449. },
  19450. "areauserid": {
  19451. "description": "所属机构\\交易用户ID",
  19452. "type": "integer"
  19453. },
  19454. "begindate": {
  19455. "description": "开始交易日",
  19456. "type": "string"
  19457. },
  19458. "biztype": {
  19459. "description": "业务类型 - 1:套保 2:套利",
  19460. "type": "integer"
  19461. },
  19462. "brandname": {
  19463. "description": "品牌名称",
  19464. "type": "string"
  19465. },
  19466. "curamount": {
  19467. "description": "期末额",
  19468. "type": "number"
  19469. },
  19470. "curaverageprice": {
  19471. "description": "期末均价",
  19472. "type": "number"
  19473. },
  19474. "curbuyamount": {
  19475. "description": "期末采购总额",
  19476. "type": "number"
  19477. },
  19478. "curbuyqty": {
  19479. "description": "期末采购总量",
  19480. "type": "number"
  19481. },
  19482. "curmarketvalue": {
  19483. "description": "参考市值(期末市值)",
  19484. "type": "number"
  19485. },
  19486. "curqty": {
  19487. "description": "期末量",
  19488. "type": "number"
  19489. },
  19490. "currencyid": {
  19491. "description": "结算币种ID【原值】",
  19492. "type": "integer"
  19493. },
  19494. "currencyname": {
  19495. "description": "币种名称",
  19496. "type": "string"
  19497. },
  19498. "cursellamount": {
  19499. "description": "期末销售总额",
  19500. "type": "number"
  19501. },
  19502. "cursellqty": {
  19503. "description": "期末销售总量",
  19504. "type": "number"
  19505. },
  19506. "curspotprice": {
  19507. "description": "参考市价(最新价)",
  19508. "type": "number"
  19509. },
  19510. "cycletime": {
  19511. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19512. "type": "string"
  19513. },
  19514. "cycletype": {
  19515. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19516. "type": "integer"
  19517. },
  19518. "deliverygoodscode": {
  19519. "description": "现货商品代码",
  19520. "type": "string"
  19521. },
  19522. "deliverygoodsid": {
  19523. "description": "现货品种ID",
  19524. "type": "integer"
  19525. },
  19526. "deliverygoodsname": {
  19527. "description": "现货商品名称",
  19528. "type": "string"
  19529. },
  19530. "enddate": {
  19531. "description": "结束交易日",
  19532. "type": "string"
  19533. },
  19534. "enumdicname": {
  19535. "description": "现货商品单位名称",
  19536. "type": "string"
  19537. },
  19538. "floatpl": {
  19539. "description": "浮动损益",
  19540. "type": "number"
  19541. },
  19542. "goodsunitid": {
  19543. "description": "现货商品单位id",
  19544. "type": "integer"
  19545. },
  19546. "oriamount": {
  19547. "description": "期初额",
  19548. "type": "number"
  19549. },
  19550. "oriaverageprice": {
  19551. "description": "期初均价",
  19552. "type": "number"
  19553. },
  19554. "oribuyamount": {
  19555. "description": "期初采购总额",
  19556. "type": "number"
  19557. },
  19558. "oribuyqty": {
  19559. "description": "期初采购总量",
  19560. "type": "number"
  19561. },
  19562. "oriqty": {
  19563. "description": "期初量",
  19564. "type": "number"
  19565. },
  19566. "orisellamount": {
  19567. "description": "期初销售总额",
  19568. "type": "number"
  19569. },
  19570. "orisellqty": {
  19571. "description": "期初销售总量",
  19572. "type": "number"
  19573. },
  19574. "reckondate": {
  19575. "description": "日照时期(yyyyMMdd)",
  19576. "type": "string"
  19577. },
  19578. "spotgoodsbrandid": {
  19579. "description": "现货品牌ID",
  19580. "type": "integer"
  19581. },
  19582. "todaybuyamount": {
  19583. "description": "今日采购额(今采购额)",
  19584. "type": "number"
  19585. },
  19586. "todaybuyaverageprice": {
  19587. "description": "今日采购均价",
  19588. "type": "number"
  19589. },
  19590. "todaybuyqty": {
  19591. "description": "今日采购量(今采购量)",
  19592. "type": "number"
  19593. },
  19594. "todayinqty": {
  19595. "description": "今日入库量(今入库量)",
  19596. "type": "number"
  19597. },
  19598. "todayoutqty": {
  19599. "description": "今日出库量(今出库量)",
  19600. "type": "number"
  19601. },
  19602. "todaysellamount": {
  19603. "description": "今日销售额(今销售额)",
  19604. "type": "number"
  19605. },
  19606. "todaysellaverageprice": {
  19607. "description": "今日销售均价",
  19608. "type": "number"
  19609. },
  19610. "todaysellqty": {
  19611. "description": "今日销售量(今销售量)",
  19612. "type": "number"
  19613. },
  19614. "unitid": {
  19615. "description": "品类单位id",
  19616. "type": "integer"
  19617. },
  19618. "unitidname": {
  19619. "description": "品类单位名称",
  19620. "type": "string"
  19621. },
  19622. "updatetime": {
  19623. "description": "更新时间",
  19624. "type": "string"
  19625. },
  19626. "wrfactortypeid": {
  19627. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19628. "type": "integer"
  19629. },
  19630. "wrstandardcode": {
  19631. "description": "品类代码",
  19632. "type": "string"
  19633. },
  19634. "wrstandardid": {
  19635. "description": "现货品类ID",
  19636. "type": "integer"
  19637. },
  19638. "wrstandardname": {
  19639. "description": "品类名称",
  19640. "type": "string"
  19641. }
  19642. }
  19643. },
  19644. "models.Ermcp3AreaStock": {
  19645. "type": "object",
  19646. "required": [
  19647. "userid"
  19648. ],
  19649. "properties": {
  19650. "brandname": {
  19651. "description": "品牌名称",
  19652. "type": "string"
  19653. },
  19654. "curstock": {
  19655. "description": "期末库存量(今日量)",
  19656. "type": "number"
  19657. },
  19658. "deliverygoodscode": {
  19659. "description": "现货品种代码",
  19660. "type": "string"
  19661. },
  19662. "deliverygoodsid": {
  19663. "description": "现货品种id",
  19664. "type": "integer"
  19665. },
  19666. "deliverygoodsname": {
  19667. "description": "现货品种名称",
  19668. "type": "string"
  19669. },
  19670. "enumdicname": {
  19671. "description": "单位名称",
  19672. "type": "string"
  19673. },
  19674. "goodsunitid": {
  19675. "description": "现货商品单位id",
  19676. "type": "integer"
  19677. },
  19678. "oristock": {
  19679. "description": "期初库存量(昨日量)",
  19680. "type": "number"
  19681. },
  19682. "spotgoodsbrandid": {
  19683. "description": "现货品牌ID",
  19684. "type": "integer"
  19685. },
  19686. "todaybuyinqty": {
  19687. "description": "今日采购入库量",
  19688. "type": "number"
  19689. },
  19690. "todayproduceinqty": {
  19691. "description": "今日生产入库量",
  19692. "type": "number"
  19693. },
  19694. "todayproduceoutqty": {
  19695. "description": "今日生产出库量",
  19696. "type": "number"
  19697. },
  19698. "todayselloutqty": {
  19699. "description": "今日销售出库量",
  19700. "type": "number"
  19701. },
  19702. "unitid": {
  19703. "description": "单位id",
  19704. "type": "integer"
  19705. },
  19706. "updatetime": {
  19707. "description": "更新时间",
  19708. "type": "string"
  19709. },
  19710. "userid": {
  19711. "description": "机构ID",
  19712. "type": "integer"
  19713. },
  19714. "username": {
  19715. "description": "机构名称",
  19716. "type": "string"
  19717. },
  19718. "warehousecode": {
  19719. "description": "仓库代码",
  19720. "type": "string"
  19721. },
  19722. "warehouseinfoid": {
  19723. "description": "仓库ID",
  19724. "type": "string"
  19725. },
  19726. "warehousename": {
  19727. "description": "仓库名称",
  19728. "type": "string"
  19729. },
  19730. "warehousetype": {
  19731. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19732. "type": "integer"
  19733. },
  19734. "wrstandardcode": {
  19735. "description": "品类代码",
  19736. "type": "string"
  19737. },
  19738. "wrstandardid": {
  19739. "description": "品类ID",
  19740. "type": "string"
  19741. },
  19742. "wrstandardname": {
  19743. "description": "品类名称",
  19744. "type": "string"
  19745. }
  19746. }
  19747. },
  19748. "models.Ermcp3AreaStockApply": {
  19749. "type": "object",
  19750. "properties": {
  19751. "applyid": {
  19752. "description": "申请人",
  19753. "type": "integer"
  19754. },
  19755. "applyname": {
  19756. "description": "申请人名称",
  19757. "type": "string"
  19758. },
  19759. "applyremark": {
  19760. "description": "申请备注",
  19761. "type": "string"
  19762. },
  19763. "applysrc": {
  19764. "description": "申请来源 - 1:管理端 2:终端",
  19765. "type": "integer"
  19766. },
  19767. "applystatus": {
  19768. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19769. "type": "integer"
  19770. },
  19771. "applytime": {
  19772. "description": "申请时间",
  19773. "type": "string"
  19774. },
  19775. "auditid": {
  19776. "description": "审核人",
  19777. "type": "integer"
  19778. },
  19779. "auditname": {
  19780. "description": "审核人名称",
  19781. "type": "string"
  19782. },
  19783. "auditremark": {
  19784. "description": "审核备注",
  19785. "type": "string"
  19786. },
  19787. "auditsrc": {
  19788. "description": "审核来源 - 1:管理端 2:终端",
  19789. "type": "integer"
  19790. },
  19791. "audittime": {
  19792. "description": "审核时间",
  19793. "type": "string"
  19794. },
  19795. "audittradedate": {
  19796. "description": "审核交易日(yyyyMMdd)",
  19797. "type": "string"
  19798. },
  19799. "brandname": {
  19800. "description": "品牌名称",
  19801. "type": "string"
  19802. },
  19803. "buynickname": {
  19804. "description": "采购方昵称",
  19805. "type": "string"
  19806. },
  19807. "buyuserid": {
  19808. "description": "采购方userid",
  19809. "type": "integer"
  19810. },
  19811. "buyusername": {
  19812. "description": "采购方名称",
  19813. "type": "string"
  19814. },
  19815. "contractno": {
  19816. "description": "合同编号",
  19817. "type": "string"
  19818. },
  19819. "contractqty": {
  19820. "description": "合同量",
  19821. "type": "number"
  19822. },
  19823. "contracttype": {
  19824. "description": "现货合同类型 - 1:采购 -1:销售",
  19825. "type": "integer"
  19826. },
  19827. "deliverygoodscode": {
  19828. "description": "现货品种代码",
  19829. "type": "string"
  19830. },
  19831. "deliverygoodsid": {
  19832. "description": "现货品种id",
  19833. "type": "integer"
  19834. },
  19835. "deliverygoodsname": {
  19836. "description": "现货品种名称",
  19837. "type": "string"
  19838. },
  19839. "detailjson": {
  19840. "description": "明细数据",
  19841. "type": "string"
  19842. },
  19843. "enumdicname": {
  19844. "description": "现货商品单位名称",
  19845. "type": "string"
  19846. },
  19847. "inoutapplyid": {
  19848. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  19849. "type": "string"
  19850. },
  19851. "inouttype": {
  19852. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  19853. "type": "integer"
  19854. },
  19855. "pricetype": {
  19856. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19857. "type": "integer"
  19858. },
  19859. "qty": {
  19860. "description": "数量",
  19861. "type": "number"
  19862. },
  19863. "sellnickname": {
  19864. "description": "销售方昵称",
  19865. "type": "string"
  19866. },
  19867. "selluserid": {
  19868. "description": "销售方userid",
  19869. "type": "integer"
  19870. },
  19871. "sellusername": {
  19872. "description": "销售方名称",
  19873. "type": "string"
  19874. },
  19875. "spotcontractid": {
  19876. "description": "关联现货合同ID",
  19877. "type": "string"
  19878. },
  19879. "spotgoodsbrandid": {
  19880. "description": "现货品牌ID",
  19881. "type": "integer"
  19882. },
  19883. "unitid": {
  19884. "description": "单位id",
  19885. "type": "integer"
  19886. },
  19887. "userid": {
  19888. "description": "机构ID",
  19889. "type": "integer"
  19890. },
  19891. "warehousecode": {
  19892. "description": "仓库代码",
  19893. "type": "string"
  19894. },
  19895. "warehouseinfoid": {
  19896. "description": "现货仓库ID",
  19897. "type": "string"
  19898. },
  19899. "warehousename": {
  19900. "description": "仓库名称",
  19901. "type": "string"
  19902. },
  19903. "warehousetype": {
  19904. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19905. "type": "integer"
  19906. },
  19907. "wrstandardcode": {
  19908. "description": "品类代码",
  19909. "type": "string"
  19910. },
  19911. "wrstandardid": {
  19912. "description": "品类ID",
  19913. "type": "integer"
  19914. },
  19915. "wrstandardname": {
  19916. "description": "品类名称",
  19917. "type": "string"
  19918. }
  19919. }
  19920. },
  19921. "models.Ermcp3AreaStockApplySum": {
  19922. "type": "object",
  19923. "properties": {
  19924. "brandname": {
  19925. "description": "品牌名称",
  19926. "type": "string"
  19927. },
  19928. "inouttype": {
  19929. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  19930. "type": "integer"
  19931. },
  19932. "spotcontractid": {
  19933. "description": "关联现货合同ID",
  19934. "type": "string"
  19935. },
  19936. "spotgoodsbrandid": {
  19937. "description": "品牌id",
  19938. "type": "integer"
  19939. },
  19940. "totalqty": {
  19941. "description": "总数量",
  19942. "type": "number"
  19943. },
  19944. "wrstandardid": {
  19945. "description": "品类id",
  19946. "type": "integer"
  19947. },
  19948. "wrstandardname": {
  19949. "description": "品类名称",
  19950. "type": "string"
  19951. }
  19952. }
  19953. },
  19954. "models.Ermcp3AreaStockReportEx": {
  19955. "type": "object",
  19956. "properties": {
  19957. "begindate": {
  19958. "description": "开始交易日",
  19959. "type": "string"
  19960. },
  19961. "brandname": {
  19962. "description": "品牌名称",
  19963. "type": "string"
  19964. },
  19965. "curstock": {
  19966. "description": "期末库存量",
  19967. "type": "number"
  19968. },
  19969. "cycletime": {
  19970. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19971. "type": "string"
  19972. },
  19973. "cycletype": {
  19974. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19975. "type": "integer"
  19976. },
  19977. "deliverygoodscode": {
  19978. "description": "现货品种代码",
  19979. "type": "string"
  19980. },
  19981. "deliverygoodsid": {
  19982. "description": "现货品种id",
  19983. "type": "integer"
  19984. },
  19985. "deliverygoodsname": {
  19986. "description": "现货品种名称",
  19987. "type": "string"
  19988. },
  19989. "diffqty": {
  19990. "description": "库存变化量 = 期末 - 期初",
  19991. "type": "number"
  19992. },
  19993. "enddate": {
  19994. "description": "结束交易日",
  19995. "type": "string"
  19996. },
  19997. "enumdicname": {
  19998. "description": "单位名称",
  19999. "type": "string"
  20000. },
  20001. "goodsunitid": {
  20002. "description": "现货单位id",
  20003. "type": "integer"
  20004. },
  20005. "oristock": {
  20006. "description": "期初库存量",
  20007. "type": "number"
  20008. },
  20009. "reckondate": {
  20010. "description": "日照时期(yyyyMMdd)",
  20011. "type": "string"
  20012. },
  20013. "spotgoodsbrandid": {
  20014. "description": "现货品牌ID",
  20015. "type": "integer"
  20016. },
  20017. "todaybuyinqty": {
  20018. "description": "今采购入库量",
  20019. "type": "number"
  20020. },
  20021. "todayproduceinqty": {
  20022. "description": "今内部入库量",
  20023. "type": "number"
  20024. },
  20025. "todayproduceoutqty": {
  20026. "description": "今内部出库量",
  20027. "type": "number"
  20028. },
  20029. "todayselloutqty": {
  20030. "description": "今销售出库量",
  20031. "type": "number"
  20032. },
  20033. "unbuyinqty": {
  20034. "description": "采购未入库量(数据库未找到相关字段?)",
  20035. "type": "number"
  20036. },
  20037. "unitid": {
  20038. "description": "品类单位id",
  20039. "type": "integer"
  20040. },
  20041. "unselloutqty": {
  20042. "description": "销售未出库量(数据库未找到相关字段?)",
  20043. "type": "number"
  20044. },
  20045. "updatetime": {
  20046. "description": "更新时间",
  20047. "type": "string"
  20048. },
  20049. "userid": {
  20050. "description": "机构ID",
  20051. "type": "integer"
  20052. },
  20053. "username": {
  20054. "description": "机构名称",
  20055. "type": "string"
  20056. },
  20057. "warehousecode": {
  20058. "description": "仓库代码",
  20059. "type": "string"
  20060. },
  20061. "warehouseinfoid": {
  20062. "description": "仓库ID",
  20063. "type": "string"
  20064. },
  20065. "warehousename": {
  20066. "description": "仓库名称",
  20067. "type": "string"
  20068. },
  20069. "warehousetype": {
  20070. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20071. "type": "integer"
  20072. },
  20073. "wrstandardcode": {
  20074. "description": "品类代码",
  20075. "type": "string"
  20076. },
  20077. "wrstandardid": {
  20078. "description": "品类ID",
  20079. "type": "integer"
  20080. },
  20081. "wrstandardname": {
  20082. "description": "品类名称",
  20083. "type": "string"
  20084. }
  20085. }
  20086. },
  20087. "models.Ermcp3ArealSumPL": {
  20088. "type": "object",
  20089. "properties": {
  20090. "accountname": {
  20091. "description": "机构名称",
  20092. "type": "string"
  20093. },
  20094. "areauserid": {
  20095. "description": "所属机构\\交易用户ID",
  20096. "type": "integer"
  20097. },
  20098. "begindate": {
  20099. "description": "开始交易日",
  20100. "type": "string"
  20101. },
  20102. "currencyid": {
  20103. "description": "结算币种ID",
  20104. "type": "integer"
  20105. },
  20106. "currencyname": {
  20107. "description": "币种名称",
  20108. "type": "string"
  20109. },
  20110. "cycletime": {
  20111. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20112. "type": "string"
  20113. },
  20114. "cycletype": {
  20115. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20116. "type": "integer"
  20117. },
  20118. "enddate": {
  20119. "description": "结束交易日",
  20120. "type": "string"
  20121. },
  20122. "enumdicname": {
  20123. "description": "单位名称(套保品种)",
  20124. "type": "string"
  20125. },
  20126. "futureactualpl": {
  20127. "description": "期货损益",
  20128. "type": "number"
  20129. },
  20130. "futurefloatpl": {
  20131. "description": "期货浮动损益",
  20132. "type": "number"
  20133. },
  20134. "futurespotratio": {
  20135. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  20136. "type": "number"
  20137. },
  20138. "goodsunitid": {
  20139. "description": "套保品种单位id",
  20140. "type": "integer"
  20141. },
  20142. "hedgeexposurepl": {
  20143. "description": "套保敞口损益",
  20144. "type": "number"
  20145. },
  20146. "middlegoodscode": {
  20147. "description": "套保品种代码",
  20148. "type": "string"
  20149. },
  20150. "middlegoodsid": {
  20151. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20152. "type": "integer"
  20153. },
  20154. "middlegoodsname": {
  20155. "description": "套保品种名称",
  20156. "type": "string"
  20157. },
  20158. "reckondate": {
  20159. "description": "日照时期(yyyyMMdd)",
  20160. "type": "string"
  20161. },
  20162. "spotactualpl": {
  20163. "description": "现货损益",
  20164. "type": "number"
  20165. },
  20166. "spotfloatpl": {
  20167. "description": "现货浮动损益",
  20168. "type": "number"
  20169. },
  20170. "sumactualpl": {
  20171. "description": "实际损益 = (ActualPL + FutureActualPL)",
  20172. "type": "number"
  20173. },
  20174. "sumpl": {
  20175. "description": "总敞口损益 | 汇总损益",
  20176. "type": "number"
  20177. },
  20178. "totalfutureqty": {
  20179. "description": "期货头寸总量",
  20180. "type": "number"
  20181. },
  20182. "totalneedhedgeqty": {
  20183. "description": "应套保总量",
  20184. "type": "number"
  20185. },
  20186. "totalspotqty": {
  20187. "description": "现货头寸总量",
  20188. "type": "number"
  20189. },
  20190. "updatetime": {
  20191. "description": "更新时间",
  20192. "type": "string"
  20193. }
  20194. }
  20195. },
  20196. "models.Ermcp3Brand": {
  20197. "type": "object",
  20198. "properties": {
  20199. "areauserid": {
  20200. "description": "用户id",
  20201. "type": "integer"
  20202. },
  20203. "brandid": {
  20204. "description": "品牌id",
  20205. "type": "integer"
  20206. },
  20207. "brandname": {
  20208. "description": "品牌名称",
  20209. "type": "string"
  20210. },
  20211. "deliverygoodsid": {
  20212. "description": "品种ID",
  20213. "type": "integer"
  20214. },
  20215. "isvalid": {
  20216. "description": "是否有效",
  20217. "type": "integer"
  20218. }
  20219. }
  20220. },
  20221. "models.Ermcp3Contract": {
  20222. "type": "object",
  20223. "properties": {
  20224. "accountid": {
  20225. "description": "期货账户id",
  20226. "type": "string"
  20227. },
  20228. "amount": {
  20229. "description": "金额 [1:一口价、3:暂定价]",
  20230. "type": "number"
  20231. },
  20232. "attachment": {
  20233. "description": "附件",
  20234. "type": "string"
  20235. },
  20236. "auditremark": {
  20237. "description": "审核意见",
  20238. "type": "string"
  20239. },
  20240. "audittime": {
  20241. "description": "审核时间",
  20242. "type": "string"
  20243. },
  20244. "biztype": {
  20245. "description": "业务类型 1-套保 2-套利",
  20246. "type": "integer"
  20247. },
  20248. "brandname": {
  20249. "description": "品牌名称",
  20250. "type": "string"
  20251. },
  20252. "buynickname": {
  20253. "description": "销售方昵称",
  20254. "type": "string"
  20255. },
  20256. "buyuserid": {
  20257. "description": "采购方ID",
  20258. "type": "integer"
  20259. },
  20260. "buyusername": {
  20261. "description": "采购方名称",
  20262. "type": "string"
  20263. },
  20264. "contracctstatus": {
  20265. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20266. "type": "integer"
  20267. },
  20268. "contractmargin": {
  20269. "description": "合同保证金",
  20270. "type": "number"
  20271. },
  20272. "contractno": {
  20273. "description": "现货合同编号",
  20274. "type": "string"
  20275. },
  20276. "contracttype": {
  20277. "description": "现货合同类型 - 1:采购 -1:销售",
  20278. "type": "integer"
  20279. },
  20280. "convertfactor": {
  20281. "description": "标仓系数(品类)",
  20282. "type": "number"
  20283. },
  20284. "createtime": {
  20285. "description": "创建时间",
  20286. "type": "string"
  20287. },
  20288. "currencyid": {
  20289. "description": "币种id",
  20290. "type": "integer"
  20291. },
  20292. "currencyname": {
  20293. "description": "币种名称",
  20294. "type": "string"
  20295. },
  20296. "deliveryenddate": {
  20297. "description": "交收期(结束)",
  20298. "type": "string"
  20299. },
  20300. "deliverygoodscode": {
  20301. "description": "现货品种代码",
  20302. "type": "string"
  20303. },
  20304. "deliverygoodsid": {
  20305. "description": "现货品种ID",
  20306. "type": "integer"
  20307. },
  20308. "deliverygoodsname": {
  20309. "description": "现货品种名称",
  20310. "type": "string"
  20311. },
  20312. "deliverystartdate": {
  20313. "description": "交收期(开始)",
  20314. "type": "string"
  20315. },
  20316. "enddate": {
  20317. "description": "点价结束日期 [2:点价 3:暂定价]",
  20318. "type": "string"
  20319. },
  20320. "enumdicname": {
  20321. "description": "单位名称",
  20322. "type": "string"
  20323. },
  20324. "goodscode": {
  20325. "description": "点价合约代码",
  20326. "type": "string"
  20327. },
  20328. "goodsid": {
  20329. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  20330. "type": "integer"
  20331. },
  20332. "goodsname": {
  20333. "description": "点价商品名称",
  20334. "type": "string"
  20335. },
  20336. "margin": {
  20337. "description": "当前保证金",
  20338. "type": "number"
  20339. },
  20340. "meruserid": {
  20341. "description": "跟单员id",
  20342. "type": "integer"
  20343. },
  20344. "meruserlogincode": {
  20345. "description": "跟单员登录代码",
  20346. "type": "string"
  20347. },
  20348. "merusername": {
  20349. "description": "跟单员名称",
  20350. "type": "string"
  20351. },
  20352. "price": {
  20353. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  20354. "type": "number"
  20355. },
  20356. "pricemove": {
  20357. "description": "升贴水 [2:点价 3:暂定价]",
  20358. "type": "number"
  20359. },
  20360. "pricetype": {
  20361. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20362. "type": "integer"
  20363. },
  20364. "producttype": {
  20365. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20366. "type": "integer"
  20367. },
  20368. "qty": {
  20369. "description": "数量",
  20370. "type": "number"
  20371. },
  20372. "remark": {
  20373. "description": "备注",
  20374. "type": "string"
  20375. },
  20376. "saleuserid": {
  20377. "description": "业务员id",
  20378. "type": "integer"
  20379. },
  20380. "saleuserlogincode": {
  20381. "description": "业务员登录代码",
  20382. "type": "string"
  20383. },
  20384. "saleusername": {
  20385. "description": "业务员名称",
  20386. "type": "string"
  20387. },
  20388. "sellnickname": {
  20389. "description": "采购方昵称",
  20390. "type": "string"
  20391. },
  20392. "selluserid": {
  20393. "description": "销售方ID",
  20394. "type": "integer"
  20395. },
  20396. "sellusername": {
  20397. "description": "销售方名称",
  20398. "type": "string"
  20399. },
  20400. "spotcontractid": {
  20401. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  20402. "type": "string"
  20403. },
  20404. "spotgoodsbrandid": {
  20405. "description": "现货品牌ID(DGFactoryItem表的ID)",
  20406. "type": "integer"
  20407. },
  20408. "spotgoodsdesc": {
  20409. "description": "商品型号",
  20410. "type": "string"
  20411. },
  20412. "startdate": {
  20413. "description": "点价开始日期 [2:点价 3:暂定价]",
  20414. "type": "string"
  20415. },
  20416. "subjectid": {
  20417. "description": "交易主体ID",
  20418. "type": "string"
  20419. },
  20420. "subjectname": {
  20421. "description": "交易主体名称",
  20422. "type": "string"
  20423. },
  20424. "tradeuserid": {
  20425. "description": "交易员id",
  20426. "type": "integer"
  20427. },
  20428. "tradeuserlogincode": {
  20429. "description": "交易员登录代码",
  20430. "type": "string"
  20431. },
  20432. "tradeusername": {
  20433. "description": "交易员名称",
  20434. "type": "string"
  20435. },
  20436. "unitid": {
  20437. "description": "单位id(取品类上的单位id)",
  20438. "type": "integer"
  20439. },
  20440. "updatetime": {
  20441. "description": "更新时间",
  20442. "type": "string"
  20443. },
  20444. "userid": {
  20445. "description": "所属机构ID",
  20446. "type": "integer"
  20447. },
  20448. "vatrate": {
  20449. "description": "增值税率",
  20450. "type": "number"
  20451. },
  20452. "wrstandardcode": {
  20453. "description": "品类代码",
  20454. "type": "string"
  20455. },
  20456. "wrstandardid": {
  20457. "description": "品类ID",
  20458. "type": "integer"
  20459. },
  20460. "wrstandardname": {
  20461. "description": "品类名称",
  20462. "type": "string"
  20463. }
  20464. }
  20465. },
  20466. "models.Ermcp3ExposureContractDetail": {
  20467. "type": "object",
  20468. "properties": {
  20469. "biztype": {
  20470. "description": "业务类型 1-套保 2-套利",
  20471. "type": "integer"
  20472. },
  20473. "brandname": {
  20474. "description": "品牌名称",
  20475. "type": "string"
  20476. },
  20477. "buyuserid": {
  20478. "description": "采购方id",
  20479. "type": "integer"
  20480. },
  20481. "buyusername": {
  20482. "description": "采购方名称",
  20483. "type": "string"
  20484. },
  20485. "contractno": {
  20486. "description": "合同编号",
  20487. "type": "string"
  20488. },
  20489. "contracttype": {
  20490. "description": "现货合同类型 - 1:采购 -1:销售",
  20491. "type": "integer"
  20492. },
  20493. "convertfactor": {
  20494. "description": "标仓系数",
  20495. "type": "number"
  20496. },
  20497. "convertratio": {
  20498. "description": "折算系数(套保品种)",
  20499. "type": "number"
  20500. },
  20501. "curqty": {
  20502. "description": "今定价量",
  20503. "type": "number"
  20504. },
  20505. "deliverygoodscode": {
  20506. "description": "现货商品代码",
  20507. "type": "string"
  20508. },
  20509. "deliverygoodsid": {
  20510. "description": "现货商品id",
  20511. "type": "integer"
  20512. },
  20513. "deliverygoodsname": {
  20514. "description": "现货商品名称",
  20515. "type": "string"
  20516. },
  20517. "diffhedgeqty": {
  20518. "description": "套保变动量",
  20519. "type": "number"
  20520. },
  20521. "diffneedhedgeqty": {
  20522. "description": "应套保变动量",
  20523. "type": "number"
  20524. },
  20525. "diffqty": {
  20526. "description": "套保品种今变动量",
  20527. "type": "number"
  20528. },
  20529. "enumdicname": {
  20530. "description": "单位名称",
  20531. "type": "string"
  20532. },
  20533. "mgunitname": {
  20534. "description": "套保品种单位名称",
  20535. "type": "string"
  20536. },
  20537. "middlegoodscode": {
  20538. "description": "套保品种代码",
  20539. "type": "string"
  20540. },
  20541. "middlegoodsid": {
  20542. "description": "套保品种id",
  20543. "type": "integer"
  20544. },
  20545. "middlegoodsname": {
  20546. "description": "套保品种名称",
  20547. "type": "string"
  20548. },
  20549. "needarbitrageratio": {
  20550. "description": "应套利比例",
  20551. "type": "number"
  20552. },
  20553. "needhedgeratio": {
  20554. "description": "应套保比例",
  20555. "type": "number"
  20556. },
  20557. "pricedqty": {
  20558. "description": "已定价量",
  20559. "type": "number"
  20560. },
  20561. "qty": {
  20562. "description": "合同量",
  20563. "type": "number"
  20564. },
  20565. "selluserid": {
  20566. "description": "销售方id",
  20567. "type": "integer"
  20568. },
  20569. "sellusername": {
  20570. "description": "销售方名称",
  20571. "type": "string"
  20572. },
  20573. "spotcontractid": {
  20574. "description": "合同id",
  20575. "type": "string"
  20576. },
  20577. "todaypricedqty": {
  20578. "description": "今定价量",
  20579. "type": "number"
  20580. },
  20581. "tradedate": {
  20582. "description": "交易日",
  20583. "type": "string"
  20584. },
  20585. "unitid": {
  20586. "description": "品类单位id",
  20587. "type": "integer"
  20588. },
  20589. "userid": {
  20590. "description": "机构id",
  20591. "type": "integer"
  20592. },
  20593. "username": {
  20594. "description": "交易用户",
  20595. "type": "string"
  20596. },
  20597. "wrstandardcode": {
  20598. "description": "品类代码",
  20599. "type": "string"
  20600. },
  20601. "wrstandardid": {
  20602. "description": "品类id",
  20603. "type": "integer"
  20604. },
  20605. "wrstandardname": {
  20606. "description": "品类名称",
  20607. "type": "string"
  20608. }
  20609. }
  20610. },
  20611. "models.Ermcp3ExposureDetail": {
  20612. "type": "object",
  20613. "properties": {
  20614. "areauserid": {
  20615. "description": "机构ID",
  20616. "type": "integer"
  20617. },
  20618. "changeQty": {
  20619. "description": "套保变动量",
  20620. "type": "number"
  20621. },
  20622. "contracttype": {
  20623. "description": "现货合同类型 - 1:采购 -1:销售",
  20624. "type": "integer"
  20625. },
  20626. "convertfactor": {
  20627. "description": "标仓系数",
  20628. "type": "number"
  20629. },
  20630. "convertratio": {
  20631. "description": "折算系数",
  20632. "type": "number"
  20633. },
  20634. "createtime": {
  20635. "description": "时间",
  20636. "type": "string"
  20637. },
  20638. "enumdicname": {
  20639. "description": "现货商品单位名称",
  20640. "type": "string"
  20641. },
  20642. "logtype": {
  20643. "description": "类型 - 1:套保计划 2:现货合同",
  20644. "type": "integer"
  20645. },
  20646. "mgunitid": {
  20647. "description": "套保品种单位id",
  20648. "type": "integer"
  20649. },
  20650. "mgunitidname": {
  20651. "description": "套保品种单位名称",
  20652. "type": "string"
  20653. },
  20654. "middlegoodsId": {
  20655. "description": "套保商品id",
  20656. "type": "integer"
  20657. },
  20658. "middlegoodscode": {
  20659. "description": "套保商品代码",
  20660. "type": "string"
  20661. },
  20662. "middlegoodsname": {
  20663. "description": "套保商品名称",
  20664. "type": "string"
  20665. },
  20666. "qty": {
  20667. "description": "数量",
  20668. "type": "number"
  20669. },
  20670. "relateNo": {
  20671. "description": "现货合同/套保计划编号",
  20672. "type": "string"
  20673. },
  20674. "unitid": {
  20675. "description": "现货商品单位id",
  20676. "type": "integer"
  20677. },
  20678. "wrstandardcode": {
  20679. "description": "现货商品代码",
  20680. "type": "string"
  20681. },
  20682. "wrstandardid": {
  20683. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20684. "type": "integer"
  20685. },
  20686. "wrstandardname": {
  20687. "description": "现货商品名称",
  20688. "type": "string"
  20689. }
  20690. }
  20691. },
  20692. "models.Ermcp3ExposureFutuDetail": {
  20693. "type": "object",
  20694. "properties": {
  20695. "accountid": {
  20696. "description": "交易账户id",
  20697. "type": "integer"
  20698. },
  20699. "accountname": {
  20700. "description": "交易账户",
  20701. "type": "string"
  20702. },
  20703. "begindate": {
  20704. "description": "开始交易日",
  20705. "type": "string"
  20706. },
  20707. "buyorsell": {
  20708. "description": "方向 0-买 1-卖",
  20709. "type": "integer"
  20710. },
  20711. "diffmgqty": {
  20712. "description": "套保品种今变化量",
  20713. "type": "number"
  20714. },
  20715. "diffneedqty": {
  20716. "description": "应套保总量变化量",
  20717. "type": "number"
  20718. },
  20719. "difftradeqty": {
  20720. "description": "交易品种今变化量",
  20721. "type": "number"
  20722. },
  20723. "enddate": {
  20724. "description": "结束交易日",
  20725. "type": "string"
  20726. },
  20727. "enumdicname": {
  20728. "description": "单位名称",
  20729. "type": "string"
  20730. },
  20731. "goodscode": {
  20732. "description": "商品代码",
  20733. "type": "string"
  20734. },
  20735. "goodsid": {
  20736. "description": "商品id",
  20737. "type": "integer"
  20738. },
  20739. "goodsname": {
  20740. "description": "商品名称",
  20741. "type": "string"
  20742. },
  20743. "holdqty": {
  20744. "description": "期末持仓量",
  20745. "type": "number"
  20746. },
  20747. "middlegoodscode": {
  20748. "description": "套保商品代码",
  20749. "type": "string"
  20750. },
  20751. "middlegoodsid": {
  20752. "description": "套保商品id",
  20753. "type": "integer"
  20754. },
  20755. "middlegoodsname": {
  20756. "description": "套保商品名称",
  20757. "type": "string"
  20758. },
  20759. "oriholdqty": {
  20760. "description": "期初持仓量",
  20761. "type": "number"
  20762. },
  20763. "todaycloseqty": {
  20764. "description": "今平仓量",
  20765. "type": "number"
  20766. },
  20767. "todayopenqty": {
  20768. "description": "今开仓量",
  20769. "type": "number"
  20770. },
  20771. "tradedate": {
  20772. "description": "交易日",
  20773. "type": "string"
  20774. },
  20775. "username": {
  20776. "description": "用户名称(交易用户)",
  20777. "type": "string"
  20778. }
  20779. }
  20780. },
  20781. "models.Ermcp3ExposureHedgeplanDetail": {
  20782. "type": "object",
  20783. "properties": {
  20784. "biztype": {
  20785. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  20786. "type": "integer"
  20787. },
  20788. "changqty": {
  20789. "description": "应套保总量变化量",
  20790. "type": "number"
  20791. },
  20792. "contracttype": {
  20793. "description": "计划类型 - 1:采购 -1:销售",
  20794. "type": "integer"
  20795. },
  20796. "convertratio": {
  20797. "description": "折算系数(套保品种)",
  20798. "type": "number"
  20799. },
  20800. "deliverygoodscode": {
  20801. "description": "现货商品代码",
  20802. "type": "string"
  20803. },
  20804. "deliverygoodsid": {
  20805. "description": "现货商品id",
  20806. "type": "integer"
  20807. },
  20808. "deliverygoodsname": {
  20809. "description": "现货商吕名称",
  20810. "type": "string"
  20811. },
  20812. "dgunitid": {
  20813. "description": "现货商品单位id",
  20814. "type": "integer"
  20815. },
  20816. "dgunitidname": {
  20817. "description": "单位名称(现货商品)",
  20818. "type": "string"
  20819. },
  20820. "diffqty": {
  20821. "description": "套保品种今变动量",
  20822. "type": "number"
  20823. },
  20824. "enumdicname": {
  20825. "description": "单位名称(品类)",
  20826. "type": "string"
  20827. },
  20828. "hedgeplanid": {
  20829. "description": "套保计划id",
  20830. "type": "string"
  20831. },
  20832. "hedgeplanno": {
  20833. "description": "套保计划名称",
  20834. "type": "string"
  20835. },
  20836. "hedgeplanstatus": {
  20837. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20838. "type": "integer"
  20839. },
  20840. "mgunitidname": {
  20841. "description": "单位名称(套保商品)",
  20842. "type": "string"
  20843. },
  20844. "middlegoodscode": {
  20845. "description": "套保品种代码",
  20846. "type": "string"
  20847. },
  20848. "middlegoodsid": {
  20849. "description": "套保品种id",
  20850. "type": "integer"
  20851. },
  20852. "middlegoodsname": {
  20853. "description": "套保品种名称",
  20854. "type": "string"
  20855. },
  20856. "needarbitrageratio": {
  20857. "description": "应套利比例",
  20858. "type": "number"
  20859. },
  20860. "needhedgeratio": {
  20861. "description": "应套保比例",
  20862. "type": "number"
  20863. },
  20864. "pricedqty": {
  20865. "description": "已定价量",
  20866. "type": "number"
  20867. },
  20868. "qty": {
  20869. "description": "合同量",
  20870. "type": "number"
  20871. },
  20872. "tradedate": {
  20873. "description": "交易日(登记日)",
  20874. "type": "string"
  20875. },
  20876. "unitid": {
  20877. "description": "品类单位id",
  20878. "type": "integer"
  20879. },
  20880. "userid": {
  20881. "description": "机构id",
  20882. "type": "integer"
  20883. },
  20884. "wrstandardcode": {
  20885. "description": "品类代码",
  20886. "type": "string"
  20887. },
  20888. "wrstandardid": {
  20889. "description": "品类id",
  20890. "type": "integer"
  20891. },
  20892. "wrstandardname": {
  20893. "description": "品类名称",
  20894. "type": "string"
  20895. }
  20896. }
  20897. },
  20898. "models.Ermcp3ExposureParamChLog": {
  20899. "type": "object",
  20900. "properties": {
  20901. "accountid": {
  20902. "description": "期货账户ID (作废, 默认为0)",
  20903. "type": "integer"
  20904. },
  20905. "aftervalue": {
  20906. "description": "应套保\\套利量变更后(调整后应套保总量)",
  20907. "type": "number"
  20908. },
  20909. "areauserid": {
  20910. "description": "所属机构\\交易用户ID",
  20911. "type": "integer"
  20912. },
  20913. "beforevalue": {
  20914. "description": "应套保\\套利量变更前(调整前应套保总量)",
  20915. "type": "number"
  20916. },
  20917. "begindate": {
  20918. "description": "开始交易日",
  20919. "type": "string"
  20920. },
  20921. "changelogtype": {
  20922. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  20923. "type": "integer"
  20924. },
  20925. "curvalue": {
  20926. "description": "当前套保\\套利量(套保总量|套利总量)",
  20927. "type": "number"
  20928. },
  20929. "diffvalue": {
  20930. "description": "应套保总量变化量",
  20931. "type": "number"
  20932. },
  20933. "enddate": {
  20934. "description": "结束交易日",
  20935. "type": "string"
  20936. },
  20937. "logdatetime": {
  20938. "description": "流水日期",
  20939. "type": "string"
  20940. },
  20941. "logid": {
  20942. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  20943. "type": "string"
  20944. },
  20945. "middlegoodscode": {
  20946. "description": "套保品种代码",
  20947. "type": "string"
  20948. },
  20949. "middlegoodsid": {
  20950. "description": "套保品种",
  20951. "type": "integer"
  20952. },
  20953. "middlegoodsname": {
  20954. "description": "套保品种名称",
  20955. "type": "string"
  20956. },
  20957. "paramaftervalue": {
  20958. "description": "参数变更后(调整后参数值)",
  20959. "type": "number"
  20960. },
  20961. "parambeforevalue": {
  20962. "description": "参数变更前(调整前参数值)",
  20963. "type": "number"
  20964. },
  20965. "tradedate": {
  20966. "description": "交易日(yyyyMMdd)",
  20967. "type": "string"
  20968. }
  20969. }
  20970. },
  20971. "models.Ermcp3ExpourseReport": {
  20972. "type": "object",
  20973. "properties": {
  20974. "accountid": {
  20975. "description": "期货账户ID (作废, 默认为0)",
  20976. "type": "integer"
  20977. },
  20978. "accountname": {
  20979. "description": "机构名称",
  20980. "type": "string"
  20981. },
  20982. "arbitrageqty": {
  20983. "description": "套利量",
  20984. "type": "number"
  20985. },
  20986. "areauserid": {
  20987. "description": "所属机构\\交易用户ID",
  20988. "type": "integer"
  20989. },
  20990. "begindate": {
  20991. "description": "开始交易日",
  20992. "type": "string"
  20993. },
  20994. "buyfutureqty": {
  20995. "description": "买入期货数量",
  20996. "type": "number"
  20997. },
  20998. "buyplanqty": {
  20999. "description": "采购计划数量",
  21000. "type": "number"
  21001. },
  21002. "buypricedqty": {
  21003. "description": "采购合同已定价数量",
  21004. "type": "number"
  21005. },
  21006. "cycletime": {
  21007. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21008. "type": "string"
  21009. },
  21010. "cycletype": {
  21011. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21012. "type": "integer"
  21013. },
  21014. "diffexposure": {
  21015. "description": "变动量(套保敞口)",
  21016. "type": "number"
  21017. },
  21018. "difffutuqty": {
  21019. "description": "变动量(期货)",
  21020. "type": "number"
  21021. },
  21022. "diffhedgeqty": {
  21023. "description": "变动量(现货应套保总量)",
  21024. "type": "number"
  21025. },
  21026. "diffmgqtya": {
  21027. "description": "套保变动量",
  21028. "type": "number"
  21029. },
  21030. "diffmgqtyb": {
  21031. "description": "套利变动量",
  21032. "type": "number"
  21033. },
  21034. "diffqty": {
  21035. "description": "变动量(总敞口)",
  21036. "type": "number"
  21037. },
  21038. "diffspotqty": {
  21039. "description": "变动量(现货)",
  21040. "type": "number"
  21041. },
  21042. "enddate": {
  21043. "description": "结束交易日",
  21044. "type": "string"
  21045. },
  21046. "enumdicname": {
  21047. "description": "单位名称",
  21048. "type": "string"
  21049. },
  21050. "hedgeqty": {
  21051. "description": "套保量",
  21052. "type": "number"
  21053. },
  21054. "mgneedhedgeratio": {
  21055. "description": "套保比例(套保品的)",
  21056. "type": "number"
  21057. },
  21058. "middlegoodsid": {
  21059. "description": "套保品种ID",
  21060. "type": "integer"
  21061. },
  21062. "middlegoodsname": {
  21063. "description": "套保商品名称",
  21064. "type": "string"
  21065. },
  21066. "middlgoodscode": {
  21067. "description": "套保商品代码",
  21068. "type": "string"
  21069. },
  21070. "needarbitrageqty": {
  21071. "description": "应套利量",
  21072. "type": "number"
  21073. },
  21074. "needarbitrageratio": {
  21075. "description": "套利比例(套保品的)",
  21076. "type": "number"
  21077. },
  21078. "needhedgeexposoure": {
  21079. "description": "应套保敞口(套保敞口)",
  21080. "type": "number"
  21081. },
  21082. "needhedgeqty": {
  21083. "description": "应套保量",
  21084. "type": "number"
  21085. },
  21086. "needhedgeratio": {
  21087. "description": "应套保敞口比例",
  21088. "type": "number"
  21089. },
  21090. "oriarbitrageqty": {
  21091. "description": "期初套利量",
  21092. "type": "number"
  21093. },
  21094. "oribuyfutureqty": {
  21095. "description": "期初买入期货数量",
  21096. "type": "number"
  21097. },
  21098. "oribuyplanqty": {
  21099. "description": "期初采购计划数量",
  21100. "type": "number"
  21101. },
  21102. "oribuypricedqty": {
  21103. "description": "期初采购合同已定价数量",
  21104. "type": "number"
  21105. },
  21106. "orihedgeqty": {
  21107. "description": "期初套保量",
  21108. "type": "number"
  21109. },
  21110. "orineedarbitrageqty": {
  21111. "description": "期初应套利量",
  21112. "type": "number"
  21113. },
  21114. "orineedhedgeexposoure": {
  21115. "description": "期初应套保敞口",
  21116. "type": "number"
  21117. },
  21118. "orineedhedgeqty": {
  21119. "description": "期初应套保量",
  21120. "type": "number"
  21121. },
  21122. "orisellfutureqty": {
  21123. "description": "期初卖出期货数量",
  21124. "type": "number"
  21125. },
  21126. "orisellplanqty": {
  21127. "description": "期初销售计划数量",
  21128. "type": "number"
  21129. },
  21130. "orisellpricedqty": {
  21131. "description": "期初销售合同已定价数量",
  21132. "type": "number"
  21133. },
  21134. "oritotalexposure": {
  21135. "description": "期初实时总敞口",
  21136. "type": "number"
  21137. },
  21138. "oritotalfutureqty": {
  21139. "description": "期初期货头寸总量",
  21140. "type": "number"
  21141. },
  21142. "oritotalneedhedgeqty": {
  21143. "description": "期初应套保总量",
  21144. "type": "number"
  21145. },
  21146. "oritotalspotqty": {
  21147. "description": "期初现货头寸总量",
  21148. "type": "number"
  21149. },
  21150. "reckondate": {
  21151. "description": "日照时期(yyyyMMdd)",
  21152. "type": "string"
  21153. },
  21154. "sellfutureqty": {
  21155. "description": "卖出期货数量",
  21156. "type": "number"
  21157. },
  21158. "sellplanqty": {
  21159. "description": "销售计划数量",
  21160. "type": "number"
  21161. },
  21162. "sellpricedqty": {
  21163. "description": "销售合同已定价数量",
  21164. "type": "number"
  21165. },
  21166. "totalexposure": {
  21167. "description": "实时总敞口(总敞口)",
  21168. "type": "number"
  21169. },
  21170. "totalfutureqty": {
  21171. "description": "期货头寸总量(期货总量)",
  21172. "type": "number"
  21173. },
  21174. "totalhedgeratio": {
  21175. "description": "敞口比例",
  21176. "type": "number"
  21177. },
  21178. "totalneedhedgeqty": {
  21179. "description": "应套保总量(现货应套保总量)",
  21180. "type": "number"
  21181. },
  21182. "totalspotqty": {
  21183. "description": "现货头寸总量",
  21184. "type": "number"
  21185. },
  21186. "unitid": {
  21187. "description": "单位id",
  21188. "type": "integer"
  21189. },
  21190. "updatetime": {
  21191. "description": "更新时间",
  21192. "type": "string"
  21193. }
  21194. }
  21195. },
  21196. "models.Ermcp3FinanceReport": {
  21197. "type": "object",
  21198. "properties": {
  21199. "accountname": {
  21200. "description": "机构名称",
  21201. "type": "string"
  21202. },
  21203. "areauserid": {
  21204. "description": "所属机构\\交易用户ID",
  21205. "type": "integer"
  21206. },
  21207. "begindate": {
  21208. "description": "开始交易日",
  21209. "type": "string"
  21210. },
  21211. "biztype": {
  21212. "description": "业务类型 - 1:套保 2:套利",
  21213. "type": "integer"
  21214. },
  21215. "brandname": {
  21216. "description": "品牌名称",
  21217. "type": "string"
  21218. },
  21219. "buypreinvoicedamount": {
  21220. "description": "采购预收票额(预收票额)",
  21221. "type": "number"
  21222. },
  21223. "buyprepaidamount": {
  21224. "description": "采购预付款额(预付货款额)",
  21225. "type": "number"
  21226. },
  21227. "buytodayinvoiceamount": {
  21228. "description": "采购今收票额(今收票额)",
  21229. "type": "number"
  21230. },
  21231. "buytodayrefundamount": {
  21232. "description": "采购今收退款额(今收退款额)",
  21233. "type": "number"
  21234. },
  21235. "buytodaysettleamount": {
  21236. "description": "采购今付款额(今付货款额)",
  21237. "type": "number"
  21238. },
  21239. "buyuninvoicedamount": {
  21240. "description": "采购应收票额(应收票额)",
  21241. "type": "number"
  21242. },
  21243. "buyunpaidamount": {
  21244. "description": "采购应付款额(应付货款额)",
  21245. "type": "number"
  21246. },
  21247. "currencyid": {
  21248. "description": "结算币种ID",
  21249. "type": "integer"
  21250. },
  21251. "currencyname": {
  21252. "description": "币种名称",
  21253. "type": "string"
  21254. },
  21255. "cycletime": {
  21256. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21257. "type": "string"
  21258. },
  21259. "cycletype": {
  21260. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21261. "type": "integer"
  21262. },
  21263. "deliverygoodscode": {
  21264. "description": "现货品种代码",
  21265. "type": "string"
  21266. },
  21267. "deliverygoodsid": {
  21268. "description": "现货品种ID",
  21269. "type": "integer"
  21270. },
  21271. "deliverygoodsname": {
  21272. "description": "现货品种名称",
  21273. "type": "string"
  21274. },
  21275. "enddate": {
  21276. "description": "结束交易日",
  21277. "type": "string"
  21278. },
  21279. "reckondate": {
  21280. "description": "日照时期(yyyyMMdd)",
  21281. "type": "string"
  21282. },
  21283. "sellpreinvoicedamount": {
  21284. "description": "销售预开票额(预开票额)",
  21285. "type": "number"
  21286. },
  21287. "sellprepaidamount": {
  21288. "description": "销售预收款额(预收货款额)",
  21289. "type": "number"
  21290. },
  21291. "selltodayinvoiceamount": {
  21292. "description": "销售今开票额(今开票额)",
  21293. "type": "number"
  21294. },
  21295. "selltodayrefundamount": {
  21296. "description": "销售今付退款额(今付退款额)",
  21297. "type": "number"
  21298. },
  21299. "selltodaysettleamount": {
  21300. "description": "销售今收款额(今收货款额)",
  21301. "type": "number"
  21302. },
  21303. "selluninvoicedamount": {
  21304. "description": "销售应开票额(应开票额)",
  21305. "type": "number"
  21306. },
  21307. "sellunpaidamount": {
  21308. "description": "销售应收款额(应收货款额)",
  21309. "type": "number"
  21310. },
  21311. "spotgoodsbrandid": {
  21312. "description": "现货品牌ID",
  21313. "type": "integer"
  21314. },
  21315. "todaypaysum": {
  21316. "description": "今付款合计",
  21317. "type": "number"
  21318. },
  21319. "todayreceivesum": {
  21320. "description": "今收款合计",
  21321. "type": "number"
  21322. },
  21323. "updatetime": {
  21324. "description": "更新时间",
  21325. "type": "string"
  21326. },
  21327. "wrfactortypeid": {
  21328. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21329. "type": "integer"
  21330. },
  21331. "wrstandardcode": {
  21332. "description": "品类代码",
  21333. "type": "string"
  21334. },
  21335. "wrstandardid": {
  21336. "description": "现货商品ID",
  21337. "type": "integer"
  21338. },
  21339. "wrstandardname": {
  21340. "description": "品类名称",
  21341. "type": "string"
  21342. }
  21343. }
  21344. },
  21345. "models.Ermcp3GoodsGroup": {
  21346. "type": "object",
  21347. "required": [
  21348. "areauserid"
  21349. ],
  21350. "properties": {
  21351. "agreeunit": {
  21352. "description": "合约单位",
  21353. "type": "number"
  21354. },
  21355. "areauserid": {
  21356. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  21357. "type": "integer"
  21358. },
  21359. "canshort": {
  21360. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21361. "type": "integer"
  21362. },
  21363. "closepricemode": {
  21364. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21365. "type": "integer"
  21366. },
  21367. "createtime": {
  21368. "description": "创建时间",
  21369. "type": "string"
  21370. },
  21371. "creatorid": {
  21372. "description": "创建人",
  21373. "type": "integer"
  21374. },
  21375. "currencyid": {
  21376. "description": "报价货币ID",
  21377. "type": "integer"
  21378. },
  21379. "decimalplace": {
  21380. "description": "报价小数位",
  21381. "type": "integer"
  21382. },
  21383. "enumdicname": {
  21384. "description": "单位名称",
  21385. "type": "string"
  21386. },
  21387. "exchangefullname": {
  21388. "description": "交易所全称",
  21389. "type": "string"
  21390. },
  21391. "excludecfg": {
  21392. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  21393. "type": "integer"
  21394. },
  21395. "exexchangecode": {
  21396. "description": "交易所代码",
  21397. "type": "string"
  21398. },
  21399. "exexchangeid": {
  21400. "description": "外部交易所ID[通道交易]",
  21401. "type": "integer"
  21402. },
  21403. "exexchangename": {
  21404. "description": "交易所名称",
  21405. "type": "string"
  21406. },
  21407. "goodsgroupid": {
  21408. "description": "商品组ID(自增ID)",
  21409. "type": "integer"
  21410. },
  21411. "goodsgroupname": {
  21412. "description": "商品组名称",
  21413. "type": "string"
  21414. },
  21415. "goodsgroupstatus": {
  21416. "description": "商品组状态 - 1:正常 2:注销",
  21417. "type": "integer"
  21418. },
  21419. "goodunitid": {
  21420. "description": "报价单位ID",
  21421. "type": "integer"
  21422. },
  21423. "groupcategroyid": {
  21424. "description": "品种分类ID",
  21425. "type": "integer"
  21426. },
  21427. "innerdealmode": {
  21428. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21429. "type": "integer"
  21430. },
  21431. "marketid": {
  21432. "description": "所属市场ID",
  21433. "type": "integer"
  21434. },
  21435. "modifierid": {
  21436. "description": "修改人",
  21437. "type": "integer"
  21438. },
  21439. "modifytime": {
  21440. "description": "修改时间",
  21441. "type": "string"
  21442. },
  21443. "outerdealmode": {
  21444. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21445. "type": "integer"
  21446. },
  21447. "outergroupcode": {
  21448. "description": "外部商品组代码[通道交易]",
  21449. "type": "string"
  21450. },
  21451. "quoteminunit": {
  21452. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21453. "type": "integer"
  21454. },
  21455. "quotesourcegroupid": {
  21456. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21457. "type": "integer"
  21458. },
  21459. "syncgoodsqty": {
  21460. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21461. "type": "integer"
  21462. }
  21463. }
  21464. },
  21465. "models.Ermcp3HedgePlan": {
  21466. "type": "object",
  21467. "properties": {
  21468. "accountid": {
  21469. "description": "资金账号",
  21470. "type": "integer"
  21471. },
  21472. "areauserid": {
  21473. "description": "用户ID",
  21474. "type": "integer"
  21475. },
  21476. "auditid": {
  21477. "description": "审核id",
  21478. "type": "integer"
  21479. },
  21480. "auditname": {
  21481. "description": "审核人名称",
  21482. "type": "string"
  21483. },
  21484. "auditremark": {
  21485. "description": "审核备注",
  21486. "type": "string"
  21487. },
  21488. "auditsrc": {
  21489. "description": "审核来源 1-管理端 2-终端",
  21490. "type": "integer"
  21491. },
  21492. "audittime": {
  21493. "description": "审核时间",
  21494. "type": "string"
  21495. },
  21496. "contracttype": {
  21497. "description": "计划类型 - 1:采购 -1:销售",
  21498. "type": "integer"
  21499. },
  21500. "convertfactor": {
  21501. "description": "标仓系数",
  21502. "type": "number"
  21503. },
  21504. "createtime": {
  21505. "description": "创建时间",
  21506. "type": "string"
  21507. },
  21508. "currencyid": {
  21509. "description": "币种id",
  21510. "type": "integer"
  21511. },
  21512. "currencyname": {
  21513. "description": "币种名称",
  21514. "type": "string"
  21515. },
  21516. "deliverygoodscode": {
  21517. "description": "现货品种代码",
  21518. "type": "string"
  21519. },
  21520. "deliverygoodsid": {
  21521. "description": "现货品种ID",
  21522. "type": "integer"
  21523. },
  21524. "deliverygoodsname": {
  21525. "description": "现货品种名称",
  21526. "type": "string"
  21527. },
  21528. "enumdicname": {
  21529. "description": "单位名称(现货商品)",
  21530. "type": "string"
  21531. },
  21532. "hedgeplanid": {
  21533. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  21534. "type": "string"
  21535. },
  21536. "hedgeplanno": {
  21537. "description": "套保计划编号(名称)",
  21538. "type": "string"
  21539. },
  21540. "hedgeplanstatus": {
  21541. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21542. "type": "integer"
  21543. },
  21544. "planqty": {
  21545. "description": "计划数量",
  21546. "type": "number"
  21547. },
  21548. "plantime": {
  21549. "description": "计划时间",
  21550. "type": "string"
  21551. },
  21552. "producttype": {
  21553. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21554. "type": "integer"
  21555. },
  21556. "remark": {
  21557. "description": "备注",
  21558. "type": "string"
  21559. },
  21560. "spotgoodsdesc": {
  21561. "description": "商品型号",
  21562. "type": "string"
  21563. },
  21564. "taaccountname": {
  21565. "description": "资金账号名称",
  21566. "type": "string"
  21567. },
  21568. "tradeuserid": {
  21569. "description": "交易用户id",
  21570. "type": "integer"
  21571. },
  21572. "tradeusername": {
  21573. "description": "交易用户名称",
  21574. "type": "string"
  21575. },
  21576. "unitid": {
  21577. "description": "单位id(现货商品)",
  21578. "type": "integer"
  21579. },
  21580. "updatetime": {
  21581. "description": "更新时间",
  21582. "type": "string"
  21583. },
  21584. "vatrate": {
  21585. "description": "增值税率",
  21586. "type": "number"
  21587. },
  21588. "wrstandardcode": {
  21589. "description": "品类代码",
  21590. "type": "string"
  21591. },
  21592. "wrstandardid": {
  21593. "description": "品类id",
  21594. "type": "integer"
  21595. },
  21596. "wrstandardname": {
  21597. "description": "品类名称",
  21598. "type": "string"
  21599. },
  21600. "wrunitid": {
  21601. "description": "品类单位id",
  21602. "type": "integer"
  21603. },
  21604. "wrunitidame": {
  21605. "description": "品类单位名称",
  21606. "type": "string"
  21607. }
  21608. }
  21609. },
  21610. "models.Ermcp3InnerTradeLink": {
  21611. "type": "object",
  21612. "properties": {
  21613. "accountid": {
  21614. "description": "期货账号代码 | 资金账号ID",
  21615. "type": "integer"
  21616. },
  21617. "buyorsell": {
  21618. "description": "方向 - 0:买 1:卖",
  21619. "type": "integer"
  21620. },
  21621. "channelbuildtype": {
  21622. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21623. "type": "integer"
  21624. },
  21625. "currencyid": {
  21626. "description": "币种id",
  21627. "type": "integer"
  21628. },
  21629. "currencyname": {
  21630. "description": "结算币种 名称",
  21631. "type": "string"
  21632. },
  21633. "goodscode": {
  21634. "description": "商品代码",
  21635. "type": "string"
  21636. },
  21637. "goodsid": {
  21638. "description": "商品ID",
  21639. "type": "integer"
  21640. },
  21641. "goodsname": {
  21642. "description": "商品名称",
  21643. "type": "string"
  21644. },
  21645. "outtradeid": {
  21646. "description": "外部成交单号",
  21647. "type": "string"
  21648. },
  21649. "taname": {
  21650. "description": "期货账户名称",
  21651. "type": "string"
  21652. },
  21653. "tradeid": {
  21654. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21655. "type": "string"
  21656. },
  21657. "tradeprice": {
  21658. "description": "成交价格",
  21659. "type": "number"
  21660. },
  21661. "tradeqty": {
  21662. "description": "期货成交数量",
  21663. "type": "integer"
  21664. },
  21665. "tradetime": {
  21666. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  21667. "type": "string"
  21668. },
  21669. "username": {
  21670. "description": "用户名称",
  21671. "type": "string"
  21672. }
  21673. }
  21674. },
  21675. "models.Ermcp3OutTradeLink": {
  21676. "type": "object",
  21677. "properties": {
  21678. "buyorsell": {
  21679. "description": "买卖方向 - 0:买 1:卖",
  21680. "type": "integer"
  21681. },
  21682. "channelbuildtype": {
  21683. "description": "开平标志- 0:无 1:建仓 2:平仓",
  21684. "type": "integer"
  21685. },
  21686. "currencyname": {
  21687. "description": "币种名称",
  21688. "type": "string"
  21689. },
  21690. "exexchangecode": {
  21691. "description": "交易所代码",
  21692. "type": "string"
  21693. },
  21694. "exexchangename": {
  21695. "description": "交易所名称",
  21696. "type": "string"
  21697. },
  21698. "goodscode": {
  21699. "description": "合约代码",
  21700. "type": "string"
  21701. },
  21702. "goodsid": {
  21703. "description": "合约id",
  21704. "type": "integer"
  21705. },
  21706. "goodsname": {
  21707. "description": "合约名称",
  21708. "type": "string"
  21709. },
  21710. "hasinnerorder": {
  21711. "description": "是否有内部单关联 - 0:无 1:有",
  21712. "type": "integer"
  21713. },
  21714. "hedgeaccountcode": {
  21715. "description": "外部账号 | 对冲账号",
  21716. "type": "string"
  21717. },
  21718. "outtradeid": {
  21719. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21720. "type": "string"
  21721. },
  21722. "tradeprice": {
  21723. "description": "成交价格",
  21724. "type": "number"
  21725. },
  21726. "tradeqty": {
  21727. "description": "成交数量",
  21728. "type": "integer"
  21729. },
  21730. "tradetime": {
  21731. "description": "成交时间",
  21732. "type": "string"
  21733. }
  21734. }
  21735. },
  21736. "models.Ermcp3PaAreaAuditCfg": {
  21737. "type": "object",
  21738. "properties": {
  21739. "areauserid": {
  21740. "description": "用户ID",
  21741. "type": "integer"
  21742. },
  21743. "buyinauditflag": {
  21744. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  21745. "type": "integer"
  21746. },
  21747. "costratioauditflag": {
  21748. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  21749. "type": "integer"
  21750. },
  21751. "customerauditflag": {
  21752. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  21753. "type": "integer"
  21754. },
  21755. "deliveryauditflag": {
  21756. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  21757. "type": "integer"
  21758. },
  21759. "invoiceauditflag": {
  21760. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  21761. "type": "integer"
  21762. },
  21763. "mgneedhedgeratioauditflag": {
  21764. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  21765. "type": "integer"
  21766. },
  21767. "moneyauditflag": {
  21768. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  21769. "type": "integer"
  21770. },
  21771. "operatorid": {
  21772. "description": "操作人",
  21773. "type": "integer"
  21774. },
  21775. "operatorsrc": {
  21776. "description": "操作来源 - 1:管理端 2:终端",
  21777. "type": "integer"
  21778. },
  21779. "pointpriceauditflag": {
  21780. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  21781. "type": "integer"
  21782. },
  21783. "produceinauditflag": {
  21784. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  21785. "type": "integer"
  21786. },
  21787. "produceoutauditflag": {
  21788. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  21789. "type": "integer"
  21790. },
  21791. "selloutauditflag": {
  21792. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  21793. "type": "integer"
  21794. },
  21795. "sgconvertratioauditflag": {
  21796. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  21797. "type": "integer"
  21798. },
  21799. "sgvtaratioauditflag": {
  21800. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  21801. "type": "integer"
  21802. },
  21803. "spotcontractauditflag": {
  21804. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  21805. "type": "integer"
  21806. },
  21807. "updatetime": {
  21808. "description": "更新时间",
  21809. "type": "string"
  21810. }
  21811. }
  21812. },
  21813. "models.Ermcp3PaAreaSubject": {
  21814. "type": "object",
  21815. "properties": {
  21816. "areauserid": {
  21817. "description": "所属机构",
  21818. "type": "integer"
  21819. },
  21820. "canmodify": {
  21821. "description": "是否可修改 - 0:否 1:是",
  21822. "type": "integer"
  21823. },
  21824. "createtime": {
  21825. "description": "创建时间",
  21826. "type": "string"
  21827. },
  21828. "creatorid": {
  21829. "description": "创建人ID",
  21830. "type": "string"
  21831. },
  21832. "creatorsrc": {
  21833. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  21834. "type": "integer"
  21835. },
  21836. "modifierid": {
  21837. "description": "修改人",
  21838. "type": "string"
  21839. },
  21840. "modifiersrc": {
  21841. "description": "修改人来源 - 1:管理端 2:终端",
  21842. "type": "integer"
  21843. },
  21844. "modifytime": {
  21845. "description": "修改时间",
  21846. "type": "string"
  21847. },
  21848. "parentsubjectid": {
  21849. "description": "上级主体ID",
  21850. "type": "string"
  21851. },
  21852. "remark": {
  21853. "description": "备注",
  21854. "type": "string"
  21855. },
  21856. "subjectid": {
  21857. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  21858. "type": "integer"
  21859. },
  21860. "subjectname": {
  21861. "description": "主体名称",
  21862. "type": "string"
  21863. },
  21864. "subjectstatus": {
  21865. "description": "主体状态 - 1:正常 2: 停用",
  21866. "type": "integer"
  21867. },
  21868. "subjecttype": {
  21869. "description": "主体类型 - 1:交易主体 2:业务部门",
  21870. "type": "integer"
  21871. }
  21872. }
  21873. },
  21874. "models.Ermcp3PaTradeLink": {
  21875. "type": "object",
  21876. "properties": {
  21877. "accountid": {
  21878. "description": "期货账户代码 | 账号ID",
  21879. "type": "integer"
  21880. },
  21881. "agreeunit": {
  21882. "description": "合约乘数",
  21883. "type": "number"
  21884. },
  21885. "buyorsell": {
  21886. "description": "方向 - 0:买 1:卖",
  21887. "type": "integer"
  21888. },
  21889. "channelbuildtype": {
  21890. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21891. "type": "integer"
  21892. },
  21893. "charge": {
  21894. "description": "手续费",
  21895. "type": "number"
  21896. },
  21897. "closepl": {
  21898. "description": "平仓盈亏",
  21899. "type": "number"
  21900. },
  21901. "closetype": {
  21902. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  21903. "type": "integer"
  21904. },
  21905. "convertratio": {
  21906. "description": "折算系数",
  21907. "type": "number"
  21908. },
  21909. "enumdicname": {
  21910. "description": "单位名称",
  21911. "type": "string"
  21912. },
  21913. "executeprice": {
  21914. "description": "执行价 [期权]",
  21915. "type": "integer"
  21916. },
  21917. "goodscode": {
  21918. "description": "合约代码",
  21919. "type": "string"
  21920. },
  21921. "goodsgroupid": {
  21922. "description": "对冲品种ID[期货合约商品组ID]",
  21923. "type": "integer"
  21924. },
  21925. "goodsid": {
  21926. "description": "商品ID",
  21927. "type": "integer"
  21928. },
  21929. "goodsname": {
  21930. "description": "合约名称",
  21931. "type": "string"
  21932. },
  21933. "goodunitid": {
  21934. "description": "单位id",
  21935. "type": "integer"
  21936. },
  21937. "hedgeflag": {
  21938. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  21939. "type": "integer"
  21940. },
  21941. "marketid": {
  21942. "description": "市场ID",
  21943. "type": "integer"
  21944. },
  21945. "middlegoodsid": {
  21946. "description": "套保品种ID",
  21947. "type": "integer"
  21948. },
  21949. "middlegoodsqty": {
  21950. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  21951. "type": "number"
  21952. },
  21953. "optioncode": {
  21954. "description": "期权代码 [期权]",
  21955. "type": "string"
  21956. },
  21957. "ordertype": {
  21958. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  21959. "type": "integer"
  21960. },
  21961. "ordertypename": {
  21962. "description": "订单类型",
  21963. "type": "string"
  21964. },
  21965. "parentaccountid": {
  21966. "description": "所属母账户",
  21967. "type": "integer"
  21968. },
  21969. "premium": {
  21970. "description": "权利金 [期权]",
  21971. "type": "number"
  21972. },
  21973. "relatedlot": {
  21974. "description": "已关联数量(已关联数量手) | db:关联手数",
  21975. "type": "number"
  21976. },
  21977. "relatedouttradeid": {
  21978. "description": "关联外部成交单ID",
  21979. "type": "string"
  21980. },
  21981. "relatedqty": {
  21982. "description": "关联数量",
  21983. "type": "number"
  21984. },
  21985. "spotcontractid": {
  21986. "description": "现货合同ID [4:套期保值\\10\\11]",
  21987. "type": "string"
  21988. },
  21989. "taname": {
  21990. "description": "期货账户名称",
  21991. "type": "string"
  21992. },
  21993. "tradeamount": {
  21994. "description": "成交金额(账户)",
  21995. "type": "number"
  21996. },
  21997. "tradedate": {
  21998. "description": "交易日(yyyyMMdd)",
  21999. "type": "string"
  22000. },
  22001. "tradeid": {
  22002. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22003. "type": "string"
  22004. },
  22005. "tradelot": {
  22006. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  22007. "type": "integer"
  22008. },
  22009. "tradeprice": {
  22010. "description": "成交价格",
  22011. "type": "number"
  22012. },
  22013. "tradetime": {
  22014. "description": "时间 | db:成交时间",
  22015. "type": "string"
  22016. },
  22017. "tradetype": {
  22018. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  22019. "type": "integer"
  22020. },
  22021. "userid": {
  22022. "description": "所属机构 - 所属母账户的UserID",
  22023. "type": "string"
  22024. },
  22025. "username": {
  22026. "description": "用户名称",
  22027. "type": "string"
  22028. }
  22029. }
  22030. },
  22031. "models.Ermcp3ParamChangeApp": {
  22032. "type": "object",
  22033. "properties": {
  22034. "aftervalue": {
  22035. "description": "变更后",
  22036. "type": "number"
  22037. },
  22038. "applicationid": {
  22039. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  22040. "type": "string"
  22041. },
  22042. "applyid": {
  22043. "description": "申请人",
  22044. "type": "string"
  22045. },
  22046. "applyname": {
  22047. "description": "申请人名称(代码)",
  22048. "type": "string"
  22049. },
  22050. "applyremark": {
  22051. "description": "申请备注",
  22052. "type": "string"
  22053. },
  22054. "applysrc": {
  22055. "description": "申请来源 - 1:管理端 2:终端",
  22056. "type": "integer"
  22057. },
  22058. "applystatus": {
  22059. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22060. "type": "integer"
  22061. },
  22062. "applytime": {
  22063. "description": "申请时间",
  22064. "type": "string"
  22065. },
  22066. "areauserid": {
  22067. "description": "所属机构用户ID",
  22068. "type": "integer"
  22069. },
  22070. "auditid": {
  22071. "description": "审核人",
  22072. "type": "string"
  22073. },
  22074. "auditname": {
  22075. "description": "审核人名称(代码)",
  22076. "type": "string"
  22077. },
  22078. "auditremark": {
  22079. "description": "审核备注",
  22080. "type": "string"
  22081. },
  22082. "auditsrc": {
  22083. "description": "审核来源 - 1:管理端 2:终端",
  22084. "type": "integer"
  22085. },
  22086. "audittime": {
  22087. "description": "审核时间",
  22088. "type": "string"
  22089. },
  22090. "audittradedate": {
  22091. "description": "审核交易日(yyyyMMdd)",
  22092. "type": "string"
  22093. },
  22094. "beforevalue": {
  22095. "description": "变更前",
  22096. "type": "number"
  22097. },
  22098. "deliverygoodscode": {
  22099. "description": "品种代码",
  22100. "type": "string"
  22101. },
  22102. "deliverygoodsid": {
  22103. "description": "品种id",
  22104. "type": "integer"
  22105. },
  22106. "deliverygoodsname": {
  22107. "description": "品种名称",
  22108. "type": "string"
  22109. },
  22110. "middlegoodscode": {
  22111. "description": "套保品种代码",
  22112. "type": "string"
  22113. },
  22114. "middlegoodsid": {
  22115. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  22116. "type": "integer"
  22117. },
  22118. "middlegoodsname": {
  22119. "description": "套保品种名称",
  22120. "type": "string"
  22121. },
  22122. "operatetype": {
  22123. "description": "操作类型 - 1:新增 2:修改",
  22124. "type": "integer"
  22125. },
  22126. "paramchangetype": {
  22127. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  22128. "type": "integer"
  22129. },
  22130. "wrstandardcode": {
  22131. "description": "现货商品代码",
  22132. "type": "string"
  22133. },
  22134. "wrstandardid": {
  22135. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  22136. "type": "integer"
  22137. },
  22138. "wrstandardname": {
  22139. "description": "现货商品名称",
  22140. "type": "string"
  22141. }
  22142. }
  22143. },
  22144. "models.Ermcp3RootUserAccount": {
  22145. "type": "object",
  22146. "properties": {
  22147. "accountname": {
  22148. "description": "账户名称(机构名称)",
  22149. "type": "string"
  22150. },
  22151. "accountstatus": {
  22152. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  22153. "type": "integer"
  22154. },
  22155. "applysrc": {
  22156. "description": "申请来源 - 1:管理端 2:终端",
  22157. "type": "integer"
  22158. },
  22159. "auditremark": {
  22160. "description": "审核备注",
  22161. "type": "string"
  22162. },
  22163. "auditsrc": {
  22164. "description": "审核来源 - 1:管理端 2:终端",
  22165. "type": "integer"
  22166. },
  22167. "audittime": {
  22168. "description": "审核时间",
  22169. "type": "string"
  22170. },
  22171. "audituserid": {
  22172. "description": "审核人",
  22173. "type": "integer"
  22174. },
  22175. "broker": {
  22176. "description": "所属经纪人ID",
  22177. "type": "integer"
  22178. },
  22179. "canceltime": {
  22180. "description": "销户时间",
  22181. "type": "string"
  22182. },
  22183. "canceluserid": {
  22184. "description": "销户人",
  22185. "type": "integer"
  22186. },
  22187. "canrecommend": {
  22188. "description": "是否可推荐 - 0:不可 1;可",
  22189. "type": "integer"
  22190. },
  22191. "createtime": {
  22192. "description": "创建时间",
  22193. "type": "string"
  22194. },
  22195. "creatorid": {
  22196. "description": "创建人",
  22197. "type": "integer"
  22198. },
  22199. "hasauth": {
  22200. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22201. "type": "integer"
  22202. },
  22203. "isanonymous": {
  22204. "description": "是否匿名下单 - 0:否 1:是",
  22205. "type": "integer"
  22206. },
  22207. "maxinvestornum": {
  22208. "description": "最大用户数(经纪会员下投资者个数)",
  22209. "type": "integer"
  22210. },
  22211. "memberuserid": {
  22212. "description": "所属会员ID",
  22213. "type": "integer"
  22214. },
  22215. "modifierid": {
  22216. "description": "修改人",
  22217. "type": "integer"
  22218. },
  22219. "modifyremark": {
  22220. "description": "变更备注",
  22221. "type": "string"
  22222. },
  22223. "modifystatus": {
  22224. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22225. "type": "integer"
  22226. },
  22227. "modifytime": {
  22228. "description": "修改时间",
  22229. "type": "string"
  22230. },
  22231. "parenttopuser": {
  22232. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  22233. "type": "string"
  22234. },
  22235. "parentuserid": {
  22236. "description": "所属机构ID",
  22237. "type": "integer"
  22238. },
  22239. "reckonaccountid": {
  22240. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22241. "type": "integer"
  22242. },
  22243. "refercount": {
  22244. "description": "推荐总人数",
  22245. "type": "integer"
  22246. },
  22247. "refereeuserid": {
  22248. "description": "推荐人ID",
  22249. "type": "integer"
  22250. },
  22251. "refernum": {
  22252. "description": "推荐码",
  22253. "type": "string"
  22254. },
  22255. "rootuserid": {
  22256. "description": "根用户ID",
  22257. "type": "integer"
  22258. },
  22259. "subaccountlevel": {
  22260. "description": "子账户层数",
  22261. "type": "integer"
  22262. },
  22263. "subarealevelpath": {
  22264. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22265. "type": "string"
  22266. },
  22267. "userid": {
  22268. "description": "用户ID",
  22269. "type": "integer"
  22270. },
  22271. "usertype": {
  22272. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22273. "type": "integer"
  22274. }
  22275. }
  22276. },
  22277. "models.Ermcp3SCMiddleGoods": {
  22278. "type": "object",
  22279. "properties": {
  22280. "biztype": {
  22281. "description": "业务类型 1:套保 2:套利",
  22282. "type": "integer"
  22283. },
  22284. "contractno": {
  22285. "description": "合同编号",
  22286. "type": "string"
  22287. },
  22288. "contracttype": {
  22289. "description": "合同类型 1:采购 -1:销售",
  22290. "type": "integer"
  22291. },
  22292. "customername": {
  22293. "description": "对手手名称",
  22294. "type": "string"
  22295. },
  22296. "customeruserid": {
  22297. "description": "对手id",
  22298. "type": "integer"
  22299. },
  22300. "deliverygoodscode": {
  22301. "description": "现货品种代码",
  22302. "type": "string"
  22303. },
  22304. "deliverygoodsid": {
  22305. "description": "现货品种ID",
  22306. "type": "integer"
  22307. },
  22308. "deliverygoodsname": {
  22309. "description": "现货品种名称",
  22310. "type": "string"
  22311. },
  22312. "enumdicname": {
  22313. "description": "现货单位名称",
  22314. "type": "string"
  22315. },
  22316. "middlegoodsid": {
  22317. "description": "套保品种ID",
  22318. "type": "integer"
  22319. },
  22320. "middlegoodspricedqty3": {
  22321. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  22322. "type": "number"
  22323. },
  22324. "needhedgeratio": {
  22325. "description": "套保比例",
  22326. "type": "number"
  22327. },
  22328. "pricedqty": {
  22329. "description": "已定价量",
  22330. "type": "number"
  22331. },
  22332. "relatedmiddlegoodsqty": {
  22333. "description": "已关联量(套保品种)(期货)",
  22334. "type": "number"
  22335. },
  22336. "spotcontractid": {
  22337. "description": "合同编号",
  22338. "type": "string"
  22339. },
  22340. "unitid": {
  22341. "description": "现货单位id",
  22342. "type": "integer"
  22343. },
  22344. "userid": {
  22345. "description": "用户id",
  22346. "type": "integer"
  22347. },
  22348. "vatrate": {
  22349. "description": "增值税率",
  22350. "type": "number"
  22351. },
  22352. "wrstandardcode": {
  22353. "description": "现货商品代码",
  22354. "type": "string"
  22355. },
  22356. "wrstandardid": {
  22357. "description": "现货商品id",
  22358. "type": "integer"
  22359. },
  22360. "wrstandardname": {
  22361. "description": "现货商品名称",
  22362. "type": "string"
  22363. }
  22364. }
  22365. },
  22366. "models.Ermcp3SCMiddleGoodsReport": {
  22367. "type": "object",
  22368. "properties": {
  22369. "begindate": {
  22370. "description": "开始交易日",
  22371. "type": "string"
  22372. },
  22373. "contractno": {
  22374. "description": "合同编号",
  22375. "type": "string"
  22376. },
  22377. "contracttype": {
  22378. "description": "合同类型 1:采购 -1:销售",
  22379. "type": "integer"
  22380. },
  22381. "convertratio": {
  22382. "description": "折算系数",
  22383. "type": "number"
  22384. },
  22385. "cycletime": {
  22386. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22387. "type": "string"
  22388. },
  22389. "cycletype": {
  22390. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22391. "type": "integer"
  22392. },
  22393. "deliverygoodscode": {
  22394. "description": "品种代码",
  22395. "type": "string"
  22396. },
  22397. "deliverygoodsid": {
  22398. "description": "现货品种ID",
  22399. "type": "integer"
  22400. },
  22401. "deliverygoodsname": {
  22402. "description": "品种名称",
  22403. "type": "string"
  22404. },
  22405. "diffprice": {
  22406. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  22407. "type": "number"
  22408. },
  22409. "diffqty": {
  22410. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  22411. "type": "number"
  22412. },
  22413. "enddate": {
  22414. "description": "结束交易日",
  22415. "type": "string"
  22416. },
  22417. "hedgeplanqty": {
  22418. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  22419. "type": "number"
  22420. },
  22421. "matchname": {
  22422. "description": "交易对手方(个人:用户名称 企业:简称)",
  22423. "type": "string"
  22424. },
  22425. "middlegoodscode": {
  22426. "description": "套保品种代码",
  22427. "type": "string"
  22428. },
  22429. "middlegoodsid": {
  22430. "description": "套保品种ID",
  22431. "type": "integer"
  22432. },
  22433. "middlegoodsname": {
  22434. "description": "套保品种名称",
  22435. "type": "string"
  22436. },
  22437. "middlegoodspricedqty": {
  22438. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  22439. "type": "number"
  22440. },
  22441. "middlegoodspricedqty2": {
  22442. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  22443. "type": "number"
  22444. },
  22445. "middlegoodspricedqty3": {
  22446. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  22447. "type": "number"
  22448. },
  22449. "needhedgeratio": {
  22450. "description": "套保系数",
  22451. "type": "number"
  22452. },
  22453. "pricedamount": {
  22454. "description": "已定价额(现货)",
  22455. "type": "number"
  22456. },
  22457. "pricedamount2": {
  22458. "description": "已定价额(现货-基价额)",
  22459. "type": "number"
  22460. },
  22461. "pricedqty": {
  22462. "description": "已定价量(现货)",
  22463. "type": "number"
  22464. },
  22465. "reckondate": {
  22466. "description": "日照时期(yyyyMMdd)",
  22467. "type": "string"
  22468. },
  22469. "relatedmiddlegoodsamount": {
  22470. "description": "已关联额(期货)",
  22471. "type": "number"
  22472. },
  22473. "relatedmiddlegoodsqty": {
  22474. "description": "已关联量(套保品种)(期货)",
  22475. "type": "number"
  22476. },
  22477. "spotcontractid": {
  22478. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22479. "type": "string"
  22480. },
  22481. "todayavgfutuprice": {
  22482. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty",
  22483. "type": "number"
  22484. },
  22485. "todayavgprice": {
  22486. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  22487. "type": "number"
  22488. },
  22489. "todayavgprice2": {
  22490. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  22491. "type": "number"
  22492. },
  22493. "todaypricedamount": {
  22494. "description": "今日定价额(现货)",
  22495. "type": "number"
  22496. },
  22497. "todaypricedamount2": {
  22498. "description": "今日定价额(现货-基价额)",
  22499. "type": "number"
  22500. },
  22501. "todaypricedqty": {
  22502. "description": "今日定价量(现货)",
  22503. "type": "number"
  22504. },
  22505. "todayrelatedfutureqty": {
  22506. "description": "今日关联量(期货)",
  22507. "type": "number"
  22508. },
  22509. "todayrelatedmiddlegoodsamount": {
  22510. "description": "今日关联额(期货)",
  22511. "type": "number"
  22512. },
  22513. "todayrelatedmiddlegoodsqty": {
  22514. "description": "今日关联量(套保品-期货)",
  22515. "type": "number"
  22516. },
  22517. "updatetime": {
  22518. "description": "更新时间",
  22519. "type": "string"
  22520. },
  22521. "userid": {
  22522. "description": "合同所属用户id",
  22523. "type": "integer"
  22524. },
  22525. "vatrate": {
  22526. "description": "增值税率",
  22527. "type": "number"
  22528. },
  22529. "wrstandardcode": {
  22530. "description": "商品(品类) 代码",
  22531. "type": "string"
  22532. },
  22533. "wrstandardid": {
  22534. "description": "现货商品ID",
  22535. "type": "integer"
  22536. },
  22537. "wrstandardname": {
  22538. "description": "商品(品类) 名称",
  22539. "type": "string"
  22540. }
  22541. }
  22542. },
  22543. "models.Ermcp3SellBuyContract": {
  22544. "type": "object",
  22545. "properties": {
  22546. "accountid": {
  22547. "description": "期货账户id",
  22548. "type": "string"
  22549. },
  22550. "accountname": {
  22551. "description": "账户名称",
  22552. "type": "string"
  22553. },
  22554. "attachment": {
  22555. "description": "附件",
  22556. "type": "string"
  22557. },
  22558. "audittime": {
  22559. "description": "审核时间",
  22560. "type": "string"
  22561. },
  22562. "biztype": {
  22563. "description": "业务类型 1-套保 2-套利",
  22564. "type": "integer"
  22565. },
  22566. "brandname": {
  22567. "description": "品牌名称",
  22568. "type": "string"
  22569. },
  22570. "contracctstatus": {
  22571. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22572. "type": "integer"
  22573. },
  22574. "contractmargin": {
  22575. "description": "合同保证金",
  22576. "type": "number"
  22577. },
  22578. "contractno": {
  22579. "description": "合同编号",
  22580. "type": "string"
  22581. },
  22582. "contracttype": {
  22583. "description": "合同类型 1-采购, -1-销售",
  22584. "type": "integer"
  22585. },
  22586. "convertfactor": {
  22587. "description": "标仓系数(品类)",
  22588. "type": "number"
  22589. },
  22590. "createtime": {
  22591. "description": "创建时间",
  22592. "type": "string"
  22593. },
  22594. "currencyid": {
  22595. "description": "币种id",
  22596. "type": "integer"
  22597. },
  22598. "currencyname": {
  22599. "description": "币种名称",
  22600. "type": "string"
  22601. },
  22602. "daikaiamount": {
  22603. "description": "应收(开)票额",
  22604. "type": "number"
  22605. },
  22606. "deliveryenddate": {
  22607. "description": "交割结束日",
  22608. "type": "string"
  22609. },
  22610. "deliverygoodscode": {
  22611. "description": "现货品种代码",
  22612. "type": "string"
  22613. },
  22614. "deliverygoodsid": {
  22615. "description": "现货商品ID",
  22616. "type": "integer"
  22617. },
  22618. "deliverygoodsname": {
  22619. "description": "现货品种名称",
  22620. "type": "string"
  22621. },
  22622. "deliverystartdate": {
  22623. "description": "交割开始日",
  22624. "type": "string"
  22625. },
  22626. "enddate": {
  22627. "description": "点价结束日",
  22628. "type": "string"
  22629. },
  22630. "enumdicname": {
  22631. "description": "单位名称",
  22632. "type": "string"
  22633. },
  22634. "goodscode": {
  22635. "description": "点价商品代码",
  22636. "type": "string"
  22637. },
  22638. "goodsid": {
  22639. "description": "点价商品ID",
  22640. "type": "integer"
  22641. },
  22642. "goodsname": {
  22643. "description": "点价商品名称",
  22644. "type": "string"
  22645. },
  22646. "invoiceamount": {
  22647. "description": "已开票额",
  22648. "type": "number"
  22649. },
  22650. "loanamount": {
  22651. "description": "贷款总额=已定价额+调整金额",
  22652. "type": "number"
  22653. },
  22654. "margin": {
  22655. "description": "保证金",
  22656. "type": "number"
  22657. },
  22658. "meruserid": {
  22659. "description": "跟单员id",
  22660. "type": "integer"
  22661. },
  22662. "meruserlogincode": {
  22663. "description": "跟单员登录代码",
  22664. "type": "string"
  22665. },
  22666. "merusername": {
  22667. "description": "跟单员名称",
  22668. "type": "string"
  22669. },
  22670. "nickname": {
  22671. "description": "账户昵称",
  22672. "type": "string"
  22673. },
  22674. "payamount": {
  22675. "description": "已收付额(收款或付款)",
  22676. "type": "number"
  22677. },
  22678. "preinvoiceamount": {
  22679. "description": "预收(开)票额",
  22680. "type": "number"
  22681. },
  22682. "prepayamount": {
  22683. "description": "预收付额",
  22684. "type": "number"
  22685. },
  22686. "price": {
  22687. "description": "价格",
  22688. "type": "number"
  22689. },
  22690. "pricedamount": {
  22691. "description": "已定价额",
  22692. "type": "number"
  22693. },
  22694. "pricedavg": {
  22695. "description": "已点均价",
  22696. "type": "number"
  22697. },
  22698. "pricedqty": {
  22699. "description": "已定价量",
  22700. "type": "number"
  22701. },
  22702. "pricemove": {
  22703. "description": "升贴水",
  22704. "type": "number"
  22705. },
  22706. "pricetype": {
  22707. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22708. "type": "integer"
  22709. },
  22710. "producttype": {
  22711. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22712. "type": "integer"
  22713. },
  22714. "qty": {
  22715. "description": "合同量",
  22716. "type": "number"
  22717. },
  22718. "reckonadjustamount": {
  22719. "description": "调整金额",
  22720. "type": "number"
  22721. },
  22722. "reckonedamount": {
  22723. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  22724. "type": "number"
  22725. },
  22726. "reckonotheramount": {
  22727. "description": "其它费用",
  22728. "type": "number"
  22729. },
  22730. "reckonrealqty": {
  22731. "description": "已确定量",
  22732. "type": "number"
  22733. },
  22734. "remark": {
  22735. "description": "备注",
  22736. "type": "string"
  22737. },
  22738. "saleuserid": {
  22739. "description": "业务员id",
  22740. "type": "integer"
  22741. },
  22742. "saleuserlogincode": {
  22743. "description": "业务员登录代码",
  22744. "type": "string"
  22745. },
  22746. "saleusername": {
  22747. "description": "业务员名称",
  22748. "type": "string"
  22749. },
  22750. "spotcontractid": {
  22751. "description": "合同ID",
  22752. "type": "string"
  22753. },
  22754. "spotgoodsbrandid": {
  22755. "description": "现货品牌ID(DGFactoryItem表的ID)",
  22756. "type": "integer"
  22757. },
  22758. "spotgoodsdesc": {
  22759. "description": "商品型号(商品规格)",
  22760. "type": "string"
  22761. },
  22762. "startdate": {
  22763. "description": "点价开始日",
  22764. "type": "string"
  22765. },
  22766. "subjectid": {
  22767. "description": "交易主体ID",
  22768. "type": "string"
  22769. },
  22770. "subjectname": {
  22771. "description": "交易主体名称",
  22772. "type": "string"
  22773. },
  22774. "totalamount": {
  22775. "description": "合计总额",
  22776. "type": "number"
  22777. },
  22778. "tradeuserid": {
  22779. "description": "交易员id",
  22780. "type": "integer"
  22781. },
  22782. "tradeuserlogincode": {
  22783. "description": "交易员登录代码",
  22784. "type": "string"
  22785. },
  22786. "tradeusername": {
  22787. "description": "交易员名称",
  22788. "type": "string"
  22789. },
  22790. "unpayamount": {
  22791. "description": "应收付款额(应支付或应收款)",
  22792. "type": "number"
  22793. },
  22794. "unpricedqty": {
  22795. "description": "未定价量",
  22796. "type": "number"
  22797. },
  22798. "unsureqty": {
  22799. "description": "未确定量",
  22800. "type": "number"
  22801. },
  22802. "userid": {
  22803. "description": "机构ID",
  22804. "type": "integer"
  22805. },
  22806. "vatrate": {
  22807. "description": "增值税率",
  22808. "type": "number"
  22809. },
  22810. "wrstandardcode": {
  22811. "description": "品类代码",
  22812. "type": "string"
  22813. },
  22814. "wrstandardid": {
  22815. "description": "品类ID",
  22816. "type": "integer"
  22817. },
  22818. "wrstandardname": {
  22819. "description": "品类名称",
  22820. "type": "string"
  22821. }
  22822. }
  22823. },
  22824. "models.Ermcp3SpotGoodsPrice": {
  22825. "type": "object",
  22826. "properties": {
  22827. "areauserid": {
  22828. "description": "所属机构id",
  22829. "type": "integer"
  22830. },
  22831. "brandname": {
  22832. "description": "品牌名称",
  22833. "type": "string"
  22834. },
  22835. "currencyid": {
  22836. "description": "报价货币ID",
  22837. "type": "integer"
  22838. },
  22839. "currencyname": {
  22840. "description": "币种名称",
  22841. "type": "string"
  22842. },
  22843. "deliverygoodscode": {
  22844. "description": "现货商品代码",
  22845. "type": "string"
  22846. },
  22847. "deliverygoodsid": {
  22848. "description": "现货商品id",
  22849. "type": "integer"
  22850. },
  22851. "deliverygoodsname": {
  22852. "description": "现货商品名称",
  22853. "type": "string"
  22854. },
  22855. "enumdicname": {
  22856. "description": "现货商品单位名称",
  22857. "type": "string"
  22858. },
  22859. "gbenumdicname": {
  22860. "description": "品类单位名称",
  22861. "type": "string"
  22862. },
  22863. "gmunitid": {
  22864. "description": "品类单位id",
  22865. "type": "integer"
  22866. },
  22867. "isvalid": {
  22868. "description": "是否有效 - 0:无效 1:有效",
  22869. "type": "integer"
  22870. },
  22871. "operateid": {
  22872. "description": "最后操作人",
  22873. "type": "integer"
  22874. },
  22875. "operatesrc": {
  22876. "description": "最后操作来源 - 1:管理端 2:终端",
  22877. "type": "integer"
  22878. },
  22879. "operatetime": {
  22880. "description": "最后操作时间",
  22881. "type": "string"
  22882. },
  22883. "operatorname": {
  22884. "description": "操作人名称",
  22885. "type": "string"
  22886. },
  22887. "spotgoodsbrandid": {
  22888. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  22889. "type": "integer"
  22890. },
  22891. "spotgoodsprice": {
  22892. "description": "现货价格",
  22893. "type": "number"
  22894. },
  22895. "tradedate": {
  22896. "description": "交易日(yyyyMMdd)",
  22897. "type": "string"
  22898. },
  22899. "unitid": {
  22900. "description": "现货商品单位id",
  22901. "type": "integer"
  22902. },
  22903. "wrstandardcode": {
  22904. "description": "品类代码",
  22905. "type": "string"
  22906. },
  22907. "wrstandardid": {
  22908. "description": "现货品类ID(通用则为0)",
  22909. "type": "integer"
  22910. },
  22911. "wrstandardname": {
  22912. "description": "品类名称",
  22913. "type": "string"
  22914. }
  22915. }
  22916. },
  22917. "models.Ermcp3SpotGoodsPriceLog": {
  22918. "type": "object",
  22919. "properties": {
  22920. "areauserid": {
  22921. "description": "所属机构id",
  22922. "type": "integer"
  22923. },
  22924. "brandname": {
  22925. "description": "品牌名称",
  22926. "type": "string"
  22927. },
  22928. "currencyid": {
  22929. "description": "报价货币ID",
  22930. "type": "integer"
  22931. },
  22932. "deliverygoodscode": {
  22933. "description": "现货商品代码",
  22934. "type": "string"
  22935. },
  22936. "deliverygoodsid": {
  22937. "description": "现货商品id",
  22938. "type": "integer"
  22939. },
  22940. "deliverygoodsname": {
  22941. "description": "现货商品名称",
  22942. "type": "string"
  22943. },
  22944. "enumdicname": {
  22945. "description": "现货商品单位名称",
  22946. "type": "string"
  22947. },
  22948. "gbenumdicname": {
  22949. "description": "品类单位名称",
  22950. "type": "string"
  22951. },
  22952. "gmunitid": {
  22953. "description": "品类单位id",
  22954. "type": "integer"
  22955. },
  22956. "logid": {
  22957. "description": "日志id",
  22958. "type": "integer"
  22959. },
  22960. "operateid": {
  22961. "description": "最后操作人",
  22962. "type": "integer"
  22963. },
  22964. "operatesrc": {
  22965. "description": "最后操作来源 - 1:管理端 2:终端",
  22966. "type": "integer"
  22967. },
  22968. "operatetime": {
  22969. "description": "最后操作时间",
  22970. "type": "string"
  22971. },
  22972. "operatorname": {
  22973. "description": "操作人名称",
  22974. "type": "string"
  22975. },
  22976. "spotgoodsbrandid": {
  22977. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  22978. "type": "integer"
  22979. },
  22980. "spotgoodsprice": {
  22981. "description": "现货价格",
  22982. "type": "number"
  22983. },
  22984. "tradedate": {
  22985. "description": "交易日(yyyyMMdd)",
  22986. "type": "string"
  22987. },
  22988. "unitid": {
  22989. "description": "现货商品单位id",
  22990. "type": "integer"
  22991. },
  22992. "wrstandardcode": {
  22993. "description": "品类代码",
  22994. "type": "string"
  22995. },
  22996. "wrstandardid": {
  22997. "description": "现货品类ID(通用则为0)",
  22998. "type": "integer"
  22999. },
  23000. "wrstandardname": {
  23001. "description": "品类名称",
  23002. "type": "string"
  23003. }
  23004. }
  23005. },
  23006. "models.Ermcp3SubTaaccount": {
  23007. "type": "object",
  23008. "properties": {
  23009. "accountid": {
  23010. "description": "资金账户ID",
  23011. "type": "integer"
  23012. },
  23013. "parentaccountcode": {
  23014. "description": "所属根账号代码(母账号代码)",
  23015. "type": "string"
  23016. },
  23017. "parentaccountid": {
  23018. "description": "所属根账号(母账号)",
  23019. "type": "integer"
  23020. },
  23021. "taname": {
  23022. "description": "资金账号名称",
  23023. "type": "string"
  23024. },
  23025. "tradestatus": {
  23026. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  23027. "type": "integer"
  23028. },
  23029. "username": {
  23030. "description": "交易用户",
  23031. "type": "string"
  23032. }
  23033. }
  23034. },
  23035. "models.Ermcp3TaFutuReDataReport": {
  23036. "type": "object",
  23037. "properties": {
  23038. "accountid": {
  23039. "description": "交易账户",
  23040. "type": "integer"
  23041. },
  23042. "accountname": {
  23043. "description": "交易账号名称",
  23044. "type": "string"
  23045. },
  23046. "agreeunit": {
  23047. "description": "商品合约单位",
  23048. "type": "number"
  23049. },
  23050. "begindate": {
  23051. "description": "开始交易日",
  23052. "type": "string"
  23053. },
  23054. "buyorsell": {
  23055. "description": "持仓方向",
  23056. "type": "integer"
  23057. },
  23058. "charge": {
  23059. "description": "手续费",
  23060. "type": "number"
  23061. },
  23062. "closeavgprice": {
  23063. "description": "平仓均价",
  23064. "type": "number"
  23065. },
  23066. "closepl": {
  23067. "description": "平仓损益",
  23068. "type": "number"
  23069. },
  23070. "currencyid": {
  23071. "description": "结算币种ID",
  23072. "type": "integer"
  23073. },
  23074. "currencyname": {
  23075. "description": "币种名称",
  23076. "type": "string"
  23077. },
  23078. "cycletime": {
  23079. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23080. "type": "string"
  23081. },
  23082. "cycletype": {
  23083. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23084. "type": "integer"
  23085. },
  23086. "enddate": {
  23087. "description": "结束交易日",
  23088. "type": "string"
  23089. },
  23090. "enumdicname": {
  23091. "description": "单位名称",
  23092. "type": "string"
  23093. },
  23094. "floatpl": {
  23095. "description": "浮动损益",
  23096. "type": "number"
  23097. },
  23098. "goodscode": {
  23099. "description": "交易合约代码",
  23100. "type": "string"
  23101. },
  23102. "goodsgroupid": {
  23103. "description": "交易品种",
  23104. "type": "integer"
  23105. },
  23106. "goodsgroupname": {
  23107. "description": "交易品种名称",
  23108. "type": "string"
  23109. },
  23110. "goodsgroupspotqty": {
  23111. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  23112. "type": "number"
  23113. },
  23114. "goodsid": {
  23115. "description": "交易合约",
  23116. "type": "integer"
  23117. },
  23118. "goodsname": {
  23119. "description": "交易合约名称",
  23120. "type": "string"
  23121. },
  23122. "goodunitid": {
  23123. "description": "交易合约单位id",
  23124. "type": "integer"
  23125. },
  23126. "holdamount": {
  23127. "description": "期末持仓额",
  23128. "type": "number"
  23129. },
  23130. "holdqty": {
  23131. "description": "期末持仓量",
  23132. "type": "number"
  23133. },
  23134. "lastholdamount": {
  23135. "description": "当前持仓额",
  23136. "type": "number"
  23137. },
  23138. "lastprice": {
  23139. "description": "最新价",
  23140. "type": "number"
  23141. },
  23142. "middlegoodsid": {
  23143. "description": "套保品种id",
  23144. "type": "integer"
  23145. },
  23146. "middlegoodsname": {
  23147. "description": "套保商品名称",
  23148. "type": "string"
  23149. },
  23150. "middlegoodsqty": {
  23151. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  23152. "type": "number"
  23153. },
  23154. "middlgoodscode": {
  23155. "description": "套保商品代码",
  23156. "type": "string"
  23157. },
  23158. "openamount": {
  23159. "description": "期末开仓额",
  23160. "type": "number"
  23161. },
  23162. "openavgprice": {
  23163. "description": "开仓均价",
  23164. "type": "number"
  23165. },
  23166. "oriholdamount": {
  23167. "description": "期初持仓额",
  23168. "type": "number"
  23169. },
  23170. "oriholdqty": {
  23171. "description": "期初持仓量",
  23172. "type": "number"
  23173. },
  23174. "oriopenamount": {
  23175. "description": "期初开仓额",
  23176. "type": "number"
  23177. },
  23178. "outergroupcode": {
  23179. "description": "交易品种代码",
  23180. "type": "string"
  23181. },
  23182. "qtydecimalplace": {
  23183. "description": "成交量小数位",
  23184. "type": "integer"
  23185. },
  23186. "reckondate": {
  23187. "description": "日照时期(yyyyMMdd)",
  23188. "type": "string"
  23189. },
  23190. "reckonholdamount": {
  23191. "description": "结算持仓额",
  23192. "type": "number"
  23193. },
  23194. "reckonpl": {
  23195. "description": "结算损益",
  23196. "type": "number"
  23197. },
  23198. "reckonpl2": {
  23199. "description": "结算逐笔盈亏",
  23200. "type": "number"
  23201. },
  23202. "reckonprice": {
  23203. "description": "结算价",
  23204. "type": "number"
  23205. },
  23206. "relateduserid": {
  23207. "description": "账户关联用户ID",
  23208. "type": "integer"
  23209. },
  23210. "todaycloseamount": {
  23211. "description": "今平仓额",
  23212. "type": "number"
  23213. },
  23214. "todaycloseqty": {
  23215. "description": "今平仓量",
  23216. "type": "number"
  23217. },
  23218. "todaygoodsgroupspotqty": {
  23219. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  23220. "type": "number"
  23221. },
  23222. "todaymiddlegoodsqty": {
  23223. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  23224. "type": "number"
  23225. },
  23226. "todayopenamount": {
  23227. "description": "今开仓额",
  23228. "type": "number"
  23229. },
  23230. "todayopenqty": {
  23231. "description": "今开仓量",
  23232. "type": "number"
  23233. },
  23234. "userid": {
  23235. "description": "账户所属用户ID",
  23236. "type": "integer"
  23237. }
  23238. }
  23239. },
  23240. "models.Ermcp3TradeLinkDetail": {
  23241. "type": "object",
  23242. "properties": {
  23243. "accountid": {
  23244. "description": "资金账号",
  23245. "type": "integer"
  23246. },
  23247. "agreeunit": {
  23248. "description": "合约乘数",
  23249. "type": "number"
  23250. },
  23251. "areauserid": {
  23252. "description": "所属机构",
  23253. "type": "string"
  23254. },
  23255. "bizsubjectid": {
  23256. "description": "归属业务部门ID - SubjectID",
  23257. "type": "string"
  23258. },
  23259. "buyorsell": {
  23260. "description": "方向 - 0:买 1:卖",
  23261. "type": "integer"
  23262. },
  23263. "channelbuildtype": {
  23264. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23265. "type": "integer"
  23266. },
  23267. "contractno": {
  23268. "description": "现货编号 (合同编号)",
  23269. "type": "string"
  23270. },
  23271. "convertratio": {
  23272. "description": "折算系数",
  23273. "type": "number"
  23274. },
  23275. "createtime": {
  23276. "description": "关联时间 | 创建时间",
  23277. "type": "string"
  23278. },
  23279. "creatorid": {
  23280. "description": "创建人ID",
  23281. "type": "string"
  23282. },
  23283. "creatorsrc": {
  23284. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  23285. "type": "integer"
  23286. },
  23287. "enumdicname": {
  23288. "description": "单位名称",
  23289. "type": "string"
  23290. },
  23291. "goodscode": {
  23292. "description": "合约代码",
  23293. "type": "string"
  23294. },
  23295. "goodsgroupid": {
  23296. "description": "对冲品种ID[期货合约商品组ID]",
  23297. "type": "integer"
  23298. },
  23299. "goodsid": {
  23300. "description": "商品ID",
  23301. "type": "integer"
  23302. },
  23303. "goodsname": {
  23304. "description": "合约名称",
  23305. "type": "string"
  23306. },
  23307. "hedgeflag": {
  23308. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  23309. "type": "integer"
  23310. },
  23311. "linkdetailid": {
  23312. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  23313. "type": "string"
  23314. },
  23315. "linkstatus": {
  23316. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  23317. "type": "integer"
  23318. },
  23319. "middlegoodscode": {
  23320. "description": "套保品种代码",
  23321. "type": "string"
  23322. },
  23323. "middlegoodsid": {
  23324. "description": "套保品种ID",
  23325. "type": "integer"
  23326. },
  23327. "middlegoodsname": {
  23328. "description": "套保品种名称",
  23329. "type": "string"
  23330. },
  23331. "relatedlot": {
  23332. "description": "关联手数",
  23333. "type": "number"
  23334. },
  23335. "relatedmode": {
  23336. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  23337. "type": "integer"
  23338. },
  23339. "relatedqty": {
  23340. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  23341. "type": "number"
  23342. },
  23343. "retcode": {
  23344. "description": "返回码",
  23345. "type": "integer"
  23346. },
  23347. "saleuserid": {
  23348. "description": "业务员ID",
  23349. "type": "string"
  23350. },
  23351. "spotcontractid": {
  23352. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  23353. "type": "string"
  23354. },
  23355. "taname": {
  23356. "description": "期货账户",
  23357. "type": "string"
  23358. },
  23359. "tradedate": {
  23360. "description": "关联交易日(yyyyMMdd)",
  23361. "type": "string"
  23362. },
  23363. "tradeid": {
  23364. "description": "期货订单号 | 内部成交单ID",
  23365. "type": "string"
  23366. },
  23367. "tradelot": {
  23368. "description": "成交数量 | 成交手数",
  23369. "type": "integer"
  23370. },
  23371. "tradeprice": {
  23372. "description": "成交价格",
  23373. "type": "number"
  23374. },
  23375. "tradetime": {
  23376. "description": "期货成交时间",
  23377. "type": "string"
  23378. },
  23379. "tradetradedate": {
  23380. "description": "成交交易日(yyyyMMdd)",
  23381. "type": "string"
  23382. },
  23383. "username": {
  23384. "description": "用户名称",
  23385. "type": "string"
  23386. }
  23387. }
  23388. },
  23389. "models.Ermcp3Wrstandard": {
  23390. "type": "object",
  23391. "properties": {
  23392. "areauserid": {
  23393. "description": "所属机构",
  23394. "type": "integer"
  23395. },
  23396. "cantrade": {
  23397. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  23398. "type": "integer"
  23399. },
  23400. "convertfactor": {
  23401. "description": "标仓系数",
  23402. "type": "number"
  23403. },
  23404. "createtime": {
  23405. "description": "创建时间",
  23406. "type": "string"
  23407. },
  23408. "creatorid": {
  23409. "description": "创建人",
  23410. "type": "integer"
  23411. },
  23412. "deliverygoodsid": {
  23413. "description": "现货品种ID",
  23414. "type": "integer"
  23415. },
  23416. "enumdicname": {
  23417. "description": "品类单位名称",
  23418. "type": "string"
  23419. },
  23420. "isvalid": {
  23421. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  23422. "type": "integer"
  23423. },
  23424. "minivalue": {
  23425. "description": "最小变动值",
  23426. "type": "integer"
  23427. },
  23428. "minivaluedp": {
  23429. "description": "最小变动值小数位",
  23430. "type": "integer"
  23431. },
  23432. "realminivalue": {
  23433. "description": "实际最小变动值",
  23434. "type": "integer"
  23435. },
  23436. "realminivaluedp": {
  23437. "description": "实际最小变动值小数位",
  23438. "type": "integer"
  23439. },
  23440. "remark": {
  23441. "description": "备注",
  23442. "type": "string"
  23443. },
  23444. "unitid": {
  23445. "description": "品类单位ID",
  23446. "type": "integer"
  23447. },
  23448. "updatetime": {
  23449. "description": "更新时间",
  23450. "type": "string"
  23451. },
  23452. "wrstandardcode": {
  23453. "description": "品类代码",
  23454. "type": "string"
  23455. },
  23456. "wrstandardid": {
  23457. "description": "品类ID(SEQ_WRSTANDARD)",
  23458. "type": "integer"
  23459. },
  23460. "wrstandardname": {
  23461. "description": "品类名称",
  23462. "type": "string"
  23463. }
  23464. }
  23465. },
  23466. "models.ErmcpBizGroupEx": {
  23467. "type": "object",
  23468. "properties": {
  23469. "acclist": {
  23470. "description": "账号列表",
  23471. "type": "array",
  23472. "items": {
  23473. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  23474. }
  23475. },
  23476. "bizgroupid": {
  23477. "description": "业务分组id",
  23478. "type": "integer"
  23479. },
  23480. "biztype": {
  23481. "description": "业务类型 1-套保 2-套利",
  23482. "type": "integer"
  23483. },
  23484. "wrlist": {
  23485. "description": "现货商品表",
  23486. "type": "array",
  23487. "items": {
  23488. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  23489. }
  23490. }
  23491. }
  23492. },
  23493. "models.ErmcpBizGroupSpotGoods": {
  23494. "type": "object",
  23495. "properties": {
  23496. "areauserid": {
  23497. "description": "所属机构id",
  23498. "type": "integer"
  23499. },
  23500. "bizgroupid": {
  23501. "description": "分组id",
  23502. "type": "integer"
  23503. },
  23504. "biztype": {
  23505. "description": "业务类型 1-套保 2-套利",
  23506. "type": "integer"
  23507. },
  23508. "deliverygoodscode": {
  23509. "description": "现货商品代码",
  23510. "type": "string"
  23511. },
  23512. "deliverygoodsid": {
  23513. "description": "现货商品id",
  23514. "type": "integer"
  23515. },
  23516. "deliverygoodsname": {
  23517. "description": "现货商品名称",
  23518. "type": "string"
  23519. },
  23520. "unitid": {
  23521. "description": "现货商品单位id",
  23522. "type": "integer"
  23523. }
  23524. }
  23525. },
  23526. "models.ErmcpBizGroupTaAccount": {
  23527. "type": "object",
  23528. "properties": {
  23529. "accountid": {
  23530. "description": "账号id",
  23531. "type": "integer"
  23532. },
  23533. "accountname": {
  23534. "description": "账号名称",
  23535. "type": "string"
  23536. },
  23537. "areauserid": {
  23538. "description": "所属机构id",
  23539. "type": "integer"
  23540. },
  23541. "bizgroupid": {
  23542. "description": "业务分组id",
  23543. "type": "integer"
  23544. },
  23545. "ismain": {
  23546. "description": "是否主账号 1-是 0-否",
  23547. "type": "integer"
  23548. }
  23549. }
  23550. },
  23551. "models.ErmcpDGFactoryItem": {
  23552. "type": "object",
  23553. "properties": {
  23554. "areauserid": {
  23555. "description": "用户id",
  23556. "type": "integer"
  23557. },
  23558. "deliverygoodsid": {
  23559. "description": "现货品种ID",
  23560. "type": "integer"
  23561. },
  23562. "dgfactoryitemid": {
  23563. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  23564. "type": "integer"
  23565. },
  23566. "dgfactoryitemtypeid": {
  23567. "description": "要素项类型",
  23568. "type": "integer"
  23569. },
  23570. "dgfactoryitemvalue": {
  23571. "description": "要素项值(类型为仓库时填写仓库名称)",
  23572. "type": "string"
  23573. },
  23574. "isvalid": {
  23575. "description": "是否有效 - 0:无效 1:有效",
  23576. "type": "integer"
  23577. },
  23578. "orderindex": {
  23579. "description": "顺序",
  23580. "type": "integer"
  23581. },
  23582. "warehouseid": {
  23583. "description": "仓库ID(类型为仓库时填写)",
  23584. "type": "integer"
  23585. }
  23586. }
  23587. },
  23588. "models.ErmcpDeliveryGoods": {
  23589. "type": "object",
  23590. "properties": {
  23591. "agreeunit": {
  23592. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  23593. "type": "integer"
  23594. },
  23595. "areauserid": {
  23596. "description": "所属机构",
  23597. "type": "integer"
  23598. },
  23599. "auditflag": {
  23600. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  23601. "type": "integer"
  23602. },
  23603. "categoryid": {
  23604. "description": "类别ID(SEQ_WRCATEGORY)",
  23605. "type": "integer"
  23606. },
  23607. "deliverygoodscode": {
  23608. "description": "现货品种代码",
  23609. "type": "string"
  23610. },
  23611. "deliverygoodsid": {
  23612. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  23613. "type": "integer"
  23614. },
  23615. "deliverygoodsname": {
  23616. "description": "现货品种名称",
  23617. "type": "string"
  23618. },
  23619. "deliverygoodstype": {
  23620. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  23621. "type": "integer"
  23622. },
  23623. "dgstatus": {
  23624. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  23625. "type": "integer"
  23626. },
  23627. "enumdicname": {
  23628. "description": "现货品种单位名称",
  23629. "type": "string"
  23630. },
  23631. "goodsunitid": {
  23632. "description": "现货品种单位ID",
  23633. "type": "integer"
  23634. },
  23635. "isvalid": {
  23636. "description": "是否有效 - 0:无效 1:有效",
  23637. "type": "integer"
  23638. },
  23639. "qtydecimalplace": {
  23640. "description": "成交量小数位",
  23641. "type": "integer"
  23642. },
  23643. "remark": {
  23644. "description": "备注",
  23645. "type": "string"
  23646. },
  23647. "standardqty": {
  23648. "description": "标准数量(库位数量) [标准品特有]",
  23649. "type": "integer"
  23650. },
  23651. "standardqtyrange": {
  23652. "description": "标准数量偏差范围 [标准品特有]",
  23653. "type": "integer"
  23654. }
  23655. }
  23656. },
  23657. "models.ErmcpFuturesCompany": {
  23658. "type": "object",
  23659. "properties": {
  23660. "brokerid": {
  23661. "description": "经纪公司代码",
  23662. "type": "string"
  23663. },
  23664. "channeladdress": {
  23665. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  23666. "type": "string"
  23667. },
  23668. "channelid": {
  23669. "description": "对冲渠道ID",
  23670. "type": "string"
  23671. },
  23672. "createtime": {
  23673. "description": "创建时间",
  23674. "type": "string"
  23675. },
  23676. "creatorid": {
  23677. "description": "创建人",
  23678. "type": "string"
  23679. },
  23680. "fcid": {
  23681. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  23682. "type": "integer"
  23683. },
  23684. "fcname": {
  23685. "description": "期货公司名称",
  23686. "type": "string"
  23687. },
  23688. "isvalid": {
  23689. "description": "是否有效 - 0:无效 1:有效",
  23690. "type": "integer"
  23691. },
  23692. "mhpaddress": {
  23693. "description": "MHP服务地址(IP:Port)",
  23694. "type": "string"
  23695. },
  23696. "riskrulegroupid": {
  23697. "description": "风控规则组ID",
  23698. "type": "string"
  23699. },
  23700. "tradefeetmpid": {
  23701. "description": "手续费模板ID[TradeConfigTmpType为2]",
  23702. "type": "string"
  23703. },
  23704. "trademargintmpid": {
  23705. "description": "保证金模板ID [TradeConfigTmpType为1]",
  23706. "type": "string"
  23707. },
  23708. "traderatetmpid": {
  23709. "description": "汇率模板ID[TradeConfigTmpType为3]",
  23710. "type": "string"
  23711. },
  23712. "updatetime": {
  23713. "description": "更新时间",
  23714. "type": "string"
  23715. },
  23716. "updatorid": {
  23717. "description": "更新人",
  23718. "type": "string"
  23719. }
  23720. }
  23721. },
  23722. "models.ErmcpGGConvertCfg": {
  23723. "type": "object",
  23724. "properties": {
  23725. "convertratio": {
  23726. "description": "折算系数",
  23727. "type": "number"
  23728. },
  23729. "destgoodsgroupid": {
  23730. "description": "目标品种ID",
  23731. "type": "integer"
  23732. },
  23733. "dstcode": {
  23734. "description": "目录品种代码",
  23735. "type": "string"
  23736. },
  23737. "dstexchangecode": {
  23738. "description": "目标期货交易所",
  23739. "type": "string"
  23740. },
  23741. "dstname": {
  23742. "description": "目标品种名称",
  23743. "type": "string"
  23744. },
  23745. "dstunitid": {
  23746. "description": "目标品种单位ID",
  23747. "type": "integer"
  23748. },
  23749. "dstunitidname": {
  23750. "description": "目标品种单位名称",
  23751. "type": "string"
  23752. },
  23753. "modifytime": {
  23754. "description": "修改时间",
  23755. "type": "string"
  23756. },
  23757. "srccode": {
  23758. "description": "源品种代码",
  23759. "type": "string"
  23760. },
  23761. "srcexchangecode": {
  23762. "description": "源期货交易所",
  23763. "type": "string"
  23764. },
  23765. "srcgoodsgroupid": {
  23766. "description": "源品种ID",
  23767. "type": "integer"
  23768. },
  23769. "srcname": {
  23770. "description": "源品种名称",
  23771. "type": "string"
  23772. },
  23773. "srcunitid": {
  23774. "description": "源品种单位ID",
  23775. "type": "integer"
  23776. },
  23777. "srcunitidname": {
  23778. "description": "源品种单位名称",
  23779. "type": "string"
  23780. }
  23781. }
  23782. },
  23783. "models.ErmcpGoods": {
  23784. "type": "object",
  23785. "required": [
  23786. "goodscode",
  23787. "goodsid",
  23788. "goodsname",
  23789. "marketid"
  23790. ],
  23791. "properties": {
  23792. "agreeunit": {
  23793. "description": "合约单位",
  23794. "type": "number"
  23795. },
  23796. "areauserid": {
  23797. "description": "所属机构",
  23798. "type": "integer"
  23799. },
  23800. "auditaccountid": {
  23801. "description": "审核操作员账号",
  23802. "type": "integer"
  23803. },
  23804. "audittime": {
  23805. "description": "审核时间",
  23806. "type": "string"
  23807. },
  23808. "cancelaccountid": {
  23809. "description": "注销操作员账号",
  23810. "type": "integer"
  23811. },
  23812. "canceltime": {
  23813. "description": "注销时间",
  23814. "type": "string"
  23815. },
  23816. "closepricemode": {
  23817. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23818. "type": "integer"
  23819. },
  23820. "closepriceparam": {
  23821. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  23822. "type": "number"
  23823. },
  23824. "createtime": {
  23825. "description": "创建时间",
  23826. "type": "string"
  23827. },
  23828. "creatorid": {
  23829. "description": "创建人",
  23830. "type": "integer"
  23831. },
  23832. "currencyid": {
  23833. "description": "报价货币ID",
  23834. "type": "integer"
  23835. },
  23836. "cutmode": {
  23837. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  23838. "type": "integer"
  23839. },
  23840. "decimalplace": {
  23841. "description": "报价小数位",
  23842. "type": "integer"
  23843. },
  23844. "delistingdate": {
  23845. "description": "商品退市时间(状态:退市) -- 已作废",
  23846. "type": "string"
  23847. },
  23848. "delistingmode": {
  23849. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  23850. "type": "integer"
  23851. },
  23852. "deliveryflag": {
  23853. "description": "交割标志 - 0:不可交割 1:可交割",
  23854. "type": "integer"
  23855. },
  23856. "enumdicname": {
  23857. "description": "单位名称",
  23858. "type": "string"
  23859. },
  23860. "forceclosemode": {
  23861. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  23862. "type": "integer"
  23863. },
  23864. "forceclosevalue": {
  23865. "description": "定期强平参数 [收益权]",
  23866. "type": "integer"
  23867. },
  23868. "goodscode": {
  23869. "description": "商品代码(内部)",
  23870. "type": "string"
  23871. },
  23872. "goodscurrencyid": {
  23873. "description": "合约货币ID",
  23874. "type": "integer"
  23875. },
  23876. "goodsgroupid": {
  23877. "description": "所属商品组ID",
  23878. "type": "integer"
  23879. },
  23880. "goodsid": {
  23881. "description": "商品ID(自增ID SEQ_GOODS)",
  23882. "type": "integer"
  23883. },
  23884. "goodsname": {
  23885. "description": "商品名称",
  23886. "type": "string"
  23887. },
  23888. "goodsquotetype": {
  23889. "description": "合约报价类型: 1-直接报价 2-间接报价",
  23890. "type": "integer"
  23891. },
  23892. "goodsstatus": {
  23893. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  23894. "type": "integer"
  23895. },
  23896. "goodstradetype": {
  23897. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  23898. "type": "integer"
  23899. },
  23900. "goodunitid": {
  23901. "description": "报价单位ID",
  23902. "type": "integer"
  23903. },
  23904. "hasquoter": {
  23905. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  23906. "type": "integer"
  23907. },
  23908. "hqprotecttime": {
  23909. "description": "行情保护时间(秒)",
  23910. "type": "integer"
  23911. },
  23912. "innerdealmode": {
  23913. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23914. "type": "integer"
  23915. },
  23916. "isbuylimited": {
  23917. "description": "是否限制建仓量 - 0:不限制 1:限制",
  23918. "type": "integer"
  23919. },
  23920. "isvisible": {
  23921. "description": "游客是否可见 - 0:不可见 1:可见",
  23922. "type": "integer"
  23923. },
  23924. "lasttradedate": {
  23925. "description": "最后交易日期(状态:待退市)",
  23926. "type": "string"
  23927. },
  23928. "listingdate": {
  23929. "description": "交易开始日期",
  23930. "type": "string"
  23931. },
  23932. "marketid": {
  23933. "description": "所属市场ID",
  23934. "type": "integer"
  23935. },
  23936. "modifierid": {
  23937. "description": "修改人",
  23938. "type": "integer"
  23939. },
  23940. "modifystatus": {
  23941. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  23942. "type": "integer"
  23943. },
  23944. "modifytime": {
  23945. "description": "修改时间",
  23946. "type": "string"
  23947. },
  23948. "outerdealmode": {
  23949. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23950. "type": "integer"
  23951. },
  23952. "outgoodscode": {
  23953. "description": "商品代码(外部)",
  23954. "type": "string"
  23955. },
  23956. "pictureurl": {
  23957. "description": "商品图片",
  23958. "type": "string"
  23959. },
  23960. "qtydecimalplace": {
  23961. "description": "成交量小数位",
  23962. "type": "integer"
  23963. },
  23964. "quotegear": {
  23965. "description": "行情档位(1-10)",
  23966. "type": "integer"
  23967. },
  23968. "quoteminunit": {
  23969. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23970. "type": "integer"
  23971. },
  23972. "quoteshowtype": {
  23973. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  23974. "type": "integer"
  23975. },
  23976. "quoteshowtypeinterval": {
  23977. "description": "行情报价间隔时间(秒)(成交价时为0)",
  23978. "type": "integer"
  23979. },
  23980. "relatedgoodsid": {
  23981. "description": "关联参考商品ID",
  23982. "type": "integer"
  23983. },
  23984. "remark": {
  23985. "description": "备注",
  23986. "type": "string"
  23987. },
  23988. "trademode": {
  23989. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23990. "type": "integer"
  23991. }
  23992. }
  23993. },
  23994. "models.ErmcpGoodsBrand": {
  23995. "type": "object",
  23996. "properties": {
  23997. "areauserid": {
  23998. "description": "所属机构",
  23999. "type": "integer"
  24000. },
  24001. "brandid": {
  24002. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  24003. "type": "integer"
  24004. },
  24005. "brandname": {
  24006. "description": "品牌名称",
  24007. "type": "string"
  24008. },
  24009. "createtime": {
  24010. "description": "创建时间",
  24011. "type": "string"
  24012. },
  24013. "creatorid": {
  24014. "description": "创建人",
  24015. "type": "integer"
  24016. },
  24017. "creatorsrc": {
  24018. "description": "创建人来源 - 1:管理端 2:终端",
  24019. "type": "integer"
  24020. },
  24021. "deliverygoodsid": {
  24022. "description": "现货品种ID",
  24023. "type": "integer"
  24024. },
  24025. "isvalid": {
  24026. "description": "是否有效 - 0:无效 1:有效",
  24027. "type": "integer"
  24028. },
  24029. "updatetime": {
  24030. "description": "更新时间",
  24031. "type": "string"
  24032. },
  24033. "updatorid": {
  24034. "description": "更新人",
  24035. "type": "integer"
  24036. },
  24037. "updatorsrc": {
  24038. "description": "更新人来源 - 1:管理端 2:终端",
  24039. "type": "integer"
  24040. },
  24041. "wrstandardid": {
  24042. "description": "现货商品ID",
  24043. "type": "integer"
  24044. }
  24045. }
  24046. },
  24047. "models.ErmcpGoodsModel": {
  24048. "type": "object",
  24049. "properties": {
  24050. "areauserid": {
  24051. "description": "所属机构",
  24052. "type": "integer"
  24053. },
  24054. "convertfactor": {
  24055. "description": "标仓系数",
  24056. "type": "number"
  24057. },
  24058. "createtime": {
  24059. "description": "创建时间",
  24060. "type": "string"
  24061. },
  24062. "creatorid": {
  24063. "description": "创建人",
  24064. "type": "integer"
  24065. },
  24066. "creatorsrc": {
  24067. "description": "创建人来源 - 1:管理端 2:终端",
  24068. "type": "integer"
  24069. },
  24070. "deliverygoodsid": {
  24071. "description": "现货品种ID",
  24072. "type": "integer"
  24073. },
  24074. "isvalid": {
  24075. "description": "是否有效 - 0:无效 1:有效",
  24076. "type": "integer"
  24077. },
  24078. "modelid": {
  24079. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  24080. "type": "integer"
  24081. },
  24082. "modelname": {
  24083. "description": "型号名称",
  24084. "type": "string"
  24085. },
  24086. "updatetime": {
  24087. "description": "更新时间",
  24088. "type": "string"
  24089. },
  24090. "updatorid": {
  24091. "description": "更新人",
  24092. "type": "integer"
  24093. },
  24094. "updatorsrc": {
  24095. "description": "更新人来源 - 1:管理端 2:终端",
  24096. "type": "integer"
  24097. },
  24098. "wrstandardid": {
  24099. "description": "现货商品ID",
  24100. "type": "integer"
  24101. }
  24102. }
  24103. },
  24104. "models.ErmcpHisExposure": {
  24105. "type": "object",
  24106. "properties": {
  24107. "needhedgeexposoure": {
  24108. "description": "应套保敞口",
  24109. "type": "number"
  24110. },
  24111. "reckondate": {
  24112. "description": "日照时期(yyyyMMdd)",
  24113. "type": "string"
  24114. },
  24115. "totalexposure": {
  24116. "description": "总敞口",
  24117. "type": "number"
  24118. }
  24119. }
  24120. },
  24121. "models.ErmcpLoginTaAccount": {
  24122. "type": "object",
  24123. "properties": {
  24124. "accountid": {
  24125. "description": "账号id",
  24126. "type": "integer"
  24127. },
  24128. "accountname": {
  24129. "description": "账号名称",
  24130. "type": "string"
  24131. }
  24132. }
  24133. },
  24134. "models.ErmcpLoginUser": {
  24135. "type": "object",
  24136. "properties": {
  24137. "acclist": {
  24138. "description": "关联资金账号",
  24139. "type": "array",
  24140. "items": {
  24141. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  24142. }
  24143. },
  24144. "accountname": {
  24145. "description": "用户名称",
  24146. "type": "string"
  24147. },
  24148. "clientroleid": {
  24149. "description": "角色id(usertype=2)",
  24150. "type": "integer"
  24151. },
  24152. "createtime": {
  24153. "description": "创建时间",
  24154. "type": "string"
  24155. },
  24156. "logincode": {
  24157. "description": "登录代码",
  24158. "type": "string"
  24159. },
  24160. "loginid": {
  24161. "description": "登录id(LOGINID)",
  24162. "type": "integer"
  24163. },
  24164. "loginname": {
  24165. "description": "登录名称(loginaccount表中的accountname字段)",
  24166. "type": "string"
  24167. },
  24168. "loginstatus": {
  24169. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  24170. "type": "integer"
  24171. },
  24172. "memberuserid": {
  24173. "description": "所属会员id",
  24174. "type": "integer"
  24175. },
  24176. "mobile": {
  24177. "description": "手机号",
  24178. "type": "string"
  24179. },
  24180. "modifytime": {
  24181. "description": "修改时间",
  24182. "type": "string"
  24183. },
  24184. "password": {
  24185. "description": "密码(不可解密)",
  24186. "type": "string"
  24187. },
  24188. "rolename": {
  24189. "description": "角色名称",
  24190. "type": "string"
  24191. },
  24192. "rolestatus": {
  24193. "description": "角色状态 1-启用 2-停用",
  24194. "type": "integer"
  24195. },
  24196. "roletype": {
  24197. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  24198. "type": "string"
  24199. },
  24200. "userid": {
  24201. "description": "用户id",
  24202. "type": "integer"
  24203. },
  24204. "usertype": {
  24205. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24206. "type": "integer"
  24207. }
  24208. }
  24209. },
  24210. "models.ErmcpLoginUserEx": {
  24211. "type": "object",
  24212. "properties": {
  24213. "accountstatus": {
  24214. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24215. "type": "integer"
  24216. },
  24217. "mobile": {
  24218. "description": "手机号",
  24219. "type": "string"
  24220. },
  24221. "querytype": {
  24222. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  24223. "type": "integer"
  24224. },
  24225. "roleid": {
  24226. "description": "角色id(交易账户-\u003e用户id)",
  24227. "type": "integer"
  24228. },
  24229. "rolename": {
  24230. "description": "角色名称(交易账户-\u003e用户名称)",
  24231. "type": "string"
  24232. },
  24233. "userlist": {
  24234. "description": "用户列表",
  24235. "type": "array",
  24236. "items": {
  24237. "$ref": "#/definitions/models.ErmcpLoginUser"
  24238. }
  24239. },
  24240. "usertype": {
  24241. "description": "用户类型 2-机构 7-企业成员(云平台)",
  24242. "type": "integer"
  24243. }
  24244. }
  24245. },
  24246. "models.ErmcpMiddleGoodsModel": {
  24247. "type": "object",
  24248. "properties": {
  24249. "areauserid": {
  24250. "description": "机构用户ID",
  24251. "type": "integer"
  24252. },
  24253. "createtime": {
  24254. "description": "修改时间",
  24255. "type": "string"
  24256. },
  24257. "enumdicname": {
  24258. "description": "单位名称",
  24259. "type": "string"
  24260. },
  24261. "evaluateratio": {
  24262. "description": "估价系数",
  24263. "type": "number"
  24264. },
  24265. "goodsgroupid": {
  24266. "description": "关联期货品种ID",
  24267. "type": "integer"
  24268. },
  24269. "goodsunitid": {
  24270. "description": "单位ID",
  24271. "type": "integer"
  24272. },
  24273. "isvalid": {
  24274. "description": "状态 0-无效(停用) 1-有效(正常)",
  24275. "type": "integer"
  24276. },
  24277. "middlegoodscode": {
  24278. "description": "套保品种代码",
  24279. "type": "string"
  24280. },
  24281. "middlegoodsid": {
  24282. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  24283. "type": "integer"
  24284. },
  24285. "middlegoodsname": {
  24286. "description": "套保品种名称",
  24287. "type": "string"
  24288. },
  24289. "modifytime": {
  24290. "description": "修改时间",
  24291. "type": "string"
  24292. },
  24293. "needarbitrageratio": {
  24294. "description": "套利比例",
  24295. "type": "number"
  24296. },
  24297. "needhedgeratio": {
  24298. "description": "套保比率",
  24299. "type": "number"
  24300. },
  24301. "qtydecimalplace": {
  24302. "description": "数量小数位",
  24303. "type": "integer"
  24304. },
  24305. "relatedgoodsid": {
  24306. "description": "关联交易商品ID",
  24307. "type": "integer"
  24308. },
  24309. "relatedgoodstype": {
  24310. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  24311. "type": "integer"
  24312. },
  24313. "remark": {
  24314. "description": "备注",
  24315. "type": "string"
  24316. }
  24317. }
  24318. },
  24319. "models.ErmcpMiddlegoodsRelateGoods": {
  24320. "type": "object",
  24321. "properties": {
  24322. "agreeunit": {
  24323. "description": "合约乘数",
  24324. "type": "number"
  24325. },
  24326. "convertratio": {
  24327. "description": "折算系数",
  24328. "type": "number"
  24329. },
  24330. "enumdicname": {
  24331. "description": "单位名称(交易商品)",
  24332. "type": "string"
  24333. },
  24334. "goodscode": {
  24335. "description": "交易商品代码",
  24336. "type": "string"
  24337. },
  24338. "goodsgroupid": {
  24339. "description": "交易品种id",
  24340. "type": "integer"
  24341. },
  24342. "goodsid": {
  24343. "description": "商品Id",
  24344. "type": "integer"
  24345. },
  24346. "goodsname": {
  24347. "description": "交易商品名称",
  24348. "type": "string"
  24349. },
  24350. "goodunitid": {
  24351. "description": "交易商品单位id",
  24352. "type": "integer"
  24353. },
  24354. "middlegoodsid": {
  24355. "description": "套保商品id",
  24356. "type": "integer"
  24357. },
  24358. "middlegoodsname": {
  24359. "description": "套保商品名称",
  24360. "type": "string"
  24361. },
  24362. "middlegoodsswcode": {
  24363. "description": "套保商品代码",
  24364. "type": "string"
  24365. },
  24366. "needarbitrageratio": {
  24367. "description": "应套利比例",
  24368. "type": "number"
  24369. },
  24370. "needhedgeratio": {
  24371. "description": "应套保比例",
  24372. "type": "number"
  24373. }
  24374. }
  24375. },
  24376. "models.ErmcpRole": {
  24377. "type": "object",
  24378. "properties": {
  24379. "areauserid": {
  24380. "description": "所属机构",
  24381. "type": "integer"
  24382. },
  24383. "autoid": {
  24384. "description": "角色ID(自增ID)",
  24385. "type": "integer"
  24386. },
  24387. "modifierid": {
  24388. "description": "修改人(创建人)",
  24389. "type": "integer"
  24390. },
  24391. "modifiername": {
  24392. "description": "修改人名称",
  24393. "type": "string"
  24394. },
  24395. "modifytime": {
  24396. "description": "修改时间(创建时间)",
  24397. "type": "string"
  24398. },
  24399. "rolename": {
  24400. "description": "角色名称",
  24401. "type": "string"
  24402. },
  24403. "rolestatus": {
  24404. "description": "角色状态 - 1:启用 2:停用",
  24405. "type": "integer"
  24406. },
  24407. "roletype": {
  24408. "description": "角色类型 - 1- 管理端 2- 交易端",
  24409. "type": "integer"
  24410. }
  24411. }
  24412. },
  24413. "models.ErmcpRoleMenu": {
  24414. "type": "object",
  24415. "properties": {
  24416. "iconame": {
  24417. "description": "菜单图标",
  24418. "type": "string"
  24419. },
  24420. "ishadrole": {
  24421. "description": "是否有权限",
  24422. "type": "boolean"
  24423. },
  24424. "menutype": {
  24425. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  24426. "type": "integer"
  24427. },
  24428. "parentcode": {
  24429. "description": "上级资源代码",
  24430. "type": "string"
  24431. },
  24432. "remark": {
  24433. "description": "菜单备注",
  24434. "type": "string"
  24435. },
  24436. "resourcecode": {
  24437. "description": "菜单代码",
  24438. "type": "string"
  24439. },
  24440. "resourcelevel": {
  24441. "description": "级别",
  24442. "type": "integer"
  24443. },
  24444. "resourcename": {
  24445. "description": "菜单名称",
  24446. "type": "string"
  24447. },
  24448. "roleid": {
  24449. "description": "角色id",
  24450. "type": "integer"
  24451. },
  24452. "sort": {
  24453. "description": "排序",
  24454. "type": "integer"
  24455. },
  24456. "url": {
  24457. "description": "URL",
  24458. "type": "string"
  24459. },
  24460. "userid": {
  24461. "description": "用户id",
  24462. "type": "integer"
  24463. }
  24464. }
  24465. },
  24466. "models.ErmcpRoleMenuEx": {
  24467. "type": "object",
  24468. "properties": {
  24469. "menu": {
  24470. "description": "父级菜单",
  24471. "$ref": "#/definitions/models.ErmcpRoleMenu"
  24472. },
  24473. "subMenu": {
  24474. "description": "子级菜单",
  24475. "type": "array",
  24476. "items": {
  24477. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  24478. }
  24479. }
  24480. }
  24481. },
  24482. "models.ErmcpTaAccount": {
  24483. "type": "object",
  24484. "properties": {
  24485. "accountid": {
  24486. "description": "账户id",
  24487. "type": "integer"
  24488. },
  24489. "accountname": {
  24490. "description": "账户名称",
  24491. "type": "string"
  24492. },
  24493. "currencyid": {
  24494. "description": "币种id",
  24495. "type": "integer"
  24496. },
  24497. "hedgeaccountcode": {
  24498. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24499. "type": "string"
  24500. },
  24501. "ismain": {
  24502. "description": "是否主账户 0-否 1-是",
  24503. "type": "integer"
  24504. },
  24505. "parentaccountid": {
  24506. "description": "父账户id",
  24507. "type": "integer"
  24508. },
  24509. "relateduserid": {
  24510. "description": "关联userid",
  24511. "type": "integer"
  24512. },
  24513. "tradefeetmpid": {
  24514. "description": "手续费模板id",
  24515. "type": "integer"
  24516. },
  24517. "tradefeetmpname": {
  24518. "description": "手续费模板名称",
  24519. "type": "string"
  24520. },
  24521. "trademargintmpid": {
  24522. "description": "保证金模板id",
  24523. "type": "integer"
  24524. },
  24525. "trademargintmpname": {
  24526. "description": "保证金模板名称",
  24527. "type": "string"
  24528. },
  24529. "traderatetmpid": {
  24530. "description": "汇率模板id",
  24531. "type": "integer"
  24532. },
  24533. "traderatetmpname": {
  24534. "description": "汇率模板名称",
  24535. "type": "string"
  24536. },
  24537. "tradestatus": {
  24538. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24539. "type": "integer"
  24540. },
  24541. "userid": {
  24542. "description": "用户id",
  24543. "type": "integer"
  24544. }
  24545. }
  24546. },
  24547. "models.ErmcpTaAccountEx": {
  24548. "type": "object",
  24549. "properties": {
  24550. "mainAcc": {
  24551. "description": "主账号",
  24552. "$ref": "#/definitions/models.ErmcpTaAccountM"
  24553. },
  24554. "subacclist": {
  24555. "description": "子账号列表",
  24556. "type": "array",
  24557. "items": {
  24558. "$ref": "#/definitions/models.ErmcpTaAccount"
  24559. }
  24560. }
  24561. }
  24562. },
  24563. "models.ErmcpTaAccountInfo": {
  24564. "type": "object",
  24565. "properties": {
  24566. "accountid": {
  24567. "description": "资金账户ID",
  24568. "type": "integer"
  24569. },
  24570. "accountname": {
  24571. "description": "账户名称",
  24572. "type": "string"
  24573. },
  24574. "balance": {
  24575. "description": "期初余额",
  24576. "type": "number"
  24577. },
  24578. "capitalbalance": {
  24579. "description": "本金余额[外部子账户实际出入金余额]",
  24580. "type": "number"
  24581. },
  24582. "closepl": {
  24583. "description": "今日平仓盈亏",
  24584. "type": "number"
  24585. },
  24586. "creditdecrease": {
  24587. "description": "今日授信减少",
  24588. "type": "number"
  24589. },
  24590. "creditincrease": {
  24591. "description": "今日授信增加",
  24592. "type": "number"
  24593. },
  24594. "curdebt": {
  24595. "description": "期末欠款",
  24596. "type": "number"
  24597. },
  24598. "currencyid": {
  24599. "description": "货币ID",
  24600. "type": "integer"
  24601. },
  24602. "currentbalance": {
  24603. "description": "期末余额",
  24604. "type": "number"
  24605. },
  24606. "freezecharge": {
  24607. "description": "手续费冻结",
  24608. "type": "number"
  24609. },
  24610. "freezemargin": {
  24611. "description": "冻结保证金",
  24612. "type": "number"
  24613. },
  24614. "fromaccountid": {
  24615. "description": "所属上级账户",
  24616. "type": "integer"
  24617. },
  24618. "inamount": {
  24619. "description": "今日入金金额(包括三方入金)",
  24620. "type": "number"
  24621. },
  24622. "ismain": {
  24623. "description": "是否母账号 0:不是母账户 1:是母账户",
  24624. "type": "integer"
  24625. },
  24626. "mortgagecredit": {
  24627. "description": "授信金额",
  24628. "type": "number"
  24629. },
  24630. "oridebt": {
  24631. "description": "期初欠款",
  24632. "type": "number"
  24633. },
  24634. "orifreezecharge": {
  24635. "description": "期初手续费冻结",
  24636. "type": "number"
  24637. },
  24638. "orifreezemargin": {
  24639. "description": "期初冻结保证金",
  24640. "type": "number"
  24641. },
  24642. "orimortgagecredit": {
  24643. "description": "期初授信金额",
  24644. "type": "number"
  24645. },
  24646. "oriothercredit": {
  24647. "description": "期初其它授信金额",
  24648. "type": "number"
  24649. },
  24650. "oriotherfreezemargin": {
  24651. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  24652. "type": "number"
  24653. },
  24654. "orioutamountfreeze": {
  24655. "description": "期初出金冻结",
  24656. "type": "number"
  24657. },
  24658. "oriusedmargin": {
  24659. "description": "期初占用保证金",
  24660. "type": "number"
  24661. },
  24662. "othercredit": {
  24663. "description": "其它授信金额",
  24664. "type": "number"
  24665. },
  24666. "othercreditdecrease": {
  24667. "description": "今日其它授信减少",
  24668. "type": "number"
  24669. },
  24670. "othercreditincrease": {
  24671. "description": "今日其它授信增加",
  24672. "type": "number"
  24673. },
  24674. "otherfreezemargin": {
  24675. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  24676. "type": "number"
  24677. },
  24678. "outamount": {
  24679. "description": "今日出金金额(包括三方出金)",
  24680. "type": "number"
  24681. },
  24682. "outamountfreeze": {
  24683. "description": "出金冻结",
  24684. "type": "number"
  24685. },
  24686. "outthreshold": {
  24687. "description": "出金阈值",
  24688. "type": "number"
  24689. },
  24690. "parentaccountid": {
  24691. "description": "所属根账号",
  24692. "type": "integer"
  24693. },
  24694. "paycharge": {
  24695. "description": "今日手续费支出",
  24696. "type": "number"
  24697. },
  24698. "relateduserid": {
  24699. "description": "关联用户",
  24700. "type": "integer"
  24701. },
  24702. "signstatus": {
  24703. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  24704. "type": "integer"
  24705. },
  24706. "sublevelpath": {
  24707. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  24708. "type": "string"
  24709. },
  24710. "taaccounttype": {
  24711. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  24712. "type": "integer"
  24713. },
  24714. "thirdinamount": {
  24715. "description": "今日三方入金",
  24716. "type": "number"
  24717. },
  24718. "thirdoutamount": {
  24719. "description": "今日三方出金",
  24720. "type": "number"
  24721. },
  24722. "tradestatus": {
  24723. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24724. "type": "integer"
  24725. },
  24726. "transferamount": {
  24727. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  24728. "type": "number"
  24729. },
  24730. "usedmargin": {
  24731. "description": "占用保证金",
  24732. "type": "number"
  24733. },
  24734. "userid": {
  24735. "description": "用户ID",
  24736. "type": "integer"
  24737. }
  24738. }
  24739. },
  24740. "models.ErmcpTaAccountM": {
  24741. "type": "object",
  24742. "properties": {
  24743. "accountid": {
  24744. "description": "账户id",
  24745. "type": "integer"
  24746. },
  24747. "accountname": {
  24748. "description": "账户名称",
  24749. "type": "string"
  24750. },
  24751. "currencyid": {
  24752. "description": "币种id",
  24753. "type": "integer"
  24754. },
  24755. "fcid": {
  24756. "description": "期货公司id",
  24757. "type": "integer"
  24758. },
  24759. "fcname": {
  24760. "description": "期货公司代码",
  24761. "type": "string"
  24762. },
  24763. "hedgeaccountcode": {
  24764. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24765. "type": "string"
  24766. },
  24767. "ismain": {
  24768. "description": "是否主账户 0-否 1-是",
  24769. "type": "integer"
  24770. },
  24771. "parentaccountid": {
  24772. "description": "父账户id",
  24773. "type": "integer"
  24774. },
  24775. "relateduserid": {
  24776. "description": "关联userid",
  24777. "type": "integer"
  24778. },
  24779. "tradefeetmpid": {
  24780. "description": "手续费模板id",
  24781. "type": "integer"
  24782. },
  24783. "tradefeetmpname": {
  24784. "description": "手续费模板名称",
  24785. "type": "string"
  24786. },
  24787. "trademargintmpid": {
  24788. "description": "保证金模板id",
  24789. "type": "integer"
  24790. },
  24791. "trademargintmpname": {
  24792. "description": "保证金模板名称",
  24793. "type": "string"
  24794. },
  24795. "traderatetmpid": {
  24796. "description": "汇率模板id",
  24797. "type": "integer"
  24798. },
  24799. "traderatetmpname": {
  24800. "description": "汇率模板名称",
  24801. "type": "string"
  24802. },
  24803. "tradestatus": {
  24804. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24805. "type": "integer"
  24806. },
  24807. "userid": {
  24808. "description": "用户id",
  24809. "type": "integer"
  24810. }
  24811. }
  24812. },
  24813. "models.ErmcpTradeConfigTMP": {
  24814. "type": "object",
  24815. "properties": {
  24816. "areauserid": {
  24817. "description": "所属机构",
  24818. "type": "integer"
  24819. },
  24820. "basiccurrencyid": {
  24821. "description": "基本币种ID[汇率] - 目标币种",
  24822. "type": "integer"
  24823. },
  24824. "mainaccountid": {
  24825. "description": "主账户ID",
  24826. "type": "integer"
  24827. },
  24828. "modifierid": {
  24829. "description": "修改人",
  24830. "type": "integer"
  24831. },
  24832. "remark": {
  24833. "description": "备注",
  24834. "type": "string"
  24835. },
  24836. "tradeconfigtmpid": {
  24837. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  24838. "type": "integer"
  24839. },
  24840. "tradeconfigtmpname": {
  24841. "description": "交易配置模板名称",
  24842. "type": "string"
  24843. },
  24844. "tradeconfigtmptype": {
  24845. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  24846. "type": "integer"
  24847. },
  24848. "updatetime": {
  24849. "description": "更新时间",
  24850. "type": "string"
  24851. }
  24852. }
  24853. },
  24854. "models.Externalexchange": {
  24855. "type": "object",
  24856. "required": [
  24857. "autoid"
  24858. ],
  24859. "properties": {
  24860. "autoid": {
  24861. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  24862. "type": "integer"
  24863. },
  24864. "exchangefullname": {
  24865. "description": "外部交易所全称",
  24866. "type": "string"
  24867. },
  24868. "exexchangecode": {
  24869. "description": "外部交易所代码",
  24870. "type": "string"
  24871. },
  24872. "exexchangename": {
  24873. "description": "外部交易所名称(简称)",
  24874. "type": "string"
  24875. },
  24876. "ismarketprice": {
  24877. "description": "是否支持市价 - 0:不支持 1:支持",
  24878. "type": "integer"
  24879. },
  24880. "quotegear": {
  24881. "description": "行情档位(1-10)",
  24882. "type": "integer"
  24883. },
  24884. "showbrokerflag": {
  24885. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  24886. "type": "integer"
  24887. },
  24888. "updatetime": {
  24889. "description": "更新时间",
  24890. "type": "string"
  24891. }
  24892. }
  24893. },
  24894. "models.Funcmenulist": {
  24895. "type": "object",
  24896. "required": [
  24897. "resourcecode"
  24898. ],
  24899. "properties": {
  24900. "iconame": {
  24901. "description": "菜单图标",
  24902. "type": "string"
  24903. },
  24904. "menutype": {
  24905. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  24906. "type": "integer"
  24907. },
  24908. "parentcode": {
  24909. "description": "上级资源代码",
  24910. "type": "string"
  24911. },
  24912. "remark": {
  24913. "description": "备注",
  24914. "type": "string"
  24915. },
  24916. "resourcecode": {
  24917. "description": "资源代码",
  24918. "type": "string"
  24919. },
  24920. "resourcelevel": {
  24921. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  24922. "type": "integer"
  24923. },
  24924. "resourcename": {
  24925. "description": "资源名",
  24926. "type": "string"
  24927. },
  24928. "sort": {
  24929. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  24930. "type": "integer"
  24931. },
  24932. "url": {
  24933. "description": "URL",
  24934. "type": "string"
  24935. }
  24936. }
  24937. },
  24938. "models.Goods": {
  24939. "type": "object",
  24940. "required": [
  24941. "goodscode",
  24942. "goodsid",
  24943. "goodsname",
  24944. "marketid"
  24945. ],
  24946. "properties": {
  24947. "agreeunit": {
  24948. "description": "合约单位",
  24949. "type": "number"
  24950. },
  24951. "areauserid": {
  24952. "description": "所属机构",
  24953. "type": "integer"
  24954. },
  24955. "auditaccountid": {
  24956. "description": "审核操作员账号",
  24957. "type": "integer"
  24958. },
  24959. "audittime": {
  24960. "description": "审核时间",
  24961. "type": "string"
  24962. },
  24963. "cancelaccountid": {
  24964. "description": "注销操作员账号",
  24965. "type": "integer"
  24966. },
  24967. "canceltime": {
  24968. "description": "注销时间",
  24969. "type": "string"
  24970. },
  24971. "closepricemode": {
  24972. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24973. "type": "integer"
  24974. },
  24975. "closepriceparam": {
  24976. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  24977. "type": "number"
  24978. },
  24979. "createtime": {
  24980. "description": "创建时间",
  24981. "type": "string"
  24982. },
  24983. "creatorid": {
  24984. "description": "创建人",
  24985. "type": "integer"
  24986. },
  24987. "currencyid": {
  24988. "description": "报价货币ID",
  24989. "type": "integer"
  24990. },
  24991. "cutmode": {
  24992. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  24993. "type": "integer"
  24994. },
  24995. "decimalplace": {
  24996. "description": "报价小数位",
  24997. "type": "integer"
  24998. },
  24999. "delistingdate": {
  25000. "description": "商品退市时间(状态:退市) -- 已作废",
  25001. "type": "string"
  25002. },
  25003. "delistingmode": {
  25004. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  25005. "type": "integer"
  25006. },
  25007. "deliveryflag": {
  25008. "description": "交割标志 - 0:不可交割 1:可交割",
  25009. "type": "integer"
  25010. },
  25011. "forceclosemode": {
  25012. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  25013. "type": "integer"
  25014. },
  25015. "forceclosevalue": {
  25016. "description": "定期强平参数 [收益权]",
  25017. "type": "integer"
  25018. },
  25019. "goodscode": {
  25020. "description": "商品代码(内部)",
  25021. "type": "string"
  25022. },
  25023. "goodscurrencyid": {
  25024. "description": "合约货币ID",
  25025. "type": "integer"
  25026. },
  25027. "goodsgroupid": {
  25028. "description": "所属商品组ID",
  25029. "type": "integer"
  25030. },
  25031. "goodsid": {
  25032. "description": "商品ID(自增ID SEQ_GOODS)",
  25033. "type": "integer"
  25034. },
  25035. "goodsname": {
  25036. "description": "商品名称",
  25037. "type": "string"
  25038. },
  25039. "goodsquotetype": {
  25040. "description": "合约报价类型: 1-直接报价 2-间接报价",
  25041. "type": "integer"
  25042. },
  25043. "goodsstatus": {
  25044. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  25045. "type": "integer"
  25046. },
  25047. "goodstradetype": {
  25048. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  25049. "type": "integer"
  25050. },
  25051. "goodunitid": {
  25052. "description": "报价单位ID",
  25053. "type": "integer"
  25054. },
  25055. "hasquoter": {
  25056. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  25057. "type": "integer"
  25058. },
  25059. "hqprotecttime": {
  25060. "description": "行情保护时间(秒)",
  25061. "type": "integer"
  25062. },
  25063. "innerdealmode": {
  25064. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25065. "type": "integer"
  25066. },
  25067. "isbuylimited": {
  25068. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25069. "type": "integer"
  25070. },
  25071. "isvisible": {
  25072. "description": "游客是否可见 - 0:不可见 1:可见",
  25073. "type": "integer"
  25074. },
  25075. "lasttradedate": {
  25076. "description": "最后交易日期(状态:待退市)",
  25077. "type": "string"
  25078. },
  25079. "listingdate": {
  25080. "description": "交易开始日期",
  25081. "type": "string"
  25082. },
  25083. "marketid": {
  25084. "description": "所属市场ID",
  25085. "type": "integer"
  25086. },
  25087. "modifierid": {
  25088. "description": "修改人",
  25089. "type": "integer"
  25090. },
  25091. "modifystatus": {
  25092. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  25093. "type": "integer"
  25094. },
  25095. "modifytime": {
  25096. "description": "修改时间",
  25097. "type": "string"
  25098. },
  25099. "outerdealmode": {
  25100. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25101. "type": "integer"
  25102. },
  25103. "outgoodscode": {
  25104. "description": "商品代码(外部)",
  25105. "type": "string"
  25106. },
  25107. "pictureurl": {
  25108. "description": "商品图片",
  25109. "type": "string"
  25110. },
  25111. "qtydecimalplace": {
  25112. "description": "成交量小数位",
  25113. "type": "integer"
  25114. },
  25115. "quotegear": {
  25116. "description": "行情档位(1-10)",
  25117. "type": "integer"
  25118. },
  25119. "quoteminunit": {
  25120. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25121. "type": "integer"
  25122. },
  25123. "quoteshowtype": {
  25124. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  25125. "type": "integer"
  25126. },
  25127. "quoteshowtypeinterval": {
  25128. "description": "行情报价间隔时间(秒)(成交价时为0)",
  25129. "type": "integer"
  25130. },
  25131. "remark": {
  25132. "description": "备注",
  25133. "type": "string"
  25134. }
  25135. }
  25136. },
  25137. "models.GoodsIDAndName": {
  25138. "type": "object",
  25139. "required": [
  25140. "goodscode",
  25141. "goodsid",
  25142. "goodsname",
  25143. "marketid"
  25144. ],
  25145. "properties": {
  25146. "goodscode": {
  25147. "description": "商品代码(内部)",
  25148. "type": "string"
  25149. },
  25150. "goodsid": {
  25151. "description": "商品ID(自增ID SEQ_GOODS)",
  25152. "type": "integer"
  25153. },
  25154. "goodsname": {
  25155. "description": "商品名称",
  25156. "type": "string"
  25157. },
  25158. "marketid": {
  25159. "description": "所属市场ID",
  25160. "type": "integer"
  25161. }
  25162. }
  25163. },
  25164. "models.Goodsgroup": {
  25165. "type": "object",
  25166. "required": [
  25167. "goodsgroupid",
  25168. "goodsgroupname",
  25169. "goodsgroupstatus",
  25170. "marketid"
  25171. ],
  25172. "properties": {
  25173. "agreeunit": {
  25174. "description": "合约单位",
  25175. "type": "number"
  25176. },
  25177. "canshort": {
  25178. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  25179. "type": "integer"
  25180. },
  25181. "closepricemode": {
  25182. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25183. "type": "integer"
  25184. },
  25185. "closepriceparam": {
  25186. "description": "强平最新价浮动比例 - 方式为2时使用",
  25187. "type": "number"
  25188. },
  25189. "createtime": {
  25190. "description": "创建时间",
  25191. "type": "string"
  25192. },
  25193. "creatorid": {
  25194. "description": "创建人",
  25195. "type": "integer"
  25196. },
  25197. "currencyid": {
  25198. "description": "报价货币ID",
  25199. "type": "integer"
  25200. },
  25201. "decimalplace": {
  25202. "description": "报价小数位",
  25203. "type": "integer"
  25204. },
  25205. "exercisetype": {
  25206. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  25207. "type": "integer"
  25208. },
  25209. "exexchangeid": {
  25210. "description": "外部交易所ID[通道交易]",
  25211. "type": "integer"
  25212. },
  25213. "goodsgroupid": {
  25214. "description": "商品组ID(自增ID)",
  25215. "type": "integer"
  25216. },
  25217. "goodsgroupname": {
  25218. "description": "商品组名称",
  25219. "type": "string"
  25220. },
  25221. "goodsgroupstatus": {
  25222. "description": "商品组状态 - 1:正常 2:注销",
  25223. "type": "integer"
  25224. },
  25225. "goodunitid": {
  25226. "description": "报价单位ID",
  25227. "type": "integer"
  25228. },
  25229. "innerdealmode": {
  25230. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25231. "type": "integer"
  25232. },
  25233. "isbuylimited": {
  25234. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25235. "type": "integer"
  25236. },
  25237. "marketid": {
  25238. "description": "所属市场ID",
  25239. "type": "integer"
  25240. },
  25241. "modifierid": {
  25242. "description": "修改人",
  25243. "type": "integer"
  25244. },
  25245. "modifytime": {
  25246. "description": "修改时间",
  25247. "type": "string"
  25248. },
  25249. "outerdealmode": {
  25250. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25251. "type": "integer"
  25252. },
  25253. "outergroupcode": {
  25254. "description": "外部商品组代码[通道交易]",
  25255. "type": "string"
  25256. },
  25257. "premiumdecimalplace": {
  25258. "description": "权利金小数位[场外期权]",
  25259. "type": "integer"
  25260. },
  25261. "premiumspreadalgorithm": {
  25262. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  25263. "type": "integer"
  25264. },
  25265. "premiumspreadvalue": {
  25266. "description": "权利金点差值[场外期权]",
  25267. "type": "number"
  25268. },
  25269. "qtydecimalplace": {
  25270. "description": "成交量小数位",
  25271. "type": "integer"
  25272. },
  25273. "quotegear": {
  25274. "description": "行情档位(1-10)",
  25275. "type": "integer"
  25276. },
  25277. "quoteminunit": {
  25278. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25279. "type": "integer"
  25280. },
  25281. "quoterid": {
  25282. "description": "报价商ID[场外期权]",
  25283. "type": "integer"
  25284. },
  25285. "quotesourcegroupid": {
  25286. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  25287. "type": "integer"
  25288. },
  25289. "syncgoodsqty": {
  25290. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  25291. "type": "integer"
  25292. }
  25293. }
  25294. },
  25295. "models.Goodssortbypreposition": {
  25296. "type": "object",
  25297. "required": [
  25298. "goodscode",
  25299. "tradedate"
  25300. ],
  25301. "properties": {
  25302. "goodscode": {
  25303. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  25304. "type": "string"
  25305. },
  25306. "goodsgroupcode": {
  25307. "description": "品种代码",
  25308. "type": "string"
  25309. },
  25310. "prepositionqty": {
  25311. "description": "昨持仓量",
  25312. "type": "integer"
  25313. },
  25314. "sortindex": {
  25315. "description": "排序",
  25316. "type": "integer"
  25317. },
  25318. "tradedate": {
  25319. "description": "交易日",
  25320. "type": "string"
  25321. },
  25322. "updatetime": {
  25323. "description": "更新时间",
  25324. "type": "string"
  25325. }
  25326. }
  25327. },
  25328. "models.Hedgeinnerholderdetail": {
  25329. "type": "object",
  25330. "required": [
  25331. "buyorsell",
  25332. "tradeid"
  25333. ],
  25334. "properties": {
  25335. "accountid": {
  25336. "description": "账号ID",
  25337. "type": "integer"
  25338. },
  25339. "buyorsell": {
  25340. "description": "方向 - 0:买 1:卖",
  25341. "type": "integer"
  25342. },
  25343. "freezeqty": {
  25344. "description": "冻结数量 - 按单平使用",
  25345. "type": "integer"
  25346. },
  25347. "goodsid": {
  25348. "description": "商品ID",
  25349. "type": "integer"
  25350. },
  25351. "holderamount": {
  25352. "description": "持仓金额 [商品币种]",
  25353. "type": "number"
  25354. },
  25355. "holderdays": {
  25356. "description": "剩余冻结天数",
  25357. "type": "integer"
  25358. },
  25359. "holderprice": {
  25360. "description": "持仓价格",
  25361. "type": "number"
  25362. },
  25363. "holderqty": {
  25364. "description": "持仓数量",
  25365. "type": "integer"
  25366. },
  25367. "marketid": {
  25368. "description": "市场ID",
  25369. "type": "integer"
  25370. },
  25371. "openprice": {
  25372. "description": "建仓价格",
  25373. "type": "number"
  25374. },
  25375. "openqty": {
  25376. "description": "建仓数量",
  25377. "type": "integer"
  25378. },
  25379. "parentaccountid": {
  25380. "description": "所属母账户",
  25381. "type": "integer"
  25382. },
  25383. "releaseamount": {
  25384. "description": "释放持仓金额[商品币种]",
  25385. "type": "number"
  25386. },
  25387. "tradeamount": {
  25388. "description": "成交金额[账户]",
  25389. "type": "number"
  25390. },
  25391. "tradedate": {
  25392. "description": "交易日(yyyyMMdd)",
  25393. "type": "string"
  25394. },
  25395. "tradeid": {
  25396. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25397. "type": "string"
  25398. },
  25399. "tradetime": {
  25400. "description": "交易时间",
  25401. "type": "string"
  25402. }
  25403. }
  25404. },
  25405. "models.Hedgemarketopenlog": {
  25406. "type": "object",
  25407. "required": [
  25408. "accountid"
  25409. ],
  25410. "properties": {
  25411. "accountid": {
  25412. "description": "资金账号[外部母账户]",
  25413. "type": "integer"
  25414. },
  25415. "fcname": {
  25416. "description": "期货公司名称",
  25417. "type": "string"
  25418. },
  25419. "handlestatus": {
  25420. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  25421. "type": "integer"
  25422. },
  25423. "marketid": {
  25424. "description": "市场ID",
  25425. "type": "integer"
  25426. },
  25427. "status": {
  25428. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  25429. "type": "integer"
  25430. },
  25431. "tradedate": {
  25432. "description": "交易日(yyyyMMdd)",
  25433. "type": "string"
  25434. },
  25435. "updatetime": {
  25436. "description": "更新时间",
  25437. "type": "string"
  25438. }
  25439. }
  25440. },
  25441. "models.HsbyBuyMyPayOrder": {
  25442. "type": "object",
  25443. "required": [
  25444. "goodscode",
  25445. "goodsname",
  25446. "tradeid",
  25447. "trademode"
  25448. ],
  25449. "properties": {
  25450. "agreeunit": {
  25451. "description": "合约单位",
  25452. "type": "number"
  25453. },
  25454. "buyaccountid": {
  25455. "description": "买方账号ID[报价币种]",
  25456. "type": "integer"
  25457. },
  25458. "buyorderid": {
  25459. "description": "买方委托单号",
  25460. "type": "string"
  25461. },
  25462. "createtime": {
  25463. "description": "创建时间",
  25464. "type": "string"
  25465. },
  25466. "currencysign": {
  25467. "description": "货币符号",
  25468. "type": "string"
  25469. },
  25470. "decimalplace": {
  25471. "description": "报价小数位",
  25472. "type": "integer"
  25473. },
  25474. "goodscode": {
  25475. "description": "商品代码(内部)",
  25476. "type": "string"
  25477. },
  25478. "goodsid": {
  25479. "description": "商品ID",
  25480. "type": "integer"
  25481. },
  25482. "goodsname": {
  25483. "description": "商品名称",
  25484. "type": "string"
  25485. },
  25486. "marketid": {
  25487. "description": "市场ID",
  25488. "type": "integer"
  25489. },
  25490. "offamount": {
  25491. "description": "优惠金额",
  25492. "type": "number"
  25493. },
  25494. "originalamount": {
  25495. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  25496. "type": "number"
  25497. },
  25498. "payamount": {
  25499. "description": "支付金额 = TradeAmount + TradeCharge",
  25500. "type": "number"
  25501. },
  25502. "payflag": {
  25503. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25504. "type": "integer"
  25505. },
  25506. "paylimitedtime": {
  25507. "description": "支付期限",
  25508. "type": "string"
  25509. },
  25510. "paytime": {
  25511. "description": "付款时间",
  25512. "type": "string"
  25513. },
  25514. "picurls1": {
  25515. "description": "预售商品介绍图片[多张用逗号分隔]",
  25516. "type": "string"
  25517. },
  25518. "picurls2": {
  25519. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25520. "type": "string"
  25521. },
  25522. "sellaccountid": {
  25523. "description": "卖方账号ID[报价币种]",
  25524. "type": "integer"
  25525. },
  25526. "sellorderid": {
  25527. "description": "卖方委托单号",
  25528. "type": "string"
  25529. },
  25530. "tradeamount": {
  25531. "description": "成交金额",
  25532. "type": "number"
  25533. },
  25534. "tradecharge": {
  25535. "description": "成交手续费(买方)",
  25536. "type": "number"
  25537. },
  25538. "tradedate": {
  25539. "description": "交易日(yyyyMMdd)",
  25540. "type": "string"
  25541. },
  25542. "tradeid": {
  25543. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25544. "type": "string"
  25545. },
  25546. "trademode": {
  25547. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25548. "type": "integer"
  25549. },
  25550. "tradeprice": {
  25551. "description": "成交价格",
  25552. "type": "number"
  25553. },
  25554. "tradeqty": {
  25555. "description": "成交数量",
  25556. "type": "integer"
  25557. },
  25558. "vendorname1": {
  25559. "description": "预售商品供应商名称",
  25560. "type": "string"
  25561. },
  25562. "vendorname2": {
  25563. "description": "挂牌商品供应商名称",
  25564. "type": "string"
  25565. }
  25566. }
  25567. },
  25568. "models.HsbyBuyMyTradeDetail": {
  25569. "type": "object",
  25570. "required": [
  25571. "accountid",
  25572. "buyorsell",
  25573. "goodscode",
  25574. "goodsid",
  25575. "goodsname",
  25576. "marketid",
  25577. "orderid",
  25578. "qty",
  25579. "time",
  25580. "trademode"
  25581. ],
  25582. "properties": {
  25583. "accountid": {
  25584. "description": "账户ID[报价币种]",
  25585. "type": "integer"
  25586. },
  25587. "agreeunit": {
  25588. "description": "合约单位",
  25589. "type": "number"
  25590. },
  25591. "amount": {
  25592. "description": "金额 = 价格 * 数量 * 合约单位",
  25593. "type": "number"
  25594. },
  25595. "buyorsell": {
  25596. "description": "买卖 - 0:买 1:卖",
  25597. "type": "integer"
  25598. },
  25599. "currencysign": {
  25600. "description": "货币符号",
  25601. "type": "string"
  25602. },
  25603. "decimalplace": {
  25604. "description": "报价小数位",
  25605. "type": "integer"
  25606. },
  25607. "goodscode": {
  25608. "description": "商品代码(内部)",
  25609. "type": "string"
  25610. },
  25611. "goodsid": {
  25612. "description": "商品ID",
  25613. "type": "integer"
  25614. },
  25615. "goodsname": {
  25616. "description": "商品名称",
  25617. "type": "string"
  25618. },
  25619. "marketid": {
  25620. "description": "市场ID",
  25621. "type": "integer"
  25622. },
  25623. "orderamount": {
  25624. "description": "委托金额",
  25625. "type": "number"
  25626. },
  25627. "orderid": {
  25628. "description": "单号(成交单号)",
  25629. "type": "string"
  25630. },
  25631. "picurls1": {
  25632. "description": "预售商品介绍图片[多张用逗号分隔]",
  25633. "type": "string"
  25634. },
  25635. "picurls2": {
  25636. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25637. "type": "string"
  25638. },
  25639. "price": {
  25640. "description": "价格",
  25641. "type": "number"
  25642. },
  25643. "qty": {
  25644. "description": "数量",
  25645. "type": "integer"
  25646. },
  25647. "time": {
  25648. "description": "时间",
  25649. "type": "string"
  25650. },
  25651. "trademode": {
  25652. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25653. "type": "integer"
  25654. },
  25655. "vendorname1": {
  25656. "description": "预售商品供应商名称",
  25657. "type": "string"
  25658. },
  25659. "vendorname2": {
  25660. "description": "挂牌商品供应商名称",
  25661. "type": "string"
  25662. }
  25663. }
  25664. },
  25665. "models.HsbyGoodsOrderDetail": {
  25666. "type": "object",
  25667. "required": [
  25668. "buyorsell",
  25669. "orderid",
  25670. "ordertime"
  25671. ],
  25672. "properties": {
  25673. "buyorsell": {
  25674. "description": "买卖 - 0:买 1:卖",
  25675. "type": "integer"
  25676. },
  25677. "currencysign": {
  25678. "description": "货币符号",
  25679. "type": "string"
  25680. },
  25681. "customername": {
  25682. "description": "客户名称(企业名称),已脱敏",
  25683. "type": "string"
  25684. },
  25685. "enableqty": {
  25686. "description": "可用数量",
  25687. "type": "integer"
  25688. },
  25689. "goodunit": {
  25690. "description": "报价单位",
  25691. "type": "string"
  25692. },
  25693. "orderid": {
  25694. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25695. "type": "string"
  25696. },
  25697. "orderprice": {
  25698. "description": "委托价格",
  25699. "type": "number"
  25700. },
  25701. "ordertime": {
  25702. "description": "委托时间",
  25703. "type": "string"
  25704. }
  25705. }
  25706. },
  25707. "models.HsbyListingGoodsDetail": {
  25708. "type": "object",
  25709. "required": [
  25710. "goodscode",
  25711. "goodsid",
  25712. "goodsname",
  25713. "marketid",
  25714. "trademode"
  25715. ],
  25716. "properties": {
  25717. "agreeunit": {
  25718. "description": "合约单位",
  25719. "type": "number"
  25720. },
  25721. "buymaxqty": {
  25722. "description": "购买上限 [71] - 0为不限",
  25723. "type": "integer"
  25724. },
  25725. "currency": {
  25726. "description": "货币",
  25727. "type": "string"
  25728. },
  25729. "currencysign": {
  25730. "description": "货币符号",
  25731. "type": "string"
  25732. },
  25733. "decimalplace": {
  25734. "description": "报价小数位",
  25735. "type": "integer"
  25736. },
  25737. "desccityid": {
  25738. "description": "目的地(市)ID",
  25739. "type": "integer"
  25740. },
  25741. "descprovinceid": {
  25742. "description": "目的地(省)ID",
  25743. "type": "integer"
  25744. },
  25745. "goodscode": {
  25746. "description": "商品代码(内部)",
  25747. "type": "string"
  25748. },
  25749. "goodsdesc": {
  25750. "description": "商品详情",
  25751. "type": "string"
  25752. },
  25753. "goodsid": {
  25754. "description": "商品ID(自增ID SEQ_GOODS)",
  25755. "type": "integer"
  25756. },
  25757. "goodsname": {
  25758. "description": "商品名称",
  25759. "type": "string"
  25760. },
  25761. "goodsprice": {
  25762. "description": "商品价格",
  25763. "type": "number"
  25764. },
  25765. "hotindex": {
  25766. "description": "景点热度",
  25767. "type": "integer"
  25768. },
  25769. "last": {
  25770. "description": "现价",
  25771. "type": "number"
  25772. },
  25773. "limitdown": {
  25774. "description": "跌停价",
  25775. "type": "number"
  25776. },
  25777. "limitup": {
  25778. "description": "涨停价",
  25779. "type": "number"
  25780. },
  25781. "lotsize": {
  25782. "description": "手数最小变动单位",
  25783. "type": "integer"
  25784. },
  25785. "marketid": {
  25786. "description": "所属市场ID",
  25787. "type": "integer"
  25788. },
  25789. "picurls": {
  25790. "description": "介绍图片[多张用逗号分隔]",
  25791. "type": "string"
  25792. },
  25793. "quoteminunit": {
  25794. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25795. "type": "integer"
  25796. },
  25797. "stepvalue": {
  25798. "description": "价格最小变动单位",
  25799. "type": "number"
  25800. },
  25801. "trademode": {
  25802. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25803. "type": "integer"
  25804. },
  25805. "vendorattr": {
  25806. "description": "供应商附件(多张,逗号分隔)",
  25807. "type": "string"
  25808. },
  25809. "vendorname": {
  25810. "description": "供应商名称",
  25811. "type": "string"
  25812. },
  25813. "vendorphone": {
  25814. "description": "供应商客服电话",
  25815. "type": "string"
  25816. },
  25817. "videourls": {
  25818. "description": "介绍视频[多张用逗号分隔]",
  25819. "type": "string"
  25820. }
  25821. }
  25822. },
  25823. "models.HsbyMarketGoods": {
  25824. "type": "object",
  25825. "required": [
  25826. "accountid",
  25827. "buyorsell",
  25828. "goodscode",
  25829. "goodsid",
  25830. "goodsname",
  25831. "marketid",
  25832. "orderid",
  25833. "trademode"
  25834. ],
  25835. "properties": {
  25836. "accountid": {
  25837. "description": "账户ID[报价币种]",
  25838. "type": "integer"
  25839. },
  25840. "agreeunit": {
  25841. "description": "合约单位",
  25842. "type": "number"
  25843. },
  25844. "buyorsell": {
  25845. "description": "买卖 - 0:买 1:卖",
  25846. "type": "integer"
  25847. },
  25848. "categoryid": {
  25849. "description": "类别ID(WRCATEGORY)",
  25850. "type": "integer"
  25851. },
  25852. "currency": {
  25853. "description": "货币",
  25854. "type": "string"
  25855. },
  25856. "currencysign": {
  25857. "description": "货币符号",
  25858. "type": "string"
  25859. },
  25860. "customername": {
  25861. "description": "卖家名称",
  25862. "type": "string"
  25863. },
  25864. "decimalplace": {
  25865. "description": "报价小数位",
  25866. "type": "integer"
  25867. },
  25868. "goodscode": {
  25869. "description": "商品代码(内部)",
  25870. "type": "string"
  25871. },
  25872. "goodsid": {
  25873. "description": "商品ID",
  25874. "type": "integer"
  25875. },
  25876. "goodsname": {
  25877. "description": "商品名称",
  25878. "type": "string"
  25879. },
  25880. "goodsprice": {
  25881. "description": "商品价格",
  25882. "type": "number"
  25883. },
  25884. "hascoupon": {
  25885. "description": "是否可用优惠卷",
  25886. "type": "boolean"
  25887. },
  25888. "hotindex": {
  25889. "description": "景点热度",
  25890. "type": "integer"
  25891. },
  25892. "marketid": {
  25893. "description": "市场ID",
  25894. "type": "integer"
  25895. },
  25896. "orderid": {
  25897. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25898. "type": "string"
  25899. },
  25900. "orderprice": {
  25901. "description": "委托价格",
  25902. "type": "number"
  25903. },
  25904. "orderstatus": {
  25905. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25906. "type": "integer"
  25907. },
  25908. "picurls": {
  25909. "description": "介绍图片[多张用逗号分隔]",
  25910. "type": "string"
  25911. },
  25912. "quoteminunit": {
  25913. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25914. "type": "integer"
  25915. },
  25916. "sellUserID": {
  25917. "description": "卖方UserID",
  25918. "type": "integer"
  25919. },
  25920. "trademode": {
  25921. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25922. "type": "integer"
  25923. },
  25924. "videourls": {
  25925. "description": "介绍视频[多张用逗号分隔]",
  25926. "type": "string"
  25927. }
  25928. }
  25929. },
  25930. "models.HsbyMarketGoodsDetail": {
  25931. "type": "object",
  25932. "required": [
  25933. "accountid",
  25934. "buyorsell",
  25935. "goodscode",
  25936. "goodsid",
  25937. "goodsname",
  25938. "marketid",
  25939. "orderid",
  25940. "orderqty",
  25941. "trademode"
  25942. ],
  25943. "properties": {
  25944. "accountid": {
  25945. "description": "账户ID[报价币种]",
  25946. "type": "integer"
  25947. },
  25948. "agreeunit": {
  25949. "description": "合约单位",
  25950. "type": "number"
  25951. },
  25952. "buymaxqty": {
  25953. "description": "购买上限 [71] - 0为不限",
  25954. "type": "integer"
  25955. },
  25956. "buyorsell": {
  25957. "description": "买卖 - 0:买 1:卖",
  25958. "type": "integer"
  25959. },
  25960. "cancelqty": {
  25961. "description": "撤单数量",
  25962. "type": "integer"
  25963. },
  25964. "categoryid": {
  25965. "description": "类别ID(WRCATEGORY)",
  25966. "type": "integer"
  25967. },
  25968. "currency": {
  25969. "description": "货币",
  25970. "type": "string"
  25971. },
  25972. "currencysign": {
  25973. "description": "货币符号",
  25974. "type": "string"
  25975. },
  25976. "customername": {
  25977. "description": "卖家名称",
  25978. "type": "string"
  25979. },
  25980. "decimalplace": {
  25981. "description": "报价小数位",
  25982. "type": "integer"
  25983. },
  25984. "goodscode": {
  25985. "description": "商品代码(内部)",
  25986. "type": "string"
  25987. },
  25988. "goodsdesc": {
  25989. "description": "商品详情",
  25990. "type": "string"
  25991. },
  25992. "goodsid": {
  25993. "description": "商品ID",
  25994. "type": "integer"
  25995. },
  25996. "goodsname": {
  25997. "description": "商品名称",
  25998. "type": "string"
  25999. },
  26000. "goodsprice": {
  26001. "description": "商品价格",
  26002. "type": "number"
  26003. },
  26004. "hotindex": {
  26005. "description": "景点热度",
  26006. "type": "integer"
  26007. },
  26008. "lotsize": {
  26009. "description": "手数最小变动单位",
  26010. "type": "integer"
  26011. },
  26012. "marketid": {
  26013. "description": "市场ID",
  26014. "type": "integer"
  26015. },
  26016. "orderid": {
  26017. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26018. "type": "string"
  26019. },
  26020. "orderprice": {
  26021. "description": "委托价格",
  26022. "type": "number"
  26023. },
  26024. "orderqty": {
  26025. "description": "委托数量",
  26026. "type": "integer"
  26027. },
  26028. "orderstatus": {
  26029. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26030. "type": "integer"
  26031. },
  26032. "picurls": {
  26033. "description": "介绍图片[多张用逗号分隔]",
  26034. "type": "string"
  26035. },
  26036. "quoteminunit": {
  26037. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26038. "type": "integer"
  26039. },
  26040. "sellUserID": {
  26041. "description": "卖方UserID",
  26042. "type": "integer"
  26043. },
  26044. "trademode": {
  26045. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26046. "type": "integer"
  26047. },
  26048. "tradeqty": {
  26049. "description": "成交数量",
  26050. "type": "integer"
  26051. },
  26052. "vendorattr": {
  26053. "description": "供应商附件(多张,逗号分隔)",
  26054. "type": "string"
  26055. },
  26056. "vendorname": {
  26057. "description": "供应商名称",
  26058. "type": "string"
  26059. },
  26060. "vendorphone": {
  26061. "description": "供应商客服电话",
  26062. "type": "string"
  26063. },
  26064. "videourls": {
  26065. "description": "介绍视频[多张用逗号分隔]",
  26066. "type": "string"
  26067. }
  26068. }
  26069. },
  26070. "models.HsbyMarketInfo": {
  26071. "type": "object",
  26072. "required": [
  26073. "marketid",
  26074. "marketstatus",
  26075. "trademode"
  26076. ],
  26077. "properties": {
  26078. "marketid": {
  26079. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  26080. "type": "integer"
  26081. },
  26082. "marketname": {
  26083. "description": "市场名称",
  26084. "type": "string"
  26085. },
  26086. "marketstatus": {
  26087. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  26088. "type": "integer"
  26089. },
  26090. "trademode": {
  26091. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26092. "type": "integer"
  26093. }
  26094. }
  26095. },
  26096. "models.HsbyMyGoods": {
  26097. "type": "object",
  26098. "required": [
  26099. "accountid",
  26100. "goodscode",
  26101. "goodsid",
  26102. "goodsname",
  26103. "marketid",
  26104. "trademode"
  26105. ],
  26106. "properties": {
  26107. "accountid": {
  26108. "description": "账号Id",
  26109. "type": "integer"
  26110. },
  26111. "agreeunit": {
  26112. "description": "合约单位",
  26113. "type": "number"
  26114. },
  26115. "buyaverageprice": {
  26116. "description": "持仓均价",
  26117. "type": "number"
  26118. },
  26119. "buycurholderamount": {
  26120. "description": "买当前持仓总金额[商品币种]",
  26121. "type": "number"
  26122. },
  26123. "buycurpositionqty": {
  26124. "description": "买当前持仓总数量",
  26125. "type": "integer"
  26126. },
  26127. "buymaxqty": {
  26128. "description": "购买上限 [71] - 0为不限",
  26129. "type": "integer"
  26130. },
  26131. "currencysign": {
  26132. "description": "货币符号",
  26133. "type": "string"
  26134. },
  26135. "decimalplace": {
  26136. "description": "报价小数位",
  26137. "type": "integer"
  26138. },
  26139. "enableqty": {
  26140. "description": "可用数量",
  26141. "type": "integer"
  26142. },
  26143. "goodscode": {
  26144. "description": "商品代码(内部)",
  26145. "type": "string"
  26146. },
  26147. "goodsid": {
  26148. "description": "商品Id",
  26149. "type": "integer"
  26150. },
  26151. "goodsname": {
  26152. "description": "商品名称",
  26153. "type": "string"
  26154. },
  26155. "goodsprice": {
  26156. "description": "商品价格",
  26157. "type": "number"
  26158. },
  26159. "goodsstatus": {
  26160. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  26161. "type": "integer"
  26162. },
  26163. "last": {
  26164. "description": "现价(仅使用于挂牌点选)",
  26165. "type": "number"
  26166. },
  26167. "limitdown": {
  26168. "description": "跌停价(仅使用于挂牌点选)",
  26169. "type": "number"
  26170. },
  26171. "limitup": {
  26172. "description": "涨停价(仅使用于挂牌点选)",
  26173. "type": "number"
  26174. },
  26175. "lotsize": {
  26176. "description": "手数最小变动单位",
  26177. "type": "integer"
  26178. },
  26179. "marketid": {
  26180. "description": "所属市场ID",
  26181. "type": "integer"
  26182. },
  26183. "picurls": {
  26184. "description": "介绍图片[多张用逗号分隔]",
  26185. "type": "string"
  26186. },
  26187. "quoteminunit": {
  26188. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26189. "type": "integer"
  26190. },
  26191. "stepvalue": {
  26192. "description": "价格最小变动单位",
  26193. "type": "number"
  26194. },
  26195. "trademode": {
  26196. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26197. "type": "integer"
  26198. }
  26199. }
  26200. },
  26201. "models.HsbyMyPackage": {
  26202. "type": "object",
  26203. "required": [
  26204. "goodscode",
  26205. "goodsname",
  26206. "takeorderid",
  26207. "trademode"
  26208. ],
  26209. "properties": {
  26210. "accountid": {
  26211. "description": "账户ID",
  26212. "type": "integer"
  26213. },
  26214. "address": {
  26215. "description": "提货人详细地址",
  26216. "type": "string"
  26217. },
  26218. "agreeunit": {
  26219. "description": "合约单位",
  26220. "type": "number"
  26221. },
  26222. "amount": {
  26223. "description": "提货金额",
  26224. "type": "number"
  26225. },
  26226. "auditer": {
  26227. "description": "审核人",
  26228. "type": "integer"
  26229. },
  26230. "audittime": {
  26231. "description": "审核时间",
  26232. "type": "string"
  26233. },
  26234. "averageprice": {
  26235. "description": "均价",
  26236. "type": "number"
  26237. },
  26238. "cardnum": {
  26239. "description": "提货人证件号码",
  26240. "type": "string"
  26241. },
  26242. "cardtypeid": {
  26243. "description": "提货人证件类型",
  26244. "type": "integer"
  26245. },
  26246. "checkremark": {
  26247. "description": "审核备注",
  26248. "type": "string"
  26249. },
  26250. "currencysign": {
  26251. "description": "货币符号",
  26252. "type": "string"
  26253. },
  26254. "decimalplace": {
  26255. "description": "报价小数位",
  26256. "type": "integer"
  26257. },
  26258. "goodscode": {
  26259. "description": "商品代码(内部)",
  26260. "type": "string"
  26261. },
  26262. "goodsid": {
  26263. "description": "商品ID",
  26264. "type": "integer"
  26265. },
  26266. "goodsname": {
  26267. "description": "商品名称",
  26268. "type": "string"
  26269. },
  26270. "handlestatus": {
  26271. "description": "处理状态",
  26272. "type": "integer"
  26273. },
  26274. "marketid": {
  26275. "description": "市场ID",
  26276. "type": "integer"
  26277. },
  26278. "phonenum": {
  26279. "description": "提货人联系方式",
  26280. "type": "string"
  26281. },
  26282. "picurls": {
  26283. "description": "介绍图片[多张用逗号分隔]",
  26284. "type": "string"
  26285. },
  26286. "qty": {
  26287. "description": "提货数量",
  26288. "type": "number"
  26289. },
  26290. "recivername": {
  26291. "description": "提货人姓名",
  26292. "type": "string"
  26293. },
  26294. "reqtime": {
  26295. "description": "更新时间",
  26296. "type": "string"
  26297. },
  26298. "takemode": {
  26299. "description": "提货方式 - 2:自提 3:配送",
  26300. "type": "integer"
  26301. },
  26302. "takeorderid": {
  26303. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  26304. "type": "string"
  26305. },
  26306. "takeorderstatus": {
  26307. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  26308. "type": "integer"
  26309. },
  26310. "takeremark": {
  26311. "description": "提货备注",
  26312. "type": "string"
  26313. },
  26314. "tradedate": {
  26315. "description": "交易日(yyyyMMdd)",
  26316. "type": "string"
  26317. },
  26318. "trademode": {
  26319. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26320. "type": "integer"
  26321. },
  26322. "userid": {
  26323. "description": "用户ID",
  26324. "type": "integer"
  26325. },
  26326. "vendorname": {
  26327. "description": "供应商名称",
  26328. "type": "string"
  26329. }
  26330. }
  26331. },
  26332. "models.HsbyPreGoods": {
  26333. "type": "object",
  26334. "required": [
  26335. "goodscode",
  26336. "goodsid",
  26337. "goodsname",
  26338. "marketid",
  26339. "trademode"
  26340. ],
  26341. "properties": {
  26342. "agreeunit": {
  26343. "description": "合约单位",
  26344. "type": "number"
  26345. },
  26346. "currency": {
  26347. "description": "货币",
  26348. "type": "string"
  26349. },
  26350. "currencysign": {
  26351. "description": "货币符号",
  26352. "type": "string"
  26353. },
  26354. "decimalplace": {
  26355. "description": "报价小数位",
  26356. "type": "integer"
  26357. },
  26358. "desccityid": {
  26359. "description": "目的地(市)",
  26360. "type": "integer"
  26361. },
  26362. "descprovinceid": {
  26363. "description": "目的地(省)",
  26364. "type": "integer"
  26365. },
  26366. "enableqty": {
  26367. "description": "剩余数量",
  26368. "type": "integer"
  26369. },
  26370. "goodscode": {
  26371. "description": "商品代码(内部)",
  26372. "type": "string"
  26373. },
  26374. "goodsid": {
  26375. "description": "商品ID(自增ID SEQ_GOODS)",
  26376. "type": "integer"
  26377. },
  26378. "goodsname": {
  26379. "description": "商品名称",
  26380. "type": "string"
  26381. },
  26382. "goodsstatus": {
  26383. "description": "商品状态- 2:未上市 3:上市",
  26384. "type": "integer"
  26385. },
  26386. "lasttradedate": {
  26387. "description": "最后交易日期(状态:待退市)",
  26388. "type": "string"
  26389. },
  26390. "listingdate": {
  26391. "description": "交易开始日期",
  26392. "type": "string"
  26393. },
  26394. "marketid": {
  26395. "description": "所属市场ID",
  26396. "type": "integer"
  26397. },
  26398. "picurls": {
  26399. "description": "介绍图片[多张用逗号分隔]",
  26400. "type": "string"
  26401. },
  26402. "presaledqty": {
  26403. "description": "已预售量(预售结束时更新)",
  26404. "type": "integer"
  26405. },
  26406. "presaleqty": {
  26407. "description": "预售数量",
  26408. "type": "integer"
  26409. },
  26410. "quoteminunit": {
  26411. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26412. "type": "integer"
  26413. },
  26414. "refprice": {
  26415. "description": "参考价格[一口价]",
  26416. "type": "number"
  26417. },
  26418. "relatedgoodsid": {
  26419. "description": "关联交易合约ID",
  26420. "type": "integer"
  26421. },
  26422. "trademode": {
  26423. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26424. "type": "integer"
  26425. },
  26426. "videourls": {
  26427. "description": "介绍视频[多张用逗号分隔]",
  26428. "type": "string"
  26429. }
  26430. }
  26431. },
  26432. "models.HsbyPreGoodsDetail": {
  26433. "type": "object",
  26434. "required": [
  26435. "goodscode",
  26436. "goodsid",
  26437. "goodsname",
  26438. "marketid",
  26439. "trademode"
  26440. ],
  26441. "properties": {
  26442. "agreeunit": {
  26443. "description": "合约单位",
  26444. "type": "number"
  26445. },
  26446. "buymaxqty": {
  26447. "description": "购买上限 [71] - 0为不限",
  26448. "type": "integer"
  26449. },
  26450. "currency": {
  26451. "description": "货币",
  26452. "type": "string"
  26453. },
  26454. "currencysign": {
  26455. "description": "货币符号",
  26456. "type": "string"
  26457. },
  26458. "customername": {
  26459. "description": "发行单位",
  26460. "type": "string"
  26461. },
  26462. "decimalplace": {
  26463. "description": "报价小数位",
  26464. "type": "integer"
  26465. },
  26466. "desccityid": {
  26467. "description": "目的地(市)ID",
  26468. "type": "integer"
  26469. },
  26470. "descprovinceid": {
  26471. "description": "目的地(省)ID",
  26472. "type": "integer"
  26473. },
  26474. "enableqty": {
  26475. "description": "剩余数量",
  26476. "type": "integer"
  26477. },
  26478. "goodscode": {
  26479. "description": "商品代码(内部)",
  26480. "type": "string"
  26481. },
  26482. "goodsdesc": {
  26483. "description": "商品详情",
  26484. "type": "string"
  26485. },
  26486. "goodsid": {
  26487. "description": "商品ID(自增ID SEQ_GOODS)",
  26488. "type": "integer"
  26489. },
  26490. "goodsname": {
  26491. "description": "商品名称",
  26492. "type": "string"
  26493. },
  26494. "goodsstatus": {
  26495. "description": "商品状态- 2:未上市 3:上市",
  26496. "type": "integer"
  26497. },
  26498. "goodunit": {
  26499. "description": "报价单位",
  26500. "type": "string"
  26501. },
  26502. "lasttradedate": {
  26503. "description": "最后交易日期(状态:待退市)",
  26504. "type": "string"
  26505. },
  26506. "listingdate": {
  26507. "description": "交易开始日期",
  26508. "type": "string"
  26509. },
  26510. "lotsize": {
  26511. "description": "手数最小变动单位",
  26512. "type": "integer"
  26513. },
  26514. "marketid": {
  26515. "description": "所属市场ID",
  26516. "type": "integer"
  26517. },
  26518. "picurls": {
  26519. "description": "介绍图片[多张用逗号分隔]",
  26520. "type": "string"
  26521. },
  26522. "presaledqty": {
  26523. "description": "已预售量(预售结束时更新)",
  26524. "type": "integer"
  26525. },
  26526. "presaleqty": {
  26527. "description": "预售数量",
  26528. "type": "integer"
  26529. },
  26530. "quoteminunit": {
  26531. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26532. "type": "integer"
  26533. },
  26534. "refprice": {
  26535. "description": "参考价格[一口价]",
  26536. "type": "number"
  26537. },
  26538. "relatedgoodsid": {
  26539. "description": "关联交易合约ID",
  26540. "type": "integer"
  26541. },
  26542. "stepvalue": {
  26543. "description": "价格最小变动单位",
  26544. "type": "number"
  26545. },
  26546. "trademode": {
  26547. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26548. "type": "integer"
  26549. },
  26550. "vendorattr": {
  26551. "description": "供应商附件(多张,逗号分隔)",
  26552. "type": "string"
  26553. },
  26554. "vendorname": {
  26555. "description": "供应商名称",
  26556. "type": "string"
  26557. },
  26558. "vendorphone": {
  26559. "description": "供应商客服电话",
  26560. "type": "string"
  26561. },
  26562. "videourls": {
  26563. "description": "介绍视频[多张用逗号分隔]",
  26564. "type": "string"
  26565. }
  26566. }
  26567. },
  26568. "models.HsbySellCollectionOrder": {
  26569. "type": "object",
  26570. "required": [
  26571. "goodscode",
  26572. "goodsname",
  26573. "tradeid",
  26574. "trademode"
  26575. ],
  26576. "properties": {
  26577. "agreeunit": {
  26578. "description": "合约单位",
  26579. "type": "number"
  26580. },
  26581. "buyaccountid": {
  26582. "description": "买方账号ID[报价币种]",
  26583. "type": "integer"
  26584. },
  26585. "buyorderid": {
  26586. "description": "买方委托单号",
  26587. "type": "string"
  26588. },
  26589. "createtime": {
  26590. "description": "创建时间",
  26591. "type": "string"
  26592. },
  26593. "currencysign": {
  26594. "description": "货币符号",
  26595. "type": "string"
  26596. },
  26597. "decimalplace": {
  26598. "description": "报价小数位",
  26599. "type": "integer"
  26600. },
  26601. "goodscode": {
  26602. "description": "商品代码(内部)",
  26603. "type": "string"
  26604. },
  26605. "goodsid": {
  26606. "description": "商品ID",
  26607. "type": "integer"
  26608. },
  26609. "goodsname": {
  26610. "description": "商品名称",
  26611. "type": "string"
  26612. },
  26613. "marketid": {
  26614. "description": "市场ID",
  26615. "type": "integer"
  26616. },
  26617. "offamount": {
  26618. "description": "优惠金额",
  26619. "type": "number"
  26620. },
  26621. "payamount": {
  26622. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  26623. "type": "number"
  26624. },
  26625. "payflag": {
  26626. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26627. "type": "integer"
  26628. },
  26629. "paylimitedtime": {
  26630. "description": "支付期限",
  26631. "type": "string"
  26632. },
  26633. "paytime": {
  26634. "description": "付款时间",
  26635. "type": "string"
  26636. },
  26637. "picurls": {
  26638. "description": "商品介绍图片[多张用逗号分隔]",
  26639. "type": "string"
  26640. },
  26641. "sellaccountid": {
  26642. "description": "卖方账号ID[报价币种]",
  26643. "type": "integer"
  26644. },
  26645. "sellorderid": {
  26646. "description": "卖方委托单号",
  26647. "type": "string"
  26648. },
  26649. "tradeamount": {
  26650. "description": "成交金额",
  26651. "type": "number"
  26652. },
  26653. "tradecharge": {
  26654. "description": "成交手续费(买方)",
  26655. "type": "number"
  26656. },
  26657. "tradedate": {
  26658. "description": "交易日(yyyyMMdd)",
  26659. "type": "string"
  26660. },
  26661. "tradeid": {
  26662. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26663. "type": "string"
  26664. },
  26665. "trademode": {
  26666. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26667. "type": "integer"
  26668. },
  26669. "tradeprice": {
  26670. "description": "成交价格",
  26671. "type": "number"
  26672. },
  26673. "tradeqty": {
  26674. "description": "成交数量",
  26675. "type": "integer"
  26676. }
  26677. }
  26678. },
  26679. "models.HsbySellMyDetail": {
  26680. "type": "object",
  26681. "required": [
  26682. "accountid",
  26683. "buyorsell",
  26684. "goodscode",
  26685. "goodsid",
  26686. "goodsname",
  26687. "marketid",
  26688. "orderid",
  26689. "time",
  26690. "trademode"
  26691. ],
  26692. "properties": {
  26693. "accountid": {
  26694. "description": "账户ID[报价币种]",
  26695. "type": "integer"
  26696. },
  26697. "agreeunit": {
  26698. "description": "合约单位",
  26699. "type": "number"
  26700. },
  26701. "buyorsell": {
  26702. "description": "买卖 - 0:买 1:卖",
  26703. "type": "integer"
  26704. },
  26705. "currencysign": {
  26706. "description": "货币符号",
  26707. "type": "string"
  26708. },
  26709. "decimalplace": {
  26710. "description": "报价小数位",
  26711. "type": "integer"
  26712. },
  26713. "goodscode": {
  26714. "description": "商品代码(内部)",
  26715. "type": "string"
  26716. },
  26717. "goodsid": {
  26718. "description": "商品ID",
  26719. "type": "integer"
  26720. },
  26721. "goodsname": {
  26722. "description": "商品名称",
  26723. "type": "string"
  26724. },
  26725. "marketid": {
  26726. "description": "市场ID",
  26727. "type": "integer"
  26728. },
  26729. "orderid": {
  26730. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  26731. "type": "string"
  26732. },
  26733. "ordertype": {
  26734. "description": "单据类型:0 - 发布中, 1 - 已完成",
  26735. "type": "integer"
  26736. },
  26737. "picurls": {
  26738. "description": "介绍图片[多张用逗号分隔]",
  26739. "type": "string"
  26740. },
  26741. "price": {
  26742. "description": "价格",
  26743. "type": "number"
  26744. },
  26745. "qty": {
  26746. "description": "数量",
  26747. "type": "integer"
  26748. },
  26749. "time": {
  26750. "description": "时间",
  26751. "type": "string"
  26752. },
  26753. "trademode": {
  26754. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26755. "type": "integer"
  26756. },
  26757. "vendorname": {
  26758. "description": "供应商名称",
  26759. "type": "string"
  26760. }
  26761. }
  26762. },
  26763. "models.HsbyTopGoods": {
  26764. "type": "object",
  26765. "required": [
  26766. "goodscode",
  26767. "goodsid",
  26768. "goodsname",
  26769. "marketid",
  26770. "trademode"
  26771. ],
  26772. "properties": {
  26773. "agreeunit": {
  26774. "description": "合约单位",
  26775. "type": "number"
  26776. },
  26777. "currency": {
  26778. "description": "货币",
  26779. "type": "string"
  26780. },
  26781. "currencysign": {
  26782. "description": "货币符号",
  26783. "type": "string"
  26784. },
  26785. "decimalplace": {
  26786. "description": "报价小数位",
  26787. "type": "integer"
  26788. },
  26789. "desccityid": {
  26790. "description": "目的地(市)",
  26791. "type": "integer"
  26792. },
  26793. "descprovinceid": {
  26794. "description": "目的地(省)",
  26795. "type": "integer"
  26796. },
  26797. "goodscode": {
  26798. "description": "商品代码(内部)",
  26799. "type": "string"
  26800. },
  26801. "goodsid": {
  26802. "description": "商品ID(自增ID SEQ_GOODS)",
  26803. "type": "integer"
  26804. },
  26805. "goodsname": {
  26806. "description": "商品名称",
  26807. "type": "string"
  26808. },
  26809. "hotindex": {
  26810. "description": "景点热度",
  26811. "type": "integer"
  26812. },
  26813. "last": {
  26814. "description": "现价",
  26815. "type": "number"
  26816. },
  26817. "marketid": {
  26818. "description": "所属市场ID",
  26819. "type": "integer"
  26820. },
  26821. "picurls": {
  26822. "description": "介绍图片[多张用逗号分隔]",
  26823. "type": "string"
  26824. },
  26825. "quoteminunit": {
  26826. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26827. "type": "integer"
  26828. },
  26829. "trademode": {
  26830. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26831. "type": "integer"
  26832. },
  26833. "videourls": {
  26834. "description": "介绍视频[多张用逗号分隔]",
  26835. "type": "string"
  26836. }
  26837. }
  26838. },
  26839. "models.HybsMyBuyOrderDetail": {
  26840. "type": "object",
  26841. "required": [
  26842. "accountid",
  26843. "buyorsell",
  26844. "goodscode",
  26845. "goodsid",
  26846. "goodsname",
  26847. "marketid",
  26848. "orderid",
  26849. "orderqty",
  26850. "ordertime",
  26851. "trademode"
  26852. ],
  26853. "properties": {
  26854. "accountid": {
  26855. "description": "账户ID[报价币种]",
  26856. "type": "integer"
  26857. },
  26858. "agreeunit": {
  26859. "description": "合约单位",
  26860. "type": "number"
  26861. },
  26862. "buyorsell": {
  26863. "description": "买卖 - 0:买 1:卖",
  26864. "type": "integer"
  26865. },
  26866. "cancelqty": {
  26867. "description": "撤单数量",
  26868. "type": "integer"
  26869. },
  26870. "currencysign": {
  26871. "description": "货币符号",
  26872. "type": "string"
  26873. },
  26874. "decimalplace": {
  26875. "description": "报价小数位",
  26876. "type": "integer"
  26877. },
  26878. "goodscode": {
  26879. "description": "商品代码(内部)",
  26880. "type": "string"
  26881. },
  26882. "goodsid": {
  26883. "description": "商品ID",
  26884. "type": "integer"
  26885. },
  26886. "goodsname": {
  26887. "description": "商品名称",
  26888. "type": "string"
  26889. },
  26890. "listingselecttype": {
  26891. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  26892. "type": "integer"
  26893. },
  26894. "marketid": {
  26895. "description": "市场ID",
  26896. "type": "integer"
  26897. },
  26898. "mybuystatus": {
  26899. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  26900. "type": "integer"
  26901. },
  26902. "orderamount": {
  26903. "description": "委托金额",
  26904. "type": "number"
  26905. },
  26906. "orderid": {
  26907. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26908. "type": "string"
  26909. },
  26910. "orderprice": {
  26911. "description": "委托价格",
  26912. "type": "number"
  26913. },
  26914. "orderqty": {
  26915. "description": "委托数量",
  26916. "type": "integer"
  26917. },
  26918. "orderstatus": {
  26919. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26920. "type": "integer"
  26921. },
  26922. "ordertime": {
  26923. "description": "委托时间",
  26924. "type": "string"
  26925. },
  26926. "picurls1": {
  26927. "description": "预售商品介绍图片[多张用逗号分隔]",
  26928. "type": "string"
  26929. },
  26930. "picurls2": {
  26931. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  26932. "type": "string"
  26933. },
  26934. "trademode": {
  26935. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26936. "type": "integer"
  26937. },
  26938. "tradeqty": {
  26939. "description": "成交数量",
  26940. "type": "integer"
  26941. },
  26942. "vendorname1": {
  26943. "description": "预售商品供应商名称",
  26944. "type": "string"
  26945. },
  26946. "vendorname2": {
  26947. "description": "挂牌商品供应商名称",
  26948. "type": "string"
  26949. }
  26950. }
  26951. },
  26952. "models.Loginaccount": {
  26953. "type": "object",
  26954. "required": [
  26955. "loginid"
  26956. ],
  26957. "properties": {
  26958. "accountname": {
  26959. "description": "账户名称",
  26960. "type": "string"
  26961. },
  26962. "canoutin": {
  26963. "description": "是否可出入金 - 0:不可 1:可",
  26964. "type": "integer"
  26965. },
  26966. "clientroleid": {
  26967. "description": "终端角色ID",
  26968. "type": "integer"
  26969. },
  26970. "haslogined": {
  26971. "description": "是否已登录 - 0:未登录 1:已登录",
  26972. "type": "integer"
  26973. },
  26974. "hasupdatedpwd": {
  26975. "description": "是否已更改密码 - 0:未修改 1:已修改",
  26976. "type": "integer"
  26977. },
  26978. "lastloginip": {
  26979. "description": "最新登录地址",
  26980. "type": "string"
  26981. },
  26982. "lastloginmode": {
  26983. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  26984. "type": "integer"
  26985. },
  26986. "lastloginremark": {
  26987. "description": "最新登录描述",
  26988. "type": "string"
  26989. },
  26990. "lastlogintime": {
  26991. "description": "最新登录时间",
  26992. "type": "string"
  26993. },
  26994. "logincode": {
  26995. "description": "登录代码",
  26996. "type": "string"
  26997. },
  26998. "loginfailnum": {
  26999. "description": "连续登录失败次数(登录成功时清零)",
  27000. "type": "integer"
  27001. },
  27002. "loginid": {
  27003. "description": "登陆账号",
  27004. "type": "integer"
  27005. },
  27006. "loginport": {
  27007. "description": "最新登录端口",
  27008. "type": "integer"
  27009. },
  27010. "loginstatus": {
  27011. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  27012. "type": "integer"
  27013. },
  27014. "loginusertype": {
  27015. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  27016. "type": "integer"
  27017. },
  27018. "mobile": {
  27019. "description": "手机号码(加密存储)",
  27020. "type": "string"
  27021. },
  27022. "modifierid": {
  27023. "description": "修改人",
  27024. "type": "integer"
  27025. },
  27026. "modifysrc": {
  27027. "description": "审核来源 - 1:管理端 2:终端",
  27028. "type": "integer"
  27029. },
  27030. "modifytime": {
  27031. "description": "修改时间",
  27032. "type": "string"
  27033. },
  27034. "password": {
  27035. "description": "登陆密码",
  27036. "type": "string"
  27037. },
  27038. "pwdwrongcount": {
  27039. "description": "密码错误次数",
  27040. "type": "integer"
  27041. },
  27042. "relateduserid": {
  27043. "description": "关联用户ID(机构)",
  27044. "type": "integer"
  27045. },
  27046. "taaccountrighttype": {
  27047. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  27048. "type": "integer"
  27049. },
  27050. "unfreezetime": {
  27051. "description": "账户解冻时间",
  27052. "type": "string"
  27053. },
  27054. "userid": {
  27055. "description": "用户ID",
  27056. "type": "integer"
  27057. }
  27058. }
  27059. },
  27060. "models.MainAccountInfo": {
  27061. "type": "object",
  27062. "properties": {
  27063. "accountid": {
  27064. "description": "账号id",
  27065. "type": "integer"
  27066. },
  27067. "accountname": {
  27068. "description": "账号名称(taaccount表中的名称)",
  27069. "type": "string"
  27070. },
  27071. "appid": {
  27072. "description": "AppID",
  27073. "type": "string"
  27074. },
  27075. "authcode": {
  27076. "description": "授权码",
  27077. "type": "string"
  27078. },
  27079. "brokerid": {
  27080. "description": "经纪商id",
  27081. "type": "string"
  27082. },
  27083. "fcid": {
  27084. "description": "期货公司id",
  27085. "type": "integer"
  27086. },
  27087. "fcname": {
  27088. "description": "期货公司代码",
  27089. "type": "string"
  27090. },
  27091. "hedgeaccountcode": {
  27092. "description": "外部账号代码(主账号登录代码)",
  27093. "type": "string"
  27094. },
  27095. "hedgeaccountpwd": {
  27096. "description": "密码",
  27097. "type": "string"
  27098. },
  27099. "ismain": {
  27100. "description": "是否主账号",
  27101. "type": "integer"
  27102. },
  27103. "relateduserid": {
  27104. "description": "关联用户id",
  27105. "type": "integer"
  27106. },
  27107. "userid": {
  27108. "description": "关联用户id",
  27109. "type": "integer"
  27110. }
  27111. }
  27112. },
  27113. "models.Market": {
  27114. "type": "object",
  27115. "required": [
  27116. "marketid",
  27117. "marketstatus",
  27118. "openmethod",
  27119. "reckonpricealgorithm",
  27120. "trademode",
  27121. "tradeproperty"
  27122. ],
  27123. "properties": {
  27124. "auctionwrtype": {
  27125. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  27126. "type": "integer"
  27127. },
  27128. "canacceptquote": {
  27129. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  27130. "type": "integer"
  27131. },
  27132. "cangoodsexercise": {
  27133. "description": "[期权]是否可现货行权- 0:否 1:是",
  27134. "type": "integer"
  27135. },
  27136. "cangoodsexercisetype": {
  27137. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  27138. "type": "integer"
  27139. },
  27140. "canmanualquotestrike": {
  27141. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  27142. "type": "integer"
  27143. },
  27144. "canmutistage": {
  27145. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  27146. "type": "integer"
  27147. },
  27148. "canpreexercise": {
  27149. "description": "[期权]是否可预申报- 0:否 1:是",
  27150. "type": "integer"
  27151. },
  27152. "clearinterval": {
  27153. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  27154. "type": "integer"
  27155. },
  27156. "contracttmp": {
  27157. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  27158. "type": "string"
  27159. },
  27160. "exchareaid": {
  27161. "description": "所属交易所,可以没有",
  27162. "type": "integer"
  27163. },
  27164. "goodstype": {
  27165. "description": "商品类型 - 1:交易商品 2:仓单商品",
  27166. "type": "integer"
  27167. },
  27168. "hasrebate": {
  27169. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  27170. "type": "integer"
  27171. },
  27172. "hastradecredit": {
  27173. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  27174. "type": "integer"
  27175. },
  27176. "haswr": {
  27177. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  27178. "type": "integer"
  27179. },
  27180. "isdeductmargin": {
  27181. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  27182. "type": "integer"
  27183. },
  27184. "isrecordsource": {
  27185. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  27186. "type": "integer"
  27187. },
  27188. "isreleasemargin": {
  27189. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  27190. "type": "integer"
  27191. },
  27192. "marginformula": {
  27193. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27194. "type": "integer"
  27195. },
  27196. "marginformula2": {
  27197. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27198. "type": "integer"
  27199. },
  27200. "marketid": {
  27201. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  27202. "type": "integer"
  27203. },
  27204. "marketname": {
  27205. "description": "市场名称",
  27206. "type": "string"
  27207. },
  27208. "marketserviceid": {
  27209. "description": "市场服务ID",
  27210. "type": "integer"
  27211. },
  27212. "marketstatus": {
  27213. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  27214. "type": "integer"
  27215. },
  27216. "markettype": {
  27217. "description": "市场类型- 1:非交易服务 2:交易服务",
  27218. "type": "integer"
  27219. },
  27220. "matchermode": {
  27221. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  27222. "type": "integer"
  27223. },
  27224. "openmethod": {
  27225. "description": "开盘模式 - 0 自动 1手动",
  27226. "type": "integer"
  27227. },
  27228. "otcuserid": {
  27229. "description": "场外期权做市商[场外期权]",
  27230. "type": "integer"
  27231. },
  27232. "outersynctime": {
  27233. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  27234. "type": "string"
  27235. },
  27236. "pendingflag": {
  27237. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  27238. "type": "integer"
  27239. },
  27240. "pendingtime": {
  27241. "description": "待开市时间[通道交易-对冲](HH:mm)",
  27242. "type": "string"
  27243. },
  27244. "performancetempid": {
  27245. "description": "履约计划模板ID - 作废",
  27246. "type": "integer"
  27247. },
  27248. "premiumquotemode": {
  27249. "description": "权利金报价方式 - 1:自动 2:手动",
  27250. "type": "integer"
  27251. },
  27252. "rebateratio": {
  27253. "description": "返利比率[竞价式]",
  27254. "type": "number"
  27255. },
  27256. "reckonorder": {
  27257. "description": "结算顺序",
  27258. "type": "integer"
  27259. },
  27260. "reckonpricealgorithm": {
  27261. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  27262. "type": "integer"
  27263. },
  27264. "reckonpriceparam": {
  27265. "description": "结算价参数",
  27266. "type": "integer"
  27267. },
  27268. "reckontime": {
  27269. "description": "结算时间[通道交易-对冲](HH:mm)",
  27270. "type": "string"
  27271. },
  27272. "roleprioritytype": {
  27273. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  27274. "type": "integer"
  27275. },
  27276. "selllistingauditflag": {
  27277. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  27278. "type": "integer"
  27279. },
  27280. "trademarkettype": {
  27281. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  27282. "type": "integer"
  27283. },
  27284. "trademode": {
  27285. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27286. "type": "integer"
  27287. },
  27288. "tradeproperty": {
  27289. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  27290. "type": "integer"
  27291. },
  27292. "tradetype": {
  27293. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  27294. "type": "integer"
  27295. }
  27296. }
  27297. },
  27298. "models.Marketrun": {
  27299. "type": "object",
  27300. "required": [
  27301. "marketid",
  27302. "nexttradedate",
  27303. "reckonflag",
  27304. "runstatus",
  27305. "tradedate",
  27306. "tradedate2"
  27307. ],
  27308. "properties": {
  27309. "afternexttradedate": {
  27310. "description": "下下交易日",
  27311. "type": "string"
  27312. },
  27313. "clearquoteflag": {
  27314. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  27315. "type": "integer"
  27316. },
  27317. "lastreckondate": {
  27318. "description": "最新交易日(结算成功)",
  27319. "type": "string"
  27320. },
  27321. "machinedate": {
  27322. "description": "机器时间",
  27323. "type": "string"
  27324. },
  27325. "manualflag": {
  27326. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  27327. "type": "integer"
  27328. },
  27329. "marketid": {
  27330. "description": "市场ID",
  27331. "type": "integer"
  27332. },
  27333. "nexttradedate": {
  27334. "description": "下一交易日",
  27335. "type": "string"
  27336. },
  27337. "pretradedate": {
  27338. "description": "上一交易日",
  27339. "type": "string"
  27340. },
  27341. "reckonflag": {
  27342. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  27343. "type": "integer"
  27344. },
  27345. "runstatus": {
  27346. "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.今日免清算",
  27347. "type": "integer"
  27348. },
  27349. "sectionid": {
  27350. "description": "时间段号[多时段时用]",
  27351. "type": "integer"
  27352. },
  27353. "tradedate": {
  27354. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  27355. "type": "string"
  27356. },
  27357. "tradedate2": {
  27358. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  27359. "type": "string"
  27360. },
  27361. "updatetime": {
  27362. "description": "更新时间",
  27363. "type": "string"
  27364. }
  27365. }
  27366. },
  27367. "models.Messageboard": {
  27368. "type": "object",
  27369. "required": [
  27370. "messageboardid"
  27371. ],
  27372. "properties": {
  27373. "contactnum": {
  27374. "description": "联系电话",
  27375. "type": "string"
  27376. },
  27377. "createtime": {
  27378. "description": "创建时间",
  27379. "type": "string"
  27380. },
  27381. "message": {
  27382. "description": "留言信息",
  27383. "type": "string"
  27384. },
  27385. "messageboardid": {
  27386. "description": "留言簿ID(SEQ_MessageBoard)",
  27387. "type": "integer"
  27388. },
  27389. "userid": {
  27390. "description": "用户ID",
  27391. "type": "integer"
  27392. }
  27393. }
  27394. },
  27395. "models.MyCoupon": {
  27396. "type": "object",
  27397. "required": [
  27398. "accountid",
  27399. "coupontypeid"
  27400. ],
  27401. "properties": {
  27402. "accountid": {
  27403. "description": "资金账户ID",
  27404. "type": "integer"
  27405. },
  27406. "areauserid": {
  27407. "description": "所属机构",
  27408. "type": "integer"
  27409. },
  27410. "conditionvalue": {
  27411. "description": "条件阈值(可为0)",
  27412. "type": "number"
  27413. },
  27414. "couponcategroy": {
  27415. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  27416. "type": "integer"
  27417. },
  27418. "couponname": {
  27419. "description": "优惠券名称",
  27420. "type": "string"
  27421. },
  27422. "coupontypeid": {
  27423. "description": "优惠券类型ID",
  27424. "type": "string"
  27425. },
  27426. "couponvalue": {
  27427. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27428. "type": "number"
  27429. },
  27430. "curfreezeqty": {
  27431. "description": "期末冻结数量",
  27432. "type": "integer"
  27433. },
  27434. "curqty": {
  27435. "description": "期末数量",
  27436. "type": "integer"
  27437. },
  27438. "isgeneral": {
  27439. "description": "是否通用券 - 0:否 1:是",
  27440. "type": "integer"
  27441. },
  27442. "isunusable": {
  27443. "description": "是否不可用",
  27444. "type": "boolean"
  27445. },
  27446. "limitedflag": {
  27447. "description": "是否指定商品 - 0:不限 1:限制",
  27448. "type": "integer"
  27449. },
  27450. "limitedgoodsids": {
  27451. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  27452. "type": "string"
  27453. },
  27454. "orifreezeqty": {
  27455. "description": "期初冻结数量",
  27456. "type": "integer"
  27457. },
  27458. "oriqty": {
  27459. "description": "期初数量",
  27460. "type": "integer"
  27461. },
  27462. "reasontype": {
  27463. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  27464. "type": "integer"
  27465. },
  27466. "todaydecrease": {
  27467. "description": "今日减少",
  27468. "type": "integer"
  27469. },
  27470. "todayincrease": {
  27471. "description": "今日增加",
  27472. "type": "integer"
  27473. },
  27474. "userid": {
  27475. "description": "用户ID",
  27476. "type": "integer"
  27477. },
  27478. "userscope": {
  27479. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  27480. "type": "string"
  27481. }
  27482. }
  27483. },
  27484. "models.MyCouponHold": {
  27485. "type": "object",
  27486. "required": [
  27487. "couponholdid"
  27488. ],
  27489. "properties": {
  27490. "accountid": {
  27491. "description": "资金账户ID",
  27492. "type": "integer"
  27493. },
  27494. "conditionvalue": {
  27495. "description": "条件阈值(可为0)",
  27496. "type": "number"
  27497. },
  27498. "couponcategroy": {
  27499. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  27500. "type": "integer"
  27501. },
  27502. "couponholdid": {
  27503. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  27504. "type": "string"
  27505. },
  27506. "couponname": {
  27507. "description": "优惠券名称",
  27508. "type": "string"
  27509. },
  27510. "coupontypeid": {
  27511. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  27512. "type": "string"
  27513. },
  27514. "couponvalue": {
  27515. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27516. "type": "number"
  27517. },
  27518. "createtime": {
  27519. "description": "创建时间",
  27520. "type": "string"
  27521. },
  27522. "enddate": {
  27523. "description": "结束日期",
  27524. "type": "string"
  27525. },
  27526. "giveapplyid": {
  27527. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  27528. "type": "integer"
  27529. },
  27530. "holdstatus": {
  27531. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  27532. "type": "integer"
  27533. },
  27534. "isgeneral": {
  27535. "description": "是否通用券 - 0:否 1:是",
  27536. "type": "integer"
  27537. },
  27538. "limitedflag": {
  27539. "description": "是否指定商品 - 0:不限 1:限制",
  27540. "type": "integer"
  27541. },
  27542. "limitedgoodsids": {
  27543. "description": "指定商品IDs[逗号分隔]",
  27544. "type": "string"
  27545. },
  27546. "qty": {
  27547. "description": "数量(按1平铺)",
  27548. "type": "integer"
  27549. },
  27550. "startdate": {
  27551. "description": "开始日期",
  27552. "type": "string"
  27553. },
  27554. "userid": {
  27555. "description": "用户ID",
  27556. "type": "integer"
  27557. },
  27558. "userscope": {
  27559. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  27560. "type": "string"
  27561. }
  27562. }
  27563. },
  27564. "models.MyUsedCoupon": {
  27565. "type": "object",
  27566. "required": [
  27567. "coupontypeid",
  27568. "orderid"
  27569. ],
  27570. "properties": {
  27571. "accountid": {
  27572. "description": "资金账户ID(买方)",
  27573. "type": "integer"
  27574. },
  27575. "conditionvalue": {
  27576. "description": "条件阈值(可为0)",
  27577. "type": "number"
  27578. },
  27579. "couponcategroy": {
  27580. "description": "种类 - 1:现金券 2:折扣券",
  27581. "type": "integer"
  27582. },
  27583. "couponname": {
  27584. "description": "优惠券名称",
  27585. "type": "string"
  27586. },
  27587. "coupontypeid": {
  27588. "description": "优惠券类型ID(买方)",
  27589. "type": "string"
  27590. },
  27591. "couponvalue": {
  27592. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  27593. "type": "number"
  27594. },
  27595. "createtime": {
  27596. "description": "创建时间",
  27597. "type": "string"
  27598. },
  27599. "goodsid": {
  27600. "description": "商品ID",
  27601. "type": "integer"
  27602. },
  27603. "handlestatus": {
  27604. "description": "处理状态",
  27605. "type": "integer"
  27606. },
  27607. "marketid": {
  27608. "description": "市场ID",
  27609. "type": "integer"
  27610. },
  27611. "offamount": {
  27612. "description": "优惠金额",
  27613. "type": "number"
  27614. },
  27615. "orderid": {
  27616. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27617. "type": "string"
  27618. },
  27619. "sellaccountid": {
  27620. "description": "资金账户ID(卖方)",
  27621. "type": "integer"
  27622. },
  27623. "tradeamount": {
  27624. "description": "成交金额",
  27625. "type": "number"
  27626. },
  27627. "tradeid": {
  27628. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27629. "type": "string"
  27630. },
  27631. "usedqty": {
  27632. "description": "使用数量",
  27633. "type": "integer"
  27634. }
  27635. }
  27636. },
  27637. "models.OperationPrimaryMenu": {
  27638. "type": "object",
  27639. "properties": {
  27640. "Children": {
  27641. "description": "二级功能菜单",
  27642. "type": "array",
  27643. "items": {
  27644. "$ref": "#/definitions/models.OperationSecondaryMenu"
  27645. }
  27646. },
  27647. "Key": {
  27648. "description": "菜单KEY",
  27649. "type": "string"
  27650. },
  27651. "Label": {
  27652. "description": "菜单标题",
  27653. "type": "string"
  27654. }
  27655. }
  27656. },
  27657. "models.OperationSecondaryMenu": {
  27658. "type": "object",
  27659. "properties": {
  27660. "Key": {
  27661. "description": "菜单KEY",
  27662. "type": "string"
  27663. },
  27664. "Label": {
  27665. "description": "菜单标题",
  27666. "type": "string"
  27667. },
  27668. "TabList": {
  27669. "description": "三级功能菜单",
  27670. "type": "array",
  27671. "items": {
  27672. "$ref": "#/definitions/models.OperationTabMenu"
  27673. }
  27674. }
  27675. }
  27676. },
  27677. "models.OperationTabMenu": {
  27678. "type": "object",
  27679. "properties": {
  27680. "Key": {
  27681. "description": "菜单KEY",
  27682. "type": "string"
  27683. },
  27684. "Label": {
  27685. "description": "菜单标题",
  27686. "type": "string"
  27687. }
  27688. }
  27689. },
  27690. "models.QhjAccountOutInApply": {
  27691. "type": "object",
  27692. "properties": {
  27693. "accountcode": {
  27694. "description": "资金账号",
  27695. "type": "string"
  27696. },
  27697. "accountname": {
  27698. "description": "用户名称(名称)",
  27699. "type": "string"
  27700. },
  27701. "accountpwd": {
  27702. "description": "资金密码",
  27703. "type": "string"
  27704. },
  27705. "accountticket": {
  27706. "description": "最新账户服务流水号",
  27707. "type": "string"
  27708. },
  27709. "amount": {
  27710. "description": "金额",
  27711. "type": "number"
  27712. },
  27713. "applyremark": {
  27714. "description": "申请备注",
  27715. "type": "string"
  27716. },
  27717. "applystatus": {
  27718. "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: 复审通过,账户冻结金额检查中;",
  27719. "type": "integer"
  27720. },
  27721. "auditid": {
  27722. "description": "审核人",
  27723. "type": "integer"
  27724. },
  27725. "audittime": {
  27726. "description": "审核时间",
  27727. "type": "string"
  27728. },
  27729. "bank_apply_ticket": {
  27730. "description": "银行申请流水",
  27731. "type": "string"
  27732. },
  27733. "bankaccountname": {
  27734. "description": "银行账户名",
  27735. "type": "string"
  27736. },
  27737. "bankaccountno": {
  27738. "description": "银行卡号",
  27739. "type": "string"
  27740. },
  27741. "bankid": {
  27742. "description": "银行编号",
  27743. "type": "string"
  27744. },
  27745. "bankticket": {
  27746. "description": "银行流水",
  27747. "type": "string"
  27748. },
  27749. "branchbankid": {
  27750. "description": "银行支行号",
  27751. "type": "string"
  27752. },
  27753. "branchbankname": {
  27754. "description": "银行支行名称",
  27755. "type": "string"
  27756. },
  27757. "capamountout": {
  27758. "description": "出金(劣后本金) - 外部子账户",
  27759. "type": "number"
  27760. },
  27761. "certificatephotourl": {
  27762. "description": "凭证地址",
  27763. "type": "string"
  27764. },
  27765. "charge": {
  27766. "description": "手续费",
  27767. "type": "number"
  27768. },
  27769. "checkerrorflag": {
  27770. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  27771. "type": "integer"
  27772. },
  27773. "currency": {
  27774. "description": "币种",
  27775. "type": "string"
  27776. },
  27777. "cusbankid": {
  27778. "description": "托管银行编号",
  27779. "type": "string"
  27780. },
  27781. "exchticket": {
  27782. "description": "银行服务流水号",
  27783. "type": "string"
  27784. },
  27785. "executetype": {
  27786. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  27787. "type": "integer"
  27788. },
  27789. "extendinfo": {
  27790. "description": "扩展信息",
  27791. "type": "string"
  27792. },
  27793. "extoperateid": {
  27794. "description": "交易服务流水号",
  27795. "type": "integer"
  27796. },
  27797. "infamount": {
  27798. "description": "劣后金额(自有)",
  27799. "type": "number"
  27800. },
  27801. "logincode": {
  27802. "description": "登录账号(账号)",
  27803. "type": "string"
  27804. },
  27805. "netaddr": {
  27806. "description": "调转网址",
  27807. "type": "string"
  27808. },
  27809. "priamount": {
  27810. "description": "优先金额(授信)",
  27811. "type": "number"
  27812. },
  27813. "reauditid": {
  27814. "description": "复审人",
  27815. "type": "integer"
  27816. },
  27817. "reauditremark": {
  27818. "description": "复审备注",
  27819. "type": "string"
  27820. },
  27821. "reaudittime": {
  27822. "description": "复审时间",
  27823. "type": "string"
  27824. },
  27825. "relatedorderid": {
  27826. "description": "三方关联ID",
  27827. "type": "string"
  27828. },
  27829. "remark": {
  27830. "description": "备注",
  27831. "type": "string"
  27832. },
  27833. "remark2": {
  27834. "description": "备注(失败原因)",
  27835. "type": "string"
  27836. },
  27837. "soucreamount": {
  27838. "description": "原始出入金金额",
  27839. "type": "number"
  27840. },
  27841. "soucrecurrencyid": {
  27842. "description": "原始出入金币种",
  27843. "type": "integer"
  27844. },
  27845. "tradedate": {
  27846. "description": "交易日(yyyyMMdd)",
  27847. "type": "string"
  27848. },
  27849. "updatetime": {
  27850. "description": "更新时间(申请时间)",
  27851. "type": "string"
  27852. },
  27853. "userid": {
  27854. "description": "用户id",
  27855. "type": "integer"
  27856. },
  27857. "userinfotype": {
  27858. "description": "账户类型 1-个人 2-企业",
  27859. "type": "integer"
  27860. }
  27861. }
  27862. },
  27863. "models.QhjAgreementChangeLog": {
  27864. "type": "object",
  27865. "properties": {
  27866. "agreementcontent": {
  27867. "description": "协议内容",
  27868. "type": "string"
  27869. },
  27870. "agreementfrequency": {
  27871. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  27872. "type": "integer"
  27873. },
  27874. "agreementid": {
  27875. "description": "协议ID",
  27876. "type": "integer"
  27877. },
  27878. "agreementname": {
  27879. "description": "协议名称",
  27880. "type": "string"
  27881. },
  27882. "agreementno": {
  27883. "description": "协议编号",
  27884. "type": "string"
  27885. },
  27886. "agreementtype": {
  27887. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27888. "type": "integer"
  27889. },
  27890. "agreementversion": {
  27891. "description": "协议版本号",
  27892. "type": "integer"
  27893. },
  27894. "logid": {
  27895. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  27896. "type": "integer"
  27897. },
  27898. "reviserid": {
  27899. "description": "修改人",
  27900. "type": "integer"
  27901. },
  27902. "revisersrc": {
  27903. "description": "修改来源 - 1:管理端 2:终端",
  27904. "type": "integer"
  27905. },
  27906. "updatetime": {
  27907. "description": "更新时间",
  27908. "type": "string"
  27909. }
  27910. }
  27911. },
  27912. "models.QhjAgreementConfig": {
  27913. "type": "object",
  27914. "properties": {
  27915. "agreementcontent": {
  27916. "description": "协议内容",
  27917. "type": "string"
  27918. },
  27919. "agreementfrequency": {
  27920. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  27921. "type": "integer"
  27922. },
  27923. "agreementid": {
  27924. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  27925. "type": "integer"
  27926. },
  27927. "agreementname": {
  27928. "description": "协议名称",
  27929. "type": "string"
  27930. },
  27931. "agreementno": {
  27932. "description": "协议编号",
  27933. "type": "string"
  27934. },
  27935. "agreementtype": {
  27936. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27937. "type": "integer"
  27938. },
  27939. "agreementversion": {
  27940. "description": "协议版本号(从1开始每次修改加1)",
  27941. "type": "integer"
  27942. },
  27943. "createtime": {
  27944. "description": "创建时间",
  27945. "type": "string"
  27946. },
  27947. "creatorid": {
  27948. "description": "创建人",
  27949. "type": "integer"
  27950. },
  27951. "creatorsrc": {
  27952. "description": "创建来源 - 1:管理端 2:终端",
  27953. "type": "integer"
  27954. },
  27955. "isvalid": {
  27956. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  27957. "type": "integer"
  27958. },
  27959. "reviserid": {
  27960. "description": "修改人",
  27961. "type": "integer"
  27962. },
  27963. "revisersrc": {
  27964. "description": "修改来源 - 1:管理端 2:终端",
  27965. "type": "integer"
  27966. },
  27967. "updatetime": {
  27968. "description": "更新时间",
  27969. "type": "string"
  27970. }
  27971. }
  27972. },
  27973. "models.QhjAreaFinanceConfig": {
  27974. "type": "object",
  27975. "properties": {
  27976. "additionalratio": {
  27977. "description": "追加款比例",
  27978. "type": "number"
  27979. },
  27980. "advanceratio": {
  27981. "description": "预付款比例",
  27982. "type": "number"
  27983. },
  27984. "alarmratio": {
  27985. "description": "告警比例",
  27986. "type": "number"
  27987. },
  27988. "consumptiondirectreward": {
  27989. "description": "消费直推奖励值",
  27990. "type": "number"
  27991. },
  27992. "consumptionenabled": {
  27993. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  27994. "type": "integer"
  27995. },
  27996. "consumptionindirectreward": {
  27997. "description": "消费间推奖励值",
  27998. "type": "number"
  27999. },
  28000. "consumptionmodel": {
  28001. "description": "消费奖励方式 - 1:比率 2:固定",
  28002. "type": "integer"
  28003. },
  28004. "customerservicenum": {
  28005. "description": "客服电话",
  28006. "type": "string"
  28007. },
  28008. "dayinterestrate": {
  28009. "description": "日利率",
  28010. "type": "number"
  28011. },
  28012. "disableconsumptiontips": {
  28013. "description": "关闭消费奖励提示",
  28014. "type": "string"
  28015. },
  28016. "modifierid": {
  28017. "description": "修改人ID",
  28018. "type": "integer"
  28019. },
  28020. "modifysrc": {
  28021. "description": "审核来源 - 1:管理端 2:终端",
  28022. "type": "integer"
  28023. },
  28024. "modifytime": {
  28025. "description": "修改时间",
  28026. "type": "string"
  28027. },
  28028. "promotionvalue": {
  28029. "description": "推广奖励值(固定)",
  28030. "type": "number"
  28031. },
  28032. "scoreconfigvalue1": {
  28033. "description": "提货积分配置1",
  28034. "type": "integer"
  28035. },
  28036. "scoreconfigvalue2": {
  28037. "description": "提货积分配置2",
  28038. "type": "integer"
  28039. },
  28040. "userid": {
  28041. "description": "机构用户ID其他做市关系,都设置为 1",
  28042. "type": "integer"
  28043. },
  28044. "username": {
  28045. "description": "用户名称",
  28046. "type": "string"
  28047. }
  28048. }
  28049. },
  28050. "models.QhjBankAccountSign": {
  28051. "type": "object",
  28052. "properties": {
  28053. "accountcode": {
  28054. "description": "资金账号",
  28055. "type": "string"
  28056. },
  28057. "accountname": {
  28058. "description": "资金账号对应的账号名(UserName)",
  28059. "type": "string"
  28060. },
  28061. "accountname2": {
  28062. "description": "资金账号对应的账号名(UserName) - 密文",
  28063. "type": "string"
  28064. },
  28065. "accounttype": {
  28066. "description": "账户类型(UserType)",
  28067. "type": "integer"
  28068. },
  28069. "applicationtime": {
  28070. "description": "最后一次更新的时间",
  28071. "type": "string"
  28072. },
  28073. "applyexchticket": {
  28074. "description": "申请流水",
  28075. "type": "string"
  28076. },
  28077. "auditid": {
  28078. "description": "审核人",
  28079. "type": "integer"
  28080. },
  28081. "audittime": {
  28082. "description": "审核时间",
  28083. "type": "string"
  28084. },
  28085. "bankaccountname": {
  28086. "description": "签约银行卡账号名",
  28087. "type": "string"
  28088. },
  28089. "bankaccountname2": {
  28090. "description": "签约银行卡账号名 - 密文",
  28091. "type": "string"
  28092. },
  28093. "bankaccountno": {
  28094. "description": "银行卡号",
  28095. "type": "string"
  28096. },
  28097. "bankaccountno2": {
  28098. "description": "银行卡号 - 密文",
  28099. "type": "string"
  28100. },
  28101. "bankaccounttype": {
  28102. "description": "银行账户类型 - 1-对私; 2-对公",
  28103. "type": "integer"
  28104. },
  28105. "bankcardtype": {
  28106. "description": "银行卡类型",
  28107. "type": "integer"
  28108. },
  28109. "bankchildaccount": {
  28110. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  28111. "type": "string"
  28112. },
  28113. "bankcity": {
  28114. "description": "开户行城市",
  28115. "type": "string"
  28116. },
  28117. "bankid": {
  28118. "description": "签约银行ID",
  28119. "type": "string"
  28120. },
  28121. "bankname": {
  28122. "description": "签约银行名称",
  28123. "type": "string"
  28124. },
  28125. "bankprovince": {
  28126. "description": "开户行省份",
  28127. "type": "string"
  28128. },
  28129. "branchbankid": {
  28130. "description": "签约银行支行号",
  28131. "type": "string"
  28132. },
  28133. "branchbankname": {
  28134. "description": "签约银行支行名称",
  28135. "type": "string"
  28136. },
  28137. "cardno": {
  28138. "description": "证件号码",
  28139. "type": "string"
  28140. },
  28141. "cardno2": {
  28142. "description": "证件号码 - 密文",
  28143. "type": "string"
  28144. },
  28145. "cardtype": {
  28146. "description": "证件类型",
  28147. "type": "string"
  28148. },
  28149. "currency": {
  28150. "description": "币种",
  28151. "type": "string"
  28152. },
  28153. "cusbankid": {
  28154. "description": "托管银行编号",
  28155. "type": "string"
  28156. },
  28157. "direct": {
  28158. "description": "方向(可以判断那方先发起的签约)",
  28159. "type": "integer"
  28160. },
  28161. "exchticket": {
  28162. "description": "最后一次签约成功的流水号",
  28163. "type": "string"
  28164. },
  28165. "extendinfo": {
  28166. "description": "扩展信息(JSON字符串)",
  28167. "type": "string"
  28168. },
  28169. "mobilephone": {
  28170. "description": "手机号",
  28171. "type": "string"
  28172. },
  28173. "mobilephone2": {
  28174. "description": "手机号 - 密文",
  28175. "type": "string"
  28176. },
  28177. "netaddr": {
  28178. "description": "调转网址",
  28179. "type": "string"
  28180. },
  28181. "relateduserid": {
  28182. "description": "关联使用者userid",
  28183. "type": "integer"
  28184. },
  28185. "signstatus": {
  28186. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  28187. "type": "integer"
  28188. },
  28189. "updatetime": {
  28190. "description": "更新时间(签解约更新时间)",
  28191. "type": "string"
  28192. }
  28193. }
  28194. },
  28195. "models.QhjBankInfo": {
  28196. "type": "object",
  28197. "properties": {
  28198. "bankid": {
  28199. "description": "银行ID",
  28200. "type": "string"
  28201. },
  28202. "bankname": {
  28203. "description": "银行名称",
  28204. "type": "string"
  28205. },
  28206. "clearbankno": {
  28207. "description": "清算系统银行编号",
  28208. "type": "string"
  28209. },
  28210. "orderindex": {
  28211. "description": "排序顺序",
  28212. "type": "integer"
  28213. },
  28214. "status": {
  28215. "description": "状态 - 0:正常 1:注销",
  28216. "type": "integer"
  28217. }
  28218. }
  28219. },
  28220. "models.QhjBrokerApply": {
  28221. "type": "object",
  28222. "properties": {
  28223. "applicantid": {
  28224. "description": "申请人",
  28225. "type": "integer"
  28226. },
  28227. "applysrc": {
  28228. "description": "申请来源 - 1:管理端 2:终端",
  28229. "type": "integer"
  28230. },
  28231. "applystatus": {
  28232. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  28233. "type": "integer"
  28234. },
  28235. "applytime": {
  28236. "description": "申请时间",
  28237. "type": "string"
  28238. },
  28239. "auditorid": {
  28240. "description": "审核人",
  28241. "type": "integer"
  28242. },
  28243. "auditremark": {
  28244. "description": "审核备注",
  28245. "type": "string"
  28246. },
  28247. "auditsrc": {
  28248. "description": "审核来源 - 1:管理端 2:终端",
  28249. "type": "integer"
  28250. },
  28251. "audittime": {
  28252. "description": "审核时间",
  28253. "type": "string"
  28254. },
  28255. "audittradedate": {
  28256. "description": "审核交易日(yyyyMMdd)",
  28257. "type": "string"
  28258. },
  28259. "brokerapplyid": {
  28260. "description": "申请ID(SEQ_BROKERAPPLY)",
  28261. "type": "integer"
  28262. },
  28263. "cardbackphotourl": {
  28264. "description": "证件背面图片地址",
  28265. "type": "string"
  28266. },
  28267. "cardfrontphotourl": {
  28268. "description": "证件正面图片地址",
  28269. "type": "string"
  28270. },
  28271. "cardnum": {
  28272. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  28273. "type": "string"
  28274. },
  28275. "customername": {
  28276. "description": "姓名",
  28277. "type": "string"
  28278. },
  28279. "logincode": {
  28280. "description": "登录代码",
  28281. "type": "string"
  28282. },
  28283. "mobile": {
  28284. "description": "手机号码",
  28285. "type": "string"
  28286. },
  28287. "parentuserid": {
  28288. "description": "所属机构id",
  28289. "type": "integer"
  28290. },
  28291. "parentusername": {
  28292. "description": "所属机构名称",
  28293. "type": "string"
  28294. },
  28295. "refereeuserid": {
  28296. "description": "推荐人id(经纪人)",
  28297. "type": "integer"
  28298. },
  28299. "refernum": {
  28300. "description": "推荐码",
  28301. "type": "string"
  28302. },
  28303. "remark": {
  28304. "description": "备注",
  28305. "type": "string"
  28306. },
  28307. "subarealevelpath": {
  28308. "description": "层级路径",
  28309. "type": "string"
  28310. },
  28311. "tradedate": {
  28312. "description": "交易日(yyyyMMdd)",
  28313. "type": "string"
  28314. },
  28315. "userid": {
  28316. "description": "申请人用户ID",
  28317. "type": "integer"
  28318. },
  28319. "userinfotype": {
  28320. "description": "用户类型 1-个人 2-企业",
  28321. "type": "integer"
  28322. },
  28323. "username": {
  28324. "description": "用户名称",
  28325. "type": "string"
  28326. }
  28327. }
  28328. },
  28329. "models.QhjBrokerApplyEx": {
  28330. "type": "object",
  28331. "properties": {
  28332. "applylist": {
  28333. "description": "经纪人申请记录(只返回最新一条)",
  28334. "type": "array",
  28335. "items": {
  28336. "$ref": "#/definitions/models.QhjBrokerApply"
  28337. }
  28338. },
  28339. "canrecommend": {
  28340. "description": "是否经纪人 0-不是 1-是",
  28341. "type": "integer"
  28342. },
  28343. "refernum": {
  28344. "description": "推荐码",
  28345. "type": "string"
  28346. },
  28347. "userid": {
  28348. "description": "用户id",
  28349. "type": "integer"
  28350. },
  28351. "userinfotype": {
  28352. "description": "用户类型 1-个人 2-企业",
  28353. "type": "integer"
  28354. }
  28355. }
  28356. },
  28357. "models.QhjBrokerRewardLog": {
  28358. "type": "object",
  28359. "properties": {
  28360. "accountid": {
  28361. "description": "资金账号ID",
  28362. "type": "integer"
  28363. },
  28364. "createtime": {
  28365. "description": "创建时间(时间)",
  28366. "type": "string"
  28367. },
  28368. "handlestatus": {
  28369. "description": "处理状态",
  28370. "type": "integer"
  28371. },
  28372. "logid": {
  28373. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28374. "type": "string"
  28375. },
  28376. "marketid": {
  28377. "description": "市场ID",
  28378. "type": "integer"
  28379. },
  28380. "mmaccountid": {
  28381. "description": "做市商资金账号ID",
  28382. "type": "string"
  28383. },
  28384. "mmuserid": {
  28385. "description": "做市商用户ID",
  28386. "type": "string"
  28387. },
  28388. "rewardamount": {
  28389. "description": "奖励金额",
  28390. "type": "number"
  28391. },
  28392. "rewardmodel": {
  28393. "description": "消费奖励方式 - 1:比率 2:固定",
  28394. "type": "integer"
  28395. },
  28396. "rewardtype": {
  28397. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  28398. "type": "integer"
  28399. },
  28400. "rewardvalue": {
  28401. "description": "配置奖励值",
  28402. "type": "number"
  28403. },
  28404. "srcamount": {
  28405. "description": "成交金额 [消费奖励] (金额)",
  28406. "type": "number"
  28407. },
  28408. "srcgoodsid": {
  28409. "description": "来源商品ID [消费奖励]",
  28410. "type": "string"
  28411. },
  28412. "srctime": {
  28413. "description": "来源时间 (成交时间) [消费奖励]",
  28414. "type": "string"
  28415. },
  28416. "srctradeid": {
  28417. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  28418. "type": "string"
  28419. },
  28420. "srcuserid": {
  28421. "description": "来源用户ID(推广账户)",
  28422. "type": "string"
  28423. },
  28424. "srcusername": {
  28425. "description": "推广账户名称",
  28426. "type": "string"
  28427. },
  28428. "tradedate": {
  28429. "description": "交易日(yyyyMMdd)",
  28430. "type": "string"
  28431. },
  28432. "userid": {
  28433. "description": "经纪人用户ID",
  28434. "type": "integer"
  28435. }
  28436. }
  28437. },
  28438. "models.QhjContract": {
  28439. "type": "object",
  28440. "properties": {
  28441. "contractconfirmtime": {
  28442. "description": "合同确认时间(时间)",
  28443. "type": "string"
  28444. },
  28445. "currisklevel": {
  28446. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  28447. "type": "integer"
  28448. },
  28449. "decimalplace": {
  28450. "description": "商品报价小数位",
  28451. "type": "integer"
  28452. },
  28453. "enumdicname": {
  28454. "description": "单位名称",
  28455. "type": "string"
  28456. },
  28457. "goodscode": {
  28458. "description": "商品代码",
  28459. "type": "string"
  28460. },
  28461. "goodsid": {
  28462. "description": "商品ID [5:融资单]",
  28463. "type": "integer"
  28464. },
  28465. "goodsname": {
  28466. "description": "商品名称",
  28467. "type": "string"
  28468. },
  28469. "goodunitid": {
  28470. "description": "商品单位id",
  28471. "type": "integer"
  28472. },
  28473. "initmargin": {
  28474. "description": "初始保证金(首付款)",
  28475. "type": "number"
  28476. },
  28477. "lenderamount": {
  28478. "description": "贷款金额(总额|订单总额)",
  28479. "type": "number"
  28480. },
  28481. "marginratio": {
  28482. "description": "保证金比率(首付比例)",
  28483. "type": "number"
  28484. },
  28485. "payamount": {
  28486. "description": "已付(已付货款)",
  28487. "type": "number"
  28488. },
  28489. "reckonrecovermargin": {
  28490. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  28491. "type": "number"
  28492. },
  28493. "recoveredmargin": {
  28494. "description": "已追缴保证金",
  28495. "type": "number"
  28496. },
  28497. "remainamount": {
  28498. "description": "合同剩余金额(融资额)",
  28499. "type": "number"
  28500. },
  28501. "scfcontractid": {
  28502. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28503. "type": "string"
  28504. },
  28505. "scfcontractstatus": {
  28506. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  28507. "type": "integer"
  28508. },
  28509. "scfcontracttype": {
  28510. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  28511. "type": "integer"
  28512. },
  28513. "totalinterest": {
  28514. "description": "已计总利息(利息)",
  28515. "type": "number"
  28516. },
  28517. "tradeprice": {
  28518. "description": "成交价格(成本价格)",
  28519. "type": "number"
  28520. },
  28521. "userid": {
  28522. "description": "用户ID",
  28523. "type": "integer"
  28524. },
  28525. "username": {
  28526. "description": "用户名称",
  28527. "type": "string"
  28528. },
  28529. "wrqty": {
  28530. "description": "仓单数量(数量)",
  28531. "type": "number"
  28532. }
  28533. }
  28534. },
  28535. "models.QhjContractLog": {
  28536. "type": "object",
  28537. "properties": {
  28538. "amount": {
  28539. "description": "支付金额",
  28540. "type": "number"
  28541. },
  28542. "amounttype": {
  28543. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  28544. "type": "integer"
  28545. },
  28546. "logid": {
  28547. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28548. "type": "string"
  28549. },
  28550. "remainamount": {
  28551. "description": "剩余货款",
  28552. "type": "number"
  28553. },
  28554. "scfcontractid": {
  28555. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28556. "type": "integer"
  28557. },
  28558. "updatetime": {
  28559. "description": "更新时间",
  28560. "type": "string"
  28561. }
  28562. }
  28563. },
  28564. "models.QhjCusBankSignBankEx": {
  28565. "type": "object",
  28566. "properties": {
  28567. "banklst": {
  28568. "description": "银行列表",
  28569. "type": "array",
  28570. "items": {
  28571. "$ref": "#/definitions/models.QhjBankInfo"
  28572. }
  28573. },
  28574. "canallot": {
  28575. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  28576. "type": "integer"
  28577. },
  28578. "canallotquery": {
  28579. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  28580. "type": "integer"
  28581. },
  28582. "canbindcard": {
  28583. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  28584. "type": "integer"
  28585. },
  28586. "caninamount": {
  28587. "description": "是否可入金 - 0:不可 1:可以",
  28588. "type": "integer"
  28589. },
  28590. "caninamount2": {
  28591. "description": "是否可入金(网银端) - 0:不可 1:可以",
  28592. "type": "integer"
  28593. },
  28594. "canmodifybankcard": {
  28595. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  28596. "type": "integer"
  28597. },
  28598. "canmodifyphone": {
  28599. "description": "是否可修改手机号 - 0:不可 1:可以",
  28600. "type": "integer"
  28601. },
  28602. "canmodifysigninfo": {
  28603. "description": "是否可修改签约信息 - 0:不可 1:可以",
  28604. "type": "integer"
  28605. },
  28606. "canoutamount": {
  28607. "description": "是否可出金 - 0:不可 1:可以",
  28608. "type": "integer"
  28609. },
  28610. "canoutamount2": {
  28611. "description": "是否可出金(网银端) - 0:不可 1:可以",
  28612. "type": "integer"
  28613. },
  28614. "canrelease": {
  28615. "description": "是否可解约 - 0:不可 1:可以",
  28616. "type": "integer"
  28617. },
  28618. "canrelease2": {
  28619. "description": "是否可解约(网银端) - 0:不可 1:可以",
  28620. "type": "integer"
  28621. },
  28622. "cansign": {
  28623. "description": "是否可签约 - 0:不可 1:可以",
  28624. "type": "integer"
  28625. },
  28626. "cansign2": {
  28627. "description": "是否可签约(网银端) - 0:不可 1:可以",
  28628. "type": "integer"
  28629. },
  28630. "currency": {
  28631. "description": "币种",
  28632. "type": "string"
  28633. },
  28634. "cusbankid": {
  28635. "description": "托管银行编号(对应清算中心TRAN_NO)",
  28636. "type": "string"
  28637. },
  28638. "cusbankname": {
  28639. "description": "银行业务名称",
  28640. "type": "string"
  28641. },
  28642. "cusbankshortname": {
  28643. "description": "银行业务简称",
  28644. "type": "string"
  28645. },
  28646. "exchbankid": {
  28647. "description": "交易所开户银行ID",
  28648. "type": "string"
  28649. },
  28650. "exchpaybankaccname": {
  28651. "description": "交易所支出结算账户户名",
  28652. "type": "string"
  28653. },
  28654. "exchpaybankaccno": {
  28655. "description": "交易所支出结算账户",
  28656. "type": "string"
  28657. },
  28658. "isneedcheck": {
  28659. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  28660. "type": "integer"
  28661. },
  28662. "isneedclear": {
  28663. "description": "是否需要清算 - 0:不需要 1:需要",
  28664. "type": "integer"
  28665. },
  28666. "lastcheckstatus": {
  28667. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  28668. "type": "integer"
  28669. },
  28670. "lastchecktime": {
  28671. "description": "最后对账时间",
  28672. "type": "string"
  28673. },
  28674. "lastclearstatus": {
  28675. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  28676. "type": "integer"
  28677. },
  28678. "lastcleartime": {
  28679. "description": "最后清算时间",
  28680. "type": "string"
  28681. },
  28682. "lastsignintime": {
  28683. "description": "最后签到时间",
  28684. "type": "string"
  28685. },
  28686. "lastsignouttime": {
  28687. "description": "最后签退时间",
  28688. "type": "string"
  28689. },
  28690. "riskinfo": {
  28691. "description": "签约风险提示书",
  28692. "type": "string"
  28693. },
  28694. "signstatus": {
  28695. "description": "当前签到/签退状态 - 1:签到 2:签退",
  28696. "type": "integer"
  28697. },
  28698. "tradedate": {
  28699. "description": "交易日(yyyyMMdd)",
  28700. "type": "string"
  28701. },
  28702. "updatetime": {
  28703. "description": "当前签到/签退更新时间",
  28704. "type": "string"
  28705. }
  28706. }
  28707. },
  28708. "models.QhjCustomer": {
  28709. "type": "object",
  28710. "properties": {
  28711. "address": {
  28712. "description": "通讯地址",
  28713. "type": "string"
  28714. },
  28715. "attachment1": {
  28716. "description": "附件1",
  28717. "type": "string"
  28718. },
  28719. "attachment2": {
  28720. "description": "附件2",
  28721. "type": "string"
  28722. },
  28723. "audittime": {
  28724. "description": "审核时间",
  28725. "type": "string"
  28726. },
  28727. "cardbackphotourl": {
  28728. "description": "证件反面图片地址",
  28729. "type": "string"
  28730. },
  28731. "cardfrontphotourl": {
  28732. "description": "证件正面图片地址",
  28733. "type": "string"
  28734. },
  28735. "cardnum": {
  28736. "description": "证件号码",
  28737. "type": "string"
  28738. },
  28739. "cardtype": {
  28740. "description": "证件类型",
  28741. "type": "integer"
  28742. },
  28743. "cardtypename": {
  28744. "description": "证件类型名称",
  28745. "type": "string"
  28746. },
  28747. "cityid": {
  28748. "description": "市",
  28749. "type": "integer"
  28750. },
  28751. "cityname": {
  28752. "description": "城市名称",
  28753. "type": "string"
  28754. },
  28755. "contactname": {
  28756. "description": "联系人",
  28757. "type": "string"
  28758. },
  28759. "countryid": {
  28760. "description": "国家",
  28761. "type": "integer"
  28762. },
  28763. "countryname": {
  28764. "description": "国家名称",
  28765. "type": "string"
  28766. },
  28767. "createtime": {
  28768. "description": "创建时间",
  28769. "type": "string"
  28770. },
  28771. "customername": {
  28772. "description": "客户名称",
  28773. "type": "string"
  28774. },
  28775. "districtid": {
  28776. "description": "区域",
  28777. "type": "integer"
  28778. },
  28779. "districtname": {
  28780. "description": "地区名称",
  28781. "type": "string"
  28782. },
  28783. "email": {
  28784. "description": "邮件",
  28785. "type": "string"
  28786. },
  28787. "legalpersonname": {
  28788. "description": "法人姓名(企业)",
  28789. "type": "string"
  28790. },
  28791. "logincode": {
  28792. "description": "登录账号(代码)",
  28793. "type": "string"
  28794. },
  28795. "memberuserid": {
  28796. "description": "所属机构ID(所属会员)",
  28797. "type": "integer"
  28798. },
  28799. "memberusername": {
  28800. "description": "所属会员名称",
  28801. "type": "string"
  28802. },
  28803. "mobile": {
  28804. "description": "手机号码",
  28805. "type": "string"
  28806. },
  28807. "modifytime": {
  28808. "description": "修改时间",
  28809. "type": "string"
  28810. },
  28811. "nickname": {
  28812. "description": "昵称",
  28813. "type": "string"
  28814. },
  28815. "parentuserid": {
  28816. "description": "上级机构(所属机构)",
  28817. "type": "integer"
  28818. },
  28819. "parentusername": {
  28820. "description": "所属机构名称",
  28821. "type": "string"
  28822. },
  28823. "provinceid": {
  28824. "description": "省",
  28825. "type": "integer"
  28826. },
  28827. "provincename": {
  28828. "description": "省名称",
  28829. "type": "string"
  28830. },
  28831. "proxystatementurl": {
  28832. "description": "授权委托书",
  28833. "type": "string"
  28834. },
  28835. "remark": {
  28836. "description": "备注",
  28837. "type": "string"
  28838. },
  28839. "status": {
  28840. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  28841. "type": "integer"
  28842. },
  28843. "statusdesc": {
  28844. "description": "账户状态中文描述",
  28845. "type": "string"
  28846. },
  28847. "taxpayernum": {
  28848. "description": "纳税人识别号",
  28849. "type": "string"
  28850. },
  28851. "telphone": {
  28852. "description": "联系电话",
  28853. "type": "string"
  28854. },
  28855. "userid": {
  28856. "description": "用户ID",
  28857. "type": "integer"
  28858. },
  28859. "userinfotype": {
  28860. "description": "客户类型 1-个人 2-企业",
  28861. "type": "integer"
  28862. },
  28863. "username": {
  28864. "description": "用户名称",
  28865. "type": "string"
  28866. }
  28867. }
  28868. },
  28869. "models.QhjCustomerSignLog": {
  28870. "type": "object",
  28871. "properties": {
  28872. "agreementcontent": {
  28873. "description": "协议内容",
  28874. "type": "string"
  28875. },
  28876. "agreementid": {
  28877. "description": "协议ID",
  28878. "type": "integer"
  28879. },
  28880. "agreementname": {
  28881. "description": "协议名称",
  28882. "type": "string"
  28883. },
  28884. "agreementno": {
  28885. "description": "协议编号",
  28886. "type": "string"
  28887. },
  28888. "agreementtype": {
  28889. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28890. "type": "integer"
  28891. },
  28892. "agreementversion": {
  28893. "description": "协议版本号",
  28894. "type": "integer"
  28895. },
  28896. "createtime": {
  28897. "description": "创建时间",
  28898. "type": "string"
  28899. },
  28900. "goodscode": {
  28901. "description": "商品代码",
  28902. "type": "string"
  28903. },
  28904. "goodsid": {
  28905. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28906. "type": "integer"
  28907. },
  28908. "goodsname": {
  28909. "description": "商品名称",
  28910. "type": "string"
  28911. },
  28912. "logid": {
  28913. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  28914. "type": "integer"
  28915. },
  28916. "nodetype": {
  28917. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  28918. "type": "integer"
  28919. },
  28920. "signadressurl": {
  28921. "description": "签约文件地址",
  28922. "type": "string"
  28923. },
  28924. "signtimestamp": {
  28925. "description": "签约状态时间戳",
  28926. "type": "string"
  28927. },
  28928. "userid": {
  28929. "description": "客户ID",
  28930. "type": "integer"
  28931. },
  28932. "username": {
  28933. "description": "客户名称",
  28934. "type": "string"
  28935. }
  28936. }
  28937. },
  28938. "models.QhjCustomerSignStatus": {
  28939. "type": "object",
  28940. "properties": {
  28941. "createtime": {
  28942. "description": "创建时间",
  28943. "type": "string"
  28944. },
  28945. "goodscode": {
  28946. "description": "商品代码",
  28947. "type": "string"
  28948. },
  28949. "goodsid": {
  28950. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28951. "type": "integer"
  28952. },
  28953. "goodsname": {
  28954. "description": "商品名称",
  28955. "type": "string"
  28956. },
  28957. "nodetype": {
  28958. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  28959. "type": "integer"
  28960. },
  28961. "signtimestamp": {
  28962. "description": "签约状态时间戳",
  28963. "type": "string"
  28964. },
  28965. "tradedate": {
  28966. "description": "创建交易日(yyyyMMdd)",
  28967. "type": "string"
  28968. },
  28969. "updatetime": {
  28970. "description": "更新时间",
  28971. "type": "string"
  28972. },
  28973. "userid": {
  28974. "description": "客户ID",
  28975. "type": "integer"
  28976. },
  28977. "username": {
  28978. "description": "客户名称",
  28979. "type": "string"
  28980. }
  28981. }
  28982. },
  28983. "models.QhjMgrAccountOutInApply": {
  28984. "type": "object",
  28985. "properties": {
  28986. "accountcode": {
  28987. "description": "资金账号",
  28988. "type": "string"
  28989. },
  28990. "accountname": {
  28991. "description": "用户名称(名称)",
  28992. "type": "string"
  28993. },
  28994. "accountpwd": {
  28995. "description": "资金密码",
  28996. "type": "string"
  28997. },
  28998. "accountticket": {
  28999. "description": "最新账户服务流水号",
  29000. "type": "string"
  29001. },
  29002. "amount": {
  29003. "description": "金额",
  29004. "type": "number"
  29005. },
  29006. "applyremark": {
  29007. "description": "申请备注",
  29008. "type": "string"
  29009. },
  29010. "applystatus": {
  29011. "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: 复审通过,账户冻结金额检查中;",
  29012. "type": "integer"
  29013. },
  29014. "auditid": {
  29015. "description": "审核人",
  29016. "type": "integer"
  29017. },
  29018. "audittime": {
  29019. "description": "审核时间",
  29020. "type": "string"
  29021. },
  29022. "bank_apply_ticket": {
  29023. "description": "银行申请流水",
  29024. "type": "string"
  29025. },
  29026. "bankaccountname": {
  29027. "description": "银行账户名",
  29028. "type": "string"
  29029. },
  29030. "bankaccountno": {
  29031. "description": "银行卡号",
  29032. "type": "string"
  29033. },
  29034. "bankid": {
  29035. "description": "银行编号",
  29036. "type": "string"
  29037. },
  29038. "bankname": {
  29039. "description": "银行名称",
  29040. "type": "string"
  29041. },
  29042. "bankticket": {
  29043. "description": "银行流水",
  29044. "type": "string"
  29045. },
  29046. "branchbankid": {
  29047. "description": "银行支行号",
  29048. "type": "string"
  29049. },
  29050. "branchbankname": {
  29051. "description": "银行支行名称",
  29052. "type": "string"
  29053. },
  29054. "capamountout": {
  29055. "description": "出金(劣后本金) - 外部子账户",
  29056. "type": "number"
  29057. },
  29058. "certificatephotourl": {
  29059. "description": "凭证地址",
  29060. "type": "string"
  29061. },
  29062. "charge": {
  29063. "description": "手续费",
  29064. "type": "number"
  29065. },
  29066. "checkerrorflag": {
  29067. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  29068. "type": "integer"
  29069. },
  29070. "currency": {
  29071. "description": "币种",
  29072. "type": "string"
  29073. },
  29074. "cusbankid": {
  29075. "description": "托管银行编号",
  29076. "type": "string"
  29077. },
  29078. "exchticket": {
  29079. "description": "银行服务流水号",
  29080. "type": "string"
  29081. },
  29082. "executetype": {
  29083. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  29084. "type": "integer"
  29085. },
  29086. "extendinfo": {
  29087. "description": "扩展信息",
  29088. "type": "string"
  29089. },
  29090. "extoperateid": {
  29091. "description": "交易服务流水号",
  29092. "type": "integer"
  29093. },
  29094. "infamount": {
  29095. "description": "劣后金额(自有)",
  29096. "type": "number"
  29097. },
  29098. "logincode": {
  29099. "description": "登录账号(账号)",
  29100. "type": "string"
  29101. },
  29102. "netaddr": {
  29103. "description": "调转网址",
  29104. "type": "string"
  29105. },
  29106. "priamount": {
  29107. "description": "优先金额(授信)",
  29108. "type": "number"
  29109. },
  29110. "reauditid": {
  29111. "description": "复审人",
  29112. "type": "integer"
  29113. },
  29114. "reauditremark": {
  29115. "description": "复审备注",
  29116. "type": "string"
  29117. },
  29118. "reaudittime": {
  29119. "description": "复审时间",
  29120. "type": "string"
  29121. },
  29122. "relatedorderid": {
  29123. "description": "三方关联ID",
  29124. "type": "string"
  29125. },
  29126. "remark": {
  29127. "description": "备注",
  29128. "type": "string"
  29129. },
  29130. "remark2": {
  29131. "description": "备注(失败原因)",
  29132. "type": "string"
  29133. },
  29134. "soucreamount": {
  29135. "description": "原始出入金金额",
  29136. "type": "number"
  29137. },
  29138. "soucrecurrencyid": {
  29139. "description": "原始出入金币种",
  29140. "type": "integer"
  29141. },
  29142. "tradedate": {
  29143. "description": "交易日(yyyyMMdd)",
  29144. "type": "string"
  29145. },
  29146. "updatetime": {
  29147. "description": "更新时间(申请时间)",
  29148. "type": "string"
  29149. },
  29150. "userid": {
  29151. "description": "用户id",
  29152. "type": "integer"
  29153. },
  29154. "userinfotype": {
  29155. "description": "账户类型 1-个人 2-企业",
  29156. "type": "integer"
  29157. }
  29158. }
  29159. },
  29160. "models.QhjMgrBrokerApply": {
  29161. "type": "object",
  29162. "properties": {
  29163. "applicantid": {
  29164. "description": "申请人",
  29165. "type": "integer"
  29166. },
  29167. "applysrc": {
  29168. "description": "申请来源 - 1:管理端 2:终端",
  29169. "type": "integer"
  29170. },
  29171. "applystatus": {
  29172. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  29173. "type": "integer"
  29174. },
  29175. "applytime": {
  29176. "description": "申请时间",
  29177. "type": "string"
  29178. },
  29179. "auditorid": {
  29180. "description": "审核人",
  29181. "type": "integer"
  29182. },
  29183. "auditremark": {
  29184. "description": "审核备注",
  29185. "type": "string"
  29186. },
  29187. "auditsrc": {
  29188. "description": "审核来源 - 1:管理端 2:终端",
  29189. "type": "integer"
  29190. },
  29191. "audittime": {
  29192. "description": "审核时间",
  29193. "type": "string"
  29194. },
  29195. "audittradedate": {
  29196. "description": "审核交易日(yyyyMMdd)",
  29197. "type": "string"
  29198. },
  29199. "brokerapplyid": {
  29200. "description": "申请ID(SEQ_BROKERAPPLY)",
  29201. "type": "integer"
  29202. },
  29203. "cardbackphotourl": {
  29204. "description": "证件背面图片地址",
  29205. "type": "string"
  29206. },
  29207. "cardfrontphotourl": {
  29208. "description": "证件正面图片地址",
  29209. "type": "string"
  29210. },
  29211. "cardnum": {
  29212. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  29213. "type": "string"
  29214. },
  29215. "customername": {
  29216. "description": "姓名",
  29217. "type": "string"
  29218. },
  29219. "filterstatus": {
  29220. "description": "筛选条件",
  29221. "type": "string"
  29222. },
  29223. "logincode": {
  29224. "description": "登录代码",
  29225. "type": "string"
  29226. },
  29227. "mobile": {
  29228. "description": "手机号码",
  29229. "type": "string"
  29230. },
  29231. "parentuserid": {
  29232. "description": "所属机构id",
  29233. "type": "integer"
  29234. },
  29235. "parentusername": {
  29236. "description": "所属机构名称",
  29237. "type": "string"
  29238. },
  29239. "refereeuserid": {
  29240. "description": "推荐人id(经纪人)",
  29241. "type": "integer"
  29242. },
  29243. "refernum": {
  29244. "description": "推荐码",
  29245. "type": "string"
  29246. },
  29247. "remark": {
  29248. "description": "备注",
  29249. "type": "string"
  29250. },
  29251. "subarealevelpath": {
  29252. "description": "层级路径",
  29253. "type": "string"
  29254. },
  29255. "tradedate": {
  29256. "description": "交易日(yyyyMMdd)",
  29257. "type": "string"
  29258. },
  29259. "userid": {
  29260. "description": "申请人用户ID",
  29261. "type": "integer"
  29262. },
  29263. "userinfotype": {
  29264. "description": "用户类型 1-个人 2-企业",
  29265. "type": "integer"
  29266. },
  29267. "username": {
  29268. "description": "用户名称",
  29269. "type": "string"
  29270. }
  29271. }
  29272. },
  29273. "models.QhjMgrBrokerRewardReport": {
  29274. "type": "object",
  29275. "properties": {
  29276. "createtime": {
  29277. "description": "创建时间(注册时间)",
  29278. "type": "string"
  29279. },
  29280. "cycletime": {
  29281. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  29282. "type": "string"
  29283. },
  29284. "cycletype": {
  29285. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  29286. "type": "integer"
  29287. },
  29288. "directtotalnum": {
  29289. "description": "直推总人数【期末】",
  29290. "type": "integer"
  29291. },
  29292. "indirecttotalnum": {
  29293. "description": "间推总人数【期末】",
  29294. "type": "integer"
  29295. },
  29296. "mobile": {
  29297. "description": "电话号码",
  29298. "type": "string"
  29299. },
  29300. "refereeuserid": {
  29301. "description": "推荐人id(经纪人id)",
  29302. "type": "integer"
  29303. },
  29304. "refereeusername": {
  29305. "description": "推荐人名称(经纪人) 上级经纪人名称",
  29306. "type": "string"
  29307. },
  29308. "refernum": {
  29309. "description": "推荐码",
  29310. "type": "string"
  29311. },
  29312. "subarealevelpath": {
  29313. "description": "用户层级路径",
  29314. "type": "string"
  29315. },
  29316. "todayrewardamount": {
  29317. "description": "奖励总金额【汇总】",
  29318. "type": "number"
  29319. },
  29320. "updatetime": {
  29321. "description": "更新时间",
  29322. "type": "string"
  29323. },
  29324. "userid": {
  29325. "description": "经纪人用户ID",
  29326. "type": "integer"
  29327. },
  29328. "userinfotype": {
  29329. "description": "用户类型 1-个人 2-企业",
  29330. "type": "integer"
  29331. },
  29332. "username": {
  29333. "description": "用户名称",
  29334. "type": "string"
  29335. }
  29336. }
  29337. },
  29338. "models.QhjMgrContract": {
  29339. "type": "object",
  29340. "properties": {
  29341. "contractconfirmtime": {
  29342. "description": "合同确认时间(时间)",
  29343. "type": "string"
  29344. },
  29345. "currisklevel": {
  29346. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  29347. "type": "integer"
  29348. },
  29349. "decimalplace": {
  29350. "description": "商品报价小数位",
  29351. "type": "integer"
  29352. },
  29353. "enumdicname": {
  29354. "description": "单位名称",
  29355. "type": "string"
  29356. },
  29357. "goodscode": {
  29358. "description": "商品代码",
  29359. "type": "string"
  29360. },
  29361. "goodsid": {
  29362. "description": "商品ID [5:融资单]",
  29363. "type": "integer"
  29364. },
  29365. "goodsname": {
  29366. "description": "商品名称",
  29367. "type": "string"
  29368. },
  29369. "goodunitid": {
  29370. "description": "商品单位id",
  29371. "type": "integer"
  29372. },
  29373. "initmargin": {
  29374. "description": "初始保证金(首付款)",
  29375. "type": "number"
  29376. },
  29377. "lenderamount": {
  29378. "description": "贷款金额(总额|订单总额)",
  29379. "type": "number"
  29380. },
  29381. "logincode": {
  29382. "description": "账号(登录代码)",
  29383. "type": "string"
  29384. },
  29385. "marginratio": {
  29386. "description": "保证金比率(首付比例)",
  29387. "type": "number"
  29388. },
  29389. "mobile": {
  29390. "description": "电话号码(用户资料里的电话)",
  29391. "type": "string"
  29392. },
  29393. "payamount": {
  29394. "description": "已付(已付货款)",
  29395. "type": "number"
  29396. },
  29397. "reckonrecovermargin": {
  29398. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  29399. "type": "number"
  29400. },
  29401. "recoveredmargin": {
  29402. "description": "已追缴保证金",
  29403. "type": "number"
  29404. },
  29405. "remainamount": {
  29406. "description": "合同剩余金额(融资额)",
  29407. "type": "number"
  29408. },
  29409. "scfcontractid": {
  29410. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  29411. "type": "string"
  29412. },
  29413. "scfcontractstatus": {
  29414. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  29415. "type": "integer"
  29416. },
  29417. "scfcontracttype": {
  29418. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  29419. "type": "integer"
  29420. },
  29421. "totalinterest": {
  29422. "description": "已计总利息(利息)",
  29423. "type": "number"
  29424. },
  29425. "tradedate": {
  29426. "description": "交易日",
  29427. "type": "string"
  29428. },
  29429. "tradeprice": {
  29430. "description": "成交价格(成本价格)",
  29431. "type": "number"
  29432. },
  29433. "userid": {
  29434. "description": "用户ID",
  29435. "type": "integer"
  29436. },
  29437. "userinfotype": {
  29438. "description": "用户类型 1-个人 2-企业",
  29439. "type": "integer"
  29440. },
  29441. "username": {
  29442. "description": "用户名称",
  29443. "type": "string"
  29444. },
  29445. "wrqty": {
  29446. "description": "仓单数量(数量)",
  29447. "type": "number"
  29448. }
  29449. }
  29450. },
  29451. "models.QhjMgrCustomer": {
  29452. "type": "object",
  29453. "properties": {
  29454. "address": {
  29455. "description": "通讯地址",
  29456. "type": "string"
  29457. },
  29458. "attachment1": {
  29459. "description": "附件1",
  29460. "type": "string"
  29461. },
  29462. "audittime": {
  29463. "description": "审核时间",
  29464. "type": "string"
  29465. },
  29466. "birthday": {
  29467. "description": "生日",
  29468. "type": "string"
  29469. },
  29470. "brokerid": {
  29471. "description": "所属客户经理id",
  29472. "type": "integer"
  29473. },
  29474. "brokername": {
  29475. "description": "所属客户经理名称",
  29476. "type": "string"
  29477. },
  29478. "cardbackphotourl": {
  29479. "description": "证件反面图片地址",
  29480. "type": "string"
  29481. },
  29482. "cardfrontphotourl": {
  29483. "description": "证件正面图片地址",
  29484. "type": "string"
  29485. },
  29486. "cardnum": {
  29487. "description": "证件号码",
  29488. "type": "string"
  29489. },
  29490. "cardtype": {
  29491. "description": "证件类型",
  29492. "type": "integer"
  29493. },
  29494. "cardtypename": {
  29495. "description": "证件类型名称",
  29496. "type": "string"
  29497. },
  29498. "cityid": {
  29499. "description": "市",
  29500. "type": "integer"
  29501. },
  29502. "cityname": {
  29503. "description": "城市名称",
  29504. "type": "string"
  29505. },
  29506. "contactname": {
  29507. "description": "联系人",
  29508. "type": "string"
  29509. },
  29510. "countryid": {
  29511. "description": "国家",
  29512. "type": "integer"
  29513. },
  29514. "countryname": {
  29515. "description": "国家名称",
  29516. "type": "string"
  29517. },
  29518. "createtime": {
  29519. "description": "创建时间",
  29520. "type": "string"
  29521. },
  29522. "customername": {
  29523. "description": "客户名称",
  29524. "type": "string"
  29525. },
  29526. "districtid": {
  29527. "description": "区域",
  29528. "type": "integer"
  29529. },
  29530. "districtname": {
  29531. "description": "地区名称",
  29532. "type": "string"
  29533. },
  29534. "email": {
  29535. "description": "邮件",
  29536. "type": "string"
  29537. },
  29538. "legalpersonname": {
  29539. "description": "法人姓名(企业)",
  29540. "type": "string"
  29541. },
  29542. "logincode": {
  29543. "description": "登录账号(代码)",
  29544. "type": "string"
  29545. },
  29546. "memberuserid": {
  29547. "description": "所属机构ID(所属会员)",
  29548. "type": "integer"
  29549. },
  29550. "memberusername": {
  29551. "description": "所属会员名称",
  29552. "type": "string"
  29553. },
  29554. "mobile": {
  29555. "description": "手机号码",
  29556. "type": "string"
  29557. },
  29558. "modifytime": {
  29559. "description": "修改时间",
  29560. "type": "string"
  29561. },
  29562. "nickname": {
  29563. "description": "昵称",
  29564. "type": "string"
  29565. },
  29566. "parentuserid": {
  29567. "description": "上级机构(所属机构)",
  29568. "type": "integer"
  29569. },
  29570. "parentusername": {
  29571. "description": "所属机构名称",
  29572. "type": "string"
  29573. },
  29574. "provinceid": {
  29575. "description": "省",
  29576. "type": "integer"
  29577. },
  29578. "provincename": {
  29579. "description": "省名称",
  29580. "type": "string"
  29581. },
  29582. "proxystatementurl": {
  29583. "description": "授权委托书",
  29584. "type": "string"
  29585. },
  29586. "querytype": {
  29587. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  29588. "type": "integer"
  29589. },
  29590. "remark": {
  29591. "description": "备注",
  29592. "type": "string"
  29593. },
  29594. "sex": {
  29595. "description": "性别 0-女 1-男",
  29596. "type": "integer"
  29597. },
  29598. "status": {
  29599. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29600. "type": "integer"
  29601. },
  29602. "statusdesc": {
  29603. "description": "账户状态中文描述",
  29604. "type": "string"
  29605. },
  29606. "taxpayernum": {
  29607. "description": "纳税人识别号",
  29608. "type": "string"
  29609. },
  29610. "telphone": {
  29611. "description": "联系电话",
  29612. "type": "string"
  29613. },
  29614. "userid": {
  29615. "description": "用户ID",
  29616. "type": "integer"
  29617. },
  29618. "userinfotype": {
  29619. "description": "客户类型 1-个人 2-企业",
  29620. "type": "integer"
  29621. },
  29622. "username": {
  29623. "description": "用户名称",
  29624. "type": "string"
  29625. }
  29626. }
  29627. },
  29628. "models.QhjMgrPickGoods": {
  29629. "type": "object",
  29630. "properties": {
  29631. "enumdicname": {
  29632. "description": "单位名称(提货商品)",
  29633. "type": "string"
  29634. },
  29635. "goodsid": {
  29636. "description": "商品id",
  29637. "type": "integer"
  29638. },
  29639. "imageaddress": {
  29640. "description": "图片",
  29641. "type": "string"
  29642. },
  29643. "modifierid": {
  29644. "description": "修改人",
  29645. "type": "integer"
  29646. },
  29647. "modifiername": {
  29648. "description": "修改人名称",
  29649. "type": "string"
  29650. },
  29651. "modifysrc": {
  29652. "description": "修改来源 - 1:管理端 2:终端",
  29653. "type": "integer"
  29654. },
  29655. "pickupgoodsagreeunit": {
  29656. "description": "合约乘数",
  29657. "type": "number"
  29658. },
  29659. "pickupgoodsdesc": {
  29660. "description": "描述",
  29661. "type": "string"
  29662. },
  29663. "pickupgoodsid": {
  29664. "description": "提货商品ID",
  29665. "type": "string"
  29666. },
  29667. "pickupgoodsname": {
  29668. "description": "提货商品名称",
  29669. "type": "string"
  29670. },
  29671. "pickupgoodsstatus": {
  29672. "description": "状态 - 1:正常 2:停用 3:注销",
  29673. "type": "integer"
  29674. },
  29675. "pickupgoodsunitid": {
  29676. "description": "单位ID",
  29677. "type": "integer"
  29678. },
  29679. "pickupratio": {
  29680. "description": "提货系数",
  29681. "type": "number"
  29682. },
  29683. "preparedays": {
  29684. "description": "备货期(天)",
  29685. "type": "integer"
  29686. },
  29687. "remark": {
  29688. "description": "备注",
  29689. "type": "string"
  29690. },
  29691. "updatetime": {
  29692. "description": "更新时间",
  29693. "type": "string"
  29694. }
  29695. }
  29696. },
  29697. "models.QhjMgrPositionRsp": {
  29698. "type": "object",
  29699. "properties": {
  29700. "accountid": {
  29701. "description": "账号Id",
  29702. "type": "integer"
  29703. },
  29704. "accountname": {
  29705. "description": "用户名称",
  29706. "type": "string"
  29707. },
  29708. "agreeunit": {
  29709. "description": "合约乘数",
  29710. "type": "number"
  29711. },
  29712. "averageprice": {
  29713. "description": "均价",
  29714. "type": "number"
  29715. },
  29716. "avialqty": {
  29717. "description": "可用数量",
  29718. "type": "number"
  29719. },
  29720. "decimalplace": {
  29721. "description": "报价小数位",
  29722. "type": "integer"
  29723. },
  29724. "enumdicname": {
  29725. "description": "单位名称(商品)",
  29726. "type": "string"
  29727. },
  29728. "frozenqty": {
  29729. "description": "冻结数量",
  29730. "type": "number"
  29731. },
  29732. "goodscode": {
  29733. "description": "商品代码(内部)",
  29734. "type": "string"
  29735. },
  29736. "goodsid": {
  29737. "description": "商品Id",
  29738. "type": "integer"
  29739. },
  29740. "goodsname": {
  29741. "description": "商品名称",
  29742. "type": "string"
  29743. },
  29744. "goodunitid": {
  29745. "description": "报价单位ID",
  29746. "type": "integer"
  29747. },
  29748. "holderamount": {
  29749. "description": "金额",
  29750. "type": "number"
  29751. },
  29752. "holderqty": {
  29753. "description": "持有数量",
  29754. "type": "number"
  29755. },
  29756. "holdertype": {
  29757. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  29758. "type": "integer"
  29759. },
  29760. "logincode": {
  29761. "description": "登录代码(账户)",
  29762. "type": "string"
  29763. },
  29764. "marketid": {
  29765. "description": "市场id",
  29766. "type": "integer"
  29767. },
  29768. "qtydecimalplace": {
  29769. "description": "成交量小数位",
  29770. "type": "integer"
  29771. },
  29772. "trademode": {
  29773. "description": "交易模式",
  29774. "type": "integer"
  29775. },
  29776. "userid": {
  29777. "description": "用户id",
  29778. "type": "integer"
  29779. },
  29780. "userinfotype": {
  29781. "description": "账户类型 1-个人 2-企业",
  29782. "type": "integer"
  29783. }
  29784. }
  29785. },
  29786. "models.QhjMgrSubArea": {
  29787. "type": "object",
  29788. "properties": {
  29789. "accountname": {
  29790. "description": "账户名称(机构名称)",
  29791. "type": "string"
  29792. },
  29793. "memberuserid": {
  29794. "description": "所属会员ID",
  29795. "type": "integer"
  29796. },
  29797. "parenttopuser": {
  29798. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  29799. "type": "string"
  29800. },
  29801. "parentuserid": {
  29802. "description": "所属机构ID",
  29803. "type": "integer"
  29804. },
  29805. "rootuserid": {
  29806. "description": "根用户ID",
  29807. "type": "string"
  29808. },
  29809. "subaccountlevel": {
  29810. "description": "子账户层数",
  29811. "type": "integer"
  29812. },
  29813. "subarealevelpath": {
  29814. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  29815. "type": "string"
  29816. },
  29817. "userid": {
  29818. "description": "用户ID",
  29819. "type": "integer"
  29820. },
  29821. "usertype": {
  29822. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29823. "type": "integer"
  29824. }
  29825. }
  29826. },
  29827. "models.QhjMgrTradeDetailRsp": {
  29828. "type": "object",
  29829. "properties": {
  29830. "accountid": {
  29831. "description": "资金账号",
  29832. "type": "integer"
  29833. },
  29834. "accountname": {
  29835. "description": "用户名称",
  29836. "type": "string"
  29837. },
  29838. "agreeunit": {
  29839. "description": "合约乘数",
  29840. "type": "number"
  29841. },
  29842. "buyorsell": {
  29843. "description": "成交类型(方向) 0:买 1:卖",
  29844. "type": "integer"
  29845. },
  29846. "decimalplace": {
  29847. "description": "报价小数位",
  29848. "type": "integer"
  29849. },
  29850. "enumdicname": {
  29851. "description": "单位名称(商品)",
  29852. "type": "string"
  29853. },
  29854. "goodscode": {
  29855. "description": "商品代码(内部)",
  29856. "type": "string"
  29857. },
  29858. "goodsid": {
  29859. "description": "商品id",
  29860. "type": "integer"
  29861. },
  29862. "goodsname": {
  29863. "description": "商品名称",
  29864. "type": "string"
  29865. },
  29866. "goodunitid": {
  29867. "description": "报价单位ID",
  29868. "type": "integer"
  29869. },
  29870. "logincode": {
  29871. "description": "登录代码(账户)",
  29872. "type": "string"
  29873. },
  29874. "marketid": {
  29875. "description": "市场id",
  29876. "type": "integer"
  29877. },
  29878. "orderid": {
  29879. "description": "关联委托单号",
  29880. "type": "string"
  29881. },
  29882. "qtydecimalplace": {
  29883. "description": "成交量小数位",
  29884. "type": "integer"
  29885. },
  29886. "tradeamount": {
  29887. "description": "金额",
  29888. "type": "number"
  29889. },
  29890. "tradedate": {
  29891. "description": "交易日",
  29892. "type": "string"
  29893. },
  29894. "tradeid": {
  29895. "description": "成交单号",
  29896. "type": "string"
  29897. },
  29898. "trademode": {
  29899. "description": "交易模式",
  29900. "type": "integer"
  29901. },
  29902. "tradeprice": {
  29903. "description": "价格",
  29904. "type": "number"
  29905. },
  29906. "tradeqty": {
  29907. "description": "数量",
  29908. "type": "number"
  29909. },
  29910. "tradetime": {
  29911. "description": "成交时间",
  29912. "type": "string"
  29913. },
  29914. "userid": {
  29915. "description": "用户id",
  29916. "type": "integer"
  29917. },
  29918. "userinfotype": {
  29919. "description": "账户类型 1-个人 2-企业",
  29920. "type": "integer"
  29921. }
  29922. }
  29923. },
  29924. "models.QhjMgrTradeOrderDetailRsp": {
  29925. "type": "object",
  29926. "properties": {
  29927. "accountid": {
  29928. "description": "资金账号",
  29929. "type": "integer"
  29930. },
  29931. "accountname": {
  29932. "description": "用户名称",
  29933. "type": "string"
  29934. },
  29935. "agreeunit": {
  29936. "description": "合约乘数",
  29937. "type": "number"
  29938. },
  29939. "amount": {
  29940. "description": "金额",
  29941. "type": "number"
  29942. },
  29943. "decimalplace": {
  29944. "description": "报价小数位",
  29945. "type": "integer"
  29946. },
  29947. "enumdicname": {
  29948. "description": "单位名称(商品)",
  29949. "type": "string"
  29950. },
  29951. "goodscode": {
  29952. "description": "商品代码(内部)",
  29953. "type": "string"
  29954. },
  29955. "goodsid": {
  29956. "description": "商品id",
  29957. "type": "integer"
  29958. },
  29959. "goodsname": {
  29960. "description": "商品名称",
  29961. "type": "string"
  29962. },
  29963. "goodunitid": {
  29964. "description": "报价单位ID",
  29965. "type": "integer"
  29966. },
  29967. "logincode": {
  29968. "description": "登录代码(账户)",
  29969. "type": "string"
  29970. },
  29971. "marketid": {
  29972. "description": "市场id",
  29973. "type": "integer"
  29974. },
  29975. "orderid": {
  29976. "description": "关联委托单号",
  29977. "type": "string"
  29978. },
  29979. "orderprice": {
  29980. "description": "价格",
  29981. "type": "number"
  29982. },
  29983. "orderqty": {
  29984. "description": "数量",
  29985. "type": "number"
  29986. },
  29987. "orderstatus": {
  29988. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  29989. "type": "integer"
  29990. },
  29991. "ordertime": {
  29992. "description": "委托时间",
  29993. "type": "string"
  29994. },
  29995. "qtydecimalplace": {
  29996. "description": "成交量小数位",
  29997. "type": "integer"
  29998. },
  29999. "tradedate": {
  30000. "description": "交易日",
  30001. "type": "string"
  30002. },
  30003. "trademode": {
  30004. "description": "交易模式",
  30005. "type": "integer"
  30006. },
  30007. "userid": {
  30008. "description": "用户id",
  30009. "type": "integer"
  30010. },
  30011. "userinfotype": {
  30012. "description": "账户类型 1-个人 2-企业",
  30013. "type": "integer"
  30014. }
  30015. }
  30016. },
  30017. "models.QhjMgrTradePayOrder": {
  30018. "type": "object",
  30019. "properties": {
  30020. "accountname": {
  30021. "description": "用户名称",
  30022. "type": "string"
  30023. },
  30024. "advanceratio": {
  30025. "description": "首付比率",
  30026. "type": "number"
  30027. },
  30028. "agreeunit": {
  30029. "description": "合约乘数",
  30030. "type": "number"
  30031. },
  30032. "buyaccountid": {
  30033. "description": "买方账号ID[报价币种]",
  30034. "type": "integer"
  30035. },
  30036. "buyorderid": {
  30037. "description": "买方委托单号(关联单号)",
  30038. "type": "string"
  30039. },
  30040. "createtime": {
  30041. "description": "创建时间",
  30042. "type": "string"
  30043. },
  30044. "decimalplace": {
  30045. "description": "报价小数位",
  30046. "type": "integer"
  30047. },
  30048. "enumdicname": {
  30049. "description": "单位名称(商品)",
  30050. "type": "string"
  30051. },
  30052. "goodscode": {
  30053. "description": "商品代码(内部)",
  30054. "type": "string"
  30055. },
  30056. "goodsid": {
  30057. "description": "商品ID",
  30058. "type": "integer"
  30059. },
  30060. "goodsname": {
  30061. "description": "商品名称",
  30062. "type": "string"
  30063. },
  30064. "goodunitid": {
  30065. "description": "报价单位ID",
  30066. "type": "integer"
  30067. },
  30068. "logincode": {
  30069. "description": "登录代码(账户)",
  30070. "type": "string"
  30071. },
  30072. "marketid": {
  30073. "description": "市场id",
  30074. "type": "integer"
  30075. },
  30076. "offamount": {
  30077. "description": "优惠金额",
  30078. "type": "number"
  30079. },
  30080. "operatetype": {
  30081. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30082. "type": "integer"
  30083. },
  30084. "payamount": {
  30085. "description": "支付金额(金额)",
  30086. "type": "number"
  30087. },
  30088. "payflag": {
  30089. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30090. "type": "integer"
  30091. },
  30092. "paylimitedtime": {
  30093. "description": "支付期限",
  30094. "type": "string"
  30095. },
  30096. "paytime": {
  30097. "description": "付款时间",
  30098. "type": "string"
  30099. },
  30100. "qtydecimalplace": {
  30101. "description": "成交量小数位",
  30102. "type": "integer"
  30103. },
  30104. "sellaccountid": {
  30105. "description": "卖方账号ID[报价币种]",
  30106. "type": "integer"
  30107. },
  30108. "sellorderid": {
  30109. "description": "卖方委托单号",
  30110. "type": "string"
  30111. },
  30112. "tradeamount": {
  30113. "description": "成交金额(优惠后金额)",
  30114. "type": "number"
  30115. },
  30116. "tradecharge": {
  30117. "description": "成交手续费(买方)",
  30118. "type": "number"
  30119. },
  30120. "tradedate": {
  30121. "description": "交易日(yyyyMMdd)",
  30122. "type": "string"
  30123. },
  30124. "tradeid": {
  30125. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30126. "type": "string"
  30127. },
  30128. "trademode": {
  30129. "description": "交易模式",
  30130. "type": "integer"
  30131. },
  30132. "tradeprice": {
  30133. "description": "成交价格(价格)",
  30134. "type": "number"
  30135. },
  30136. "tradeqty": {
  30137. "description": "成交数量(数量)",
  30138. "type": "number"
  30139. },
  30140. "tradetime": {
  30141. "description": "成交时间",
  30142. "type": "string"
  30143. },
  30144. "userid": {
  30145. "description": "用户id",
  30146. "type": "integer"
  30147. },
  30148. "userinfotype": {
  30149. "description": "账户类型 1-个人 2-企业",
  30150. "type": "integer"
  30151. }
  30152. }
  30153. },
  30154. "models.QhjMyTeamEx": {
  30155. "type": "object",
  30156. "properties": {
  30157. "accountname": {
  30158. "description": "用户名称",
  30159. "type": "string"
  30160. },
  30161. "accountstatus": {
  30162. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30163. "type": "integer"
  30164. },
  30165. "createtime": {
  30166. "description": "创建时间",
  30167. "type": "string"
  30168. },
  30169. "mobile": {
  30170. "description": "手机号码",
  30171. "type": "string"
  30172. },
  30173. "refereeuserid": {
  30174. "description": "推荐人id",
  30175. "type": "integer"
  30176. },
  30177. "refernum": {
  30178. "description": "推荐码",
  30179. "type": "string"
  30180. },
  30181. "subList": {
  30182. "type": "array",
  30183. "items": {
  30184. "$ref": "#/definitions/models.QhjMyTeamEx"
  30185. }
  30186. },
  30187. "userid": {
  30188. "description": "用户id",
  30189. "type": "integer"
  30190. },
  30191. "userinfotype": {
  30192. "description": "用户类型 1-个人 2-企业",
  30193. "type": "integer"
  30194. }
  30195. }
  30196. },
  30197. "models.QhjNodeAgreementConfig": {
  30198. "type": "object",
  30199. "properties": {
  30200. "agreementcontent": {
  30201. "description": "协议内容",
  30202. "type": "string"
  30203. },
  30204. "agreementid": {
  30205. "description": "协议ID",
  30206. "type": "integer"
  30207. },
  30208. "agreementname": {
  30209. "description": "协议名称",
  30210. "type": "string"
  30211. },
  30212. "agreementno": {
  30213. "description": "协议编号",
  30214. "type": "string"
  30215. },
  30216. "agreementtype": {
  30217. "description": "协议类型 - 1:注册 2:登录 3:交易",
  30218. "type": "integer"
  30219. },
  30220. "agreementversion": {
  30221. "description": "协议版本号",
  30222. "type": "integer"
  30223. },
  30224. "configid": {
  30225. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  30226. "type": "integer"
  30227. },
  30228. "createtime": {
  30229. "description": "创建时间",
  30230. "type": "string"
  30231. },
  30232. "goodsid": {
  30233. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  30234. "type": "integer"
  30235. },
  30236. "nodetype": {
  30237. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  30238. "type": "integer"
  30239. }
  30240. }
  30241. },
  30242. "models.QhjParentAreaList": {
  30243. "type": "object",
  30244. "properties": {
  30245. "accountname": {
  30246. "description": "账户名称(机构名称)",
  30247. "type": "string"
  30248. },
  30249. "userid": {
  30250. "description": "用户ID",
  30251. "type": "integer"
  30252. },
  30253. "usertype": {
  30254. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30255. "type": "integer"
  30256. }
  30257. }
  30258. },
  30259. "models.QhjPayOrder": {
  30260. "type": "object",
  30261. "properties": {
  30262. "advanceratio": {
  30263. "description": "首付比率",
  30264. "type": "number"
  30265. },
  30266. "buyaccountid": {
  30267. "description": "买方账号ID[报价币种]",
  30268. "type": "integer"
  30269. },
  30270. "buyorderid": {
  30271. "description": "买方委托单号",
  30272. "type": "string"
  30273. },
  30274. "createtime": {
  30275. "description": "创建时间",
  30276. "type": "string"
  30277. },
  30278. "decimalplace": {
  30279. "description": "商品报价小数位",
  30280. "type": "integer"
  30281. },
  30282. "enumdicname": {
  30283. "description": "单位名称",
  30284. "type": "string"
  30285. },
  30286. "goodscode": {
  30287. "description": "商品代码",
  30288. "type": "string"
  30289. },
  30290. "goodsid": {
  30291. "description": "商品ID",
  30292. "type": "integer"
  30293. },
  30294. "goodsname": {
  30295. "description": "商品名称",
  30296. "type": "string"
  30297. },
  30298. "goodunitid": {
  30299. "description": "商品单位id",
  30300. "type": "integer"
  30301. },
  30302. "marketid": {
  30303. "description": "市场ID",
  30304. "type": "integer"
  30305. },
  30306. "offamount": {
  30307. "description": "优惠金额",
  30308. "type": "number"
  30309. },
  30310. "operatetype": {
  30311. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30312. "type": "integer"
  30313. },
  30314. "payamount": {
  30315. "description": "支付金额",
  30316. "type": "number"
  30317. },
  30318. "payflag": {
  30319. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30320. "type": "integer"
  30321. },
  30322. "paylimitedtime": {
  30323. "description": "支付期限",
  30324. "type": "string"
  30325. },
  30326. "paytime": {
  30327. "description": "付款时间",
  30328. "type": "string"
  30329. },
  30330. "qtydecimalplace": {
  30331. "description": "成交量小数位",
  30332. "type": "integer"
  30333. },
  30334. "sellaccountid": {
  30335. "description": "卖方账号ID[报价币种]",
  30336. "type": "integer"
  30337. },
  30338. "sellorderid": {
  30339. "description": "卖方委托单号",
  30340. "type": "string"
  30341. },
  30342. "tradeamount": {
  30343. "description": "成交金额(优惠后金额)",
  30344. "type": "number"
  30345. },
  30346. "tradecharge": {
  30347. "description": "成交手续费(买方)",
  30348. "type": "number"
  30349. },
  30350. "tradedate": {
  30351. "description": "交易日(yyyyMMdd)",
  30352. "type": "string"
  30353. },
  30354. "tradeid": {
  30355. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30356. "type": "string"
  30357. },
  30358. "tradeprice": {
  30359. "description": "成交价格",
  30360. "type": "number"
  30361. },
  30362. "tradeqty": {
  30363. "description": "成交数量",
  30364. "type": "number"
  30365. }
  30366. }
  30367. },
  30368. "models.QhjPickArea": {
  30369. "type": "object",
  30370. "properties": {
  30371. "address": {
  30372. "description": "详细地址",
  30373. "type": "string"
  30374. },
  30375. "cityid": {
  30376. "description": "市",
  30377. "type": "integer"
  30378. },
  30379. "cityname": {
  30380. "description": "城市名称",
  30381. "type": "string"
  30382. },
  30383. "countryid": {
  30384. "description": "国家",
  30385. "type": "integer"
  30386. },
  30387. "countryname": {
  30388. "description": "国家名称",
  30389. "type": "string"
  30390. },
  30391. "districtid": {
  30392. "description": "地区",
  30393. "type": "integer"
  30394. },
  30395. "districtname": {
  30396. "description": "地区名称",
  30397. "type": "string"
  30398. },
  30399. "fromuserid": {
  30400. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  30401. "type": "integer"
  30402. },
  30403. "fromusername": {
  30404. "description": "所属机构名称",
  30405. "type": "string"
  30406. },
  30407. "provinceid": {
  30408. "description": "省",
  30409. "type": "integer"
  30410. },
  30411. "provincename": {
  30412. "description": "省名称",
  30413. "type": "string"
  30414. },
  30415. "suborgtype": {
  30416. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  30417. "type": "integer"
  30418. },
  30419. "userid": {
  30420. "description": "机构用户ID 其他做市关系,都设置为 1",
  30421. "type": "integer"
  30422. },
  30423. "username": {
  30424. "description": "机构用户名称(门店门称)",
  30425. "type": "string"
  30426. }
  30427. }
  30428. },
  30429. "models.QhjPickGoods": {
  30430. "type": "object",
  30431. "properties": {
  30432. "enumdicname": {
  30433. "description": "单位名称(提货商品)",
  30434. "type": "string"
  30435. },
  30436. "goodsid": {
  30437. "description": "商品id",
  30438. "type": "integer"
  30439. },
  30440. "imageaddress": {
  30441. "description": "图片",
  30442. "type": "string"
  30443. },
  30444. "modifierid": {
  30445. "description": "修改人",
  30446. "type": "integer"
  30447. },
  30448. "modifiername": {
  30449. "description": "修改人名称",
  30450. "type": "string"
  30451. },
  30452. "modifysrc": {
  30453. "description": "修改来源 - 1:管理端 2:终端",
  30454. "type": "integer"
  30455. },
  30456. "pickupgoodsagreeunit": {
  30457. "description": "合约乘数",
  30458. "type": "number"
  30459. },
  30460. "pickupgoodsdesc": {
  30461. "description": "描述",
  30462. "type": "string"
  30463. },
  30464. "pickupgoodsid": {
  30465. "description": "提货商品ID",
  30466. "type": "string"
  30467. },
  30468. "pickupgoodsname": {
  30469. "description": "提货商品名称",
  30470. "type": "string"
  30471. },
  30472. "pickupgoodsstatus": {
  30473. "description": "状态 - 1:正常 2:停用 3:注销",
  30474. "type": "integer"
  30475. },
  30476. "pickupgoodsunitid": {
  30477. "description": "单位ID",
  30478. "type": "integer"
  30479. },
  30480. "pickupratio": {
  30481. "description": "提货系数",
  30482. "type": "number"
  30483. },
  30484. "preparedays": {
  30485. "description": "备货期(天)",
  30486. "type": "integer"
  30487. },
  30488. "remark": {
  30489. "description": "备注",
  30490. "type": "string"
  30491. },
  30492. "updatetime": {
  30493. "description": "更新时间",
  30494. "type": "string"
  30495. }
  30496. }
  30497. },
  30498. "models.QhjRSTriggerLog": {
  30499. "type": "object",
  30500. "properties": {
  30501. "accountid": {
  30502. "description": "用户资金账户",
  30503. "type": "integer"
  30504. },
  30505. "accountname": {
  30506. "description": "账号名称(ACCOUNTID对应的名称)",
  30507. "type": "string"
  30508. },
  30509. "currencyid": {
  30510. "description": "币种id",
  30511. "type": "integer"
  30512. },
  30513. "currencyname": {
  30514. "description": "币种名称",
  30515. "type": "string"
  30516. },
  30517. "decimalplace": {
  30518. "description": "商品报价小数位",
  30519. "type": "integer"
  30520. },
  30521. "enumdicname": {
  30522. "description": "单位名称",
  30523. "type": "string"
  30524. },
  30525. "goodscode": {
  30526. "description": "定投商品代码",
  30527. "type": "string"
  30528. },
  30529. "goodsid": {
  30530. "description": "定投商品ID",
  30531. "type": "integer"
  30532. },
  30533. "goodsname": {
  30534. "description": "定投商品名称",
  30535. "type": "string"
  30536. },
  30537. "goodunitid": {
  30538. "description": "定投商品单位id",
  30539. "type": "integer"
  30540. },
  30541. "logid": {
  30542. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  30543. "type": "string"
  30544. },
  30545. "logincode": {
  30546. "description": "账号(登录代码)",
  30547. "type": "string"
  30548. },
  30549. "qtydecimalplace": {
  30550. "description": "成交量小数位",
  30551. "type": "integer"
  30552. },
  30553. "regularlycycle": {
  30554. "description": "定投频率 - 1:每周 2:每月",
  30555. "type": "integer"
  30556. },
  30557. "regularlycyclevalue": {
  30558. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30559. "type": "string"
  30560. },
  30561. "regularlymode": {
  30562. "description": "定投方式 - 1:按数量 2:按金额",
  30563. "type": "integer"
  30564. },
  30565. "regularlymodevalue": {
  30566. "description": "定投方式值 - 数量或金额",
  30567. "type": "number"
  30568. },
  30569. "regularlystrategyid": {
  30570. "description": "定投策略ID",
  30571. "type": "integer"
  30572. },
  30573. "retcode": {
  30574. "description": "错误码",
  30575. "type": "string"
  30576. },
  30577. "tradeid": {
  30578. "description": "成交单ID",
  30579. "type": "string"
  30580. },
  30581. "triggeramount": {
  30582. "description": "触发金额",
  30583. "type": "number"
  30584. },
  30585. "triggerqty": {
  30586. "description": "触发数量",
  30587. "type": "number"
  30588. },
  30589. "triggerstatus": {
  30590. "description": "触发状态 - 1:成功 2:失败",
  30591. "type": "integer"
  30592. },
  30593. "triggertime": {
  30594. "description": "触发时间",
  30595. "type": "string"
  30596. },
  30597. "triggertradedate": {
  30598. "description": "触发交易日",
  30599. "type": "string"
  30600. },
  30601. "userid": {
  30602. "description": "所属用户ID",
  30603. "type": "integer"
  30604. },
  30605. "userinfotype": {
  30606. "description": "用户类型 1-个人 2-企业",
  30607. "type": "integer"
  30608. },
  30609. "username": {
  30610. "description": "用户名称(userid对应的名称)",
  30611. "type": "string"
  30612. }
  30613. }
  30614. },
  30615. "models.QhjRStrategy": {
  30616. "type": "object",
  30617. "properties": {
  30618. "accountid": {
  30619. "description": "用户资金账户",
  30620. "type": "integer"
  30621. },
  30622. "accountname": {
  30623. "description": "账号名称(ACCOUNTID对应的名称)",
  30624. "type": "string"
  30625. },
  30626. "currencyid": {
  30627. "description": "币种id",
  30628. "type": "integer"
  30629. },
  30630. "currencyname": {
  30631. "description": "币种名称",
  30632. "type": "string"
  30633. },
  30634. "decimalplace": {
  30635. "description": "商品报价小数位",
  30636. "type": "integer"
  30637. },
  30638. "enumdicname": {
  30639. "description": "单位名称",
  30640. "type": "string"
  30641. },
  30642. "goodscode": {
  30643. "description": "定投商品代码",
  30644. "type": "string"
  30645. },
  30646. "goodsid": {
  30647. "description": "定投商品ID",
  30648. "type": "integer"
  30649. },
  30650. "goodsname": {
  30651. "description": "定投商品名称",
  30652. "type": "string"
  30653. },
  30654. "goodunitid": {
  30655. "description": "定投商品单位id",
  30656. "type": "integer"
  30657. },
  30658. "lasteffecttradedate": {
  30659. "description": "最新生效交易日",
  30660. "type": "string"
  30661. },
  30662. "laststoptradedate": {
  30663. "description": "最新暂停交易日",
  30664. "type": "string"
  30665. },
  30666. "lasttriggertradedate": {
  30667. "description": "最新触发交易日",
  30668. "type": "string"
  30669. },
  30670. "logincode": {
  30671. "description": "账号(登录代码)",
  30672. "type": "string"
  30673. },
  30674. "nexttriggeramount": {
  30675. "description": "下次触发金额",
  30676. "type": "number"
  30677. },
  30678. "nexttriggerdate": {
  30679. "description": "下次触发日期",
  30680. "type": "string"
  30681. },
  30682. "nexttriggerqty": {
  30683. "description": "下次触发数量 [按小数位放大值]",
  30684. "type": "number"
  30685. },
  30686. "qtydecimalplace": {
  30687. "description": "成交量小数位",
  30688. "type": "integer"
  30689. },
  30690. "regularlycycle": {
  30691. "description": "定投频率 - 1:每周 2:每月",
  30692. "type": "integer"
  30693. },
  30694. "regularlycyclevalue": {
  30695. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30696. "type": "string"
  30697. },
  30698. "regularlymode": {
  30699. "description": "定投方式 - 1:按数量 2:按金额",
  30700. "type": "integer"
  30701. },
  30702. "regularlymodevalue": {
  30703. "description": "定投方式值 - 数量或金额",
  30704. "type": "number"
  30705. },
  30706. "regularlystrategyid": {
  30707. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  30708. "type": "integer"
  30709. },
  30710. "regularlystrategystatus": {
  30711. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  30712. "type": "integer"
  30713. },
  30714. "remark": {
  30715. "description": "备注",
  30716. "type": "string"
  30717. },
  30718. "triggersuccesstimes": {
  30719. "description": "累计定投成功次数",
  30720. "type": "string"
  30721. },
  30722. "triggertotalamount": {
  30723. "description": "累计定投金额(成功)",
  30724. "type": "number"
  30725. },
  30726. "triggertotalqty": {
  30727. "description": "累计定投数量(成功) [按小数位放大值]",
  30728. "type": "number"
  30729. },
  30730. "triggertotaltimes": {
  30731. "description": "累计定投总次数",
  30732. "type": "string"
  30733. },
  30734. "updatesrc": {
  30735. "description": "更新来源 - 1:管理端 2:终端",
  30736. "type": "integer"
  30737. },
  30738. "updatetime": {
  30739. "description": "更新时间",
  30740. "type": "string"
  30741. },
  30742. "updatorid": {
  30743. "description": "更新人",
  30744. "type": "string"
  30745. },
  30746. "userid": {
  30747. "description": "所属用户ID",
  30748. "type": "integer"
  30749. },
  30750. "userinfotype": {
  30751. "description": "用户类型 1-个人 2-企业",
  30752. "type": "integer"
  30753. },
  30754. "username": {
  30755. "description": "用户名称(userid对应的名称)",
  30756. "type": "string"
  30757. }
  30758. }
  30759. },
  30760. "models.QhjReckonPriceLog": {
  30761. "type": "object",
  30762. "properties": {
  30763. "decimalplace": {
  30764. "description": "商品报价小数位",
  30765. "type": "integer"
  30766. },
  30767. "goodscode": {
  30768. "description": "商品代码",
  30769. "type": "string"
  30770. },
  30771. "goodsid": {
  30772. "description": "商品ID",
  30773. "type": "integer"
  30774. },
  30775. "goodsname": {
  30776. "description": "商品名称",
  30777. "type": "string"
  30778. },
  30779. "lastreckonprice": {
  30780. "description": "上日结算价",
  30781. "type": "number"
  30782. },
  30783. "nextdnlimitprice": {
  30784. "description": "下个交易日跌停价",
  30785. "type": "number"
  30786. },
  30787. "nexttrade": {
  30788. "description": "下个交易日",
  30789. "type": "string"
  30790. },
  30791. "nextuplimitprice": {
  30792. "description": "下个交易日涨停价",
  30793. "type": "number"
  30794. },
  30795. "reckonprice": {
  30796. "description": "今日结算价(定投价)",
  30797. "type": "number"
  30798. },
  30799. "reckontime": {
  30800. "description": "结算时间",
  30801. "type": "string"
  30802. },
  30803. "totalholderqty": {
  30804. "description": "总持仓数",
  30805. "type": "integer"
  30806. },
  30807. "totalstock": {
  30808. "description": "总库存",
  30809. "type": "integer"
  30810. },
  30811. "tradedate": {
  30812. "description": "交易日",
  30813. "type": "string"
  30814. },
  30815. "updowncount": {
  30816. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  30817. "type": "integer"
  30818. },
  30819. "updownflag": {
  30820. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  30821. "type": "integer"
  30822. },
  30823. "updownrate": {
  30824. "description": "今日涨跌幅",
  30825. "type": "number"
  30826. },
  30827. "updownrate_2d": {
  30828. "description": "连续两日涨跌幅",
  30829. "type": "number"
  30830. },
  30831. "updownrate_3d": {
  30832. "description": "连续三日涨跌幅",
  30833. "type": "number"
  30834. }
  30835. }
  30836. },
  30837. "models.QhjScoreLog": {
  30838. "type": "object",
  30839. "properties": {
  30840. "accountid": {
  30841. "description": "账户ID",
  30842. "type": "integer"
  30843. },
  30844. "createtime": {
  30845. "description": "创建时间(时间)",
  30846. "type": "string"
  30847. },
  30848. "goodsid": {
  30849. "description": "商品ID",
  30850. "type": "integer"
  30851. },
  30852. "hasuploaded": {
  30853. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  30854. "type": "integer"
  30855. },
  30856. "logid": {
  30857. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30858. "type": "string"
  30859. },
  30860. "marketid": {
  30861. "description": "市场ID",
  30862. "type": "integer"
  30863. },
  30864. "relatedamount": {
  30865. "description": "关联金额",
  30866. "type": "number"
  30867. },
  30868. "relatedorderid": {
  30869. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  30870. "type": "string"
  30871. },
  30872. "scoreconfigvalue1": {
  30873. "description": "积分配置1",
  30874. "type": "integer"
  30875. },
  30876. "scoreconfigvalue2": {
  30877. "description": "积分配置1",
  30878. "type": "integer"
  30879. },
  30880. "scoretype": {
  30881. "description": "积分类型 - 1:提货积分",
  30882. "type": "integer"
  30883. },
  30884. "scorevalue": {
  30885. "description": "积分",
  30886. "type": "number"
  30887. },
  30888. "tradedate": {
  30889. "description": "交易日(yyyyMMdd)",
  30890. "type": "string"
  30891. },
  30892. "uploadedtime": {
  30893. "description": "同步时间",
  30894. "type": "string"
  30895. },
  30896. "userid": {
  30897. "description": "用户ID",
  30898. "type": "integer"
  30899. }
  30900. }
  30901. },
  30902. "models.QhjSiteColumnDetail": {
  30903. "type": "object",
  30904. "properties": {
  30905. "author": {
  30906. "description": "作者",
  30907. "type": "string"
  30908. },
  30909. "brief": {
  30910. "description": "简介",
  30911. "type": "string"
  30912. },
  30913. "columnid": {
  30914. "description": "所属栏目",
  30915. "type": "integer"
  30916. },
  30917. "context": {
  30918. "description": "内容",
  30919. "type": "string"
  30920. },
  30921. "coverimage": {
  30922. "description": "封面图片",
  30923. "type": "string"
  30924. },
  30925. "creaedate": {
  30926. "description": "创建时间",
  30927. "type": "string"
  30928. },
  30929. "creatorid": {
  30930. "description": "创建人",
  30931. "type": "integer"
  30932. },
  30933. "hits": {
  30934. "description": "点击数",
  30935. "type": "integer"
  30936. },
  30937. "id": {
  30938. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  30939. "type": "integer"
  30940. },
  30941. "isshow": {
  30942. "description": "是否展示 - 0:不展示 1:展示",
  30943. "type": "integer"
  30944. },
  30945. "istop": {
  30946. "description": "是否置顶 - 0:不置 1:置顶",
  30947. "type": "integer"
  30948. },
  30949. "modifierid": {
  30950. "description": "操作人",
  30951. "type": "integer"
  30952. },
  30953. "publishdate": {
  30954. "description": "发布日期",
  30955. "type": "string"
  30956. },
  30957. "status": {
  30958. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  30959. "type": "integer"
  30960. },
  30961. "title": {
  30962. "description": "标题",
  30963. "type": "string"
  30964. },
  30965. "updatedate": {
  30966. "description": "修改时间",
  30967. "type": "string"
  30968. },
  30969. "userid": {
  30970. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  30971. "type": "integer"
  30972. },
  30973. "username": {
  30974. "description": "用户名称",
  30975. "type": "string"
  30976. }
  30977. }
  30978. },
  30979. "models.QhjTeamOrder": {
  30980. "type": "object",
  30981. "properties": {
  30982. "accountid": {
  30983. "description": "账户ID[报价币种]",
  30984. "type": "integer"
  30985. },
  30986. "accountname": {
  30987. "description": "账户名称",
  30988. "type": "string"
  30989. },
  30990. "agreeunit": {
  30991. "description": "合约乘数",
  30992. "type": "number"
  30993. },
  30994. "buyorsell": {
  30995. "description": "方向 - 0:买 1:卖",
  30996. "type": "integer"
  30997. },
  30998. "decimalplace": {
  30999. "description": "报价小数位",
  31000. "type": "integer"
  31001. },
  31002. "enumdicname": {
  31003. "description": "单位名称",
  31004. "type": "string"
  31005. },
  31006. "goodscode": {
  31007. "description": "商品代码(内部)",
  31008. "type": "string"
  31009. },
  31010. "goodsid": {
  31011. "description": "商品ID",
  31012. "type": "integer"
  31013. },
  31014. "goodsname": {
  31015. "description": "商品名称",
  31016. "type": "string"
  31017. },
  31018. "goodunitid": {
  31019. "description": "报价单位ID",
  31020. "type": "integer"
  31021. },
  31022. "marketid": {
  31023. "description": "市场ID",
  31024. "type": "integer"
  31025. },
  31026. "marketname": {
  31027. "description": "市场名称",
  31028. "type": "string"
  31029. },
  31030. "qtydecimalplace": {
  31031. "description": "成交量小数位",
  31032. "type": "integer"
  31033. },
  31034. "refereeuserid": {
  31035. "description": "推荐人ID",
  31036. "type": "integer"
  31037. },
  31038. "tradeamount": {
  31039. "description": "成交金额[账户币种,用于所有权]",
  31040. "type": "number"
  31041. },
  31042. "tradedate": {
  31043. "description": "交易日(yyyyMMdd)",
  31044. "type": "string"
  31045. },
  31046. "trademode": {
  31047. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31048. "type": "integer"
  31049. },
  31050. "tradeprice": {
  31051. "description": "成交价格",
  31052. "type": "number"
  31053. },
  31054. "tradeqty": {
  31055. "description": "成交数量",
  31056. "type": "number"
  31057. },
  31058. "tradetime": {
  31059. "description": "成交时间",
  31060. "type": "string"
  31061. },
  31062. "userid": {
  31063. "description": "用户ID",
  31064. "type": "integer"
  31065. }
  31066. }
  31067. },
  31068. "models.QhjTradeGoodsPickup": {
  31069. "type": "object",
  31070. "properties": {
  31071. "accountid": {
  31072. "description": "账户ID",
  31073. "type": "integer"
  31074. },
  31075. "address": {
  31076. "description": "提货人详细地址",
  31077. "type": "string"
  31078. },
  31079. "amount": {
  31080. "description": "提货金额",
  31081. "type": "number"
  31082. },
  31083. "artradedate": {
  31084. "description": "自动收货交易日(yyyyMMdd)",
  31085. "type": "string"
  31086. },
  31087. "auditer": {
  31088. "description": "审核人",
  31089. "type": "integer"
  31090. },
  31091. "auditsrc": {
  31092. "description": "更新来源 - 1:管理端 2:终端",
  31093. "type": "integer"
  31094. },
  31095. "audittime": {
  31096. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  31097. "type": "string"
  31098. },
  31099. "audittradedate": {
  31100. "description": "审核交易日(yyyyMMdd)",
  31101. "type": "string"
  31102. },
  31103. "cardnum": {
  31104. "description": "提货人证件号码",
  31105. "type": "string"
  31106. },
  31107. "cardtypeid": {
  31108. "description": "提货人证件类型",
  31109. "type": "integer"
  31110. },
  31111. "checkremark": {
  31112. "description": "审核备注",
  31113. "type": "string"
  31114. },
  31115. "cityid": {
  31116. "description": "市",
  31117. "type": "integer"
  31118. },
  31119. "cityname": {
  31120. "description": "城市名称",
  31121. "type": "string"
  31122. },
  31123. "confirmtime": {
  31124. "description": "取货时间 或 收货时间",
  31125. "type": "string"
  31126. },
  31127. "countryid": {
  31128. "description": "国家",
  31129. "type": "integer"
  31130. },
  31131. "countryname": {
  31132. "description": "国家名称",
  31133. "type": "string"
  31134. },
  31135. "decimalplace": {
  31136. "description": "商品报价小数位",
  31137. "type": "integer"
  31138. },
  31139. "districtid": {
  31140. "description": "地区",
  31141. "type": "integer"
  31142. },
  31143. "districtname": {
  31144. "description": "地区名称",
  31145. "type": "string"
  31146. },
  31147. "enumdicname": {
  31148. "description": "单位名称(提货商品)",
  31149. "type": "string"
  31150. },
  31151. "expresscompany": {
  31152. "description": "物流公司",
  31153. "type": "string"
  31154. },
  31155. "expressnum": {
  31156. "description": "物流单号",
  31157. "type": "string"
  31158. },
  31159. "goodsagreeunit": {
  31160. "description": "交易商品乘数",
  31161. "type": "number"
  31162. },
  31163. "goodscode": {
  31164. "description": "商品代码",
  31165. "type": "string"
  31166. },
  31167. "goodsid": {
  31168. "description": "商品ID",
  31169. "type": "integer"
  31170. },
  31171. "goodsname": {
  31172. "description": "商品名称",
  31173. "type": "string"
  31174. },
  31175. "goodsqty": {
  31176. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  31177. "type": "number"
  31178. },
  31179. "handlestatus": {
  31180. "description": "处理状态",
  31181. "type": "integer"
  31182. },
  31183. "logincode": {
  31184. "description": "账号(登录代码, 有可能为空)",
  31185. "type": "string"
  31186. },
  31187. "marketid": {
  31188. "description": "市场ID",
  31189. "type": "integer"
  31190. },
  31191. "phonenum": {
  31192. "description": "提货人联系方式",
  31193. "type": "string"
  31194. },
  31195. "pickupgoodsagreeunit": {
  31196. "description": "提货商品合约乘数",
  31197. "type": "number"
  31198. },
  31199. "pickupgoodsid": {
  31200. "description": "提货商品ID",
  31201. "type": "string"
  31202. },
  31203. "pickupgoodsname": {
  31204. "description": "提货商品名称",
  31205. "type": "string"
  31206. },
  31207. "pickupgoodsqty": {
  31208. "description": "提货商品手数(数量)",
  31209. "type": "number"
  31210. },
  31211. "pickupgoodsunitid": {
  31212. "description": "单位ID(提货商品)",
  31213. "type": "integer"
  31214. },
  31215. "pickupratio": {
  31216. "description": "提货系数",
  31217. "type": "number"
  31218. },
  31219. "preparedays": {
  31220. "description": "备货期(天)-提货单明细表",
  31221. "type": "integer"
  31222. },
  31223. "provinceid": {
  31224. "description": "省",
  31225. "type": "integer"
  31226. },
  31227. "provincename": {
  31228. "description": "省名称",
  31229. "type": "string"
  31230. },
  31231. "qty": {
  31232. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  31233. "type": "number"
  31234. },
  31235. "qtydecimalplace": {
  31236. "description": "商品数量小数位",
  31237. "type": "integer"
  31238. },
  31239. "recivername": {
  31240. "description": "提货人姓名",
  31241. "type": "string"
  31242. },
  31243. "reqtime": {
  31244. "description": "提货申请时间",
  31245. "type": "string"
  31246. },
  31247. "storeuserid": {
  31248. "description": "门店用户ID (千海金)",
  31249. "type": "integer"
  31250. },
  31251. "storeusername": {
  31252. "description": "门店用户名称",
  31253. "type": "string"
  31254. },
  31255. "takemode": {
  31256. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  31257. "type": "integer"
  31258. },
  31259. "takeorderid": {
  31260. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  31261. "type": "string"
  31262. },
  31263. "takeorderstatus": {
  31264. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  31265. "type": "integer"
  31266. },
  31267. "takeremark": {
  31268. "description": "提货备注",
  31269. "type": "string"
  31270. },
  31271. "tradedate": {
  31272. "description": "交易日(yyyyMMdd)",
  31273. "type": "string"
  31274. },
  31275. "updatetime": {
  31276. "description": "更新时间",
  31277. "type": "string"
  31278. },
  31279. "userid": {
  31280. "description": "用户ID",
  31281. "type": "integer"
  31282. },
  31283. "userinfotype": {
  31284. "description": "客户类型 1-个人 2-企业",
  31285. "type": "integer"
  31286. },
  31287. "username": {
  31288. "description": "用户名称",
  31289. "type": "string"
  31290. }
  31291. }
  31292. },
  31293. "models.QhjUserNodeCfgAndStatus": {
  31294. "type": "object",
  31295. "properties": {
  31296. "agreementcontent": {
  31297. "description": "协议内容",
  31298. "type": "string"
  31299. },
  31300. "agreementid": {
  31301. "description": "协议ID",
  31302. "type": "integer"
  31303. },
  31304. "agreementname": {
  31305. "description": "协议名称",
  31306. "type": "string"
  31307. },
  31308. "agreementno": {
  31309. "description": "协议编号",
  31310. "type": "string"
  31311. },
  31312. "agreementtype": {
  31313. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31314. "type": "integer"
  31315. },
  31316. "agreementversion": {
  31317. "description": "协议版本号",
  31318. "type": "integer"
  31319. },
  31320. "configid": {
  31321. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  31322. "type": "integer"
  31323. },
  31324. "createtime": {
  31325. "description": "创建时间",
  31326. "type": "string"
  31327. },
  31328. "goodsid": {
  31329. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  31330. "type": "integer"
  31331. },
  31332. "nodetype": {
  31333. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  31334. "type": "integer"
  31335. },
  31336. "signtimestamp": {
  31337. "description": "签约状态时间戳(最近一次)",
  31338. "type": "string"
  31339. },
  31340. "tradedate": {
  31341. "description": "签约交易日(yyyyMMdd)",
  31342. "type": "string"
  31343. },
  31344. "userid": {
  31345. "description": "客户ID",
  31346. "type": "integer"
  31347. }
  31348. }
  31349. },
  31350. "models.Qhjgoodsex": {
  31351. "type": "object",
  31352. "properties": {
  31353. "canfinance": {
  31354. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  31355. "type": "integer"
  31356. },
  31357. "canregularlybuy": {
  31358. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  31359. "type": "integer"
  31360. },
  31361. "defaulttradeuserid": {
  31362. "description": "默认交易用户ID",
  31363. "type": "integer"
  31364. },
  31365. "deliverygoodsid": {
  31366. "description": "现货品种ID",
  31367. "type": "integer"
  31368. },
  31369. "goodsid": {
  31370. "description": "商品ID(自增ID SEQ_GOODS)",
  31371. "type": "integer"
  31372. },
  31373. "minamount": {
  31374. "description": "最小购买金额",
  31375. "type": "number"
  31376. },
  31377. "regularlybuyminamount": {
  31378. "description": "定投最小金额",
  31379. "type": "number"
  31380. },
  31381. "regularlybuyminqty": {
  31382. "description": "定投最小数量",
  31383. "type": "number"
  31384. },
  31385. "spotgoodsbrandid": {
  31386. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  31387. "type": "integer"
  31388. },
  31389. "visibilityforenterprise": {
  31390. "description": "企业客户是否可见 - 0:不可见 1:可见",
  31391. "type": "integer"
  31392. },
  31393. "visibilityforpersonal": {
  31394. "description": "个人客户是否可见 - 0:不可见 1:可见",
  31395. "type": "integer"
  31396. },
  31397. "wrstandardid": {
  31398. "description": "现货商品ID",
  31399. "type": "integer"
  31400. }
  31401. }
  31402. },
  31403. "models.QueryErrorInfosRsp": {
  31404. "type": "object",
  31405. "required": [
  31406. "errorid"
  31407. ],
  31408. "properties": {
  31409. "description": {
  31410. "description": "异常描述",
  31411. "type": "string"
  31412. },
  31413. "errorcode": {
  31414. "description": "异常代码",
  31415. "type": "string"
  31416. },
  31417. "errorid": {
  31418. "description": "异常ID",
  31419. "type": "integer"
  31420. },
  31421. "modulecode": {
  31422. "description": "所属模块",
  31423. "type": "string"
  31424. },
  31425. "operatecode": {
  31426. "description": "所属操作",
  31427. "type": "string"
  31428. },
  31429. "rownumber": {
  31430. "description": "行号",
  31431. "type": "string"
  31432. }
  31433. }
  31434. },
  31435. "models.QueryHedgeOrderDetailRsp": {
  31436. "type": "object",
  31437. "properties": {
  31438. "accountid": {
  31439. "description": "账户ID",
  31440. "type": "integer"
  31441. },
  31442. "buyorsell": {
  31443. "description": "买卖 - 0:买 1:卖",
  31444. "type": "integer"
  31445. },
  31446. "cancellogincode": {
  31447. "description": "撤单人",
  31448. "type": "string"
  31449. },
  31450. "channelbuildtype": {
  31451. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  31452. "type": "integer"
  31453. },
  31454. "channelinnerorderstatus": {
  31455. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  31456. "type": "integer"
  31457. },
  31458. "channeloperatetype": {
  31459. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  31460. "type": "integer"
  31461. },
  31462. "closetype": {
  31463. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31464. "type": "integer"
  31465. },
  31466. "curexchangerate": {
  31467. "description": "当前汇率",
  31468. "type": "number"
  31469. },
  31470. "exchangefullname": {
  31471. "description": "外部交易所全称",
  31472. "type": "string"
  31473. },
  31474. "goodscode": {
  31475. "description": "商品代码(内部)",
  31476. "type": "string"
  31477. },
  31478. "goodsid": {
  31479. "description": "商品ID",
  31480. "type": "integer"
  31481. },
  31482. "goodsname": {
  31483. "description": "商品名称",
  31484. "type": "string"
  31485. },
  31486. "marketid": {
  31487. "description": "市场ID",
  31488. "type": "integer"
  31489. },
  31490. "openfreezemargin": {
  31491. "description": "冻结保证金(冻结交易金额)",
  31492. "type": "number"
  31493. },
  31494. "orderid": {
  31495. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31496. "type": "string"
  31497. },
  31498. "orderlogincode": {
  31499. "description": "委托人",
  31500. "type": "string"
  31501. },
  31502. "orderprice": {
  31503. "description": "委托价格(账户)",
  31504. "type": "number"
  31505. },
  31506. "orderqty": {
  31507. "description": "委托数量",
  31508. "type": "integer"
  31509. },
  31510. "ordertime": {
  31511. "description": "委托时间",
  31512. "type": "string"
  31513. },
  31514. "pricemode": {
  31515. "description": "取价方式 - 1:市价 2: 限价",
  31516. "type": "integer"
  31517. },
  31518. "tradedate": {
  31519. "description": "交易日(yyyyMMdd)",
  31520. "type": "string"
  31521. },
  31522. "tradeqty": {
  31523. "description": "成交数量",
  31524. "type": "integer"
  31525. }
  31526. }
  31527. },
  31528. "models.QueryHedgeTradeDetailRsp": {
  31529. "type": "object",
  31530. "properties": {
  31531. "accountid": {
  31532. "description": "账号ID",
  31533. "type": "integer"
  31534. },
  31535. "buyorsell": {
  31536. "description": "方向 - 0:买 1:卖",
  31537. "type": "integer"
  31538. },
  31539. "channelbuildtype": {
  31540. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  31541. "type": "integer"
  31542. },
  31543. "closecharge": {
  31544. "description": "平仓手续费(账户)",
  31545. "type": "number"
  31546. },
  31547. "closecharge2": {
  31548. "description": "平仓手续费(商品)",
  31549. "type": "number"
  31550. },
  31551. "closepl": {
  31552. "description": "平仓盈亏(账户)",
  31553. "type": "number"
  31554. },
  31555. "closepl2": {
  31556. "description": "平仓盈亏(商品)",
  31557. "type": "number"
  31558. },
  31559. "closepl3": {
  31560. "description": "平仓盈亏(账户)(逐笔)",
  31561. "type": "number"
  31562. },
  31563. "closepl4": {
  31564. "description": "平仓盈亏(商品)(逐笔)",
  31565. "type": "number"
  31566. },
  31567. "closetype": {
  31568. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31569. "type": "integer"
  31570. },
  31571. "curexchangerate": {
  31572. "description": "当前汇率",
  31573. "type": "number"
  31574. },
  31575. "exchangefullname": {
  31576. "description": "外部交易所全称",
  31577. "type": "string"
  31578. },
  31579. "goodscode": {
  31580. "description": "商品代码(内部)",
  31581. "type": "string"
  31582. },
  31583. "goodsid": {
  31584. "description": "商品ID",
  31585. "type": "integer"
  31586. },
  31587. "goodsname": {
  31588. "description": "商品名称",
  31589. "type": "string"
  31590. },
  31591. "marketid": {
  31592. "description": "市场ID",
  31593. "type": "integer"
  31594. },
  31595. "opencharge": {
  31596. "description": "建仓手续费(账户)",
  31597. "type": "number"
  31598. },
  31599. "opencharge2": {
  31600. "description": "建仓手续费(商品)",
  31601. "type": "number"
  31602. },
  31603. "orderid": {
  31604. "description": "委托单号",
  31605. "type": "string"
  31606. },
  31607. "orderlogincode": {
  31608. "description": "委托人",
  31609. "type": "string"
  31610. },
  31611. "tradeamount": {
  31612. "description": "成交金额(账户)",
  31613. "type": "number"
  31614. },
  31615. "tradedate": {
  31616. "description": "交易日(yyyyMMdd)",
  31617. "type": "string"
  31618. },
  31619. "tradeid": {
  31620. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31621. "type": "string"
  31622. },
  31623. "tradeprice": {
  31624. "description": "成交价格",
  31625. "type": "number"
  31626. },
  31627. "tradeqty": {
  31628. "description": "成交数量",
  31629. "type": "integer"
  31630. },
  31631. "tradetime": {
  31632. "description": "成交时间",
  31633. "type": "string"
  31634. },
  31635. "tradetype": {
  31636. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  31637. "type": "integer"
  31638. }
  31639. }
  31640. },
  31641. "models.QuotePrimaryMenu": {
  31642. "type": "object",
  31643. "properties": {
  31644. "Index": {
  31645. "description": "序号",
  31646. "type": "integer"
  31647. },
  31648. "Key": {
  31649. "description": "键名",
  31650. "type": "string"
  31651. },
  31652. "Name": {
  31653. "description": "菜单名称",
  31654. "type": "string"
  31655. },
  31656. "SubMenus": {
  31657. "description": "子菜单",
  31658. "type": "array",
  31659. "items": {
  31660. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  31661. }
  31662. },
  31663. "SubTitleType": {
  31664. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  31665. "type": "integer"
  31666. },
  31667. "TradeModes": {
  31668. "description": "包含市场交易类型",
  31669. "type": "string"
  31670. }
  31671. }
  31672. },
  31673. "models.QuoteSecondaryMenu": {
  31674. "type": "object",
  31675. "properties": {
  31676. "ExExchangeCode": {
  31677. "description": "外部交易所代码",
  31678. "type": "string"
  31679. },
  31680. "ExExchangeID": {
  31681. "description": "外部交易所ID",
  31682. "type": "integer"
  31683. },
  31684. "GoodsGroupIDs": {
  31685. "description": "商品组ID列表",
  31686. "type": "array",
  31687. "items": {
  31688. "type": "integer"
  31689. }
  31690. },
  31691. "Index": {
  31692. "description": "序号",
  31693. "type": "integer"
  31694. },
  31695. "MarketID": {
  31696. "description": "市场ID",
  31697. "type": "integer"
  31698. },
  31699. "MenuTitle": {
  31700. "description": "菜单标题(市场名称或外部交易所名称)",
  31701. "type": "string"
  31702. },
  31703. "TradeMode": {
  31704. "description": "交易模式",
  31705. "type": "integer"
  31706. }
  31707. }
  31708. },
  31709. "models.RoleMenu": {
  31710. "type": "object",
  31711. "properties": {
  31712. "hasright": {
  31713. "description": "是否有权限 0-没有权限 1-有权限",
  31714. "type": "integer"
  31715. },
  31716. "iconame": {
  31717. "description": "菜单图标",
  31718. "type": "string"
  31719. },
  31720. "menutype": {
  31721. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  31722. "type": "integer"
  31723. },
  31724. "parentcode": {
  31725. "description": "上级资源代码",
  31726. "type": "string"
  31727. },
  31728. "remark": {
  31729. "description": "菜单备注",
  31730. "type": "string"
  31731. },
  31732. "resourcecode": {
  31733. "description": "菜单代码",
  31734. "type": "string"
  31735. },
  31736. "resourcelevel": {
  31737. "description": "级别",
  31738. "type": "integer"
  31739. },
  31740. "resourcename": {
  31741. "description": "菜单名称",
  31742. "type": "string"
  31743. },
  31744. "roleid": {
  31745. "description": "角色id",
  31746. "type": "integer"
  31747. },
  31748. "sort": {
  31749. "description": "排序",
  31750. "type": "integer"
  31751. },
  31752. "subMenu": {
  31753. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  31754. "type": "array",
  31755. "items": {
  31756. "$ref": "#/definitions/models.RoleMenu"
  31757. }
  31758. },
  31759. "url": {
  31760. "description": "URL",
  31761. "type": "string"
  31762. },
  31763. "userid": {
  31764. "description": "用户id",
  31765. "type": "integer"
  31766. }
  31767. }
  31768. },
  31769. "models.SearchGoods": {
  31770. "type": "object",
  31771. "required": [
  31772. "goodscode",
  31773. "goodsid",
  31774. "goodsname",
  31775. "marketid",
  31776. "trademode"
  31777. ],
  31778. "properties": {
  31779. "goodscode": {
  31780. "description": "商品代码(内部)",
  31781. "type": "string"
  31782. },
  31783. "goodsid": {
  31784. "description": "商品ID(自增ID SEQ_GOODS)",
  31785. "type": "integer"
  31786. },
  31787. "goodsname": {
  31788. "description": "商品名称",
  31789. "type": "string"
  31790. },
  31791. "marketid": {
  31792. "description": "所属市场ID",
  31793. "type": "integer"
  31794. },
  31795. "marketname": {
  31796. "description": "市场名称",
  31797. "type": "string"
  31798. },
  31799. "trademode": {
  31800. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31801. "type": "integer"
  31802. }
  31803. }
  31804. },
  31805. "models.Systemparam": {
  31806. "type": "object",
  31807. "required": [
  31808. "paramcode"
  31809. ],
  31810. "properties": {
  31811. "loginid": {
  31812. "description": "更新用户账号,登录账号",
  31813. "type": "string"
  31814. },
  31815. "modifyflag": {
  31816. "description": "修改标志0 不允许修改 1 允许修改",
  31817. "type": "integer"
  31818. },
  31819. "paramcode": {
  31820. "description": "参数代码",
  31821. "type": "string"
  31822. },
  31823. "paramname": {
  31824. "description": "参数名",
  31825. "type": "string"
  31826. },
  31827. "paramtype": {
  31828. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  31829. "type": "integer"
  31830. },
  31831. "paramvalue": {
  31832. "description": "参数值",
  31833. "type": "string"
  31834. },
  31835. "paramvalue2": {
  31836. "description": "参数值(CLOB)",
  31837. "type": "string"
  31838. },
  31839. "regexpress": {
  31840. "description": "正则表达式",
  31841. "type": "string"
  31842. },
  31843. "remark": {
  31844. "description": "备注",
  31845. "type": "string"
  31846. },
  31847. "serverip": {
  31848. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  31849. "type": "string"
  31850. },
  31851. "showflag": {
  31852. "description": "是否显示0 不显示 1 显示",
  31853. "type": "integer"
  31854. },
  31855. "updatetime": {
  31856. "description": "更新时间",
  31857. "type": "string"
  31858. },
  31859. "userid": {
  31860. "description": "更新用户ID",
  31861. "type": "integer"
  31862. }
  31863. }
  31864. },
  31865. "models.Szdz3convertconfig": {
  31866. "type": "object",
  31867. "required": [
  31868. "converttype",
  31869. "innergoodsid",
  31870. "outergoodscode"
  31871. ],
  31872. "properties": {
  31873. "canin": {
  31874. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  31875. "type": "integer"
  31876. },
  31877. "canout": {
  31878. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  31879. "type": "integer"
  31880. },
  31881. "converttype": {
  31882. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  31883. "type": "integer"
  31884. },
  31885. "createtime": {
  31886. "description": "创建时间",
  31887. "type": "string"
  31888. },
  31889. "creatorid": {
  31890. "description": "创建人",
  31891. "type": "integer"
  31892. },
  31893. "daymaxvalue": {
  31894. "description": "当日最大转入限制",
  31895. "type": "number"
  31896. },
  31897. "freezedays": {
  31898. "description": "冻结天数 [5:花生米转交易]",
  31899. "type": "integer"
  31900. },
  31901. "innergoodsid": {
  31902. "description": "内部商品ID[交易]",
  31903. "type": "integer"
  31904. },
  31905. "inratio": {
  31906. "description": "目标值",
  31907. "type": "integer"
  31908. },
  31909. "modifierid": {
  31910. "description": "修改人",
  31911. "type": "integer"
  31912. },
  31913. "modifytime": {
  31914. "description": "修改时间",
  31915. "type": "string"
  31916. },
  31917. "outergoodscode": {
  31918. "description": "外部商品代码[JD\\PD]",
  31919. "type": "string"
  31920. },
  31921. "outratio": {
  31922. "description": "源值",
  31923. "type": "integer"
  31924. },
  31925. "pddecimalplace": {
  31926. "description": "PD小数位",
  31927. "type": "integer"
  31928. },
  31929. "timemaxvalue": {
  31930. "description": "单次最大转入限制",
  31931. "type": "number"
  31932. },
  31933. "timeminvalue": {
  31934. "description": "单次最小转入限制",
  31935. "type": "number"
  31936. }
  31937. }
  31938. },
  31939. "models.Szdz3searchwhitelist": {
  31940. "type": "object",
  31941. "required": [
  31942. "userid"
  31943. ],
  31944. "properties": {
  31945. "createtime": {
  31946. "description": "创建时间",
  31947. "type": "string"
  31948. },
  31949. "creatorid": {
  31950. "description": "创建人",
  31951. "type": "integer"
  31952. },
  31953. "modifierid": {
  31954. "description": "修改人",
  31955. "type": "integer"
  31956. },
  31957. "modifytime": {
  31958. "description": "修改时间",
  31959. "type": "string"
  31960. },
  31961. "userid": {
  31962. "description": "用户ID",
  31963. "type": "integer"
  31964. }
  31965. }
  31966. },
  31967. "models.TBGoods": {
  31968. "type": "object",
  31969. "properties": {
  31970. "agreeunit": {
  31971. "description": "合约乘数",
  31972. "type": "number"
  31973. },
  31974. "enumdicname": {
  31975. "description": "单位名称",
  31976. "type": "string"
  31977. },
  31978. "goodscode": {
  31979. "description": "商品代码(内部)",
  31980. "type": "string"
  31981. },
  31982. "goodsid": {
  31983. "description": "商品ID(自增ID SEQ_GOODS)",
  31984. "type": "integer"
  31985. },
  31986. "goodsname": {
  31987. "description": "商品名称",
  31988. "type": "string"
  31989. }
  31990. }
  31991. },
  31992. "models.TBGoodsGroup": {
  31993. "type": "object",
  31994. "properties": {
  31995. "convertratio": {
  31996. "description": "折算系数",
  31997. "type": "number"
  31998. },
  31999. "enumdicname": {
  32000. "description": "单位名称",
  32001. "type": "string"
  32002. },
  32003. "exexchangecode": {
  32004. "description": "交易所代码",
  32005. "type": "string"
  32006. },
  32007. "exexchangename": {
  32008. "description": "交易所名称",
  32009. "type": "string"
  32010. },
  32011. "gdlst": {
  32012. "description": "商品列表",
  32013. "type": "array",
  32014. "items": {
  32015. "$ref": "#/definitions/models.TBGoods"
  32016. }
  32017. },
  32018. "goodsgroupid": {
  32019. "description": "商品组ID(自增ID)",
  32020. "type": "integer"
  32021. },
  32022. "goodsgroupname": {
  32023. "description": "商品组名称",
  32024. "type": "string"
  32025. },
  32026. "goodunitid": {
  32027. "description": "报价单位ID",
  32028. "type": "integer"
  32029. }
  32030. }
  32031. },
  32032. "models.TBMiddleGoods": {
  32033. "type": "object",
  32034. "properties": {
  32035. "areauserid": {
  32036. "description": "机构用户ID",
  32037. "type": "integer"
  32038. },
  32039. "enumdicname": {
  32040. "description": "单位名称",
  32041. "type": "string"
  32042. },
  32043. "goodsunitid": {
  32044. "description": "套保品种单位id",
  32045. "type": "integer"
  32046. },
  32047. "gplst": {
  32048. "description": "期货品种列表",
  32049. "type": "array",
  32050. "items": {
  32051. "$ref": "#/definitions/models.TBGoodsGroup"
  32052. }
  32053. },
  32054. "middlegoodscode": {
  32055. "description": "套保品种代码",
  32056. "type": "string"
  32057. },
  32058. "middlegoodsid": {
  32059. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  32060. "type": "integer"
  32061. },
  32062. "middlegoodsname": {
  32063. "description": "套保品种名称",
  32064. "type": "string"
  32065. },
  32066. "needarbitrageratio": {
  32067. "description": "套利比率",
  32068. "type": "number"
  32069. },
  32070. "needhedgeratio": {
  32071. "description": "套保比率",
  32072. "type": "number"
  32073. },
  32074. "wdlst": {
  32075. "description": "商品信息列表(现货品类)",
  32076. "type": "array",
  32077. "items": {
  32078. "$ref": "#/definitions/models.TBWrstandard"
  32079. }
  32080. }
  32081. }
  32082. },
  32083. "models.TBWrstandard": {
  32084. "type": "object",
  32085. "properties": {
  32086. "convertratio": {
  32087. "description": "折算系数",
  32088. "type": "number"
  32089. },
  32090. "deliverygoodsname": {
  32091. "description": "品种名称",
  32092. "type": "string"
  32093. },
  32094. "enumdicname": {
  32095. "description": "单位名称",
  32096. "type": "string"
  32097. },
  32098. "vatrate": {
  32099. "description": "增值税率",
  32100. "type": "number"
  32101. },
  32102. "wrstandardcode": {
  32103. "description": "现货商品代码",
  32104. "type": "string"
  32105. },
  32106. "wrstandardid": {
  32107. "description": "现货商品ID(SEQ_WRSTANDARD)",
  32108. "type": "integer"
  32109. },
  32110. "wrstandardname": {
  32111. "description": "现货商品名称",
  32112. "type": "string"
  32113. }
  32114. }
  32115. },
  32116. "models.Taaccount": {
  32117. "type": "object",
  32118. "required": [
  32119. "accountid",
  32120. "userid"
  32121. ],
  32122. "properties": {
  32123. "accountflag": {
  32124. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  32125. "type": "integer"
  32126. },
  32127. "accountid": {
  32128. "description": "资金账户ID",
  32129. "type": "integer"
  32130. },
  32131. "accountname": {
  32132. "description": "账户名称",
  32133. "type": "string"
  32134. },
  32135. "balance": {
  32136. "description": "期初余额",
  32137. "type": "number"
  32138. },
  32139. "capitalbalance": {
  32140. "description": "本金余额[外部子账户实际出入金余额]",
  32141. "type": "number"
  32142. },
  32143. "changeflag": {
  32144. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  32145. "type": "integer"
  32146. },
  32147. "changetime": {
  32148. "description": "账户状态变更时间",
  32149. "type": "string"
  32150. },
  32151. "closepl": {
  32152. "description": "今日平仓盈亏",
  32153. "type": "number"
  32154. },
  32155. "creditdecrease": {
  32156. "description": "今日授信减少",
  32157. "type": "number"
  32158. },
  32159. "creditincrease": {
  32160. "description": "今日授信增加",
  32161. "type": "number"
  32162. },
  32163. "curamount": {
  32164. "description": "总市值(从持仓中统计)",
  32165. "type": "number"
  32166. },
  32167. "currencyid": {
  32168. "description": "货币ID",
  32169. "type": "integer"
  32170. },
  32171. "currentbalance": {
  32172. "description": "期末余额",
  32173. "type": "number"
  32174. },
  32175. "freezecharge": {
  32176. "description": "手续费冻结",
  32177. "type": "number"
  32178. },
  32179. "freezemargin": {
  32180. "description": "冻结保证金",
  32181. "type": "number"
  32182. },
  32183. "fromaccountid": {
  32184. "description": "所属上级账户",
  32185. "type": "integer"
  32186. },
  32187. "inamount": {
  32188. "description": "今日入金金额(包括三方入金)",
  32189. "type": "number"
  32190. },
  32191. "ismain": {
  32192. "description": "是否母账号 0:不是母账户 1:是母账户",
  32193. "type": "integer"
  32194. },
  32195. "ismarketaccount": {
  32196. "description": "是否机构接单账号 0:不是 1:是",
  32197. "type": "integer"
  32198. },
  32199. "isreckonaccount": {
  32200. "description": "是否机构分润账号 0:不是 1:是",
  32201. "type": "integer"
  32202. },
  32203. "mortgagecredit": {
  32204. "description": "授信金额",
  32205. "type": "number"
  32206. },
  32207. "orifreezecharge": {
  32208. "description": "期初手续费冻结",
  32209. "type": "number"
  32210. },
  32211. "orifreezemargin": {
  32212. "description": "期初冻结保证金",
  32213. "type": "number"
  32214. },
  32215. "orimortgagecredit": {
  32216. "description": "期初授信金额",
  32217. "type": "number"
  32218. },
  32219. "oriothercredit": {
  32220. "description": "期初其它授信金额",
  32221. "type": "number"
  32222. },
  32223. "oriotherfreezemargin": {
  32224. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  32225. "type": "number"
  32226. },
  32227. "orioutamountfreeze": {
  32228. "description": "期初出金冻结",
  32229. "type": "number"
  32230. },
  32231. "oriusedmargin": {
  32232. "description": "期初占用保证金",
  32233. "type": "number"
  32234. },
  32235. "othercredit": {
  32236. "description": "其它授信金额",
  32237. "type": "number"
  32238. },
  32239. "othercreditdecrease": {
  32240. "description": "今日其它授信减少",
  32241. "type": "number"
  32242. },
  32243. "othercreditincrease": {
  32244. "description": "今日其它授信增加",
  32245. "type": "number"
  32246. },
  32247. "otherfreezemargin": {
  32248. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  32249. "type": "number"
  32250. },
  32251. "otherincome": {
  32252. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  32253. "type": "number"
  32254. },
  32255. "otherpay": {
  32256. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  32257. "type": "number"
  32258. },
  32259. "outamount": {
  32260. "description": "今日出金金额(包括三方出金)",
  32261. "type": "number"
  32262. },
  32263. "outamountfreeze": {
  32264. "description": "出金冻结",
  32265. "type": "number"
  32266. },
  32267. "outthreshold": {
  32268. "description": "出金阈值",
  32269. "type": "number"
  32270. },
  32271. "parentaccountid": {
  32272. "description": "所属根账号",
  32273. "type": "integer"
  32274. },
  32275. "paycharge": {
  32276. "description": "今日手续费支出",
  32277. "type": "number"
  32278. },
  32279. "relatedaccountstatus": {
  32280. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  32281. "type": "integer"
  32282. },
  32283. "relateduserid": {
  32284. "description": "关联用户",
  32285. "type": "integer"
  32286. },
  32287. "remainamount": {
  32288. "description": "融资额(从融资合同中统计)",
  32289. "type": "number"
  32290. },
  32291. "serivcegroup": {
  32292. "description": "服务分组",
  32293. "type": "integer"
  32294. },
  32295. "signstatus": {
  32296. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  32297. "type": "integer"
  32298. },
  32299. "sublevelpath": {
  32300. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  32301. "type": "string"
  32302. },
  32303. "taaccounttype": {
  32304. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  32305. "type": "integer"
  32306. },
  32307. "thirdinamount": {
  32308. "description": "今日三方入金",
  32309. "type": "number"
  32310. },
  32311. "thirdoutamount": {
  32312. "description": "今日三方出金",
  32313. "type": "number"
  32314. },
  32315. "tradestatus": {
  32316. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  32317. "type": "integer"
  32318. },
  32319. "tradestatuschangetime": {
  32320. "description": "激活时间",
  32321. "type": "string"
  32322. },
  32323. "transferamount": {
  32324. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  32325. "type": "number"
  32326. },
  32327. "usedmargin": {
  32328. "description": "占用保证金",
  32329. "type": "number"
  32330. },
  32331. "userid": {
  32332. "description": "用户ID",
  32333. "type": "integer"
  32334. }
  32335. }
  32336. },
  32337. "models.Tablecolumnconfig": {
  32338. "type": "object",
  32339. "required": [
  32340. "autoid"
  32341. ],
  32342. "properties": {
  32343. "aligntype": {
  32344. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  32345. "type": "integer"
  32346. },
  32347. "autoid": {
  32348. "description": "AutoID",
  32349. "type": "integer"
  32350. },
  32351. "columnfield": {
  32352. "description": "列字段",
  32353. "type": "string"
  32354. },
  32355. "columntitle": {
  32356. "description": "列Title",
  32357. "type": "string"
  32358. },
  32359. "columnwidth": {
  32360. "description": "列宽",
  32361. "type": "string"
  32362. },
  32363. "formatterstring": {
  32364. "description": "格式化字符",
  32365. "type": "string"
  32366. },
  32367. "formattertype": {
  32368. "description": "格式化类型",
  32369. "type": "string"
  32370. },
  32371. "groupname": {
  32372. "description": "表头分组名称",
  32373. "type": "string"
  32374. },
  32375. "isshow": {
  32376. "description": "是否显示 - 0:不显示 1:显示",
  32377. "type": "integer"
  32378. },
  32379. "needsummary": {
  32380. "description": "是否需要汇总 - 0:不需要 1:需要",
  32381. "type": "integer"
  32382. },
  32383. "orderindex": {
  32384. "description": "顺序",
  32385. "type": "integer"
  32386. },
  32387. "remark": {
  32388. "description": "备注",
  32389. "type": "string"
  32390. },
  32391. "summarytype": {
  32392. "description": "汇总类型 - 1:加总 2:最后一个",
  32393. "type": "integer"
  32394. },
  32395. "tablekey": {
  32396. "description": "列表Key",
  32397. "type": "string"
  32398. }
  32399. }
  32400. },
  32401. "models.TjmdQuoteGoods": {
  32402. "type": "object",
  32403. "properties": {
  32404. "buyqty": {
  32405. "description": "买量(暂不做, 无值, 保留字段)",
  32406. "type": "number"
  32407. },
  32408. "goodscode": {
  32409. "description": "合约代码",
  32410. "type": "string"
  32411. },
  32412. "goodsgroupid": {
  32413. "description": "商品组ID(自增ID)",
  32414. "type": "integer"
  32415. },
  32416. "goodsgroupname": {
  32417. "description": "商品组名称",
  32418. "type": "string"
  32419. },
  32420. "goodsid": {
  32421. "description": "合约id",
  32422. "type": "integer"
  32423. },
  32424. "goodsname": {
  32425. "description": "合约名称",
  32426. "type": "string"
  32427. },
  32428. "refgoodscode": {
  32429. "description": "标的合约代码",
  32430. "type": "string"
  32431. },
  32432. "refgoodsid": {
  32433. "description": "标的合约id",
  32434. "type": "integer"
  32435. },
  32436. "refgoodsname": {
  32437. "description": "标的合约名称",
  32438. "type": "string"
  32439. },
  32440. "sellqty": {
  32441. "description": "卖量(暂不做, 无值, 保留字段)",
  32442. "type": "number"
  32443. }
  32444. }
  32445. },
  32446. "models.TjmdTodayAccountMargin": {
  32447. "type": "object",
  32448. "properties": {
  32449. "accountid": {
  32450. "description": "账号ID",
  32451. "type": "integer"
  32452. },
  32453. "goodsid": {
  32454. "description": "商品ID",
  32455. "type": "integer"
  32456. },
  32457. "infoc": {
  32458. "description": "配置参数",
  32459. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  32460. },
  32461. "marketid": {
  32462. "description": "市场ID",
  32463. "type": "integer"
  32464. }
  32465. }
  32466. },
  32467. "models.TjmdTradeOrderDetail": {
  32468. "type": "object",
  32469. "properties": {
  32470. "buyorsell": {
  32471. "description": "买卖方向 0-买 1-卖",
  32472. "type": "integer"
  32473. },
  32474. "goodsid": {
  32475. "description": "商品id",
  32476. "type": "integer"
  32477. },
  32478. "marketmaxsub": {
  32479. "description": "市价最大偏移范围 [浮动价 - 点差]",
  32480. "type": "number"
  32481. },
  32482. "orderid": {
  32483. "description": "委托单号",
  32484. "type": "string"
  32485. },
  32486. "orderprice": {
  32487. "description": "委托价格",
  32488. "type": "number"
  32489. },
  32490. "orderqty": {
  32491. "description": "委托数量",
  32492. "type": "integer"
  32493. },
  32494. "pricemode": {
  32495. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  32496. "type": "integer"
  32497. },
  32498. "userid": {
  32499. "description": "用户id",
  32500. "type": "integer"
  32501. },
  32502. "username": {
  32503. "description": "用户名称(已脱敏)",
  32504. "type": "string"
  32505. }
  32506. }
  32507. },
  32508. "models.TjmdTransferApply": {
  32509. "type": "object",
  32510. "properties": {
  32511. "applyid": {
  32512. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  32513. "type": "integer"
  32514. },
  32515. "applystatus": {
  32516. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  32517. "type": "integer"
  32518. },
  32519. "applytime": {
  32520. "description": "申请时间(时间)",
  32521. "type": "string"
  32522. },
  32523. "auditremark": {
  32524. "description": "审核备注(拒绝原因?)",
  32525. "type": "string"
  32526. },
  32527. "buyorsell": {
  32528. "description": "买卖 - 0:买 1:卖",
  32529. "type": "integer"
  32530. },
  32531. "goodscode": {
  32532. "description": "商品代码",
  32533. "type": "string"
  32534. },
  32535. "goodsid": {
  32536. "description": "商品ID",
  32537. "type": "integer"
  32538. },
  32539. "goodsname": {
  32540. "description": "商品名称",
  32541. "type": "string"
  32542. },
  32543. "marketid": {
  32544. "description": "市场ID",
  32545. "type": "integer"
  32546. },
  32547. "qty": {
  32548. "description": "转让数量(数量)",
  32549. "type": "number"
  32550. },
  32551. "tradeid": {
  32552. "description": "成交单号(关联持仓)",
  32553. "type": "string"
  32554. },
  32555. "transferamount": {
  32556. "description": "转让总金额(金额)",
  32557. "type": "number"
  32558. },
  32559. "transferprice": {
  32560. "description": "转让价格(协议价格)",
  32561. "type": "number"
  32562. }
  32563. }
  32564. },
  32565. "models.TradeHolderDetail": {
  32566. "type": "object",
  32567. "properties": {
  32568. "accountid": {
  32569. "description": "账号ID",
  32570. "type": "integer"
  32571. },
  32572. "agreeunit": {
  32573. "description": "合约乘数",
  32574. "type": "number"
  32575. },
  32576. "buyorsell": {
  32577. "description": "方向 - 0:买 1:卖",
  32578. "type": "integer"
  32579. },
  32580. "currencyid": {
  32581. "description": "商品币种id",
  32582. "type": "integer"
  32583. },
  32584. "currencyname": {
  32585. "description": "币种名称",
  32586. "type": "string"
  32587. },
  32588. "decimalplace": {
  32589. "description": "商品价格小数位",
  32590. "type": "integer"
  32591. },
  32592. "enumdicname": {
  32593. "description": "商品单位名称",
  32594. "type": "string"
  32595. },
  32596. "expirecycle": {
  32597. "description": "行权周期(天) - 1:滚动行权时填写",
  32598. "type": "integer"
  32599. },
  32600. "expiredate": {
  32601. "description": "行权日(yyyyMMdd) - 到期日",
  32602. "type": "string"
  32603. },
  32604. "expiretype": {
  32605. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  32606. "type": "integer"
  32607. },
  32608. "freezeqty": {
  32609. "description": "冻结数量",
  32610. "type": "number"
  32611. },
  32612. "goodscode": {
  32613. "description": "商品代码",
  32614. "type": "string"
  32615. },
  32616. "goodsid": {
  32617. "description": "商品ID",
  32618. "type": "integer"
  32619. },
  32620. "goodsname": {
  32621. "description": "商品名称",
  32622. "type": "string"
  32623. },
  32624. "goodunitid": {
  32625. "description": "商品单位id",
  32626. "type": "integer"
  32627. },
  32628. "holderamount": {
  32629. "description": "持仓金额",
  32630. "type": "number"
  32631. },
  32632. "holdercredit": {
  32633. "description": "持仓授信金额",
  32634. "type": "number"
  32635. },
  32636. "holderdays": {
  32637. "description": "剩余冻结天数",
  32638. "type": "integer"
  32639. },
  32640. "holderprice": {
  32641. "description": "持仓价格",
  32642. "type": "number"
  32643. },
  32644. "holderqty": {
  32645. "description": "持仓数量",
  32646. "type": "number"
  32647. },
  32648. "isconfirmexercise": {
  32649. "description": "是否确认行权- 0:否 1:是",
  32650. "type": "integer"
  32651. },
  32652. "ispreexercise": {
  32653. "description": "是否预申报- 0:否 1:是 2:不可行权",
  32654. "type": "integer"
  32655. },
  32656. "marketid": {
  32657. "description": "市场id",
  32658. "type": "integer"
  32659. },
  32660. "marketname": {
  32661. "description": "市场名称",
  32662. "type": "string"
  32663. },
  32664. "openprice": {
  32665. "description": "建仓价格",
  32666. "type": "number"
  32667. },
  32668. "openqty": {
  32669. "description": "建仓数量",
  32670. "type": "number"
  32671. },
  32672. "optiontype": {
  32673. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  32674. "type": "integer"
  32675. },
  32676. "preexerciseprice": {
  32677. "description": "预申报价格",
  32678. "type": "number"
  32679. },
  32680. "premium": {
  32681. "description": "权利金",
  32682. "type": "number"
  32683. },
  32684. "qtydecimalplace": {
  32685. "description": "商品成交量小数位",
  32686. "type": "integer"
  32687. },
  32688. "refgoodscode": {
  32689. "description": "标的合约代码",
  32690. "type": "string"
  32691. },
  32692. "refgoodsid": {
  32693. "description": "标的合约id",
  32694. "type": "integer"
  32695. },
  32696. "releaseamount": {
  32697. "description": "释放持仓金额",
  32698. "type": "number"
  32699. },
  32700. "releaseholdercredit": {
  32701. "description": "释放持仓授信金额",
  32702. "type": "number"
  32703. },
  32704. "taname": {
  32705. "description": "资金账号名称",
  32706. "type": "string"
  32707. },
  32708. "tradeamount": {
  32709. "description": "成交金额",
  32710. "type": "number"
  32711. },
  32712. "tradedate": {
  32713. "description": "交易日(yyyyMMdd)",
  32714. "type": "string"
  32715. },
  32716. "tradeid": {
  32717. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32718. "type": "string"
  32719. },
  32720. "trademode": {
  32721. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  32722. "type": "integer"
  32723. },
  32724. "tradeproperty": {
  32725. "description": "交易属性",
  32726. "type": "integer"
  32727. },
  32728. "tradetime": {
  32729. "description": "交易时间",
  32730. "type": "string"
  32731. },
  32732. "userid": {
  32733. "description": "用户id",
  32734. "type": "integer"
  32735. },
  32736. "username": {
  32737. "description": "用户名称",
  32738. "type": "string"
  32739. }
  32740. }
  32741. },
  32742. "models.UserCollectConfig": {
  32743. "type": "object",
  32744. "properties": {
  32745. "accountstatus": {
  32746. "description": "账户状态 - 1:正常 2:停用 3:注销",
  32747. "type": "integer"
  32748. },
  32749. "collectaccountname": {
  32750. "description": "收款人账户名称",
  32751. "type": "string"
  32752. },
  32753. "collectaccountno": {
  32754. "description": "收款人账户",
  32755. "type": "string"
  32756. },
  32757. "collectbankname": {
  32758. "description": "收款人开户行",
  32759. "type": "string"
  32760. },
  32761. "collectbranchbankname": {
  32762. "description": "收款人开户支行",
  32763. "type": "string"
  32764. },
  32765. "collectconfigid": {
  32766. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  32767. "type": "string"
  32768. },
  32769. "remark": {
  32770. "description": "备注",
  32771. "type": "string"
  32772. },
  32773. "userid": {
  32774. "description": "收款人用户ID",
  32775. "type": "integer"
  32776. }
  32777. }
  32778. },
  32779. "models.UserReceiveInfo": {
  32780. "type": "object",
  32781. "properties": {
  32782. "address": {
  32783. "description": "提货人详细地址",
  32784. "type": "string"
  32785. },
  32786. "autoid": {
  32787. "description": "AutoID",
  32788. "type": "integer"
  32789. },
  32790. "cardnum": {
  32791. "description": "证件号码(加密存储)",
  32792. "type": "string"
  32793. },
  32794. "cardtypeid": {
  32795. "description": "证件类型",
  32796. "type": "integer"
  32797. },
  32798. "cityid": {
  32799. "description": "市",
  32800. "type": "integer"
  32801. },
  32802. "cityname": {
  32803. "description": "城市名称",
  32804. "type": "string"
  32805. },
  32806. "countryid": {
  32807. "description": "国家",
  32808. "type": "integer"
  32809. },
  32810. "countryname": {
  32811. "description": "国家名称",
  32812. "type": "string"
  32813. },
  32814. "districtid": {
  32815. "description": "地区",
  32816. "type": "integer"
  32817. },
  32818. "districtname": {
  32819. "description": "地区名称",
  32820. "type": "string"
  32821. },
  32822. "hasencrypt": {
  32823. "description": "数据是否已加密 - 0:未加密 1:已加密",
  32824. "type": "integer"
  32825. },
  32826. "isdefault": {
  32827. "description": "是否默认地址 - 0:否 1:是",
  32828. "type": "integer"
  32829. },
  32830. "phonenum": {
  32831. "description": "提货人联系方式(加密存储)",
  32832. "type": "string"
  32833. },
  32834. "provinceid": {
  32835. "description": "省",
  32836. "type": "integer"
  32837. },
  32838. "provincename": {
  32839. "description": "省名称",
  32840. "type": "string"
  32841. },
  32842. "receivername": {
  32843. "description": "提货人姓名",
  32844. "type": "string"
  32845. },
  32846. "takeremark": {
  32847. "description": "提货备注",
  32848. "type": "string"
  32849. },
  32850. "userid": {
  32851. "description": "用户ID",
  32852. "type": "integer"
  32853. }
  32854. }
  32855. },
  32856. "models.Useraccount": {
  32857. "type": "object",
  32858. "required": [
  32859. "userid"
  32860. ],
  32861. "properties": {
  32862. "accountname": {
  32863. "description": "账户名称(机构名称)",
  32864. "type": "string"
  32865. },
  32866. "accountstatus": {
  32867. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  32868. "type": "integer"
  32869. },
  32870. "applysrc": {
  32871. "description": "申请来源 - 1:管理端 2:终端",
  32872. "type": "integer"
  32873. },
  32874. "auditremark": {
  32875. "description": "审核备注",
  32876. "type": "string"
  32877. },
  32878. "auditsrc": {
  32879. "description": "审核来源 - 1:管理端 2:终端",
  32880. "type": "integer"
  32881. },
  32882. "audittime": {
  32883. "description": "审核时间",
  32884. "type": "string"
  32885. },
  32886. "audituserid": {
  32887. "description": "审核人",
  32888. "type": "integer"
  32889. },
  32890. "broker": {
  32891. "description": "所属经纪人ID",
  32892. "type": "integer"
  32893. },
  32894. "canceltime": {
  32895. "description": "销户时间",
  32896. "type": "string"
  32897. },
  32898. "canceluserid": {
  32899. "description": "销户人",
  32900. "type": "integer"
  32901. },
  32902. "canrecommend": {
  32903. "description": "是否可推荐 - 0:不可 1;可",
  32904. "type": "integer"
  32905. },
  32906. "createtime": {
  32907. "description": "创建时间",
  32908. "type": "string"
  32909. },
  32910. "creatorid": {
  32911. "description": "创建人",
  32912. "type": "integer"
  32913. },
  32914. "hasauth": {
  32915. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  32916. "type": "integer"
  32917. },
  32918. "isanonymous": {
  32919. "description": "是否匿名下单 - 0:否 1:是",
  32920. "type": "integer"
  32921. },
  32922. "maxinvestornum": {
  32923. "description": "最大用户数(经纪会员下投资者个数)",
  32924. "type": "integer"
  32925. },
  32926. "memberuserid": {
  32927. "description": "所属会员ID",
  32928. "type": "integer"
  32929. },
  32930. "modifierid": {
  32931. "description": "修改人",
  32932. "type": "integer"
  32933. },
  32934. "modifyremark": {
  32935. "description": "变更备注",
  32936. "type": "string"
  32937. },
  32938. "modifystatus": {
  32939. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  32940. "type": "integer"
  32941. },
  32942. "modifytime": {
  32943. "description": "修改时间",
  32944. "type": "string"
  32945. },
  32946. "parenttopuser": {
  32947. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  32948. "type": "string"
  32949. },
  32950. "parentuserid": {
  32951. "description": "所属机构ID",
  32952. "type": "integer"
  32953. },
  32954. "reckonaccountid": {
  32955. "description": "默认结算资金账号ID(机构分润使用) 作废",
  32956. "type": "integer"
  32957. },
  32958. "refercount": {
  32959. "description": "推荐总人数",
  32960. "type": "integer"
  32961. },
  32962. "refereeuserid": {
  32963. "description": "推荐人ID",
  32964. "type": "integer"
  32965. },
  32966. "refernum": {
  32967. "description": "推荐码",
  32968. "type": "string"
  32969. },
  32970. "rootuserid": {
  32971. "description": "根用户ID",
  32972. "type": "integer"
  32973. },
  32974. "subaccountlevel": {
  32975. "description": "子账户层数",
  32976. "type": "integer"
  32977. },
  32978. "subarealevelpath": {
  32979. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  32980. "type": "string"
  32981. },
  32982. "userid": {
  32983. "description": "用户ID",
  32984. "type": "integer"
  32985. },
  32986. "usertype": {
  32987. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  32988. "type": "integer"
  32989. }
  32990. }
  32991. },
  32992. "models.Userfavoritegoods": {
  32993. "type": "object",
  32994. "required": [
  32995. "goodsid"
  32996. ],
  32997. "properties": {
  32998. "goodsid": {
  32999. "description": "商品ID",
  33000. "type": "integer"
  33001. }
  33002. }
  33003. },
  33004. "models.Userinfo": {
  33005. "type": "object",
  33006. "required": [
  33007. "userid"
  33008. ],
  33009. "properties": {
  33010. "address": {
  33011. "description": "地址",
  33012. "type": "string"
  33013. },
  33014. "attachment1": {
  33015. "description": "附件1",
  33016. "type": "string"
  33017. },
  33018. "attachment2": {
  33019. "description": "附件2",
  33020. "type": "string"
  33021. },
  33022. "bankaccount": {
  33023. "description": "银行帐号 (加密存储)",
  33024. "type": "string"
  33025. },
  33026. "bankaccountname": {
  33027. "description": "收款人名称",
  33028. "type": "string"
  33029. },
  33030. "bankcardfrontphotourl": {
  33031. "description": "银行卡正面照地址",
  33032. "type": "string"
  33033. },
  33034. "bankid": {
  33035. "description": "银行编码",
  33036. "type": "string"
  33037. },
  33038. "bankname": {
  33039. "description": "银行名称",
  33040. "type": "string"
  33041. },
  33042. "biznature": {
  33043. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  33044. "type": "integer"
  33045. },
  33046. "bizscope": {
  33047. "description": "企业经营范围(企业)",
  33048. "type": "string"
  33049. },
  33050. "cardbackphotourl": {
  33051. "description": "证件背面图片地址",
  33052. "type": "string"
  33053. },
  33054. "cardfrontphotourl": {
  33055. "description": "证件正面图片地址",
  33056. "type": "string"
  33057. },
  33058. "cardnum": {
  33059. "description": "证件号码(加密存储)",
  33060. "type": "string"
  33061. },
  33062. "cardtypeid": {
  33063. "description": "证件类型ID",
  33064. "type": "integer"
  33065. },
  33066. "cityid": {
  33067. "description": "市",
  33068. "type": "integer"
  33069. },
  33070. "company": {
  33071. "description": "公司(个人)",
  33072. "type": "string"
  33073. },
  33074. "contactname": {
  33075. "description": "联系人",
  33076. "type": "string"
  33077. },
  33078. "countryid": {
  33079. "description": "国家",
  33080. "type": "integer"
  33081. },
  33082. "createtime": {
  33083. "description": "创建时间",
  33084. "type": "string"
  33085. },
  33086. "creatorid": {
  33087. "description": "创建人",
  33088. "type": "integer"
  33089. },
  33090. "customername": {
  33091. "description": "客户名称(企业名称)",
  33092. "type": "string"
  33093. },
  33094. "districtid": {
  33095. "description": "地区",
  33096. "type": "integer"
  33097. },
  33098. "email": {
  33099. "description": "邮件(加密存储)",
  33100. "type": "string"
  33101. },
  33102. "fax": {
  33103. "description": "传真(加密存储)",
  33104. "type": "string"
  33105. },
  33106. "halfbodyphotourl": {
  33107. "description": "半身照地址",
  33108. "type": "string"
  33109. },
  33110. "hasencrypt": {
  33111. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33112. "type": "integer"
  33113. },
  33114. "headurl": {
  33115. "description": "头像地址",
  33116. "type": "string"
  33117. },
  33118. "legalcardbackphotourl": {
  33119. "description": "法人身份证背面照地址",
  33120. "type": "string"
  33121. },
  33122. "legalcardfrontphotourl": {
  33123. "description": "法人身份证正面照地址",
  33124. "type": "string"
  33125. },
  33126. "legalpersonname": {
  33127. "description": "法人姓名(企业)",
  33128. "type": "string"
  33129. },
  33130. "mobile": {
  33131. "description": "手机号码(加密存储)",
  33132. "type": "string"
  33133. },
  33134. "mobile2": {
  33135. "description": "手机号码[明文-尚志]",
  33136. "type": "string"
  33137. },
  33138. "modifierid": {
  33139. "description": "修改人",
  33140. "type": "integer"
  33141. },
  33142. "modifiertime": {
  33143. "description": "修改时间",
  33144. "type": "string"
  33145. },
  33146. "needinvoice": {
  33147. "description": "是否需要发票 - 0:不需要 1:需要",
  33148. "type": "integer"
  33149. },
  33150. "nickname": {
  33151. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  33152. "type": "string"
  33153. },
  33154. "openmode": {
  33155. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  33156. "type": "integer"
  33157. },
  33158. "otherurl": {
  33159. "description": "其它图片地址[使用分号分隔]",
  33160. "type": "string"
  33161. },
  33162. "postalcode": {
  33163. "description": "邮政编码",
  33164. "type": "string"
  33165. },
  33166. "provinceid": {
  33167. "description": "省",
  33168. "type": "integer"
  33169. },
  33170. "qq": {
  33171. "description": "QQ(加密存储",
  33172. "type": "string"
  33173. },
  33174. "remark": {
  33175. "description": "备注",
  33176. "type": "string"
  33177. },
  33178. "sex": {
  33179. "description": "用户性别 0: 女 1: 男",
  33180. "type": "integer"
  33181. },
  33182. "signpdfurl": {
  33183. "description": "签约pdf文件",
  33184. "type": "string"
  33185. },
  33186. "telphone": {
  33187. "description": "联系电话(加密存储)",
  33188. "type": "string"
  33189. },
  33190. "userid": {
  33191. "description": "用户ID",
  33192. "type": "integer"
  33193. },
  33194. "userinfotype": {
  33195. "description": "用户信息类型 - 1:个人 2:企业",
  33196. "type": "integer"
  33197. },
  33198. "userstatus": {
  33199. "description": "用户状态 - 1:正常 2:注销",
  33200. "type": "integer"
  33201. },
  33202. "usertype": {
  33203. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  33204. "type": "integer"
  33205. },
  33206. "wechat": {
  33207. "description": "微信(加密存储)",
  33208. "type": "string"
  33209. },
  33210. "wskhinfo": {
  33211. "description": "开户申请信息(JSON)",
  33212. "type": "string"
  33213. }
  33214. }
  33215. },
  33216. "models.WRSConverTDetail": {
  33217. "type": "object",
  33218. "properties": {
  33219. "convertratio": {
  33220. "description": "套保系数",
  33221. "type": "number"
  33222. },
  33223. "deliverygoodscode": {
  33224. "description": "现货商品代码",
  33225. "type": "string"
  33226. },
  33227. "deliverygoodsid": {
  33228. "description": "现货品种ID",
  33229. "type": "integer"
  33230. },
  33231. "deliverygoodsname": {
  33232. "description": "现货商品名称",
  33233. "type": "string"
  33234. },
  33235. "enumdicname": {
  33236. "description": "单位名称",
  33237. "type": "string"
  33238. },
  33239. "goodsunitid": {
  33240. "description": "套保品种单位id",
  33241. "type": "integer"
  33242. },
  33243. "middlegoodscode": {
  33244. "description": "套保品种代码",
  33245. "type": "string"
  33246. },
  33247. "middlegoodsid": {
  33248. "description": "套保品种ID",
  33249. "type": "integer"
  33250. },
  33251. "middlegoodsname": {
  33252. "description": "套保品种名称",
  33253. "type": "string"
  33254. },
  33255. "modifytime": {
  33256. "description": "修改时间",
  33257. "type": "string"
  33258. },
  33259. "wrstandardid": {
  33260. "description": "品类ID",
  33261. "type": "integer"
  33262. }
  33263. }
  33264. },
  33265. "models.WRStandardInfo": {
  33266. "type": "object",
  33267. "required": [
  33268. "wrstandardid"
  33269. ],
  33270. "properties": {
  33271. "areauserid": {
  33272. "description": "所属机构",
  33273. "type": "integer"
  33274. },
  33275. "convertfactor": {
  33276. "description": "标仓系数",
  33277. "type": "number"
  33278. },
  33279. "createtime": {
  33280. "description": "创建时间",
  33281. "type": "string"
  33282. },
  33283. "creatorid": {
  33284. "description": "创建人",
  33285. "type": "integer"
  33286. },
  33287. "deliverygoodsid": {
  33288. "description": "品种ID",
  33289. "type": "integer"
  33290. },
  33291. "deliverygoodsname": {
  33292. "description": "交割商品名称",
  33293. "type": "string"
  33294. },
  33295. "factoryitemjson": {
  33296. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  33297. "type": "string"
  33298. },
  33299. "isvalid": {
  33300. "description": "是否有效 - 0:无效 1:有效",
  33301. "type": "integer"
  33302. },
  33303. "minivalue": {
  33304. "description": "最小变动值",
  33305. "type": "integer"
  33306. },
  33307. "minivaluedp": {
  33308. "description": "最小变动值小数位",
  33309. "type": "integer"
  33310. },
  33311. "realminivalue": {
  33312. "description": "实际最小变动值",
  33313. "type": "integer"
  33314. },
  33315. "realminivaluedp": {
  33316. "description": "实际最小变动值小数位",
  33317. "type": "integer"
  33318. },
  33319. "remark": {
  33320. "description": "备注",
  33321. "type": "string"
  33322. },
  33323. "unitid": {
  33324. "description": "单位ID",
  33325. "type": "integer"
  33326. },
  33327. "unitname": {
  33328. "description": "单位",
  33329. "type": "string"
  33330. },
  33331. "updatetime": {
  33332. "description": "更新时间",
  33333. "type": "string"
  33334. },
  33335. "updatorid": {
  33336. "description": "更新人",
  33337. "type": "integer"
  33338. },
  33339. "wrsstatus": {
  33340. "description": "状态 - 作废 - 0:未激活 1:正常",
  33341. "type": "integer"
  33342. },
  33343. "wrstandardcode": {
  33344. "description": "现货品类代码",
  33345. "type": "string"
  33346. },
  33347. "wrstandardid": {
  33348. "description": "现货品类ID(SEQ_WRSTANDARD)",
  33349. "type": "integer"
  33350. },
  33351. "wrstandardname": {
  33352. "description": "现货品类名称",
  33353. "type": "string"
  33354. }
  33355. }
  33356. },
  33357. "models.WRTradeBargainApply": {
  33358. "type": "object",
  33359. "properties": {
  33360. "accountid": {
  33361. "description": "摘牌资金账号",
  33362. "type": "integer"
  33363. },
  33364. "applyprice": {
  33365. "description": "申请价格(议价价格)",
  33366. "type": "string"
  33367. },
  33368. "applyqty": {
  33369. "description": "摘牌数量(议价数量)",
  33370. "type": "number"
  33371. },
  33372. "applyremark": {
  33373. "description": "申请备注",
  33374. "type": "string"
  33375. },
  33376. "applystatus": {
  33377. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  33378. "type": "integer"
  33379. },
  33380. "applytime": {
  33381. "description": "申请时间(议价时间)",
  33382. "type": "string"
  33383. },
  33384. "buyorsell": {
  33385. "description": "买卖(挂牌类型) - 0:买 1:卖",
  33386. "type": "integer"
  33387. },
  33388. "confirmremark": {
  33389. "description": "确认备注",
  33390. "type": "string"
  33391. },
  33392. "confirmtime": {
  33393. "description": "确认时间",
  33394. "type": "string"
  33395. },
  33396. "confirmuserid": {
  33397. "description": "确认人",
  33398. "type": "integer"
  33399. },
  33400. "deliverygoodscode": {
  33401. "description": "品种代码",
  33402. "type": "string"
  33403. },
  33404. "deliverygoodsid": {
  33405. "description": "品种ID",
  33406. "type": "integer"
  33407. },
  33408. "deliverygoodsname": {
  33409. "description": "品种名称",
  33410. "type": "string"
  33411. },
  33412. "deliverymonth": {
  33413. "description": "交收月",
  33414. "type": "string"
  33415. },
  33416. "enumdicname": {
  33417. "description": "单位名称",
  33418. "type": "string"
  33419. },
  33420. "fixedprice": {
  33421. "description": "挂牌价格",
  33422. "type": "number"
  33423. },
  33424. "handlestatus": {
  33425. "description": "处理状态",
  33426. "type": "integer"
  33427. },
  33428. "marginvalue": {
  33429. "description": "履约保证金比例",
  33430. "type": "number"
  33431. },
  33432. "marketid": {
  33433. "description": "市场ID",
  33434. "type": "integer"
  33435. },
  33436. "matchaccountid": {
  33437. "description": "挂牌方资金账号",
  33438. "type": "integer"
  33439. },
  33440. "matchuserid": {
  33441. "description": "挂牌方用户id",
  33442. "type": "integer"
  33443. },
  33444. "matchusername": {
  33445. "description": "挂牌方用户名称(已脱敏)",
  33446. "type": "string"
  33447. },
  33448. "minivalue": {
  33449. "description": "现货商品最小变动值",
  33450. "type": "integer"
  33451. },
  33452. "optioncompare": {
  33453. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33454. "type": "string"
  33455. },
  33456. "orderqty": {
  33457. "description": "挂牌数量",
  33458. "type": "integer"
  33459. },
  33460. "refprice": {
  33461. "description": "参考价格",
  33462. "type": "string"
  33463. },
  33464. "retcode": {
  33465. "description": "委托返回代码",
  33466. "type": "integer"
  33467. },
  33468. "templatename": {
  33469. "description": "履约方式(履约模板名称)",
  33470. "type": "string"
  33471. },
  33472. "tradedate": {
  33473. "description": "交易日(yyyyMMdd)",
  33474. "type": "string"
  33475. },
  33476. "userid": {
  33477. "description": "摘牌人用户ID(议价人ID)",
  33478. "type": "integer"
  33479. },
  33480. "username": {
  33481. "description": "议价人名字(已脱敏)",
  33482. "type": "string"
  33483. },
  33484. "validtime": {
  33485. "description": "有效期限",
  33486. "type": "string"
  33487. },
  33488. "warehouseid": {
  33489. "description": "仓库ID",
  33490. "type": "integer"
  33491. },
  33492. "warehousename": {
  33493. "description": "仓库名称",
  33494. "type": "string"
  33495. },
  33496. "wrbargainid": {
  33497. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  33498. "type": "string"
  33499. },
  33500. "wrfactortypeid": {
  33501. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33502. "type": "string"
  33503. },
  33504. "wrfactortypename": {
  33505. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33506. "type": "string"
  33507. },
  33508. "wrstandardcode": {
  33509. "description": "现货商品代码",
  33510. "type": "string"
  33511. },
  33512. "wrstandardid": {
  33513. "description": "现货商品ID",
  33514. "type": "integer"
  33515. },
  33516. "wrstandardname": {
  33517. "description": "商品名称",
  33518. "type": "string"
  33519. },
  33520. "wrtradeorderid": {
  33521. "description": "关联委托单ID",
  33522. "type": "string"
  33523. },
  33524. "wrtypename": {
  33525. "description": "商品",
  33526. "type": "string"
  33527. }
  33528. }
  33529. },
  33530. "models.Warehouseinfo": {
  33531. "type": "object",
  33532. "required": [
  33533. "autoid",
  33534. "warehousecode"
  33535. ],
  33536. "properties": {
  33537. "address": {
  33538. "description": "详细地址",
  33539. "type": "string"
  33540. },
  33541. "areauserid": {
  33542. "description": "所属机构",
  33543. "type": "integer"
  33544. },
  33545. "autoid": {
  33546. "description": "自增ID",
  33547. "type": "integer"
  33548. },
  33549. "cityid": {
  33550. "description": "市",
  33551. "type": "integer"
  33552. },
  33553. "contactname": {
  33554. "description": "联系人",
  33555. "type": "string"
  33556. },
  33557. "contactnum": {
  33558. "description": "联系电话",
  33559. "type": "string"
  33560. },
  33561. "countryid": {
  33562. "description": "国家",
  33563. "type": "integer"
  33564. },
  33565. "createtime": {
  33566. "description": "创建时间",
  33567. "type": "string"
  33568. },
  33569. "districtid": {
  33570. "description": "区",
  33571. "type": "integer"
  33572. },
  33573. "hasvideo": {
  33574. "description": "是否有视频 - 0:无 1:有",
  33575. "type": "integer"
  33576. },
  33577. "provinceid": {
  33578. "description": "省",
  33579. "type": "integer"
  33580. },
  33581. "remark": {
  33582. "description": "审核备注",
  33583. "type": "string"
  33584. },
  33585. "videourl": {
  33586. "description": "视频地址",
  33587. "type": "string"
  33588. },
  33589. "warehousecode": {
  33590. "description": "仓库代码",
  33591. "type": "string"
  33592. },
  33593. "warehousename": {
  33594. "description": "仓库名称",
  33595. "type": "string"
  33596. },
  33597. "warehousestatus": {
  33598. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  33599. "type": "integer"
  33600. },
  33601. "warehousetype": {
  33602. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  33603. "type": "integer"
  33604. }
  33605. }
  33606. },
  33607. "models.WrAverageTradePrice": {
  33608. "type": "object",
  33609. "properties": {
  33610. "averageprice": {
  33611. "description": "成交均价",
  33612. "type": "number"
  33613. },
  33614. "tradedate": {
  33615. "description": "交易日yyyymm",
  33616. "type": "string"
  33617. }
  33618. }
  33619. },
  33620. "models.WrBsGoodsInfo": {
  33621. "type": "object",
  33622. "properties": {
  33623. "buyorsell": {
  33624. "description": "买卖方向 0-买 1-卖",
  33625. "type": "integer"
  33626. },
  33627. "goodsid": {
  33628. "description": "交易合约ID",
  33629. "type": "integer"
  33630. },
  33631. "lstitem": {
  33632. "description": "商品信息项",
  33633. "type": "array",
  33634. "items": {
  33635. "$ref": "#/definitions/models.WrTypeItem"
  33636. }
  33637. },
  33638. "lststep": {
  33639. "description": "履约规则",
  33640. "type": "array",
  33641. "items": {
  33642. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  33643. }
  33644. }
  33645. }
  33646. },
  33647. "models.WrBuybackDetail": {
  33648. "type": "object",
  33649. "properties": {
  33650. "buybackamount": {
  33651. "description": "回购金额",
  33652. "type": "number"
  33653. },
  33654. "buybackqty": {
  33655. "description": "回购数量",
  33656. "type": "number"
  33657. },
  33658. "buybackreleasemargin": {
  33659. "description": "回购释放保证金",
  33660. "type": "number"
  33661. },
  33662. "buybacktime": {
  33663. "description": "回购时间",
  33664. "type": "string"
  33665. },
  33666. "errordesc": {
  33667. "description": "错误描述",
  33668. "type": "string"
  33669. },
  33670. "handlestatus": {
  33671. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  33672. "type": "integer"
  33673. },
  33674. "relatedwrid": {
  33675. "description": "关联仓单ID",
  33676. "type": "integer"
  33677. },
  33678. "scfcontractid": {
  33679. "description": "SCF合同ID",
  33680. "type": "string"
  33681. },
  33682. "scfwrbuybackid": {
  33683. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  33684. "type": "integer"
  33685. },
  33686. "tradedate": {
  33687. "description": "交易日(yyyyMMdd)",
  33688. "type": "string"
  33689. }
  33690. }
  33691. },
  33692. "models.WrDeliveryAvalidHoldLB": {
  33693. "type": "object",
  33694. "properties": {
  33695. "accountid": {
  33696. "description": "资金账号",
  33697. "type": "integer"
  33698. },
  33699. "avalidqty": {
  33700. "description": "数量(可点选数量)",
  33701. "type": "number"
  33702. },
  33703. "deliverygoodsid": {
  33704. "description": "品种id",
  33705. "type": "integer"
  33706. },
  33707. "enumdicname": {
  33708. "description": "单位名称",
  33709. "type": "string"
  33710. },
  33711. "goodsid": {
  33712. "description": "x合约商品id",
  33713. "type": "integer"
  33714. },
  33715. "ladingbillid": {
  33716. "description": "提单id",
  33717. "type": "string"
  33718. },
  33719. "pgoodscode": {
  33720. "description": "p商品代码(点价合约)",
  33721. "type": "string"
  33722. },
  33723. "pgoodsid": {
  33724. "description": "p商品id(点价合约)",
  33725. "type": "integer"
  33726. },
  33727. "pgoodsname": {
  33728. "description": "p商品名称(点价合约)",
  33729. "type": "string"
  33730. },
  33731. "pricemove": {
  33732. "description": "升贴水",
  33733. "type": "number"
  33734. },
  33735. "subnum": {
  33736. "description": "提单子id",
  33737. "type": "integer"
  33738. },
  33739. "userid": {
  33740. "description": "用户id",
  33741. "type": "integer"
  33742. },
  33743. "username": {
  33744. "description": "仓单持有人",
  33745. "type": "string"
  33746. },
  33747. "warehousecode": {
  33748. "description": "仓库代码",
  33749. "type": "string"
  33750. },
  33751. "warehouseid": {
  33752. "description": "仓库id",
  33753. "type": "integer"
  33754. },
  33755. "warehousename": {
  33756. "description": "仓库名称",
  33757. "type": "string"
  33758. },
  33759. "wrfactortypeid": {
  33760. "description": "仓单要素id",
  33761. "type": "string"
  33762. },
  33763. "wrstandardcode": {
  33764. "description": "品代码",
  33765. "type": "string"
  33766. },
  33767. "wrstandardid": {
  33768. "description": "品类d",
  33769. "type": "integer"
  33770. },
  33771. "wrstandardname": {
  33772. "description": "品类名称",
  33773. "type": "string"
  33774. },
  33775. "wrtypename": {
  33776. "description": "商品",
  33777. "type": "string"
  33778. },
  33779. "xgoodscode": {
  33780. "description": "x合约代码",
  33781. "type": "string"
  33782. },
  33783. "xgoodsname": {
  33784. "description": "x合约名称",
  33785. "type": "string"
  33786. }
  33787. }
  33788. },
  33789. "models.WrDeliveryDetail": {
  33790. "type": "object",
  33791. "properties": {
  33792. "accountid": {
  33793. "description": "账号ID",
  33794. "type": "integer"
  33795. },
  33796. "averageprice": {
  33797. "description": "交割均价 = 交割金额 / 交割数量",
  33798. "type": "number"
  33799. },
  33800. "buyorsell": {
  33801. "description": "方向 - 0:买 1:卖",
  33802. "type": "integer"
  33803. },
  33804. "deliveryamount": {
  33805. "description": "货款金额(X总货款+P总货款)",
  33806. "type": "number"
  33807. },
  33808. "deliveryid": {
  33809. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  33810. "type": "string"
  33811. },
  33812. "deliveryorderid": {
  33813. "description": "申报单号",
  33814. "type": "string"
  33815. },
  33816. "deliverypricemove": {
  33817. "description": "升贴水(升贴水总额)",
  33818. "type": "number"
  33819. },
  33820. "deliveryqty": {
  33821. "description": "交收数量(点选数量)",
  33822. "type": "number"
  33823. },
  33824. "deliverystatus": {
  33825. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  33826. "type": "integer"
  33827. },
  33828. "deliverytime": {
  33829. "description": "交割时间",
  33830. "type": "string"
  33831. },
  33832. "deliverytotalamount": {
  33833. "description": "交收金额",
  33834. "type": "number"
  33835. },
  33836. "enumdicname": {
  33837. "description": "单位名称",
  33838. "type": "string"
  33839. },
  33840. "matchaccountid": {
  33841. "description": "对手账号ID",
  33842. "type": "integer"
  33843. },
  33844. "matchusername": {
  33845. "description": "对手方名称(仓单持有人)",
  33846. "type": "string"
  33847. },
  33848. "p1goodsremainamount": {
  33849. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  33850. "type": "number"
  33851. },
  33852. "pdeliverycloseqty": {
  33853. "description": "p合约平仓数量",
  33854. "type": "number"
  33855. },
  33856. "pdeliveryprice": {
  33857. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  33858. "type": "number"
  33859. },
  33860. "pgoodscode": {
  33861. "description": "商品代码",
  33862. "type": "string"
  33863. },
  33864. "pgoodsid": {
  33865. "description": "p点选合约id",
  33866. "type": "integer"
  33867. },
  33868. "pgoodsname": {
  33869. "description": "商品名称",
  33870. "type": "string"
  33871. },
  33872. "ppricemode": {
  33873. "description": "点价价格方式 - 1:商品价 2:固定值",
  33874. "type": "integer"
  33875. },
  33876. "tradedate": {
  33877. "description": "交易日(yyyymmdd)",
  33878. "type": "string"
  33879. },
  33880. "userid": {
  33881. "description": "用户id",
  33882. "type": "integer"
  33883. },
  33884. "username": {
  33885. "description": "用户名称",
  33886. "type": "string"
  33887. },
  33888. "warehousename": {
  33889. "description": "仓库名称",
  33890. "type": "string"
  33891. },
  33892. "wrfactortypeid": {
  33893. "description": "仓单要素类型ID",
  33894. "type": "string"
  33895. },
  33896. "wrtypename": {
  33897. "description": "商品",
  33898. "type": "string"
  33899. },
  33900. "xdeliverycloseqty": {
  33901. "description": "合约数量",
  33902. "type": "number"
  33903. },
  33904. "xgoodsamount": {
  33905. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  33906. "type": "number"
  33907. },
  33908. "xgoodscode": {
  33909. "description": "商品代码",
  33910. "type": "string"
  33911. },
  33912. "xgoodsid": {
  33913. "description": "x交易合约ID",
  33914. "type": "integer"
  33915. },
  33916. "xgoodsname": {
  33917. "description": "商品名称",
  33918. "type": "string"
  33919. }
  33920. }
  33921. },
  33922. "models.WrDeliveryGoodsSection": {
  33923. "type": "object",
  33924. "properties": {
  33925. "dglst": {
  33926. "description": "板块商品列表",
  33927. "type": "array",
  33928. "items": {
  33929. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  33930. }
  33931. },
  33932. "imagepath": {
  33933. "description": "图片地址",
  33934. "type": "string"
  33935. },
  33936. "orderindex": {
  33937. "description": "排序",
  33938. "type": "integer"
  33939. },
  33940. "sectionid": {
  33941. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  33942. "type": "integer"
  33943. },
  33944. "sectionname": {
  33945. "description": "版块名称",
  33946. "type": "string"
  33947. },
  33948. "sectiontype": {
  33949. "description": "版块类型 - 1:指数版块 2:普通版块",
  33950. "type": "integer"
  33951. }
  33952. }
  33953. },
  33954. "models.WrDeliveryGoodsSectionConfig": {
  33955. "type": "object",
  33956. "properties": {
  33957. "deliverygoodscode": {
  33958. "description": "现货商品代码",
  33959. "type": "string"
  33960. },
  33961. "deliverygoodsid": {
  33962. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  33963. "type": "integer"
  33964. },
  33965. "deliverygoodsname": {
  33966. "description": "现货商品名称",
  33967. "type": "string"
  33968. },
  33969. "orderindex": {
  33970. "description": "排序",
  33971. "type": "integer"
  33972. }
  33973. }
  33974. },
  33975. "models.WrFAProductDetail": {
  33976. "type": "object",
  33977. "properties": {
  33978. "accountid": {
  33979. "description": "资金账号",
  33980. "type": "integer"
  33981. },
  33982. "areauserid": {
  33983. "description": "金融机构ID",
  33984. "type": "integer"
  33985. },
  33986. "financingdays": {
  33987. "description": "天数(天)",
  33988. "type": "integer"
  33989. },
  33990. "interestminlen": {
  33991. "description": "最小起息天数",
  33992. "type": "integer"
  33993. },
  33994. "interestrate": {
  33995. "description": "利率",
  33996. "type": "number"
  33997. },
  33998. "interestratemode": {
  33999. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34000. "type": "integer"
  34001. },
  34002. "interestsettlemode": {
  34003. "description": "结息方式 - 1:按日结息 3:按月结息",
  34004. "type": "integer"
  34005. },
  34006. "interestsettlevalue": {
  34007. "description": "结息方式值",
  34008. "type": "integer"
  34009. },
  34010. "isautoloan": {
  34011. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  34012. "type": "integer"
  34013. },
  34014. "loantag": {
  34015. "description": "放款标识: \"放款快\" 或者为空",
  34016. "type": "string"
  34017. },
  34018. "marginratio": {
  34019. "description": "保证金比率质押率 - [仓单质押]",
  34020. "type": "number"
  34021. },
  34022. "productdetailid": {
  34023. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  34024. "type": "integer"
  34025. },
  34026. "productid": {
  34027. "description": "金融产品ID",
  34028. "type": "integer"
  34029. },
  34030. "productname": {
  34031. "description": "产品名称",
  34032. "type": "string"
  34033. },
  34034. "updatetime": {
  34035. "description": "更新时间",
  34036. "type": "string"
  34037. },
  34038. "username": {
  34039. "description": "融出方",
  34040. "type": "string"
  34041. }
  34042. }
  34043. },
  34044. "models.WrFactorTypeInfo": {
  34045. "type": "object",
  34046. "properties": {
  34047. "deliverygoodscode": {
  34048. "description": "品种代码",
  34049. "type": "string"
  34050. },
  34051. "deliverygoodsname": {
  34052. "description": "品种名称",
  34053. "type": "string"
  34054. },
  34055. "dgfactoryitemid": {
  34056. "description": "选择项id",
  34057. "type": "integer"
  34058. },
  34059. "dgfactoryitemtypeid": {
  34060. "description": "要素选择项ID (1-仓库 2-品牌)",
  34061. "type": "integer"
  34062. },
  34063. "dgfactoryitemvalue": {
  34064. "description": "要素项值",
  34065. "type": "string"
  34066. },
  34067. "itemtypename": {
  34068. "description": "要素项名称",
  34069. "type": "string"
  34070. },
  34071. "optioncompare": {
  34072. "description": "选择比较串",
  34073. "type": "string"
  34074. },
  34075. "warehouseid": {
  34076. "description": "仓库id",
  34077. "type": "integer"
  34078. },
  34079. "wrfactortypeid": {
  34080. "description": "仓单要素ID",
  34081. "type": "string"
  34082. },
  34083. "wrfactortypename": {
  34084. "description": "要素名称",
  34085. "type": "string"
  34086. },
  34087. "wrfactortypename2": {
  34088. "description": "要素名称(不含仓库)",
  34089. "type": "string"
  34090. },
  34091. "wrstandardcode": {
  34092. "description": "品类代码",
  34093. "type": "string"
  34094. },
  34095. "wrstandardid": {
  34096. "description": "品类id",
  34097. "type": "integer"
  34098. },
  34099. "wrstandardname": {
  34100. "description": "品类名称",
  34101. "type": "string"
  34102. }
  34103. }
  34104. },
  34105. "models.WrFilterItem": {
  34106. "type": "object",
  34107. "properties": {
  34108. "itemcode": {
  34109. "description": "代码",
  34110. "type": "string"
  34111. },
  34112. "itemid": {
  34113. "description": "项id",
  34114. "type": "integer"
  34115. },
  34116. "itemname": {
  34117. "description": "名称",
  34118. "type": "string"
  34119. },
  34120. "itemtype": {
  34121. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  34122. "type": "integer"
  34123. }
  34124. }
  34125. },
  34126. "models.WrFinanceBuyApply": {
  34127. "type": "object",
  34128. "properties": {
  34129. "applydate": {
  34130. "description": "申请时间",
  34131. "type": "string"
  34132. },
  34133. "applystatus": {
  34134. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  34135. "type": "integer"
  34136. },
  34137. "applyuserid": {
  34138. "description": "申请人",
  34139. "type": "integer"
  34140. },
  34141. "auditdate": {
  34142. "description": "审核时间",
  34143. "type": "string"
  34144. },
  34145. "auditremark": {
  34146. "description": "审核备注",
  34147. "type": "string"
  34148. },
  34149. "audituserid": {
  34150. "description": "审核人",
  34151. "type": "integer"
  34152. },
  34153. "buyaccountid": {
  34154. "description": "买方资金账号",
  34155. "type": "integer"
  34156. },
  34157. "buyorsell": {
  34158. "description": "买卖 - 0:买 1:卖",
  34159. "type": "integer"
  34160. },
  34161. "buyuserid": {
  34162. "description": "买方用户ID",
  34163. "type": "integer"
  34164. },
  34165. "buyusername": {
  34166. "description": "买方名称",
  34167. "type": "string"
  34168. },
  34169. "buywrtradeorderid": {
  34170. "description": "融资方买委托单ID",
  34171. "type": "string"
  34172. },
  34173. "deliverygoodscode": {
  34174. "description": "品种代码",
  34175. "type": "string"
  34176. },
  34177. "deliverygoodsid": {
  34178. "description": "品种ID",
  34179. "type": "integer"
  34180. },
  34181. "deliverygoodsname": {
  34182. "description": "品种名称",
  34183. "type": "string"
  34184. },
  34185. "deliverymonth": {
  34186. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  34187. "type": "string"
  34188. },
  34189. "enumdicname": {
  34190. "description": "单位名称",
  34191. "type": "string"
  34192. },
  34193. "financeaccountid": {
  34194. "description": "融资方资金帐户ID",
  34195. "type": "integer"
  34196. },
  34197. "financeapplyid": {
  34198. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34199. "type": "string"
  34200. },
  34201. "financeareauserid": {
  34202. "description": "融资方用户ID",
  34203. "type": "string"
  34204. },
  34205. "financename": {
  34206. "description": "融出方名称",
  34207. "type": "string"
  34208. },
  34209. "financetype": {
  34210. "description": "融资类型 1-融资回购",
  34211. "type": "integer"
  34212. },
  34213. "financingdays": {
  34214. "description": "天数(天)",
  34215. "type": "integer"
  34216. },
  34217. "freezebuymargin": {
  34218. "description": "冻结融资保证金(买方)",
  34219. "type": "number"
  34220. },
  34221. "handleremark": {
  34222. "description": "处理备注",
  34223. "type": "string"
  34224. },
  34225. "handlestatus": {
  34226. "description": "处理状态",
  34227. "type": "integer"
  34228. },
  34229. "interestminlen": {
  34230. "description": "最小起息天数",
  34231. "type": "integer"
  34232. },
  34233. "interestrate": {
  34234. "description": "利率",
  34235. "type": "number"
  34236. },
  34237. "interestratemode": {
  34238. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34239. "type": "integer"
  34240. },
  34241. "interestsettlemode": {
  34242. "description": "结息方式 - 1:按日结息 3:按月结息",
  34243. "type": "integer"
  34244. },
  34245. "interestsettlevalue": {
  34246. "description": "结息方式值",
  34247. "type": "integer"
  34248. },
  34249. "isautoloan": {
  34250. "description": "是否自动放款 - 0:手动 1:自动",
  34251. "type": "integer"
  34252. },
  34253. "marginratio": {
  34254. "description": "保证金比率质押率 - [仓单质押]",
  34255. "type": "number"
  34256. },
  34257. "marketid": {
  34258. "description": "市场ID",
  34259. "type": "integer"
  34260. },
  34261. "minivalue": {
  34262. "description": "现货商品最小变动值",
  34263. "type": "integer"
  34264. },
  34265. "optioncompare": {
  34266. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34267. "type": "string"
  34268. },
  34269. "orderqty": {
  34270. "description": "委托数量(商品数量)",
  34271. "type": "number"
  34272. },
  34273. "productdetailid": {
  34274. "description": "产品组合ID",
  34275. "type": "integer"
  34276. },
  34277. "productid": {
  34278. "description": "金融产品ID",
  34279. "type": "integer"
  34280. },
  34281. "productname": {
  34282. "description": "产品名称",
  34283. "type": "string"
  34284. },
  34285. "remark": {
  34286. "description": "备注",
  34287. "type": "string"
  34288. },
  34289. "scfcontractid": {
  34290. "description": "仓单回购合同ID",
  34291. "type": "string"
  34292. },
  34293. "sellaccountid": {
  34294. "description": "卖方资金账号",
  34295. "type": "integer"
  34296. },
  34297. "selluserid": {
  34298. "description": "卖方用户ID",
  34299. "type": "integer"
  34300. },
  34301. "sellwrtradeorderid": {
  34302. "description": "卖方委托单ID",
  34303. "type": "string"
  34304. },
  34305. "tradeamount": {
  34306. "description": "成交金额(借款金额)",
  34307. "type": "number"
  34308. },
  34309. "tradedate": {
  34310. "description": "交易日(yyyyMMdd)",
  34311. "type": "string"
  34312. },
  34313. "tradeprice": {
  34314. "description": "成交价格",
  34315. "type": "number"
  34316. },
  34317. "warehouseid": {
  34318. "description": "仓库ID",
  34319. "type": "integer"
  34320. },
  34321. "warehousename": {
  34322. "description": "仓库名称",
  34323. "type": "string"
  34324. },
  34325. "wrfactortypeid": {
  34326. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34327. "type": "string"
  34328. },
  34329. "wrfactortypename": {
  34330. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34331. "type": "string"
  34332. },
  34333. "wrpricetype": {
  34334. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  34335. "type": "integer"
  34336. },
  34337. "wrstandardcode": {
  34338. "description": "现货商品代码",
  34339. "type": "string"
  34340. },
  34341. "wrstandardid": {
  34342. "description": "现货商品ID",
  34343. "type": "integer"
  34344. },
  34345. "wrstandardname": {
  34346. "description": "商品名称",
  34347. "type": "string"
  34348. },
  34349. "wrtypename": {
  34350. "description": "商品",
  34351. "type": "string"
  34352. }
  34353. }
  34354. },
  34355. "models.WrFriendApply": {
  34356. "type": "object",
  34357. "properties": {
  34358. "applicantid": {
  34359. "description": "申请人",
  34360. "type": "integer"
  34361. },
  34362. "applyname": {
  34363. "description": "申请人名称",
  34364. "type": "string"
  34365. },
  34366. "applysrc": {
  34367. "description": "申请来源 - 1:管理端 2:终端",
  34368. "type": "integer"
  34369. },
  34370. "applystatus": {
  34371. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  34372. "type": "integer"
  34373. },
  34374. "applytime": {
  34375. "description": "申请时间",
  34376. "type": "string"
  34377. },
  34378. "auditname": {
  34379. "description": "审核人名称",
  34380. "type": "string"
  34381. },
  34382. "auditorid": {
  34383. "description": "审核人",
  34384. "type": "integer"
  34385. },
  34386. "auditremark": {
  34387. "description": "审核备注",
  34388. "type": "string"
  34389. },
  34390. "auditsrc": {
  34391. "description": "审核来源 - 1:管理端 2:终端",
  34392. "type": "integer"
  34393. },
  34394. "audittime": {
  34395. "description": "审核时间",
  34396. "type": "string"
  34397. },
  34398. "friendapplyid": {
  34399. "description": "申请ID(SEQ_FRIENDAPPLY)",
  34400. "type": "string"
  34401. },
  34402. "friendname": {
  34403. "description": "好友名字(已脱敏)",
  34404. "type": "string"
  34405. },
  34406. "frienduserid": {
  34407. "description": "好友用户ID",
  34408. "type": "string"
  34409. },
  34410. "remark": {
  34411. "description": "备注",
  34412. "type": "string"
  34413. },
  34414. "userid": {
  34415. "description": "申请人用户ID",
  34416. "type": "integer"
  34417. }
  34418. }
  34419. },
  34420. "models.WrFtDeliveryGoods": {
  34421. "type": "object",
  34422. "properties": {
  34423. "deliverygoodscode": {
  34424. "description": "品种代码",
  34425. "type": "string"
  34426. },
  34427. "deliverygoodsid": {
  34428. "description": "品种ID",
  34429. "type": "integer"
  34430. },
  34431. "deliverygoodsname": {
  34432. "description": "品种名称",
  34433. "type": "string"
  34434. },
  34435. "wdlst": {
  34436. "description": "商品列表",
  34437. "type": "array",
  34438. "items": {
  34439. "$ref": "#/definitions/models.WrFtWrstandard"
  34440. }
  34441. }
  34442. }
  34443. },
  34444. "models.WrFtWrstandard": {
  34445. "type": "object",
  34446. "properties": {
  34447. "enumdicname": {
  34448. "description": "单位名称",
  34449. "type": "string"
  34450. },
  34451. "minivalue": {
  34452. "description": "最小变动值",
  34453. "type": "integer"
  34454. },
  34455. "wrstandardcode": {
  34456. "description": "现货商品代码",
  34457. "type": "string"
  34458. },
  34459. "wrstandardid": {
  34460. "description": "现货商品ID",
  34461. "type": "integer"
  34462. },
  34463. "wrstandardname": {
  34464. "description": "商品名称",
  34465. "type": "string"
  34466. }
  34467. }
  34468. },
  34469. "models.WrGoodsInfo": {
  34470. "type": "object",
  34471. "properties": {
  34472. "haswr": {
  34473. "description": "0:仓单预售 1:仓单贸易",
  34474. "type": "integer"
  34475. },
  34476. "lstitem": {
  34477. "description": "商品信息项",
  34478. "type": "array",
  34479. "items": {
  34480. "$ref": "#/definitions/models.WrTypeItem"
  34481. }
  34482. },
  34483. "lststep": {
  34484. "description": "履约规则",
  34485. "type": "array",
  34486. "items": {
  34487. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34488. }
  34489. },
  34490. "marketid": {
  34491. "description": "市场id",
  34492. "type": "integer"
  34493. }
  34494. }
  34495. },
  34496. "models.WrGoodsPerformanceStep": {
  34497. "type": "object",
  34498. "properties": {
  34499. "autoid": {
  34500. "description": "AutoID",
  34501. "type": "integer"
  34502. },
  34503. "isauto": {
  34504. "description": "是否自动 - 0:不自动 1:自动",
  34505. "type": "integer"
  34506. },
  34507. "remark": {
  34508. "description": "备注",
  34509. "type": "string"
  34510. },
  34511. "stepdate": {
  34512. "description": "天数信息(T+N)",
  34513. "type": "string"
  34514. },
  34515. "stepdays": {
  34516. "description": "距离上一步天数",
  34517. "type": "integer"
  34518. },
  34519. "stepindex": {
  34520. "description": "步骤序号",
  34521. "type": "integer"
  34522. },
  34523. "stepinfo": {
  34524. "description": "步骤信息(步骤名称+步骤值)",
  34525. "type": "string"
  34526. },
  34527. "steptypeid": {
  34528. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  34529. "type": "integer"
  34530. },
  34531. "steptypename": {
  34532. "description": "步骤名称",
  34533. "type": "string"
  34534. },
  34535. "stepvalue": {
  34536. "description": "步骤值",
  34537. "type": "number"
  34538. },
  34539. "templateid": {
  34540. "description": "履约计划模板ID",
  34541. "type": "integer"
  34542. }
  34543. }
  34544. },
  34545. "models.WrHoldLB": {
  34546. "type": "object",
  34547. "properties": {
  34548. "accountid": {
  34549. "description": "持有人帐户ID",
  34550. "type": "integer"
  34551. },
  34552. "createtime": {
  34553. "description": "创建时间(过户时间)",
  34554. "type": "string"
  34555. },
  34556. "deliverygoodscode": {
  34557. "description": "品种代码",
  34558. "type": "string"
  34559. },
  34560. "deliverygoodsid": {
  34561. "description": "品种ID",
  34562. "type": "integer"
  34563. },
  34564. "deliverygoodsname": {
  34565. "description": "品种名称",
  34566. "type": "string"
  34567. },
  34568. "enableqty": {
  34569. "description": "可用数量",
  34570. "type": "number"
  34571. },
  34572. "enumdicname": {
  34573. "description": "单位名称",
  34574. "type": "string"
  34575. },
  34576. "freezerqty": {
  34577. "description": "冻结数量",
  34578. "type": "number"
  34579. },
  34580. "ladingbillid": {
  34581. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  34582. "type": "string"
  34583. },
  34584. "minivalue": {
  34585. "description": "现货商品最小变动值",
  34586. "type": "integer"
  34587. },
  34588. "optioncompare": {
  34589. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34590. "type": "string"
  34591. },
  34592. "parentsubnum": {
  34593. "description": "拆分父子单号",
  34594. "type": "integer"
  34595. },
  34596. "pledgeqty": {
  34597. "description": "质押数量",
  34598. "type": "number"
  34599. },
  34600. "qty": {
  34601. "description": "数量",
  34602. "type": "number"
  34603. },
  34604. "subnum": {
  34605. "description": "提单子单号",
  34606. "type": "integer"
  34607. },
  34608. "tradedate": {
  34609. "description": "交易日(yyyyMMdd)",
  34610. "type": "string"
  34611. },
  34612. "userid": {
  34613. "description": "持有人ID",
  34614. "type": "integer"
  34615. },
  34616. "warehouseid": {
  34617. "description": "仓库ID",
  34618. "type": "integer"
  34619. },
  34620. "warehousename": {
  34621. "description": "仓库名称",
  34622. "type": "string"
  34623. },
  34624. "wrfactortypeid": {
  34625. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34626. "type": "string"
  34627. },
  34628. "wrfactortypename": {
  34629. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34630. "type": "string"
  34631. },
  34632. "wrholdeno": {
  34633. "description": "仓单编号",
  34634. "type": "string"
  34635. },
  34636. "wrid": {
  34637. "description": "仓单变更ID",
  34638. "type": "string"
  34639. },
  34640. "wrstandardcode": {
  34641. "description": "现货商品代码",
  34642. "type": "string"
  34643. },
  34644. "wrstandardid": {
  34645. "description": "现货商品ID",
  34646. "type": "integer"
  34647. },
  34648. "wrstandardname": {
  34649. "description": "商品名称",
  34650. "type": "string"
  34651. },
  34652. "wrtypename": {
  34653. "description": "商品",
  34654. "type": "string"
  34655. }
  34656. }
  34657. },
  34658. "models.WrMarketTradeConfig": {
  34659. "type": "object",
  34660. "properties": {
  34661. "basisdownratio": {
  34662. "description": "浮动价基差下限比例(仓单贸易)",
  34663. "type": "number"
  34664. },
  34665. "basisupratio": {
  34666. "description": "浮动价基差上限比例(仓单贸易)",
  34667. "type": "number"
  34668. },
  34669. "buychargealgorithm": {
  34670. "description": "买方手续费收取方式 1:比率 2:固定",
  34671. "type": "integer"
  34672. },
  34673. "buychargealgorithm2": {
  34674. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  34675. "type": "integer"
  34676. },
  34677. "buychargealgorithmvalue": {
  34678. "description": "买方手续费设置值(交易所部分)",
  34679. "type": "number"
  34680. },
  34681. "buychargealgorithmvalue2": {
  34682. "description": "买方手续费设置值(会员部分)",
  34683. "type": "number"
  34684. },
  34685. "buychargealgorithmvalue3": {
  34686. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  34687. "type": "number"
  34688. },
  34689. "buychargealgorithmvalue4": {
  34690. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  34691. "type": "number"
  34692. },
  34693. "buyfirstmarginalgorithm": {
  34694. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  34695. "type": "integer"
  34696. },
  34697. "buyfirstmarginvalue": {
  34698. "description": "买方出价保证金设置值 - [竞拍]",
  34699. "type": "number"
  34700. },
  34701. "buymarginalgorithm": {
  34702. "description": "买方保证金方式 - 1:比率 2:固定",
  34703. "type": "integer"
  34704. },
  34705. "buymarginvalue": {
  34706. "description": "买方保证金设置值",
  34707. "type": "number"
  34708. },
  34709. "buyreleaseratio": {
  34710. "description": "买方释放比率[2:分步履约]",
  34711. "type": "number"
  34712. },
  34713. "executemode": {
  34714. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  34715. "type": "integer"
  34716. },
  34717. "executeside": {
  34718. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  34719. "type": "integer"
  34720. },
  34721. "failedchargealgorithm": {
  34722. "description": "流拍手续费收取方式 1:比率 2:固定",
  34723. "type": "integer"
  34724. },
  34725. "failedchargevalue": {
  34726. "description": "流拍手续费设置值",
  34727. "type": "number"
  34728. },
  34729. "failedchargevalue2": {
  34730. "description": "流拍卖方手续费设置值",
  34731. "type": "number"
  34732. },
  34733. "holddays": {
  34734. "description": "合同期限[2:分步履约]",
  34735. "type": "integer"
  34736. },
  34737. "marketid": {
  34738. "description": "市场ID-仓单贸易、竞拍、预售",
  34739. "type": "integer"
  34740. },
  34741. "minqty": {
  34742. "description": "最小执行量[2:分步履约]",
  34743. "type": "number"
  34744. },
  34745. "modifierid": {
  34746. "description": "修改人",
  34747. "type": "integer"
  34748. },
  34749. "performancetempid": {
  34750. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  34751. "type": "integer"
  34752. },
  34753. "performancetempid2": {
  34754. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  34755. "type": "integer"
  34756. },
  34757. "performanceway": {
  34758. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  34759. "type": "integer"
  34760. },
  34761. "sellchargealgorithm": {
  34762. "description": "卖方手续费收取方式 1:比率 2:固定",
  34763. "type": "integer"
  34764. },
  34765. "sellchargealgorithm2": {
  34766. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  34767. "type": "integer"
  34768. },
  34769. "sellchargealgorithmvalue": {
  34770. "description": "卖方手续费设置值(交易所部分)",
  34771. "type": "number"
  34772. },
  34773. "sellchargealgorithmvalue2": {
  34774. "description": "卖方手续费设置值(会员部分)",
  34775. "type": "number"
  34776. },
  34777. "sellchargealgorithmvalue3": {
  34778. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  34779. "type": "number"
  34780. },
  34781. "sellchargealgorithmvalue4": {
  34782. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  34783. "type": "number"
  34784. },
  34785. "sellmarginalgorithm": {
  34786. "description": "卖方保证金方式 - 1:比率 2:固定",
  34787. "type": "integer"
  34788. },
  34789. "sellmarginvalue": {
  34790. "description": "卖方保证金设置值",
  34791. "type": "number"
  34792. },
  34793. "sellmarginvalue2": {
  34794. "description": "卖方保证金设置值(无仓单)",
  34795. "type": "number"
  34796. },
  34797. "sellreleaseratio": {
  34798. "description": "卖方释放比率[2:分步履约]",
  34799. "type": "number"
  34800. },
  34801. "updatetime": {
  34802. "description": "更新时间",
  34803. "type": "string"
  34804. }
  34805. }
  34806. },
  34807. "models.WrOrderDetail": {
  34808. "type": "object",
  34809. "properties": {
  34810. "accountid": {
  34811. "description": "交易账号(资金账号)",
  34812. "type": "integer"
  34813. },
  34814. "allfriendsflag": {
  34815. "description": "是否全好友可见 - 0:否 1:是",
  34816. "type": "integer"
  34817. },
  34818. "amount": {
  34819. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  34820. "type": "number"
  34821. },
  34822. "buyorsell": {
  34823. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  34824. "type": "integer"
  34825. },
  34826. "canbargain": {
  34827. "description": "是否可议价 - 0:不可 1:可",
  34828. "type": "integer"
  34829. },
  34830. "cancelqty": {
  34831. "description": "撤销数量",
  34832. "type": "number"
  34833. },
  34834. "canpart": {
  34835. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  34836. "type": "integer"
  34837. },
  34838. "delistminqty": {
  34839. "description": "起摘数量",
  34840. "type": "integer"
  34841. },
  34842. "deliverygoodscode": {
  34843. "description": "品种代码",
  34844. "type": "string"
  34845. },
  34846. "deliverygoodsid": {
  34847. "description": "品种ID",
  34848. "type": "integer"
  34849. },
  34850. "deliverygoodsname": {
  34851. "description": "品种名称",
  34852. "type": "string"
  34853. },
  34854. "deliverymonth": {
  34855. "description": "交收月",
  34856. "type": "string"
  34857. },
  34858. "enumdicname": {
  34859. "description": "单位名称",
  34860. "type": "string"
  34861. },
  34862. "fixedprice": {
  34863. "description": "固定价格 - [挂牌]",
  34864. "type": "number"
  34865. },
  34866. "freezemargin": {
  34867. "description": "冻结保证金(保证金)",
  34868. "type": "number"
  34869. },
  34870. "futupricemove": {
  34871. "description": "期货升贴水",
  34872. "type": "number"
  34873. },
  34874. "futushow": {
  34875. "description": "期货合约/升贴水",
  34876. "type": "string"
  34877. },
  34878. "goodscode": {
  34879. "description": "期货合约",
  34880. "type": "string"
  34881. },
  34882. "goodsid": {
  34883. "description": "期货商品id",
  34884. "type": "integer"
  34885. },
  34886. "goodsname": {
  34887. "description": "商品名称",
  34888. "type": "string"
  34889. },
  34890. "haswr": {
  34891. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  34892. "type": "integer"
  34893. },
  34894. "isspecified": {
  34895. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  34896. "type": "integer"
  34897. },
  34898. "ladingbillid": {
  34899. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  34900. "type": "string"
  34901. },
  34902. "marginvalue": {
  34903. "description": "保证金设置值(履约保证金)",
  34904. "type": "number"
  34905. },
  34906. "marketid": {
  34907. "description": "市场ID",
  34908. "type": "integer"
  34909. },
  34910. "matchusername": {
  34911. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  34912. "type": "string"
  34913. },
  34914. "minivalue": {
  34915. "description": "现货商品最小变动值",
  34916. "type": "integer"
  34917. },
  34918. "optioncompare": {
  34919. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34920. "type": "string"
  34921. },
  34922. "orderqty": {
  34923. "description": "委托数量",
  34924. "type": "number"
  34925. },
  34926. "ordertime": {
  34927. "description": "委托时间(挂牌时间)",
  34928. "type": "string"
  34929. },
  34930. "performancetemplateid": {
  34931. "description": "履约模板id",
  34932. "type": "integer"
  34933. },
  34934. "pricemove": {
  34935. "description": "升贴水(浮动价时填写) - [挂牌]",
  34936. "type": "number"
  34937. },
  34938. "taname": {
  34939. "description": "交易用户名称(资金账号名称)",
  34940. "type": "string"
  34941. },
  34942. "tradedate": {
  34943. "description": "交易日(yyyyMMdd)",
  34944. "type": "string"
  34945. },
  34946. "tradeprice": {
  34947. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  34948. "type": "number"
  34949. },
  34950. "tradeqty": {
  34951. "description": "成交数量",
  34952. "type": "number"
  34953. },
  34954. "userid": {
  34955. "description": "用户ID",
  34956. "type": "integer"
  34957. },
  34958. "validtime": {
  34959. "description": "挂牌有效期",
  34960. "type": "string"
  34961. },
  34962. "warehouseid": {
  34963. "description": "仓库ID",
  34964. "type": "integer"
  34965. },
  34966. "warehousename": {
  34967. "description": "仓库名称",
  34968. "type": "string"
  34969. },
  34970. "wrfactortypeid": {
  34971. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34972. "type": "string"
  34973. },
  34974. "wrfactortypename": {
  34975. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34976. "type": "string"
  34977. },
  34978. "wrpricetype": {
  34979. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  34980. "type": "integer"
  34981. },
  34982. "wrstandardcode": {
  34983. "description": "现货商品代码",
  34984. "type": "string"
  34985. },
  34986. "wrstandardid": {
  34987. "description": "现货商品ID",
  34988. "type": "integer"
  34989. },
  34990. "wrstandardname": {
  34991. "description": "商品名称",
  34992. "type": "string"
  34993. },
  34994. "wrtradeorderid": {
  34995. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34996. "type": "string"
  34997. },
  34998. "wrtradeorderstatus": {
  34999. "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:撤单解冻贷款失败",
  35000. "type": "integer"
  35001. },
  35002. "wrtradetype": {
  35003. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  35004. "type": "integer"
  35005. },
  35006. "wrtypename": {
  35007. "description": "商品",
  35008. "type": "string"
  35009. }
  35010. }
  35011. },
  35012. "models.WrOrderQuote": {
  35013. "type": "object",
  35014. "properties": {
  35015. "buyprice": {
  35016. "description": "买价",
  35017. "type": "number"
  35018. },
  35019. "buypricemove": {
  35020. "description": "买升贴水(基差)",
  35021. "type": "number"
  35022. },
  35023. "buyqty": {
  35024. "description": "买量",
  35025. "type": "number"
  35026. },
  35027. "deliverygoodscode": {
  35028. "description": "品种代码",
  35029. "type": "string"
  35030. },
  35031. "deliverygoodsid": {
  35032. "description": "品种id",
  35033. "type": "integer"
  35034. },
  35035. "deliverygoodsname": {
  35036. "description": "品种名称",
  35037. "type": "string"
  35038. },
  35039. "deliverymonth": {
  35040. "description": "交收月",
  35041. "type": "string"
  35042. },
  35043. "enumdicname": {
  35044. "description": "单位名称",
  35045. "type": "string"
  35046. },
  35047. "goodscode": {
  35048. "description": "商品合约(浮动价列表才有)",
  35049. "type": "string"
  35050. },
  35051. "goodsid": {
  35052. "description": "商品id(浮动价列表才有)",
  35053. "type": "integer"
  35054. },
  35055. "minivalue": {
  35056. "description": "现货商品最小变动值",
  35057. "type": "integer"
  35058. },
  35059. "sellprice": {
  35060. "description": "卖价",
  35061. "type": "number"
  35062. },
  35063. "sellpricemove": {
  35064. "description": "卖升贴水(基差)",
  35065. "type": "number"
  35066. },
  35067. "sellqty": {
  35068. "description": "卖量",
  35069. "type": "number"
  35070. },
  35071. "warehousecode": {
  35072. "description": "仓库代码",
  35073. "type": "string"
  35074. },
  35075. "warehouseid": {
  35076. "description": "仓库id",
  35077. "type": "integer"
  35078. },
  35079. "warehousename": {
  35080. "description": "仓库名称",
  35081. "type": "string"
  35082. },
  35083. "wrfactortypeid": {
  35084. "description": "仓单要素id",
  35085. "type": "string"
  35086. },
  35087. "wrfactortypename": {
  35088. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35089. "type": "string"
  35090. },
  35091. "wrgoodsname": {
  35092. "description": "商品(商品名称+仓库要素名称 拼接)",
  35093. "type": "string"
  35094. },
  35095. "wrstandardcode": {
  35096. "description": "商品代码",
  35097. "type": "string"
  35098. },
  35099. "wrstandardid": {
  35100. "description": "商品id",
  35101. "type": "integer"
  35102. },
  35103. "wrstandardname": {
  35104. "description": "商品名称",
  35105. "type": "string"
  35106. }
  35107. }
  35108. },
  35109. "models.WrOrderQuoteDetail": {
  35110. "type": "object",
  35111. "properties": {
  35112. "buyorsell": {
  35113. "description": "买卖 - 0:买 1:卖",
  35114. "type": "integer"
  35115. },
  35116. "delistminqty": {
  35117. "description": "起摘数量",
  35118. "type": "number"
  35119. },
  35120. "deliverymonth": {
  35121. "description": "交收月",
  35122. "type": "string"
  35123. },
  35124. "enumdicname": {
  35125. "description": "单位名称",
  35126. "type": "string"
  35127. },
  35128. "fixedprice": {
  35129. "description": "买(卖)价",
  35130. "type": "number"
  35131. },
  35132. "minivalue": {
  35133. "description": "现货商品最小变动值",
  35134. "type": "integer"
  35135. },
  35136. "orderqty": {
  35137. "description": "买(卖)量(=委托量-成交量)",
  35138. "type": "number"
  35139. },
  35140. "ordertime": {
  35141. "description": "委托时间",
  35142. "type": "string"
  35143. },
  35144. "pricemove": {
  35145. "description": "买(卖)升贴水- 基差",
  35146. "type": "number"
  35147. },
  35148. "userid": {
  35149. "description": "购买方(销售方)用户ID",
  35150. "type": "integer"
  35151. },
  35152. "username": {
  35153. "description": "购买方(销售方)",
  35154. "type": "string"
  35155. },
  35156. "wrtradeorderid": {
  35157. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35158. "type": "string"
  35159. }
  35160. }
  35161. },
  35162. "models.WrOutInApply": {
  35163. "type": "object",
  35164. "properties": {
  35165. "applyid": {
  35166. "description": "申请单id",
  35167. "type": "string"
  35168. },
  35169. "applystatus": {
  35170. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  35171. "type": "integer"
  35172. },
  35173. "applytime": {
  35174. "description": "申请时间",
  35175. "type": "string"
  35176. },
  35177. "applytype": {
  35178. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  35179. "type": "integer"
  35180. },
  35181. "deliverygoodscode": {
  35182. "description": "品种代码",
  35183. "type": "string"
  35184. },
  35185. "deliverygoodsid": {
  35186. "description": "品种ID",
  35187. "type": "integer"
  35188. },
  35189. "deliverygoodsname": {
  35190. "description": "品种名称",
  35191. "type": "string"
  35192. },
  35193. "enumdicname": {
  35194. "description": "单位名称",
  35195. "type": "string"
  35196. },
  35197. "expresscompany": {
  35198. "description": "物流公司",
  35199. "type": "string"
  35200. },
  35201. "expressnum": {
  35202. "description": "物流单号",
  35203. "type": "string"
  35204. },
  35205. "minivalue": {
  35206. "description": "现货商品最小变动值",
  35207. "type": "integer"
  35208. },
  35209. "optioncompare": {
  35210. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35211. "type": "string"
  35212. },
  35213. "qty": {
  35214. "description": "数量",
  35215. "type": "integer"
  35216. },
  35217. "userid": {
  35218. "description": "用户id",
  35219. "type": "integer"
  35220. },
  35221. "warehouseid": {
  35222. "description": "仓库ID",
  35223. "type": "integer"
  35224. },
  35225. "warehousename": {
  35226. "description": "仓库名称",
  35227. "type": "string"
  35228. },
  35229. "wrfactortypeid": {
  35230. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35231. "type": "string"
  35232. },
  35233. "wrfactortypename": {
  35234. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35235. "type": "string"
  35236. },
  35237. "wrstandardcode": {
  35238. "description": "现货商品代码",
  35239. "type": "string"
  35240. },
  35241. "wrstandardid": {
  35242. "description": "现货商品ID",
  35243. "type": "integer"
  35244. },
  35245. "wrstandardname": {
  35246. "description": "商品名称",
  35247. "type": "string"
  35248. },
  35249. "wrtypename": {
  35250. "description": "商品",
  35251. "type": "string"
  35252. }
  35253. }
  35254. },
  35255. "models.WrPerformancePlan": {
  35256. "type": "object",
  35257. "required": [
  35258. "userid"
  35259. ],
  35260. "properties": {
  35261. "activatemonth": {
  35262. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  35263. "type": "string"
  35264. },
  35265. "amount": {
  35266. "description": "履约金额(总金额)",
  35267. "type": "number"
  35268. },
  35269. "buyaccountid": {
  35270. "description": "买方账号",
  35271. "type": "integer"
  35272. },
  35273. "buyerfreezeamount": {
  35274. "description": "履约冻结(买履约)",
  35275. "type": "number"
  35276. },
  35277. "buyerfreezeamountremain": {
  35278. "description": "履约冻结剩余(买履约)",
  35279. "type": "number"
  35280. },
  35281. "buyorsell": {
  35282. "description": "买卖方向 0-买 1-卖",
  35283. "type": "integer"
  35284. },
  35285. "buypaidamount": {
  35286. "description": "买方已冻/已扣金额 (已付金额)",
  35287. "type": "number"
  35288. },
  35289. "buyusername": {
  35290. "description": "买方名字",
  35291. "type": "string"
  35292. },
  35293. "contractid": {
  35294. "description": "合同ID",
  35295. "type": "integer"
  35296. },
  35297. "createtime": {
  35298. "description": "创建时间",
  35299. "type": "string"
  35300. },
  35301. "creatorid": {
  35302. "description": "创建人",
  35303. "type": "integer"
  35304. },
  35305. "curstepdeadline": {
  35306. "description": "当前步骤到期时间",
  35307. "type": "string"
  35308. },
  35309. "curstepid": {
  35310. "description": "当前步骤ID",
  35311. "type": "string"
  35312. },
  35313. "curstepname": {
  35314. "description": "当前步骤名称",
  35315. "type": "string"
  35316. },
  35317. "deliverygoodscode": {
  35318. "description": "品种代码",
  35319. "type": "string"
  35320. },
  35321. "deliverygoodsid": {
  35322. "description": "品种ID",
  35323. "type": "integer"
  35324. },
  35325. "deliverygoodsname": {
  35326. "description": "品种名称",
  35327. "type": "string"
  35328. },
  35329. "enumdicname": {
  35330. "description": "单位名称",
  35331. "type": "string"
  35332. },
  35333. "expressfee": {
  35334. "description": "运费",
  35335. "type": "number"
  35336. },
  35337. "expressfeeconfirmed": {
  35338. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  35339. "type": "integer"
  35340. },
  35341. "hasovershort": {
  35342. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  35343. "type": "integer"
  35344. },
  35345. "haswr": {
  35346. "description": "类型 0-仓单预售 1-仓单贸易",
  35347. "type": "integer"
  35348. },
  35349. "marketid": {
  35350. "description": "市场ID",
  35351. "type": "integer"
  35352. },
  35353. "middleaccountid": {
  35354. "description": "中间商资金账号ID",
  35355. "type": "integer"
  35356. },
  35357. "middleuserid": {
  35358. "description": "中间商用户ID",
  35359. "type": "integer"
  35360. },
  35361. "minivalue": {
  35362. "description": "现货商品最小变动值",
  35363. "type": "integer"
  35364. },
  35365. "optioncompare": {
  35366. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35367. "type": "string"
  35368. },
  35369. "overshortamount": {
  35370. "description": "溢短金额",
  35371. "type": "number"
  35372. },
  35373. "overshortqty": {
  35374. "description": "溢短数量",
  35375. "type": "number"
  35376. },
  35377. "paymenttype": {
  35378. "description": "付款方式 - 1:冻结 2:扣款",
  35379. "type": "integer"
  35380. },
  35381. "performanceplanid": {
  35382. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  35383. "type": "string"
  35384. },
  35385. "performancestatus": {
  35386. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  35387. "type": "integer"
  35388. },
  35389. "performancetype": {
  35390. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  35391. "type": "integer"
  35392. },
  35393. "qty": {
  35394. "description": "履约数量",
  35395. "type": "number"
  35396. },
  35397. "relatedorderid": {
  35398. "description": "关联单号(履约类型的关联单号)",
  35399. "type": "string"
  35400. },
  35401. "remark": {
  35402. "description": "备注",
  35403. "type": "string"
  35404. },
  35405. "sellaccountid": {
  35406. "description": "卖方账号",
  35407. "type": "integer"
  35408. },
  35409. "sellerfreezeamount": {
  35410. "description": "履约冻结(卖履约)",
  35411. "type": "number"
  35412. },
  35413. "sellerfreezeamountremain": {
  35414. "description": "履约冻结剩余(卖履约)",
  35415. "type": "number"
  35416. },
  35417. "sellreceivedamount": {
  35418. "description": "卖方已收金额",
  35419. "type": "number"
  35420. },
  35421. "sellusername": {
  35422. "description": "卖方名字",
  35423. "type": "string"
  35424. },
  35425. "shipremark": {
  35426. "description": "发货备注[物流单号]",
  35427. "type": "string"
  35428. },
  35429. "starttime": {
  35430. "description": "开始时间",
  35431. "type": "string"
  35432. },
  35433. "steptypeid": {
  35434. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35435. "type": "integer"
  35436. },
  35437. "typename": {
  35438. "description": "履约类型 名称",
  35439. "type": "string"
  35440. },
  35441. "unpaidamount": {
  35442. "description": "剩余款(待支付金额)",
  35443. "type": "number"
  35444. },
  35445. "userid": {
  35446. "description": "用户id",
  35447. "type": "integer"
  35448. },
  35449. "warehouseid": {
  35450. "description": "仓库ID",
  35451. "type": "integer"
  35452. },
  35453. "warehousename": {
  35454. "description": "仓库名称",
  35455. "type": "string"
  35456. },
  35457. "wrfactortypeid": {
  35458. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35459. "type": "string"
  35460. },
  35461. "wrfactortypename": {
  35462. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35463. "type": "string"
  35464. },
  35465. "wrstandardcode": {
  35466. "description": "现货商品代码",
  35467. "type": "string"
  35468. },
  35469. "wrstandardid": {
  35470. "description": "现货商品ID",
  35471. "type": "integer"
  35472. },
  35473. "wrstandardname": {
  35474. "description": "商品名称",
  35475. "type": "string"
  35476. },
  35477. "wrtransferuserid": {
  35478. "description": "仓单受让用户",
  35479. "type": "integer"
  35480. },
  35481. "wrtypename": {
  35482. "description": "商品",
  35483. "type": "string"
  35484. }
  35485. }
  35486. },
  35487. "models.WrPerformancePlanStep": {
  35488. "type": "object",
  35489. "properties": {
  35490. "delaydays": {
  35491. "description": "延期申请天数",
  35492. "type": "integer"
  35493. },
  35494. "deliverygoodscode": {
  35495. "description": "品种代码",
  35496. "type": "string"
  35497. },
  35498. "deliverygoodsid": {
  35499. "description": "品种ID",
  35500. "type": "integer"
  35501. },
  35502. "deliverygoodsname": {
  35503. "description": "品种名称",
  35504. "type": "string"
  35505. },
  35506. "endtime": {
  35507. "description": "结束日期",
  35508. "type": "string"
  35509. },
  35510. "enumdicname": {
  35511. "description": "单位名称",
  35512. "type": "string"
  35513. },
  35514. "executeside": {
  35515. "description": "步骤执行方 - 1:买方 2:卖方",
  35516. "type": "integer"
  35517. },
  35518. "handlestatus": {
  35519. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  35520. "type": "integer"
  35521. },
  35522. "isauto": {
  35523. "description": "是否自动 - 0:不自动 1:自动",
  35524. "type": "integer"
  35525. },
  35526. "islastreceivestep": {
  35527. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  35528. "type": "integer"
  35529. },
  35530. "minivalue": {
  35531. "description": "现货商品最小变动值",
  35532. "type": "integer"
  35533. },
  35534. "optioncompare": {
  35535. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35536. "type": "string"
  35537. },
  35538. "overdays": {
  35539. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  35540. "type": "integer"
  35541. },
  35542. "performancestepid": {
  35543. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  35544. "type": "string"
  35545. },
  35546. "planid": {
  35547. "description": "所属履约计划ID",
  35548. "type": "string"
  35549. },
  35550. "realamount": {
  35551. "description": "实际完成金额",
  35552. "type": "number"
  35553. },
  35554. "relatedorderid": {
  35555. "description": "关联单号",
  35556. "type": "string"
  35557. },
  35558. "remaindays": {
  35559. "description": "剩余天数",
  35560. "type": "integer"
  35561. },
  35562. "remark": {
  35563. "description": "错误备注",
  35564. "type": "string"
  35565. },
  35566. "starttime": {
  35567. "description": "开始日期",
  35568. "type": "string"
  35569. },
  35570. "stepamount": {
  35571. "description": "步骤金额",
  35572. "type": "number"
  35573. },
  35574. "stepdays": {
  35575. "description": "距离上一步天数(分钟)",
  35576. "type": "integer"
  35577. },
  35578. "stepindex": {
  35579. "description": "步骤序号",
  35580. "type": "integer"
  35581. },
  35582. "steplanchtype": {
  35583. "description": "步骤启动类型 - 1:系统自动 2:手动",
  35584. "type": "integer"
  35585. },
  35586. "stepremark": {
  35587. "description": "步骤备注",
  35588. "type": "string"
  35589. },
  35590. "stepstatus": {
  35591. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  35592. "type": "integer"
  35593. },
  35594. "steptypeid": {
  35595. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35596. "type": "integer"
  35597. },
  35598. "steptypename": {
  35599. "description": "步骤名称",
  35600. "type": "string"
  35601. },
  35602. "stepvalue": {
  35603. "description": "步骤值",
  35604. "type": "number"
  35605. },
  35606. "warehouseid": {
  35607. "description": "仓库ID",
  35608. "type": "integer"
  35609. },
  35610. "warehousename": {
  35611. "description": "仓库名称",
  35612. "type": "string"
  35613. },
  35614. "wrfactortypeid": {
  35615. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35616. "type": "string"
  35617. },
  35618. "wrfactortypename": {
  35619. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35620. "type": "string"
  35621. },
  35622. "wrstandardcode": {
  35623. "description": "现货商品代码",
  35624. "type": "string"
  35625. },
  35626. "wrstandardid": {
  35627. "description": "现货商品ID",
  35628. "type": "integer"
  35629. },
  35630. "wrstandardname": {
  35631. "description": "商品名称",
  35632. "type": "string"
  35633. },
  35634. "wrtypename": {
  35635. "description": "商品",
  35636. "type": "string"
  35637. }
  35638. }
  35639. },
  35640. "models.WrPerformanceStepType": {
  35641. "type": "object",
  35642. "properties": {
  35643. "canauto": {
  35644. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  35645. "type": "integer"
  35646. },
  35647. "steptypeid": {
  35648. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  35649. "type": "integer"
  35650. },
  35651. "steptypename": {
  35652. "description": "步骤类型名称",
  35653. "type": "string"
  35654. }
  35655. }
  35656. },
  35657. "models.WrPerformanceTemplateEx": {
  35658. "type": "object",
  35659. "properties": {
  35660. "autoid": {
  35661. "description": "AutoID 模板id",
  35662. "type": "integer"
  35663. },
  35664. "createtime": {
  35665. "description": "创建时间",
  35666. "type": "string"
  35667. },
  35668. "creatorid": {
  35669. "description": "创建人",
  35670. "type": "integer"
  35671. },
  35672. "lstStep": {
  35673. "description": "步骤信息列表",
  35674. "type": "array",
  35675. "items": {
  35676. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  35677. }
  35678. },
  35679. "paymenttype": {
  35680. "description": "支付方式 - 1:冻结 2:扣款",
  35681. "type": "integer"
  35682. },
  35683. "takemode": {
  35684. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  35685. "type": "integer"
  35686. },
  35687. "templatename": {
  35688. "description": "模板名称",
  35689. "type": "string"
  35690. },
  35691. "templatetype": {
  35692. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  35693. "type": "integer"
  35694. },
  35695. "userid": {
  35696. "description": "所属用户",
  35697. "type": "integer"
  35698. }
  35699. }
  35700. },
  35701. "models.WrPosition": {
  35702. "type": "object",
  35703. "properties": {
  35704. "accountid": {
  35705. "description": "帐户ID",
  35706. "type": "integer"
  35707. },
  35708. "buyexcuteqty": {
  35709. "description": "采购履约中数量",
  35710. "type": "number"
  35711. },
  35712. "creditcurqty": {
  35713. "description": "授信当前数量(预售仓单:预售当前量)",
  35714. "type": "number"
  35715. },
  35716. "creditenableqty": {
  35717. "description": "授信可用数量(预售仓单: 可用数量)",
  35718. "type": "number"
  35719. },
  35720. "creditfreezeqty": {
  35721. "description": "授信冻结数量(预售仓单: 当前数量)",
  35722. "type": "number"
  35723. },
  35724. "credittotalqty": {
  35725. "description": "授信总数量(预售仓单:预售总量)",
  35726. "type": "number"
  35727. },
  35728. "credittradeqty": {
  35729. "description": "授信成交数量(预售仓单:成交总量)",
  35730. "type": "number"
  35731. },
  35732. "deliverygoodscode": {
  35733. "description": "品种代码",
  35734. "type": "string"
  35735. },
  35736. "deliverygoodsid": {
  35737. "description": "品种ID",
  35738. "type": "integer"
  35739. },
  35740. "deliverygoodsname": {
  35741. "description": "品种名称",
  35742. "type": "string"
  35743. },
  35744. "enalbeqty": {
  35745. "description": "可用数量",
  35746. "type": "number"
  35747. },
  35748. "enumdicname": {
  35749. "description": "单位名称",
  35750. "type": "string"
  35751. },
  35752. "freezeqty": {
  35753. "description": "总冻结数量",
  35754. "type": "number"
  35755. },
  35756. "haswr": {
  35757. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35758. "type": "integer"
  35759. },
  35760. "minivalue": {
  35761. "description": "现货商品最小变动值",
  35762. "type": "integer"
  35763. },
  35764. "modifytime": {
  35765. "description": "修改时间(过户时间)",
  35766. "type": "string"
  35767. },
  35768. "optioncompare": {
  35769. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35770. "type": "string"
  35771. },
  35772. "pledgeqty": {
  35773. "description": "质押数量",
  35774. "type": "number"
  35775. },
  35776. "querytype": {
  35777. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  35778. "type": "integer"
  35779. },
  35780. "sellexcuteqty": {
  35781. "description": "销售履约中数量",
  35782. "type": "number"
  35783. },
  35784. "totalqty": {
  35785. "description": "总数量(库存数量)",
  35786. "type": "number"
  35787. },
  35788. "warehouseid": {
  35789. "description": "仓库ID",
  35790. "type": "integer"
  35791. },
  35792. "warehousename": {
  35793. "description": "仓库名称",
  35794. "type": "string"
  35795. },
  35796. "wrfactortypeid": {
  35797. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35798. "type": "string"
  35799. },
  35800. "wrfactortypename": {
  35801. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35802. "type": "string"
  35803. },
  35804. "wrpositionid": {
  35805. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  35806. "type": "string"
  35807. },
  35808. "wrpositionno": {
  35809. "description": "仓单编号",
  35810. "type": "string"
  35811. },
  35812. "wrstandardcode": {
  35813. "description": "现货商品代码",
  35814. "type": "string"
  35815. },
  35816. "wrstandardid": {
  35817. "description": "现货商品ID",
  35818. "type": "integer"
  35819. },
  35820. "wrstandardname": {
  35821. "description": "商品名称",
  35822. "type": "string"
  35823. },
  35824. "wrtypename": {
  35825. "description": "商品",
  35826. "type": "string"
  35827. },
  35828. "wruserid": {
  35829. "description": "持有人ID",
  35830. "type": "integer"
  35831. }
  35832. }
  35833. },
  35834. "models.WrQuoteOrderMyq": {
  35835. "type": "object",
  35836. "properties": {
  35837. "buyorsell": {
  35838. "description": "买卖 - 0:买 1:卖",
  35839. "type": "integer"
  35840. },
  35841. "canbargain": {
  35842. "description": "是否可议价 - 0:不可 1:可",
  35843. "type": "integer"
  35844. },
  35845. "canpart": {
  35846. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  35847. "type": "integer"
  35848. },
  35849. "delistminqty": {
  35850. "description": "起摘数量",
  35851. "type": "number"
  35852. },
  35853. "deliverygoodscode": {
  35854. "description": "品种代码",
  35855. "type": "string"
  35856. },
  35857. "deliverygoodsid": {
  35858. "description": "品种ID",
  35859. "type": "integer"
  35860. },
  35861. "deliverygoodsname": {
  35862. "description": "品种名称",
  35863. "type": "string"
  35864. },
  35865. "deliverymonth": {
  35866. "description": "交收月",
  35867. "type": "string"
  35868. },
  35869. "enumdicname": {
  35870. "description": "单位名称",
  35871. "type": "string"
  35872. },
  35873. "fixedprice": {
  35874. "description": "买(卖)价",
  35875. "type": "number"
  35876. },
  35877. "goodscode": {
  35878. "description": "商品合约代码",
  35879. "type": "string"
  35880. },
  35881. "marginflag": {
  35882. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  35883. "type": "integer"
  35884. },
  35885. "marginvalue": {
  35886. "description": "保证金设置值",
  35887. "type": "number"
  35888. },
  35889. "minivalue": {
  35890. "description": "现货商品最小变动值",
  35891. "type": "integer"
  35892. },
  35893. "orderqty": {
  35894. "description": "买(卖)量(=委托量-成交量)",
  35895. "type": "number"
  35896. },
  35897. "ordertime": {
  35898. "description": "委托时间",
  35899. "type": "string"
  35900. },
  35901. "performancetemplateid": {
  35902. "description": "履约模板id",
  35903. "type": "integer"
  35904. },
  35905. "pricemove": {
  35906. "description": "买(卖)升贴水- 基差",
  35907. "type": "number"
  35908. },
  35909. "templatename": {
  35910. "description": "履约模板名称",
  35911. "type": "string"
  35912. },
  35913. "userid": {
  35914. "description": "购买方(销售方)用户ID",
  35915. "type": "integer"
  35916. },
  35917. "username": {
  35918. "description": "购买方(销售方)",
  35919. "type": "string"
  35920. },
  35921. "validtime": {
  35922. "description": "有效期限",
  35923. "type": "string"
  35924. },
  35925. "validtype": {
  35926. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  35927. "type": "integer"
  35928. },
  35929. "warehousename": {
  35930. "description": "仓库名称",
  35931. "type": "string"
  35932. },
  35933. "wrfactortypeid": {
  35934. "description": "仓单要素id",
  35935. "type": "string"
  35936. },
  35937. "wrstandardcode": {
  35938. "description": "现货商品代码",
  35939. "type": "string"
  35940. },
  35941. "wrstandardid": {
  35942. "description": "现货商品ID",
  35943. "type": "integer"
  35944. },
  35945. "wrstandardname": {
  35946. "description": "商品名称",
  35947. "type": "string"
  35948. },
  35949. "wrtradeorderid": {
  35950. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35951. "type": "string"
  35952. },
  35953. "wrtypename": {
  35954. "description": "商品",
  35955. "type": "string"
  35956. }
  35957. }
  35958. },
  35959. "models.WrScfContract": {
  35960. "type": "object",
  35961. "properties": {
  35962. "borroweruserid": {
  35963. "description": "借款用户ID",
  35964. "type": "integer"
  35965. },
  35966. "buybackwrpositionqty": {
  35967. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  35968. "type": "number"
  35969. },
  35970. "closeinterest": {
  35971. "description": "已结利息 -\u003e 已结费用",
  35972. "type": "number"
  35973. },
  35974. "currisklevel": {
  35975. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  35976. "type": "integer"
  35977. },
  35978. "deadline": {
  35979. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  35980. "type": "string"
  35981. },
  35982. "deliverygoodscode": {
  35983. "description": "品种代码",
  35984. "type": "string"
  35985. },
  35986. "deliverygoodsid": {
  35987. "description": "品种ID",
  35988. "type": "integer"
  35989. },
  35990. "deliverygoodsname": {
  35991. "description": "品种名称",
  35992. "type": "string"
  35993. },
  35994. "enumdicname": {
  35995. "description": "单位名称",
  35996. "type": "string"
  35997. },
  35998. "financingdays": {
  35999. "description": "天数(天)",
  36000. "type": "integer"
  36001. },
  36002. "initmargin": {
  36003. "description": "保证金 - [仓单回购]",
  36004. "type": "number"
  36005. },
  36006. "interestamount": {
  36007. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  36008. "type": "number"
  36009. },
  36010. "interestdebt": {
  36011. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  36012. "type": "number"
  36013. },
  36014. "interestminlen": {
  36015. "description": "最小起息天数",
  36016. "type": "integer"
  36017. },
  36018. "interestrate": {
  36019. "description": "利率",
  36020. "type": "number"
  36021. },
  36022. "interestratemode": {
  36023. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  36024. "type": "integer"
  36025. },
  36026. "interestsettlemode": {
  36027. "description": "结息方式 - 1:按日结息 3:按月结息",
  36028. "type": "integer"
  36029. },
  36030. "interestsettlevalue": {
  36031. "description": "结息方式值",
  36032. "type": "integer"
  36033. },
  36034. "isautoloan": {
  36035. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  36036. "type": "integer"
  36037. },
  36038. "lastcloseinterestday": {
  36039. "description": "最近结息日(yyyyMMdd)",
  36040. "type": "string"
  36041. },
  36042. "lenderamount": {
  36043. "description": "贷款金额 -\u003e 借款金额",
  36044. "type": "number"
  36045. },
  36046. "lenderuserid": {
  36047. "description": "贷款方用户ID -\u003e 融出方用户ID",
  36048. "type": "integer"
  36049. },
  36050. "lenderusername": {
  36051. "description": "融出方",
  36052. "type": "string"
  36053. },
  36054. "marginratio": {
  36055. "description": "保证金比率质押率 - [仓单质押]",
  36056. "type": "number"
  36057. },
  36058. "marketid": {
  36059. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  36060. "type": "integer"
  36061. },
  36062. "minivalue": {
  36063. "description": "现货商品最小变动值",
  36064. "type": "integer"
  36065. },
  36066. "optioncompare": {
  36067. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36068. "type": "string"
  36069. },
  36070. "pricemove": {
  36071. "description": "估值升贴水值",
  36072. "type": "number"
  36073. },
  36074. "productdetailid": {
  36075. "description": "产品组合ID",
  36076. "type": "integer"
  36077. },
  36078. "productid": {
  36079. "description": "金融产品ID",
  36080. "type": "integer"
  36081. },
  36082. "productname": {
  36083. "description": "产品名称",
  36084. "type": "string"
  36085. },
  36086. "remainamount": {
  36087. "description": "合同剩余金额 -\u003e 剩余金额",
  36088. "type": "number"
  36089. },
  36090. "remainwrpositionqty": {
  36091. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  36092. "type": "number"
  36093. },
  36094. "remark": {
  36095. "description": "备注",
  36096. "type": "string"
  36097. },
  36098. "scfcontractid": {
  36099. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  36100. "type": "string"
  36101. },
  36102. "scfcontractstatus": {
  36103. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  36104. "type": "integer"
  36105. },
  36106. "scfcontracttype": {
  36107. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  36108. "type": "integer"
  36109. },
  36110. "startinterestday": {
  36111. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  36112. "type": "string"
  36113. },
  36114. "totalinterest": {
  36115. "description": "已计利息 -\u003e 已计费用",
  36116. "type": "number"
  36117. },
  36118. "unpaidinterest": {
  36119. "description": "未结费用",
  36120. "type": "number"
  36121. },
  36122. "updatetime": {
  36123. "description": "更新时间",
  36124. "type": "string"
  36125. },
  36126. "warehouseid": {
  36127. "description": "仓库ID",
  36128. "type": "integer"
  36129. },
  36130. "warehousename": {
  36131. "description": "仓库名称",
  36132. "type": "string"
  36133. },
  36134. "wrfactortypeid": {
  36135. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36136. "type": "string"
  36137. },
  36138. "wrfactortypename": {
  36139. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36140. "type": "string"
  36141. },
  36142. "wrqty": {
  36143. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  36144. "type": "number"
  36145. },
  36146. "wrstandardcode": {
  36147. "description": "现货商品代码",
  36148. "type": "string"
  36149. },
  36150. "wrstandardid": {
  36151. "description": "现货商品ID",
  36152. "type": "integer"
  36153. },
  36154. "wrstandardname": {
  36155. "description": "商品名称",
  36156. "type": "string"
  36157. },
  36158. "wrtypename": {
  36159. "description": "商品",
  36160. "type": "string"
  36161. }
  36162. }
  36163. },
  36164. "models.WrScfContractInterest": {
  36165. "type": "object",
  36166. "properties": {
  36167. "closeinterest": {
  36168. "description": "已结利息",
  36169. "type": "number"
  36170. },
  36171. "closeintereststatus": {
  36172. "description": "结息状态 - 1:未结 2:已结",
  36173. "type": "integer"
  36174. },
  36175. "closetime": {
  36176. "description": "结息时间",
  36177. "type": "string"
  36178. },
  36179. "closetradedate": {
  36180. "description": "结息交易日",
  36181. "type": "string"
  36182. },
  36183. "creatorid": {
  36184. "description": "操作人ID",
  36185. "type": "integer"
  36186. },
  36187. "dayrate": {
  36188. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  36189. "type": "number"
  36190. },
  36191. "interest": {
  36192. "description": "利息",
  36193. "type": "number"
  36194. },
  36195. "interestamount": {
  36196. "description": "计息金额",
  36197. "type": "number"
  36198. },
  36199. "interestday": {
  36200. "description": "计息日(yyyyMMdd)",
  36201. "type": "string"
  36202. },
  36203. "scfcontractid": {
  36204. "description": "SCF合同ID",
  36205. "type": "string"
  36206. },
  36207. "scfcontractinterestid": {
  36208. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  36209. "type": "integer"
  36210. },
  36211. "updatetime": {
  36212. "description": "更新时间",
  36213. "type": "string"
  36214. }
  36215. }
  36216. },
  36217. "models.WrSiteColumnDetail": {
  36218. "type": "object",
  36219. "properties": {
  36220. "brief": {
  36221. "description": "简介",
  36222. "type": "string"
  36223. },
  36224. "context": {
  36225. "description": "内容",
  36226. "type": "string"
  36227. },
  36228. "coverimage": {
  36229. "description": "封面图片",
  36230. "type": "string"
  36231. },
  36232. "creaedate": {
  36233. "description": "创建时间",
  36234. "type": "string"
  36235. },
  36236. "id": {
  36237. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  36238. "type": "integer"
  36239. },
  36240. "istop": {
  36241. "description": "是否置顶 - 0:不置 1:置顶",
  36242. "type": "integer"
  36243. },
  36244. "publishdate": {
  36245. "description": "发布日期",
  36246. "type": "string"
  36247. },
  36248. "title": {
  36249. "description": "标题",
  36250. "type": "string"
  36251. },
  36252. "updatedate": {
  36253. "description": "修改时间",
  36254. "type": "string"
  36255. }
  36256. }
  36257. },
  36258. "models.WrSpecialMatchOrder": {
  36259. "type": "object",
  36260. "properties": {
  36261. "amount": {
  36262. "description": "金额 = 数量 * 价格",
  36263. "type": "number"
  36264. },
  36265. "buyorsell": {
  36266. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36267. "type": "integer"
  36268. },
  36269. "cancelqty": {
  36270. "description": "撤销数量",
  36271. "type": "number"
  36272. },
  36273. "deliverygoodscode": {
  36274. "description": "品种代码",
  36275. "type": "string"
  36276. },
  36277. "deliverygoodsid": {
  36278. "description": "品种ID",
  36279. "type": "integer"
  36280. },
  36281. "deliverygoodsname": {
  36282. "description": "品种名称",
  36283. "type": "string"
  36284. },
  36285. "enumdicname": {
  36286. "description": "单位名称",
  36287. "type": "string"
  36288. },
  36289. "fixedprice": {
  36290. "description": "固定价格(价格)",
  36291. "type": "number"
  36292. },
  36293. "haswr": {
  36294. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36295. "type": "integer"
  36296. },
  36297. "isspecified": {
  36298. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  36299. "type": "integer"
  36300. },
  36301. "marketid": {
  36302. "description": "市场ID",
  36303. "type": "integer"
  36304. },
  36305. "matchuserid": {
  36306. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  36307. "type": "integer"
  36308. },
  36309. "matchusername": {
  36310. "description": "指定方",
  36311. "type": "string"
  36312. },
  36313. "minivalue": {
  36314. "description": "现货商品最小变动值",
  36315. "type": "integer"
  36316. },
  36317. "optioncompare": {
  36318. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36319. "type": "string"
  36320. },
  36321. "orderqty": {
  36322. "description": "委托数量",
  36323. "type": "number"
  36324. },
  36325. "ordertime": {
  36326. "description": "委托时间",
  36327. "type": "string"
  36328. },
  36329. "pricemove": {
  36330. "description": "升贴水(浮动价时填写) - [挂牌]",
  36331. "type": "number"
  36332. },
  36333. "tradedate": {
  36334. "description": "交易日(yyyyMMdd)",
  36335. "type": "string"
  36336. },
  36337. "tradeprice": {
  36338. "description": "成交价格",
  36339. "type": "number"
  36340. },
  36341. "tradeqty": {
  36342. "description": "成交数量",
  36343. "type": "number"
  36344. },
  36345. "userid": {
  36346. "description": "用户ID",
  36347. "type": "integer"
  36348. },
  36349. "username": {
  36350. "description": "发起方",
  36351. "type": "string"
  36352. },
  36353. "warehouseid": {
  36354. "description": "仓库ID",
  36355. "type": "integer"
  36356. },
  36357. "warehousename": {
  36358. "description": "仓库名称",
  36359. "type": "string"
  36360. },
  36361. "wrfactortypeid": {
  36362. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36363. "type": "string"
  36364. },
  36365. "wrfactortypename": {
  36366. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36367. "type": "string"
  36368. },
  36369. "wrpricetype": {
  36370. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  36371. "type": "integer"
  36372. },
  36373. "wrstandardcode": {
  36374. "description": "现货商品代码",
  36375. "type": "string"
  36376. },
  36377. "wrstandardid": {
  36378. "description": "现货商品ID",
  36379. "type": "integer"
  36380. },
  36381. "wrstandardname": {
  36382. "description": "商品名称",
  36383. "type": "string"
  36384. },
  36385. "wrtradeorderid": {
  36386. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36387. "type": "string"
  36388. },
  36389. "wrtradeorderstatus": {
  36390. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  36391. "type": "integer"
  36392. },
  36393. "wrtradetype": {
  36394. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36395. "type": "integer"
  36396. },
  36397. "wrtypename": {
  36398. "description": "商品",
  36399. "type": "string"
  36400. }
  36401. }
  36402. },
  36403. "models.WrSpotGroupTradeSum": {
  36404. "type": "object",
  36405. "properties": {
  36406. "deliverygoodscode": {
  36407. "description": "现货品种代码",
  36408. "type": "string"
  36409. },
  36410. "deliverygoodsid": {
  36411. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  36412. "type": "integer"
  36413. },
  36414. "deliverygoodsname": {
  36415. "description": "现货品种名称",
  36416. "type": "string"
  36417. },
  36418. "lastavgprice": {
  36419. "description": "上上个交易日价格(前2天价格)",
  36420. "type": "string"
  36421. },
  36422. "lastreckondate": {
  36423. "description": "上上个交易日(前2天交易日)",
  36424. "type": "string"
  36425. },
  36426. "reckondate": {
  36427. "description": "上个交易日(前1天交易日)",
  36428. "type": "string"
  36429. },
  36430. "todayavgprice": {
  36431. "description": "上个交易日价格(前1天价格)",
  36432. "type": "string"
  36433. },
  36434. "updown": {
  36435. "description": "涨跌",
  36436. "type": "string"
  36437. },
  36438. "updownratio": {
  36439. "description": "涨幅(已格式化, 直接显示即可)",
  36440. "type": "string"
  36441. }
  36442. }
  36443. },
  36444. "models.WrSpotGroupTradeSumDetail": {
  36445. "type": "object",
  36446. "properties": {
  36447. "deliverygoodsid": {
  36448. "description": "现货商品id",
  36449. "type": "integer"
  36450. },
  36451. "price": {
  36452. "description": "价格",
  36453. "type": "number"
  36454. },
  36455. "reckondate": {
  36456. "description": "日期(yyymmdd, 如:20211031)",
  36457. "type": "string"
  36458. }
  36459. }
  36460. },
  36461. "models.WrSpotGroupTradeSumEx": {
  36462. "type": "object",
  36463. "properties": {
  36464. "lst": {
  36465. "description": "指数列表",
  36466. "type": "array",
  36467. "items": {
  36468. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  36469. }
  36470. },
  36471. "prereckondate": {
  36472. "description": "上上个交易日(yyymmdd)",
  36473. "type": "string"
  36474. },
  36475. "reckondate": {
  36476. "description": "上个交易日(yyyymmdd)",
  36477. "type": "string"
  36478. }
  36479. }
  36480. },
  36481. "models.WrStandardFactoryItem": {
  36482. "type": "object",
  36483. "properties": {
  36484. "dgfactoryitemid": {
  36485. "description": "选择项id",
  36486. "type": "integer"
  36487. },
  36488. "dgfactoryitemvalue": {
  36489. "description": "要素项值",
  36490. "type": "string"
  36491. },
  36492. "warehouseid": {
  36493. "description": "仓库id",
  36494. "type": "integer"
  36495. }
  36496. }
  36497. },
  36498. "models.WrStandardFactoryItemEx": {
  36499. "type": "object",
  36500. "properties": {
  36501. "dgfactoryitemtypeid": {
  36502. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  36503. "type": "integer"
  36504. },
  36505. "itemlst": {
  36506. "description": "要素项列表",
  36507. "type": "array",
  36508. "items": {
  36509. "$ref": "#/definitions/models.WrStandardFactoryItem"
  36510. }
  36511. },
  36512. "itemtypename": {
  36513. "description": "要素项类型名称",
  36514. "type": "string"
  36515. },
  36516. "wrstandardid": {
  36517. "description": "品类",
  36518. "type": "integer"
  36519. }
  36520. }
  36521. },
  36522. "models.WrTradeDetail": {
  36523. "type": "object",
  36524. "properties": {
  36525. "accountid": {
  36526. "description": "资金账号",
  36527. "type": "integer"
  36528. },
  36529. "buyorsell": {
  36530. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36531. "type": "integer"
  36532. },
  36533. "chargevalue": {
  36534. "description": "手续费",
  36535. "type": "number"
  36536. },
  36537. "deliverygoodscode": {
  36538. "description": "品种代码",
  36539. "type": "string"
  36540. },
  36541. "deliverygoodsid": {
  36542. "description": "品种ID",
  36543. "type": "integer"
  36544. },
  36545. "deliverygoodsname": {
  36546. "description": "品种名称",
  36547. "type": "string"
  36548. },
  36549. "deliverymonth": {
  36550. "description": "交收月",
  36551. "type": "string"
  36552. },
  36553. "enumdicname": {
  36554. "description": "单位名称",
  36555. "type": "string"
  36556. },
  36557. "haswr": {
  36558. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36559. "type": "integer"
  36560. },
  36561. "marketid": {
  36562. "description": "市场ID",
  36563. "type": "integer"
  36564. },
  36565. "matchaccountid": {
  36566. "description": "对手账号",
  36567. "type": "integer"
  36568. },
  36569. "matchusername": {
  36570. "description": "对手方",
  36571. "type": "string"
  36572. },
  36573. "minivalue": {
  36574. "description": "现货商品最小变动值",
  36575. "type": "integer"
  36576. },
  36577. "optioncompare": {
  36578. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36579. "type": "string"
  36580. },
  36581. "tradedate": {
  36582. "description": "交易日(yyyyMMdd)",
  36583. "type": "string"
  36584. },
  36585. "tradeprice": {
  36586. "description": "成交价格",
  36587. "type": "number"
  36588. },
  36589. "tradeqty": {
  36590. "description": "成交数量",
  36591. "type": "number"
  36592. },
  36593. "tradetime": {
  36594. "description": "成交时间",
  36595. "type": "string"
  36596. },
  36597. "userid": {
  36598. "description": "用户ID",
  36599. "type": "integer"
  36600. },
  36601. "warehouseid": {
  36602. "description": "仓库ID",
  36603. "type": "integer"
  36604. },
  36605. "warehousename": {
  36606. "description": "仓库名称",
  36607. "type": "string"
  36608. },
  36609. "wrfactortypeid": {
  36610. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36611. "type": "string"
  36612. },
  36613. "wrfactortypename": {
  36614. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36615. "type": "string"
  36616. },
  36617. "wrstandardcode": {
  36618. "description": "现货商品代码",
  36619. "type": "string"
  36620. },
  36621. "wrstandardid": {
  36622. "description": "现货商品ID",
  36623. "type": "integer"
  36624. },
  36625. "wrstandardname": {
  36626. "description": "商品名称",
  36627. "type": "string"
  36628. },
  36629. "wrtradedetailid": {
  36630. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  36631. "type": "string"
  36632. },
  36633. "wrtradetype": {
  36634. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36635. "type": "integer"
  36636. },
  36637. "wrtypename": {
  36638. "description": "商品",
  36639. "type": "string"
  36640. }
  36641. }
  36642. },
  36643. "models.WrTradeOrderDetail": {
  36644. "type": "object",
  36645. "properties": {
  36646. "buyorsell": {
  36647. "description": "买卖方向 0-买 1-卖",
  36648. "type": "integer"
  36649. },
  36650. "goodsid": {
  36651. "description": "商品id",
  36652. "type": "integer"
  36653. },
  36654. "orderid": {
  36655. "description": "委托单号",
  36656. "type": "string"
  36657. },
  36658. "orderprice": {
  36659. "description": "委托价格",
  36660. "type": "number"
  36661. },
  36662. "orderqty": {
  36663. "description": "委托数量",
  36664. "type": "integer"
  36665. },
  36666. "userid": {
  36667. "description": "用户id",
  36668. "type": "integer"
  36669. },
  36670. "username": {
  36671. "description": "用户名称(已脱敏)",
  36672. "type": "string"
  36673. }
  36674. }
  36675. },
  36676. "models.WrTypeItem": {
  36677. "type": "object",
  36678. "properties": {
  36679. "name": {
  36680. "description": "名称",
  36681. "type": "string"
  36682. },
  36683. "value": {
  36684. "description": "值",
  36685. "type": "string"
  36686. }
  36687. }
  36688. },
  36689. "models.WrUserFriend": {
  36690. "type": "object",
  36691. "properties": {
  36692. "friendname": {
  36693. "description": "朋友名称(已脱敏)",
  36694. "type": "string"
  36695. },
  36696. "frienduserid": {
  36697. "description": "朋友id",
  36698. "type": "integer"
  36699. },
  36700. "isfriend": {
  36701. "description": "是否好友 0-不是 1-是",
  36702. "type": "integer"
  36703. },
  36704. "userid": {
  36705. "description": "用户id",
  36706. "type": "integer"
  36707. }
  36708. }
  36709. },
  36710. "models.WrUserReceiptInfo": {
  36711. "type": "object",
  36712. "properties": {
  36713. "address": {
  36714. "description": "地址[发票类型:企业]",
  36715. "type": "string"
  36716. },
  36717. "autoid": {
  36718. "description": "AutoID",
  36719. "type": "integer"
  36720. },
  36721. "contactinfo": {
  36722. "description": "联系方式",
  36723. "type": "string"
  36724. },
  36725. "idnum": {
  36726. "description": "身份证号码[发票类型:个人]",
  36727. "type": "string"
  36728. },
  36729. "isdefault": {
  36730. "description": "是否默认地址 - 0:否 1:是",
  36731. "type": "integer"
  36732. },
  36733. "receiptaccount": {
  36734. "description": "发票帐号[发票类型:企业]",
  36735. "type": "string"
  36736. },
  36737. "receiptbank": {
  36738. "description": "发票开户行[发票类型:企业]",
  36739. "type": "string"
  36740. },
  36741. "receipttype": {
  36742. "description": "发票类型 - 1:个人 2:企业",
  36743. "type": "integer"
  36744. },
  36745. "taxpayerid": {
  36746. "description": "纳税人识别号",
  36747. "type": "string"
  36748. },
  36749. "userid": {
  36750. "description": "用户ID",
  36751. "type": "integer"
  36752. },
  36753. "username": {
  36754. "description": "户名(个人姓名或企业名称)",
  36755. "type": "string"
  36756. }
  36757. }
  36758. },
  36759. "models.XHBRAND": {
  36760. "type": "object",
  36761. "properties": {
  36762. "brandid": {
  36763. "description": "品牌id",
  36764. "type": "integer"
  36765. },
  36766. "brandname": {
  36767. "description": "品牌名称",
  36768. "type": "string"
  36769. },
  36770. "isvalid": {
  36771. "description": "是否有效 0-无效 1-有效",
  36772. "type": "integer"
  36773. }
  36774. }
  36775. },
  36776. "models.XHDeliveryGoods": {
  36777. "type": "object",
  36778. "properties": {
  36779. "areauserid": {
  36780. "description": "所属机构",
  36781. "type": "integer"
  36782. },
  36783. "bdlst": {
  36784. "description": "品牌列表",
  36785. "type": "array",
  36786. "items": {
  36787. "$ref": "#/definitions/models.XHBRAND"
  36788. }
  36789. },
  36790. "deliverygoodscode": {
  36791. "description": "现货品种代码",
  36792. "type": "string"
  36793. },
  36794. "deliverygoodsid": {
  36795. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  36796. "type": "integer"
  36797. },
  36798. "deliverygoodsname": {
  36799. "description": "现货品种名称",
  36800. "type": "string"
  36801. },
  36802. "dgstatus": {
  36803. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  36804. "type": "integer"
  36805. },
  36806. "isvalid": {
  36807. "description": "是否有效 - 0:无效 1:有效",
  36808. "type": "integer"
  36809. },
  36810. "remark": {
  36811. "description": "备注",
  36812. "type": "string"
  36813. },
  36814. "unitid": {
  36815. "description": "单位id(目前看,数据库中是空值)",
  36816. "type": "integer"
  36817. },
  36818. "wdlst": {
  36819. "description": "品类(现货商品)列表",
  36820. "type": "array",
  36821. "items": {
  36822. "$ref": "#/definitions/models.XHWrstandard"
  36823. }
  36824. }
  36825. }
  36826. },
  36827. "models.XHMiddleGoods": {
  36828. "type": "object",
  36829. "properties": {
  36830. "convertratio": {
  36831. "description": "拆算系数",
  36832. "type": "number"
  36833. },
  36834. "costratio": {
  36835. "description": "成本权重",
  36836. "type": "number"
  36837. },
  36838. "deliverygoodsid": {
  36839. "description": "现货商品id",
  36840. "type": "integer"
  36841. },
  36842. "enumdicname": {
  36843. "description": "单位名称",
  36844. "type": "string"
  36845. },
  36846. "gplst": {
  36847. "description": "期货品种列表",
  36848. "type": "array",
  36849. "items": {
  36850. "$ref": "#/definitions/models.TBGoodsGroup"
  36851. }
  36852. },
  36853. "middlegoodscode": {
  36854. "description": "套保品种代码",
  36855. "type": "string"
  36856. },
  36857. "middlegoodsid": {
  36858. "description": "套保品种id",
  36859. "type": "integer"
  36860. },
  36861. "middlegoodsname": {
  36862. "description": "套保品种名称",
  36863. "type": "string"
  36864. },
  36865. "unitid": {
  36866. "description": "单位id",
  36867. "type": "integer"
  36868. }
  36869. }
  36870. },
  36871. "models.XHWrstandard": {
  36872. "type": "object",
  36873. "properties": {
  36874. "deliverygoodsid": {
  36875. "description": "品种ID",
  36876. "type": "integer"
  36877. },
  36878. "enumdicname": {
  36879. "description": "单位名称",
  36880. "type": "string"
  36881. },
  36882. "mglst": {
  36883. "description": "套保品列表",
  36884. "type": "array",
  36885. "items": {
  36886. "$ref": "#/definitions/models.XHMiddleGoods"
  36887. }
  36888. },
  36889. "unitid": {
  36890. "description": "单位id",
  36891. "type": "integer"
  36892. },
  36893. "vatrate": {
  36894. "description": "增值税率",
  36895. "type": "number"
  36896. },
  36897. "wrstandardcode": {
  36898. "description": "现货商品代码",
  36899. "type": "string"
  36900. },
  36901. "wrstandardid": {
  36902. "description": "现货商品ID(SEQ_WRSTANDARD)",
  36903. "type": "integer"
  36904. },
  36905. "wrstandardname": {
  36906. "description": "现货商品名称",
  36907. "type": "string"
  36908. }
  36909. }
  36910. },
  36911. "order.QueryHisTradeDetailRsp": {
  36912. "type": "object",
  36913. "required": [
  36914. "accountid",
  36915. "buyorsell",
  36916. "goodsid",
  36917. "histradedate",
  36918. "marketid",
  36919. "memberuserid",
  36920. "orderid",
  36921. "tradeamount",
  36922. "tradedate",
  36923. "tradeid",
  36924. "tradeprice",
  36925. "tradeqty",
  36926. "tradetime"
  36927. ],
  36928. "properties": {
  36929. "accountid": {
  36930. "description": "账户ID[报价币种]",
  36931. "type": "integer"
  36932. },
  36933. "advanceratio": {
  36934. "description": "首付比率",
  36935. "type": "number"
  36936. },
  36937. "buildtype": {
  36938. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  36939. "type": "integer"
  36940. },
  36941. "buyorsell": {
  36942. "description": "方向 - 0:买 1:卖",
  36943. "type": "integer"
  36944. },
  36945. "charge": {
  36946. "description": "手续费",
  36947. "type": "number"
  36948. },
  36949. "closecharge": {
  36950. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  36951. "type": "number"
  36952. },
  36953. "closeexchagechargevalue": {
  36954. "description": "平仓交易所手续费设置值",
  36955. "type": "number"
  36956. },
  36957. "closefeealgorithm": {
  36958. "description": "平仓手续费收取方式 1:比率 2:固定",
  36959. "type": "integer"
  36960. },
  36961. "closememberchargevalue": {
  36962. "description": "平仓会员手续费设置值",
  36963. "type": "number"
  36964. },
  36965. "closepl": {
  36966. "description": "平仓盈亏",
  36967. "type": "number"
  36968. },
  36969. "closepl2": {
  36970. "description": "平仓盈亏[逐笔]",
  36971. "type": "number"
  36972. },
  36973. "closeqty": {
  36974. "description": "平仓数量(先建后平操作 需要记录)",
  36975. "type": "number"
  36976. },
  36977. "creditamount": {
  36978. "description": "授信金额",
  36979. "type": "number"
  36980. },
  36981. "decimalplace": {
  36982. "description": "商品报价小数位",
  36983. "type": "integer"
  36984. },
  36985. "enumdicname": {
  36986. "description": "单位名称",
  36987. "type": "string"
  36988. },
  36989. "gcaccountid": {
  36990. "description": "账户ID[合约币种]",
  36991. "type": "integer"
  36992. },
  36993. "goodscode": {
  36994. "description": "商品代码",
  36995. "type": "string"
  36996. },
  36997. "goodsid": {
  36998. "description": "商品ID",
  36999. "type": "integer"
  37000. },
  37001. "goodsname": {
  37002. "description": "商品名称",
  37003. "type": "string"
  37004. },
  37005. "goodunitid": {
  37006. "description": "商品单位id",
  37007. "type": "integer"
  37008. },
  37009. "histradedate": {
  37010. "description": "历史交易日",
  37011. "type": "string"
  37012. },
  37013. "intclosepl": {
  37014. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  37015. "type": "integer"
  37016. },
  37017. "isconfirmexercise": {
  37018. "description": "是否确认行权- 0:否 1:是",
  37019. "type": "integer"
  37020. },
  37021. "ismain": {
  37022. "description": "是否主单 - 0:不是 1:是",
  37023. "type": "integer"
  37024. },
  37025. "ispreexercise": {
  37026. "description": "是否预申报- 0:否 1:是",
  37027. "type": "integer"
  37028. },
  37029. "isreckoned": {
  37030. "description": "是否结算 - 0:未结算 1:已结算",
  37031. "type": "integer"
  37032. },
  37033. "isvaliddata": {
  37034. "description": "是否有效 - 0:无效 1:有效",
  37035. "type": "integer"
  37036. },
  37037. "listingselecttype": {
  37038. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37039. "type": "integer"
  37040. },
  37041. "marketid": {
  37042. "description": "市场ID",
  37043. "type": "integer"
  37044. },
  37045. "marketname": {
  37046. "description": "市场名称",
  37047. "type": "string"
  37048. },
  37049. "matchaccountid": {
  37050. "description": "对手账号id",
  37051. "type": "integer"
  37052. },
  37053. "memberuserid": {
  37054. "description": "会员id 个人投资者 需要填写",
  37055. "type": "integer"
  37056. },
  37057. "opencharge": {
  37058. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37059. "type": "number"
  37060. },
  37061. "openexchagechargevalue": {
  37062. "description": "建仓交易所手续费设置值",
  37063. "type": "number"
  37064. },
  37065. "openfeealgorithm": {
  37066. "description": "建仓手续费收取方式 1:比率 2:固定",
  37067. "type": "integer"
  37068. },
  37069. "openmemberchargevalue": {
  37070. "description": "建仓会员手续费设置值",
  37071. "type": "number"
  37072. },
  37073. "openqty": {
  37074. "description": "开仓数量(先建后平操作 需要记录)",
  37075. "type": "number"
  37076. },
  37077. "optiontype": {
  37078. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37079. "type": "integer"
  37080. },
  37081. "orderid": {
  37082. "description": "委托单号",
  37083. "type": "string"
  37084. },
  37085. "payamount": {
  37086. "description": "支付金额(付款金额)",
  37087. "type": "number"
  37088. },
  37089. "performanceplanid": {
  37090. "description": "履约计划ID[期权]",
  37091. "type": "integer"
  37092. },
  37093. "performancestatus": {
  37094. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  37095. "type": "integer"
  37096. },
  37097. "preexerciseprice": {
  37098. "description": "预申报价格",
  37099. "type": "number"
  37100. },
  37101. "premium": {
  37102. "description": "权利金 - [持仓单的权利金]",
  37103. "type": "number"
  37104. },
  37105. "qtydecimalplace": {
  37106. "description": "商品报价小数位",
  37107. "type": "integer"
  37108. },
  37109. "recvamount": {
  37110. "description": "到账金额 = 成交金额 - 手续费",
  37111. "type": "number"
  37112. },
  37113. "relatedouttradeid": {
  37114. "description": "关联外部成交单ID",
  37115. "type": "integer"
  37116. },
  37117. "status": {
  37118. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  37119. "type": "integer"
  37120. },
  37121. "totalamount": {
  37122. "description": "订单总额 = 成交金额 + 手续费",
  37123. "type": "number"
  37124. },
  37125. "tradeamount": {
  37126. "description": "成交金额[账户币种,用于所有权]",
  37127. "type": "number"
  37128. },
  37129. "tradedate": {
  37130. "description": "交易日(yyyyMMdd)",
  37131. "type": "string"
  37132. },
  37133. "tradeid": {
  37134. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37135. "type": "string"
  37136. },
  37137. "trademode": {
  37138. "description": "交易模式",
  37139. "type": "integer"
  37140. },
  37141. "tradeprice": {
  37142. "description": "成交价格",
  37143. "type": "number"
  37144. },
  37145. "tradeproperty": {
  37146. "description": "交易属性",
  37147. "type": "integer"
  37148. },
  37149. "tradeqty": {
  37150. "description": "成交数量",
  37151. "type": "number"
  37152. },
  37153. "tradetime": {
  37154. "description": "成交时间",
  37155. "type": "string"
  37156. },
  37157. "tradetype": {
  37158. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  37159. "type": "integer"
  37160. }
  37161. }
  37162. },
  37163. "order.QueryHisTradeOrderDetailRsp": {
  37164. "type": "object",
  37165. "required": [
  37166. "accountid",
  37167. "buildtype",
  37168. "buyorsell",
  37169. "goodsid",
  37170. "histradedate",
  37171. "marketid",
  37172. "memberuserid",
  37173. "operatetype",
  37174. "orderid",
  37175. "orderqty",
  37176. "ordertime",
  37177. "pricemode",
  37178. "tradedate",
  37179. "validtype"
  37180. ],
  37181. "properties": {
  37182. "accountid": {
  37183. "description": "账户ID[报价币种]",
  37184. "type": "integer"
  37185. },
  37186. "buildtype": {
  37187. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  37188. "type": "integer"
  37189. },
  37190. "buyorsell": {
  37191. "description": "买卖 - 0:买 1:卖",
  37192. "type": "integer"
  37193. },
  37194. "cancelorderid": {
  37195. "description": "撤单单号(撤单时填写)",
  37196. "type": "string"
  37197. },
  37198. "cancelqty": {
  37199. "description": "撤单数量",
  37200. "type": "number"
  37201. },
  37202. "clientordertime": {
  37203. "description": "客户端委托时间",
  37204. "type": "string"
  37205. },
  37206. "clientticket": {
  37207. "description": "客户端流水号",
  37208. "type": "string"
  37209. },
  37210. "clienttype": {
  37211. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  37212. "type": "integer"
  37213. },
  37214. "closeexchagechargevalue": {
  37215. "description": "平仓交易所手续费设置值",
  37216. "type": "number"
  37217. },
  37218. "closefeealgorithm": {
  37219. "description": "平仓手续费收取方式 1:比率 2:固定",
  37220. "type": "integer"
  37221. },
  37222. "closefreezecharge": {
  37223. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  37224. "type": "number"
  37225. },
  37226. "closememberchargevalue": {
  37227. "description": "平仓会员手续费设置值",
  37228. "type": "number"
  37229. },
  37230. "closeqty": {
  37231. "description": "平仓数量(先建后平操作 需要记录)",
  37232. "type": "number"
  37233. },
  37234. "closetradeqty": {
  37235. "description": "平仓成交数量(先建后平操作,需要记录)",
  37236. "type": "number"
  37237. },
  37238. "closeunfreezecharge": {
  37239. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  37240. "type": "number"
  37241. },
  37242. "decimalplace": {
  37243. "description": "商品报价小数位",
  37244. "type": "integer"
  37245. },
  37246. "delistingtype": {
  37247. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  37248. "type": "integer"
  37249. },
  37250. "enumdicname": {
  37251. "description": "单位名称",
  37252. "type": "string"
  37253. },
  37254. "freezecharge": {
  37255. "description": "冻结手续费",
  37256. "type": "number"
  37257. },
  37258. "freezemargin": {
  37259. "description": "冻结保证金(冻结交易金额)",
  37260. "type": "number"
  37261. },
  37262. "gcaccountid": {
  37263. "description": "账户ID[合约币种]",
  37264. "type": "integer"
  37265. },
  37266. "goodscode": {
  37267. "description": "商品代码",
  37268. "type": "string"
  37269. },
  37270. "goodsid": {
  37271. "description": "商品ID",
  37272. "type": "integer"
  37273. },
  37274. "goodsname": {
  37275. "description": "商品名称",
  37276. "type": "string"
  37277. },
  37278. "goodunitid": {
  37279. "description": "商品单位id",
  37280. "type": "integer"
  37281. },
  37282. "histradedate": {
  37283. "description": "历史交易日",
  37284. "type": "string"
  37285. },
  37286. "isconfirmexercise": {
  37287. "description": "是否确认行权- 0:否 1:是",
  37288. "type": "integer"
  37289. },
  37290. "ispreexercise": {
  37291. "description": "是否预申报- 0:否 1:是",
  37292. "type": "integer"
  37293. },
  37294. "isvaliddata": {
  37295. "description": "是否有效 - 0:无效 1:有效",
  37296. "type": "integer"
  37297. },
  37298. "listingselecttype": {
  37299. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37300. "type": "integer"
  37301. },
  37302. "marginalgorithm": {
  37303. "description": "保证金收取方式 1:比率 2:固定",
  37304. "type": "integer"
  37305. },
  37306. "marginvalue": {
  37307. "description": "即市保证金设置值",
  37308. "type": "number"
  37309. },
  37310. "marketid": {
  37311. "description": "市场ID",
  37312. "type": "integer"
  37313. },
  37314. "marketmaxsub": {
  37315. "description": "市价最大偏移范围",
  37316. "type": "number"
  37317. },
  37318. "marketname": {
  37319. "description": "市场名称",
  37320. "type": "string"
  37321. },
  37322. "memberuserid": {
  37323. "description": "所属会员UserID",
  37324. "type": "integer"
  37325. },
  37326. "openexchagechargevalue": {
  37327. "description": "建仓交易所手续费设置值",
  37328. "type": "number"
  37329. },
  37330. "openfeealgorithm": {
  37331. "description": "建仓手续费收取方式 1:比率 2:固定",
  37332. "type": "integer"
  37333. },
  37334. "openfreezecharge": {
  37335. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  37336. "type": "number"
  37337. },
  37338. "openmemberchargevalue": {
  37339. "description": "建仓会员手续费设置值",
  37340. "type": "number"
  37341. },
  37342. "openqty": {
  37343. "description": "开仓数量(先建后平操作,需要记录)",
  37344. "type": "number"
  37345. },
  37346. "opentradeqty": {
  37347. "description": "开仓成交数量(先建后平操作,需要记录)",
  37348. "type": "number"
  37349. },
  37350. "openunfreezecharge": {
  37351. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  37352. "type": "number"
  37353. },
  37354. "operatetype": {
  37355. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  37356. "type": "integer"
  37357. },
  37358. "operatorid": {
  37359. "description": "登录账号(LoginID)",
  37360. "type": "integer"
  37361. },
  37362. "optiontype": {
  37363. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37364. "type": "integer"
  37365. },
  37366. "orderid": {
  37367. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37368. "type": "string"
  37369. },
  37370. "orderprice": {
  37371. "description": "委托价格",
  37372. "type": "number"
  37373. },
  37374. "orderqty": {
  37375. "description": "委托数量",
  37376. "type": "number"
  37377. },
  37378. "ordersrc": {
  37379. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  37380. "type": "integer"
  37381. },
  37382. "orderstatus": {
  37383. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  37384. "type": "integer"
  37385. },
  37386. "ordertime": {
  37387. "description": "委托时间",
  37388. "type": "string"
  37389. },
  37390. "preexerciseprice": {
  37391. "description": "预申报价格",
  37392. "type": "number"
  37393. },
  37394. "premium": {
  37395. "description": "权利金",
  37396. "type": "number"
  37397. },
  37398. "preorderid": {
  37399. "description": "关联预埋单号(止盈止损单时填写)",
  37400. "type": "string"
  37401. },
  37402. "pricemode": {
  37403. "description": "取价方式 - 1:市价 2: 限价",
  37404. "type": "integer"
  37405. },
  37406. "qtydecimalplace": {
  37407. "description": "成交量小数位",
  37408. "type": "integer"
  37409. },
  37410. "quoteid": {
  37411. "description": "报价单ID",
  37412. "type": "integer"
  37413. },
  37414. "relatedid": {
  37415. "description": "关联单号(交割单)",
  37416. "type": "string"
  37417. },
  37418. "retcode": {
  37419. "description": "错误代码",
  37420. "type": "integer"
  37421. },
  37422. "sessionid": {
  37423. "description": "会话ID",
  37424. "type": "integer"
  37425. },
  37426. "tradedate": {
  37427. "description": "交易日(yyyyMMdd)",
  37428. "type": "string"
  37429. },
  37430. "trademode": {
  37431. "description": "交易模式",
  37432. "type": "integer"
  37433. },
  37434. "tradeproperty": {
  37435. "description": "交易属性",
  37436. "type": "integer"
  37437. },
  37438. "tradeqty": {
  37439. "description": "成交数量",
  37440. "type": "number"
  37441. },
  37442. "unfreezecharge": {
  37443. "description": "解冻手续费",
  37444. "type": "number"
  37445. },
  37446. "unfreezemargin": {
  37447. "description": "解冻保证金",
  37448. "type": "number"
  37449. },
  37450. "updatetime": {
  37451. "description": "更新时间",
  37452. "type": "string"
  37453. },
  37454. "uuid": {
  37455. "description": "发起端唯一id",
  37456. "type": "string"
  37457. },
  37458. "validtime": {
  37459. "description": "有效期限",
  37460. "type": "string"
  37461. },
  37462. "validtype": {
  37463. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  37464. "type": "integer"
  37465. },
  37466. "volumetype": {
  37467. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  37468. "type": "integer"
  37469. }
  37470. }
  37471. },
  37472. "order.QueryTradeDetailRsp": {
  37473. "type": "object",
  37474. "required": [
  37475. "accountid",
  37476. "buyorsell",
  37477. "goodsid",
  37478. "marketid",
  37479. "memberuserid",
  37480. "orderid",
  37481. "tradeamount",
  37482. "tradedate",
  37483. "tradeid",
  37484. "tradeprice",
  37485. "tradeqty",
  37486. "tradetime"
  37487. ],
  37488. "properties": {
  37489. "accountid": {
  37490. "description": "账户ID[报价币种]",
  37491. "type": "integer"
  37492. },
  37493. "advanceratio": {
  37494. "description": "首付比率",
  37495. "type": "number"
  37496. },
  37497. "buildtype": {
  37498. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  37499. "type": "integer"
  37500. },
  37501. "buyorsell": {
  37502. "description": "方向 - 0:买 1:卖",
  37503. "type": "integer"
  37504. },
  37505. "charge": {
  37506. "description": "手续费",
  37507. "type": "number"
  37508. },
  37509. "closecharge": {
  37510. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37511. "type": "number"
  37512. },
  37513. "closeexchagechargevalue": {
  37514. "description": "平仓交易所手续费设置值",
  37515. "type": "number"
  37516. },
  37517. "closefeealgorithm": {
  37518. "description": "平仓手续费收取方式 1:比率 2:固定",
  37519. "type": "integer"
  37520. },
  37521. "closememberchargevalue": {
  37522. "description": "平仓会员手续费设置值",
  37523. "type": "number"
  37524. },
  37525. "closepl": {
  37526. "description": "平仓盈亏",
  37527. "type": "number"
  37528. },
  37529. "closepl2": {
  37530. "description": "平仓盈亏[逐笔]",
  37531. "type": "number"
  37532. },
  37533. "closeqty": {
  37534. "description": "平仓数量(先建后平操作 需要记录)",
  37535. "type": "number"
  37536. },
  37537. "creditamount": {
  37538. "description": "授信金额",
  37539. "type": "number"
  37540. },
  37541. "decimalplace": {
  37542. "description": "商品报价小数位",
  37543. "type": "integer"
  37544. },
  37545. "enumdicname": {
  37546. "description": "单位名称",
  37547. "type": "string"
  37548. },
  37549. "gcaccountid": {
  37550. "description": "账户ID[合约币种]",
  37551. "type": "integer"
  37552. },
  37553. "goodscode": {
  37554. "description": "商品代码",
  37555. "type": "string"
  37556. },
  37557. "goodsid": {
  37558. "description": "商品ID",
  37559. "type": "integer"
  37560. },
  37561. "goodsname": {
  37562. "description": "商品名称",
  37563. "type": "string"
  37564. },
  37565. "goodunitid": {
  37566. "description": "商品单位id",
  37567. "type": "integer"
  37568. },
  37569. "intclosepl": {
  37570. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  37571. "type": "integer"
  37572. },
  37573. "isconfirmexercise": {
  37574. "description": "是否确认行权- 0:否 1:是",
  37575. "type": "integer"
  37576. },
  37577. "ismain": {
  37578. "description": "是否主单 - 0:不是 1:是",
  37579. "type": "integer"
  37580. },
  37581. "ispreexercise": {
  37582. "description": "是否预申报- 0:否 1:是",
  37583. "type": "integer"
  37584. },
  37585. "isreckoned": {
  37586. "description": "是否结算 - 0:未结算 1:已结算",
  37587. "type": "integer"
  37588. },
  37589. "listingselecttype": {
  37590. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37591. "type": "integer"
  37592. },
  37593. "marketid": {
  37594. "description": "市场ID",
  37595. "type": "integer"
  37596. },
  37597. "marketname": {
  37598. "description": "市场名称",
  37599. "type": "string"
  37600. },
  37601. "matchaccountid": {
  37602. "description": "对手账号id",
  37603. "type": "integer"
  37604. },
  37605. "memberuserid": {
  37606. "description": "会员id 个人投资者 需要填写",
  37607. "type": "integer"
  37608. },
  37609. "opencharge": {
  37610. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37611. "type": "number"
  37612. },
  37613. "openexchagechargevalue": {
  37614. "description": "建仓交易所手续费设置值",
  37615. "type": "number"
  37616. },
  37617. "openfeealgorithm": {
  37618. "description": "建仓手续费收取方式 1:比率 2:固定",
  37619. "type": "integer"
  37620. },
  37621. "openmemberchargevalue": {
  37622. "description": "建仓会员手续费设置值",
  37623. "type": "number"
  37624. },
  37625. "openqty": {
  37626. "description": "开仓数量(先建后平操作 需要记录)",
  37627. "type": "number"
  37628. },
  37629. "optiontype": {
  37630. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37631. "type": "integer"
  37632. },
  37633. "orderid": {
  37634. "description": "委托单号",
  37635. "type": "string"
  37636. },
  37637. "payamount": {
  37638. "description": "支付金额(付款金额)",
  37639. "type": "number"
  37640. },
  37641. "performanceplanid": {
  37642. "description": "履约计划ID[期权]",
  37643. "type": "integer"
  37644. },
  37645. "performancestatus": {
  37646. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  37647. "type": "integer"
  37648. },
  37649. "preexerciseprice": {
  37650. "description": "预申报价格",
  37651. "type": "number"
  37652. },
  37653. "premium": {
  37654. "description": "权利金 - [持仓单的权利金]",
  37655. "type": "number"
  37656. },
  37657. "qtydecimalplace": {
  37658. "description": "商品报价小数位",
  37659. "type": "integer"
  37660. },
  37661. "recvamount": {
  37662. "description": "到账金额 = 成交金额 - 手续费",
  37663. "type": "number"
  37664. },
  37665. "relatedouttradeid": {
  37666. "description": "关联外部成交单ID",
  37667. "type": "integer"
  37668. },
  37669. "status": {
  37670. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  37671. "type": "integer"
  37672. },
  37673. "totalamount": {
  37674. "description": "订单总额 = 成交金额 + 手续费",
  37675. "type": "number"
  37676. },
  37677. "tradeamount": {
  37678. "description": "成交金额[账户币种,用于所有权]",
  37679. "type": "number"
  37680. },
  37681. "tradedate": {
  37682. "description": "交易日(yyyyMMdd)",
  37683. "type": "string"
  37684. },
  37685. "tradeid": {
  37686. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37687. "type": "string"
  37688. },
  37689. "trademode": {
  37690. "description": "交易模式",
  37691. "type": "integer"
  37692. },
  37693. "tradeprice": {
  37694. "description": "成交价格",
  37695. "type": "number"
  37696. },
  37697. "tradeproperty": {
  37698. "description": "交易属性",
  37699. "type": "integer"
  37700. },
  37701. "tradeqty": {
  37702. "description": "成交数量",
  37703. "type": "number"
  37704. },
  37705. "tradetime": {
  37706. "description": "成交时间",
  37707. "type": "string"
  37708. },
  37709. "tradetype": {
  37710. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  37711. "type": "integer"
  37712. }
  37713. }
  37714. },
  37715. "order.QueryTradeOrderDetailRsp": {
  37716. "type": "object",
  37717. "required": [
  37718. "accountid",
  37719. "buildtype",
  37720. "buyorsell",
  37721. "goodsid",
  37722. "marketid",
  37723. "operatetype",
  37724. "orderqty",
  37725. "ordertime",
  37726. "pricemode",
  37727. "tradedate",
  37728. "validtype"
  37729. ],
  37730. "properties": {
  37731. "accountid": {
  37732. "description": "账户ID[报价币种]",
  37733. "type": "integer"
  37734. },
  37735. "buildtype": {
  37736. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  37737. "type": "integer"
  37738. },
  37739. "buyorsell": {
  37740. "description": "买卖 - 0:买 1:卖",
  37741. "type": "integer"
  37742. },
  37743. "cancelorderid": {
  37744. "description": "撤单单号(撤单时填写)",
  37745. "type": "string"
  37746. },
  37747. "cancelqty": {
  37748. "description": "撤单数量",
  37749. "type": "number"
  37750. },
  37751. "clienttype": {
  37752. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  37753. "type": "integer"
  37754. },
  37755. "closefreezecharge": {
  37756. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  37757. "type": "number"
  37758. },
  37759. "closeqty": {
  37760. "description": "平仓数量(先建后平操作 需要记录)",
  37761. "type": "number"
  37762. },
  37763. "closetradeqty": {
  37764. "description": "平仓成交数量(先建后平操作,需要记录)",
  37765. "type": "number"
  37766. },
  37767. "closeunfreezecharge": {
  37768. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  37769. "type": "number"
  37770. },
  37771. "decimalplace": {
  37772. "description": "商品报价小数位",
  37773. "type": "integer"
  37774. },
  37775. "delistingtype": {
  37776. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  37777. "type": "integer"
  37778. },
  37779. "enableqty": {
  37780. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  37781. "type": "number"
  37782. },
  37783. "enumdicname": {
  37784. "description": "单位名称",
  37785. "type": "string"
  37786. },
  37787. "freezecharge": {
  37788. "description": "冻结手续费",
  37789. "type": "number"
  37790. },
  37791. "freezemargin": {
  37792. "description": "冻结保证金(冻结交易金额)",
  37793. "type": "number"
  37794. },
  37795. "goodscode": {
  37796. "description": "商品代码",
  37797. "type": "string"
  37798. },
  37799. "goodsid": {
  37800. "description": "商品ID",
  37801. "type": "integer"
  37802. },
  37803. "goodsname": {
  37804. "description": "商品名称",
  37805. "type": "string"
  37806. },
  37807. "goodunitid": {
  37808. "description": "商品单位id",
  37809. "type": "integer"
  37810. },
  37811. "listingselecttype": {
  37812. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37813. "type": "integer"
  37814. },
  37815. "marketid": {
  37816. "description": "市场ID",
  37817. "type": "integer"
  37818. },
  37819. "marketname": {
  37820. "description": "市场名称",
  37821. "type": "string"
  37822. },
  37823. "openfreezecharge": {
  37824. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  37825. "type": "number"
  37826. },
  37827. "openqty": {
  37828. "description": "开仓数量(先建后平操作,需要记录)",
  37829. "type": "number"
  37830. },
  37831. "opentradeqty": {
  37832. "description": "开仓成交数量(先建后平操作,需要记录)",
  37833. "type": "number"
  37834. },
  37835. "openunfreezecharge": {
  37836. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  37837. "type": "number"
  37838. },
  37839. "operatetype": {
  37840. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  37841. "type": "integer"
  37842. },
  37843. "operatorid": {
  37844. "description": "登录账号(LoginID)",
  37845. "type": "integer"
  37846. },
  37847. "orderid": {
  37848. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37849. "type": "string"
  37850. },
  37851. "orderprice": {
  37852. "description": "委托价格",
  37853. "type": "number"
  37854. },
  37855. "orderqty": {
  37856. "description": "委托数量",
  37857. "type": "number"
  37858. },
  37859. "ordersrc": {
  37860. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  37861. "type": "integer"
  37862. },
  37863. "orderstatus": {
  37864. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  37865. "type": "integer"
  37866. },
  37867. "ordertime": {
  37868. "description": "委托时间",
  37869. "type": "string"
  37870. },
  37871. "preorderid": {
  37872. "description": "关联预埋单号(止盈止损单时填写)",
  37873. "type": "string"
  37874. },
  37875. "pricemode": {
  37876. "description": "取价方式 - 1:市价 2: 限价",
  37877. "type": "integer"
  37878. },
  37879. "qtydecimalplace": {
  37880. "description": "商品报价小数位",
  37881. "type": "integer"
  37882. },
  37883. "relatedid": {
  37884. "description": "关联单号(交割单)",
  37885. "type": "string"
  37886. },
  37887. "tradedate": {
  37888. "description": "交易日(yyyyMMdd)",
  37889. "type": "string"
  37890. },
  37891. "trademode": {
  37892. "description": "交易模式",
  37893. "type": "integer"
  37894. },
  37895. "tradeqty": {
  37896. "description": "成交数量",
  37897. "type": "number"
  37898. },
  37899. "unfreezecharge": {
  37900. "description": "解冻手续费",
  37901. "type": "number"
  37902. },
  37903. "unfreezemargin": {
  37904. "description": "解冻保证金",
  37905. "type": "number"
  37906. },
  37907. "validtime": {
  37908. "description": "有效期限",
  37909. "type": "string"
  37910. },
  37911. "validtype": {
  37912. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  37913. "type": "integer"
  37914. },
  37915. "volumetype": {
  37916. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  37917. "type": "integer"
  37918. }
  37919. }
  37920. },
  37921. "order.QueryTradePositionRsp": {
  37922. "type": "object",
  37923. "required": [
  37924. "goodsid"
  37925. ],
  37926. "properties": {
  37927. "accountid": {
  37928. "description": "资金账户",
  37929. "type": "integer"
  37930. },
  37931. "agreeunit": {
  37932. "description": "合约单位",
  37933. "type": "number"
  37934. },
  37935. "averageprice": {
  37936. "description": "持仓均价",
  37937. "type": "number"
  37938. },
  37939. "buyorsell": {
  37940. "description": "方向 - 0:买 1:卖",
  37941. "type": "integer"
  37942. },
  37943. "closetotalqty": {
  37944. "description": "平仓总数量",
  37945. "type": "number"
  37946. },
  37947. "curholderamount": {
  37948. "description": "当前持仓总金额[商品币种]",
  37949. "type": "number"
  37950. },
  37951. "curpositionqty": {
  37952. "description": "当前持仓总数量",
  37953. "type": "number"
  37954. },
  37955. "currencyid": {
  37956. "description": "报价货币ID",
  37957. "type": "integer"
  37958. },
  37959. "curtdposition": {
  37960. "description": "期末今日头寸",
  37961. "type": "number"
  37962. },
  37963. "decimalplace": {
  37964. "description": "报价小数位",
  37965. "type": "integer"
  37966. },
  37967. "enableqty": {
  37968. "description": "可用量",
  37969. "type": "number"
  37970. },
  37971. "fretdposition": {
  37972. "description": "冻结今日头寸",
  37973. "type": "number"
  37974. },
  37975. "frozenqty": {
  37976. "description": "持仓冻结数量",
  37977. "type": "number"
  37978. },
  37979. "goodscode": {
  37980. "description": "商品代码",
  37981. "type": "string"
  37982. },
  37983. "goodsid": {
  37984. "description": "商品Id",
  37985. "type": "integer"
  37986. },
  37987. "goodsname": {
  37988. "description": "商品名称",
  37989. "type": "string"
  37990. },
  37991. "goodunit": {
  37992. "description": "报价单位",
  37993. "type": "string"
  37994. },
  37995. "goodunitid": {
  37996. "description": "报价单位ID",
  37997. "type": "integer"
  37998. },
  37999. "holderamount": {
  38000. "description": "期初持仓总金额[商品币种]",
  38001. "type": "number"
  38002. },
  38003. "lastprice": {
  38004. "description": "最新价",
  38005. "type": "number"
  38006. },
  38007. "marketamount": {
  38008. "description": "市值",
  38009. "type": "number"
  38010. },
  38011. "marketid": {
  38012. "description": "所属市场ID",
  38013. "type": "integer"
  38014. },
  38015. "openreqqty": {
  38016. "description": "开仓申请数量(用于比较最大持仓数量)",
  38017. "type": "number"
  38018. },
  38019. "opentotalqty": {
  38020. "description": "开仓总数量",
  38021. "type": "number"
  38022. },
  38023. "otherfrozenqty": {
  38024. "description": "持仓其他冻结数量(交割冻结)",
  38025. "type": "number"
  38026. },
  38027. "positionpl": {
  38028. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  38029. "type": "number"
  38030. },
  38031. "positionplrate": {
  38032. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  38033. "type": "number"
  38034. },
  38035. "positionqty": {
  38036. "description": "期初持仓数量",
  38037. "type": "number"
  38038. },
  38039. "qtydecimalplace": {
  38040. "description": "成交量小数位",
  38041. "type": "integer"
  38042. },
  38043. "refgoodscode": {
  38044. "description": "参考商品代码",
  38045. "type": "string"
  38046. },
  38047. "refgoodsid": {
  38048. "description": "参考商品ID",
  38049. "type": "integer"
  38050. },
  38051. "tnqty": {
  38052. "description": "T+N冻结总量",
  38053. "type": "number"
  38054. },
  38055. "tnusedqty": {
  38056. "description": "T+N使用量(可以使用T+N的冻结数量)",
  38057. "type": "number"
  38058. },
  38059. "trademode": {
  38060. "description": "交易模式",
  38061. "type": "integer"
  38062. },
  38063. "tradeproperty": {
  38064. "description": "交易属性",
  38065. "type": "integer"
  38066. },
  38067. "usedmargin": {
  38068. "description": "占用保证金[商品币种]",
  38069. "type": "number"
  38070. }
  38071. }
  38072. },
  38073. "pb.GoodsMarginCfgStruct": {
  38074. "type": "object",
  38075. "properties": {
  38076. "CustomerTypeID": {
  38077. "description": "投资者客户类型",
  38078. "type": "integer"
  38079. },
  38080. "GoodsID": {
  38081. "description": "商品ID",
  38082. "type": "integer"
  38083. },
  38084. "IsDefault": {
  38085. "description": "是否默认标志位",
  38086. "type": "integer"
  38087. },
  38088. "LockMarginValue": {
  38089. "description": "锁仓保证金",
  38090. "type": "number"
  38091. },
  38092. "MarginAlgorithm": {
  38093. "description": "保证金计算方式",
  38094. "type": "integer"
  38095. },
  38096. "MarketMarginValue": {
  38097. "description": "即市保证金值",
  38098. "type": "number"
  38099. },
  38100. "RealMarginAlgorithm": {
  38101. "description": "实付保证金计算方式",
  38102. "type": "integer"
  38103. },
  38104. "RealMarginValue": {
  38105. "description": "实付比例",
  38106. "type": "number"
  38107. },
  38108. "ReckonMarginValue": {
  38109. "description": "结算保证金值",
  38110. "type": "number"
  38111. }
  38112. }
  38113. },
  38114. "quote.HistoryData": {
  38115. "type": "object",
  38116. "properties": {
  38117. "c": {
  38118. "description": "收盘价",
  38119. "type": "number"
  38120. },
  38121. "f": {
  38122. "description": "是否补充数据",
  38123. "type": "boolean"
  38124. },
  38125. "h": {
  38126. "description": "最高价",
  38127. "type": "number"
  38128. },
  38129. "hv": {
  38130. "description": "持仓量",
  38131. "type": "integer"
  38132. },
  38133. "l": {
  38134. "description": "最低价",
  38135. "type": "number"
  38136. },
  38137. "o": {
  38138. "description": "开盘价",
  38139. "type": "number"
  38140. },
  38141. "s": {
  38142. "description": "结算价,日线周期(包括)以上才有",
  38143. "type": "number"
  38144. },
  38145. "ts": {
  38146. "description": "时间",
  38147. "type": "string"
  38148. },
  38149. "tt": {
  38150. "description": "总金额",
  38151. "type": "number"
  38152. },
  38153. "tv": {
  38154. "description": "总量(成交量)",
  38155. "type": "integer"
  38156. }
  38157. }
  38158. },
  38159. "quote.HistoryTikData": {
  38160. "type": "object",
  38161. "properties": {
  38162. "AV": {
  38163. "description": "卖量",
  38164. "type": "integer"
  38165. },
  38166. "Ask": {
  38167. "description": "卖价",
  38168. "type": "number"
  38169. },
  38170. "BV": {
  38171. "description": "买量",
  38172. "type": "integer"
  38173. },
  38174. "Bid": {
  38175. "description": "买价",
  38176. "type": "number"
  38177. },
  38178. "HI": {
  38179. "description": "单笔持仓",
  38180. "type": "integer"
  38181. },
  38182. "HV": {
  38183. "description": "持仓量",
  38184. "type": "integer"
  38185. },
  38186. "PE": {
  38187. "description": "现价",
  38188. "type": "number"
  38189. },
  38190. "TDR": {
  38191. "description": "交易方向,0:买 1:卖",
  38192. "type": "integer"
  38193. },
  38194. "TK": {
  38195. "description": "交易类型",
  38196. "type": "integer"
  38197. },
  38198. "TS": {
  38199. "description": "行情时间文本",
  38200. "type": "string"
  38201. },
  38202. "TT": {
  38203. "description": "现金额",
  38204. "type": "number"
  38205. },
  38206. "Vol": {
  38207. "description": "现量",
  38208. "type": "integer"
  38209. }
  38210. }
  38211. },
  38212. "quote.QueryQuoteDayRsp": {
  38213. "type": "object",
  38214. "properties": {
  38215. "ask": {
  38216. "description": "卖1",
  38217. "type": "number"
  38218. },
  38219. "ask10": {
  38220. "description": "卖10",
  38221. "type": "number"
  38222. },
  38223. "ask2": {
  38224. "description": "卖2",
  38225. "type": "number"
  38226. },
  38227. "ask3": {
  38228. "description": "卖3",
  38229. "type": "number"
  38230. },
  38231. "ask4": {
  38232. "description": "卖4",
  38233. "type": "number"
  38234. },
  38235. "ask5": {
  38236. "description": "卖5",
  38237. "type": "number"
  38238. },
  38239. "ask6": {
  38240. "description": "卖6",
  38241. "type": "number"
  38242. },
  38243. "ask7": {
  38244. "description": "卖7",
  38245. "type": "number"
  38246. },
  38247. "ask8": {
  38248. "description": "卖8",
  38249. "type": "number"
  38250. },
  38251. "ask9": {
  38252. "description": "卖9",
  38253. "type": "number"
  38254. },
  38255. "askorderid": {
  38256. "description": "卖单号1",
  38257. "type": "integer"
  38258. },
  38259. "askorderid2": {
  38260. "description": "卖单号2",
  38261. "type": "integer"
  38262. },
  38263. "askorderid3": {
  38264. "description": "卖单号3",
  38265. "type": "integer"
  38266. },
  38267. "askorderid4": {
  38268. "description": "卖单号4",
  38269. "type": "integer"
  38270. },
  38271. "askorderid5": {
  38272. "description": "卖单号5",
  38273. "type": "integer"
  38274. },
  38275. "askordervolume": {
  38276. "description": "卖单量1",
  38277. "type": "integer"
  38278. },
  38279. "askordervolume10": {
  38280. "description": "卖单量10",
  38281. "type": "integer"
  38282. },
  38283. "askordervolume2": {
  38284. "description": "卖单量2",
  38285. "type": "integer"
  38286. },
  38287. "askordervolume3": {
  38288. "description": "卖单量3",
  38289. "type": "integer"
  38290. },
  38291. "askordervolume4": {
  38292. "description": "卖单量4",
  38293. "type": "integer"
  38294. },
  38295. "askordervolume5": {
  38296. "description": "卖单量5",
  38297. "type": "integer"
  38298. },
  38299. "askordervolume6": {
  38300. "description": "卖单量6",
  38301. "type": "integer"
  38302. },
  38303. "askordervolume7": {
  38304. "description": "卖单量7",
  38305. "type": "integer"
  38306. },
  38307. "askordervolume8": {
  38308. "description": "卖单量8",
  38309. "type": "integer"
  38310. },
  38311. "askordervolume9": {
  38312. "description": "卖单量9",
  38313. "type": "integer"
  38314. },
  38315. "askqueueinfo": {
  38316. "description": "大利市卖港股用",
  38317. "type": "string"
  38318. },
  38319. "askvolume": {
  38320. "description": "卖量1",
  38321. "type": "integer"
  38322. },
  38323. "askvolume10": {
  38324. "description": "卖量10",
  38325. "type": "integer"
  38326. },
  38327. "askvolume2": {
  38328. "description": "卖量2",
  38329. "type": "integer"
  38330. },
  38331. "askvolume3": {
  38332. "description": "卖量3",
  38333. "type": "integer"
  38334. },
  38335. "askvolume4": {
  38336. "description": "卖量4",
  38337. "type": "integer"
  38338. },
  38339. "askvolume5": {
  38340. "description": "卖量5",
  38341. "type": "integer"
  38342. },
  38343. "askvolume6": {
  38344. "description": "卖量6",
  38345. "type": "integer"
  38346. },
  38347. "askvolume7": {
  38348. "description": "卖量7",
  38349. "type": "integer"
  38350. },
  38351. "askvolume8": {
  38352. "description": "卖量8",
  38353. "type": "integer"
  38354. },
  38355. "askvolume9": {
  38356. "description": "卖量9",
  38357. "type": "integer"
  38358. },
  38359. "averageprice": {
  38360. "description": "均价",
  38361. "type": "number"
  38362. },
  38363. "bid": {
  38364. "description": "买1",
  38365. "type": "number"
  38366. },
  38367. "bid10": {
  38368. "description": "买10",
  38369. "type": "number"
  38370. },
  38371. "bid2": {
  38372. "description": "买2",
  38373. "type": "number"
  38374. },
  38375. "bid3": {
  38376. "description": "买3",
  38377. "type": "number"
  38378. },
  38379. "bid4": {
  38380. "description": "买4",
  38381. "type": "number"
  38382. },
  38383. "bid5": {
  38384. "description": "买5",
  38385. "type": "number"
  38386. },
  38387. "bid6": {
  38388. "description": "买6",
  38389. "type": "number"
  38390. },
  38391. "bid7": {
  38392. "description": "买7",
  38393. "type": "number"
  38394. },
  38395. "bid8": {
  38396. "description": "买8",
  38397. "type": "number"
  38398. },
  38399. "bid9": {
  38400. "description": "买9",
  38401. "type": "number"
  38402. },
  38403. "bidorderid": {
  38404. "description": "买单号1",
  38405. "type": "integer"
  38406. },
  38407. "bidorderid2": {
  38408. "description": "买单号2",
  38409. "type": "integer"
  38410. },
  38411. "bidorderid3": {
  38412. "description": "买单号3",
  38413. "type": "integer"
  38414. },
  38415. "bidorderid4": {
  38416. "description": "买单号4",
  38417. "type": "integer"
  38418. },
  38419. "bidorderid5": {
  38420. "description": "买单号5",
  38421. "type": "integer"
  38422. },
  38423. "bidordervolume": {
  38424. "description": "买单量1",
  38425. "type": "integer"
  38426. },
  38427. "bidordervolume10": {
  38428. "description": "买单量10",
  38429. "type": "integer"
  38430. },
  38431. "bidordervolume2": {
  38432. "description": "买单量2",
  38433. "type": "integer"
  38434. },
  38435. "bidordervolume3": {
  38436. "description": "买单量3",
  38437. "type": "integer"
  38438. },
  38439. "bidordervolume4": {
  38440. "description": "买单量4",
  38441. "type": "integer"
  38442. },
  38443. "bidordervolume5": {
  38444. "description": "买单量5",
  38445. "type": "integer"
  38446. },
  38447. "bidordervolume6": {
  38448. "description": "买单量6",
  38449. "type": "integer"
  38450. },
  38451. "bidordervolume7": {
  38452. "description": "买单量7",
  38453. "type": "integer"
  38454. },
  38455. "bidordervolume8": {
  38456. "description": "买单量8",
  38457. "type": "integer"
  38458. },
  38459. "bidordervolume9": {
  38460. "description": "买单量9",
  38461. "type": "integer"
  38462. },
  38463. "bidqueueinfo": {
  38464. "description": "大利市买港股用",
  38465. "type": "string"
  38466. },
  38467. "bidvolume": {
  38468. "description": "买量1",
  38469. "type": "integer"
  38470. },
  38471. "bidvolume10": {
  38472. "description": "买量10",
  38473. "type": "integer"
  38474. },
  38475. "bidvolume2": {
  38476. "description": "买量2",
  38477. "type": "integer"
  38478. },
  38479. "bidvolume3": {
  38480. "description": "买量3",
  38481. "type": "integer"
  38482. },
  38483. "bidvolume4": {
  38484. "description": "买量4",
  38485. "type": "integer"
  38486. },
  38487. "bidvolume5": {
  38488. "description": "买量5",
  38489. "type": "integer"
  38490. },
  38491. "bidvolume6": {
  38492. "description": "买量6",
  38493. "type": "integer"
  38494. },
  38495. "bidvolume7": {
  38496. "description": "买量7",
  38497. "type": "integer"
  38498. },
  38499. "bidvolume8": {
  38500. "description": "买量8",
  38501. "type": "integer"
  38502. },
  38503. "bidvolume9": {
  38504. "description": "买量9",
  38505. "type": "integer"
  38506. },
  38507. "calloptionpremiums": {
  38508. "description": "认购期权1",
  38509. "type": "integer"
  38510. },
  38511. "calloptionpremiums2": {
  38512. "description": "认购期权2",
  38513. "type": "integer"
  38514. },
  38515. "calloptionpremiums3": {
  38516. "description": "认购期权3",
  38517. "type": "integer"
  38518. },
  38519. "calloptionpremiums4": {
  38520. "description": "认购期权4",
  38521. "type": "integer"
  38522. },
  38523. "calloptionpremiums5": {
  38524. "description": "认购期权5",
  38525. "type": "integer"
  38526. },
  38527. "cleartime": {
  38528. "description": "清盘时间",
  38529. "type": "integer"
  38530. },
  38531. "exchangecode": {
  38532. "description": "交易所代码",
  38533. "type": "integer"
  38534. },
  38535. "exchangedate": {
  38536. "description": "交易日",
  38537. "type": "integer"
  38538. },
  38539. "goodscode": {
  38540. "description": "商品代码",
  38541. "type": "string"
  38542. },
  38543. "grepmarketprice": {
  38544. "description": "暗盘价 港股专用",
  38545. "type": "number"
  38546. },
  38547. "highest": {
  38548. "description": "最高价",
  38549. "type": "number"
  38550. },
  38551. "holdincrement": {
  38552. "description": "单笔持仓",
  38553. "type": "integer"
  38554. },
  38555. "holdvolume": {
  38556. "description": "持仓",
  38557. "type": "integer"
  38558. },
  38559. "iep": {
  38560. "description": "平衡价 港股专用",
  38561. "type": "number"
  38562. },
  38563. "iev": {
  38564. "description": "平衡量 港股专用",
  38565. "type": "number"
  38566. },
  38567. "inventory": {
  38568. "description": "库存",
  38569. "type": "integer"
  38570. },
  38571. "iscleared": {
  38572. "description": "是否清盘标志",
  38573. "type": "integer"
  38574. },
  38575. "issettled": {
  38576. "description": "是否结算标志",
  38577. "type": "integer"
  38578. },
  38579. "last": {
  38580. "description": "最新价",
  38581. "type": "number"
  38582. },
  38583. "lastlot": {
  38584. "description": "最新成交手数",
  38585. "type": "integer"
  38586. },
  38587. "lasttime": {
  38588. "description": "行情时间(只有现价变化行情时间才变化)",
  38589. "type": "string"
  38590. },
  38591. "lastturnover": {
  38592. "description": "最新成交金额",
  38593. "type": "number"
  38594. },
  38595. "lastvolume": {
  38596. "description": "最新成交量",
  38597. "type": "integer"
  38598. },
  38599. "limitdown": {
  38600. "description": "跌停价",
  38601. "type": "number"
  38602. },
  38603. "limitup": {
  38604. "description": "涨停价",
  38605. "type": "number"
  38606. },
  38607. "lowest": {
  38608. "description": "最低价",
  38609. "type": "number"
  38610. },
  38611. "nontotalholdervolume": {
  38612. "description": "非交易持仓量",
  38613. "type": "integer"
  38614. },
  38615. "nontotallot": {
  38616. "description": "非交易总手数",
  38617. "type": "integer"
  38618. },
  38619. "nontotalturnover": {
  38620. "description": "非交易总金额",
  38621. "type": "integer"
  38622. },
  38623. "nontotalvolume": {
  38624. "description": "非交易总量",
  38625. "type": "integer"
  38626. },
  38627. "opened": {
  38628. "description": "开盘价",
  38629. "type": "number"
  38630. },
  38631. "opentime": {
  38632. "description": "开盘时间",
  38633. "type": "string"
  38634. },
  38635. "orderid": {
  38636. "description": "序号",
  38637. "type": "integer"
  38638. },
  38639. "preclose": {
  38640. "description": "昨收",
  38641. "type": "number"
  38642. },
  38643. "preholdvolume": {
  38644. "description": "昨持仓",
  38645. "type": "integer"
  38646. },
  38647. "presettle": {
  38648. "description": "昨结价",
  38649. "type": "number"
  38650. },
  38651. "publictradetype": {
  38652. "description": "公共交易标志类型 港股专用",
  38653. "type": "string"
  38654. },
  38655. "putoptionpremiums": {
  38656. "description": "认沽期权1",
  38657. "type": "integer"
  38658. },
  38659. "putoptionpremiums2": {
  38660. "description": "认沽期权2",
  38661. "type": "integer"
  38662. },
  38663. "putoptionpremiums3": {
  38664. "description": "认沽期权3",
  38665. "type": "integer"
  38666. },
  38667. "putoptionpremiums4": {
  38668. "description": "认沽期权4",
  38669. "type": "integer"
  38670. },
  38671. "putoptionpremiums5": {
  38672. "description": "认沽期权5",
  38673. "type": "integer"
  38674. },
  38675. "settle": {
  38676. "description": "结算价",
  38677. "type": "number"
  38678. },
  38679. "strikeprice": {
  38680. "description": "发行价",
  38681. "type": "number"
  38682. },
  38683. "totalaskvolume": {
  38684. "description": "内盘",
  38685. "type": "integer"
  38686. },
  38687. "totalbidvolume": {
  38688. "description": "外盘",
  38689. "type": "integer"
  38690. },
  38691. "totallot": {
  38692. "description": "总手数",
  38693. "type": "integer"
  38694. },
  38695. "totalturnover": {
  38696. "description": "总金额",
  38697. "type": "number"
  38698. },
  38699. "totalvolume": {
  38700. "description": "总量",
  38701. "type": "integer"
  38702. },
  38703. "utclasttime": {
  38704. "description": "utc的行情时间",
  38705. "type": "string"
  38706. }
  38707. }
  38708. },
  38709. "quote.QueryTSDataRsp": {
  38710. "type": "object",
  38711. "properties": {
  38712. "Count": {
  38713. "description": "交易日应有数据个数",
  38714. "type": "integer"
  38715. },
  38716. "decimalPlace": {
  38717. "description": "小数位",
  38718. "type": "integer"
  38719. },
  38720. "endTime": {
  38721. "description": "结束时间",
  38722. "type": "string"
  38723. },
  38724. "goodsCode": {
  38725. "description": "商品代码",
  38726. "type": "string"
  38727. },
  38728. "historyDatas": {
  38729. "description": "历史数据",
  38730. "type": "array",
  38731. "items": {
  38732. "$ref": "#/definitions/quote.HistoryData"
  38733. }
  38734. },
  38735. "outGoodsCode": {
  38736. "description": "外部商品代码",
  38737. "type": "string"
  38738. },
  38739. "preSettle": {
  38740. "description": "昨结价",
  38741. "type": "number"
  38742. },
  38743. "runSteps": {
  38744. "description": "交易日开休市计划",
  38745. "type": "array",
  38746. "items": {
  38747. "$ref": "#/definitions/quote.TSDataRunStep"
  38748. }
  38749. },
  38750. "startTime": {
  38751. "description": "开始时间",
  38752. "type": "string"
  38753. },
  38754. "tradeDate": {
  38755. "description": "交易日",
  38756. "type": "string"
  38757. }
  38758. }
  38759. },
  38760. "quote.TSDataRunStep": {
  38761. "type": "object",
  38762. "properties": {
  38763. "end": {
  38764. "description": "真实结束时间",
  38765. "type": "string"
  38766. },
  38767. "endflag": {
  38768. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  38769. "type": "integer"
  38770. },
  38771. "endtime": {
  38772. "description": "结束时间(HH:mm)",
  38773. "type": "string"
  38774. },
  38775. "endweekday": {
  38776. "description": "结束周几",
  38777. "type": "integer"
  38778. },
  38779. "groupid": {
  38780. "description": "分组ID",
  38781. "type": "integer"
  38782. },
  38783. "runstep": {
  38784. "description": "运行阶段 - 2:连续交易",
  38785. "type": "integer"
  38786. },
  38787. "sectionid": {
  38788. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  38789. "type": "integer"
  38790. },
  38791. "start": {
  38792. "description": "真实开始时间",
  38793. "type": "string"
  38794. },
  38795. "startflag": {
  38796. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  38797. "type": "integer"
  38798. },
  38799. "starttime": {
  38800. "description": "起始时间(HH:mm)",
  38801. "type": "string"
  38802. },
  38803. "startweekday": {
  38804. "description": "起始周几",
  38805. "type": "integer"
  38806. },
  38807. "tradeweekday": {
  38808. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  38809. "type": "integer"
  38810. }
  38811. }
  38812. },
  38813. "szdz.QueryConvertLogRsp": {
  38814. "type": "object",
  38815. "required": [
  38816. "logid"
  38817. ],
  38818. "properties": {
  38819. "accountid": {
  38820. "description": "资金账户ID",
  38821. "type": "integer"
  38822. },
  38823. "clientticket": {
  38824. "description": "客户端流水号",
  38825. "type": "string"
  38826. },
  38827. "converttype": {
  38828. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  38829. "type": "integer"
  38830. },
  38831. "createtime": {
  38832. "description": "记账时间",
  38833. "type": "string"
  38834. },
  38835. "daymaxvalue": {
  38836. "description": "配置当日最大转入限制",
  38837. "type": "number"
  38838. },
  38839. "daymaxvalue2": {
  38840. "description": "配置当日最大转入限制(转入)",
  38841. "type": "number"
  38842. },
  38843. "goodscode": {
  38844. "description": "商品代码",
  38845. "type": "string"
  38846. },
  38847. "goodsname": {
  38848. "description": "商品名称",
  38849. "type": "string"
  38850. },
  38851. "handlestatus": {
  38852. "description": "处理状态",
  38853. "type": "integer"
  38854. },
  38855. "innergoodsid": {
  38856. "description": "内部商品ID",
  38857. "type": "integer"
  38858. },
  38859. "inratio": {
  38860. "description": "配置转入比值",
  38861. "type": "integer"
  38862. },
  38863. "invalue": {
  38864. "description": "目标值",
  38865. "type": "number"
  38866. },
  38867. "logid": {
  38868. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38869. "type": "integer"
  38870. },
  38871. "mobile": {
  38872. "description": "手机号码(加密存储)",
  38873. "type": "string"
  38874. },
  38875. "outergoodscode": {
  38876. "description": "外部商品代码[JD\\PD]",
  38877. "type": "string"
  38878. },
  38879. "outratio": {
  38880. "description": "配置转出比值",
  38881. "type": "integer"
  38882. },
  38883. "outvalue": {
  38884. "description": "源值",
  38885. "type": "number"
  38886. },
  38887. "pddecimalplace": {
  38888. "description": "PD小数位",
  38889. "type": "integer"
  38890. },
  38891. "qty": {
  38892. "description": "数量",
  38893. "type": "string"
  38894. },
  38895. "remark": {
  38896. "description": "备注",
  38897. "type": "string"
  38898. },
  38899. "sessionid": {
  38900. "description": "会话ID",
  38901. "type": "integer"
  38902. },
  38903. "timemaxvalue": {
  38904. "description": "配置单次最大转入限制",
  38905. "type": "number"
  38906. },
  38907. "timemaxvalue2": {
  38908. "description": "配置单次最大转入限制(转入)",
  38909. "type": "number"
  38910. },
  38911. "timeminvalue": {
  38912. "description": "配置单次最小数量限制",
  38913. "type": "number"
  38914. },
  38915. "timeminvalue2": {
  38916. "description": "配置单次最小数量限制(转入)",
  38917. "type": "number"
  38918. },
  38919. "tradedate": {
  38920. "description": "交易日(yyyyMMdd)",
  38921. "type": "string"
  38922. },
  38923. "userid": {
  38924. "description": "用户ID",
  38925. "type": "integer"
  38926. }
  38927. }
  38928. },
  38929. "szdz.QueryGoodsPickupRsp": {
  38930. "type": "object",
  38931. "required": [
  38932. "takeorderid"
  38933. ],
  38934. "properties": {
  38935. "accountid": {
  38936. "description": "账户ID",
  38937. "type": "integer"
  38938. },
  38939. "address": {
  38940. "description": "提货人详细地址",
  38941. "type": "string"
  38942. },
  38943. "auditer": {
  38944. "description": "审核人",
  38945. "type": "integer"
  38946. },
  38947. "audittime": {
  38948. "description": "审核时间",
  38949. "type": "string"
  38950. },
  38951. "cardnum": {
  38952. "description": "提货人证件号码",
  38953. "type": "string"
  38954. },
  38955. "cardtypeid": {
  38956. "description": "提货人证件类型",
  38957. "type": "integer"
  38958. },
  38959. "checkremark": {
  38960. "description": "审核备注",
  38961. "type": "string"
  38962. },
  38963. "goodscode": {
  38964. "description": "商品代码",
  38965. "type": "string"
  38966. },
  38967. "goodsid": {
  38968. "description": "商品ID",
  38969. "type": "integer"
  38970. },
  38971. "goodsname": {
  38972. "description": "商品名称",
  38973. "type": "string"
  38974. },
  38975. "handlestatus": {
  38976. "description": "处理状态",
  38977. "type": "integer"
  38978. },
  38979. "marketid": {
  38980. "description": "市场ID",
  38981. "type": "integer"
  38982. },
  38983. "phonenum": {
  38984. "description": "提货人联系方式",
  38985. "type": "string"
  38986. },
  38987. "qty": {
  38988. "description": "提货数量",
  38989. "type": "number"
  38990. },
  38991. "recivername": {
  38992. "description": "提货人姓名",
  38993. "type": "string"
  38994. },
  38995. "reqtime": {
  38996. "description": "更新时间",
  38997. "type": "string"
  38998. },
  38999. "takemode": {
  39000. "description": "提货方式 - 2:自提 3:配送",
  39001. "type": "integer"
  39002. },
  39003. "takeorderid": {
  39004. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  39005. "type": "string"
  39006. },
  39007. "takeorderstatus": {
  39008. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  39009. "type": "integer"
  39010. },
  39011. "takeremark": {
  39012. "description": "提货备注",
  39013. "type": "string"
  39014. },
  39015. "tradedate": {
  39016. "description": "交易日(yyyyMMdd)",
  39017. "type": "string"
  39018. },
  39019. "userid": {
  39020. "description": "用户ID",
  39021. "type": "integer"
  39022. }
  39023. }
  39024. },
  39025. "szdz.QueryRecieptOrderRsp": {
  39026. "type": "object",
  39027. "required": [
  39028. "ordertime"
  39029. ],
  39030. "properties": {
  39031. "accountName": {
  39032. "description": "所属账号名称(已脱敏)",
  39033. "type": "string"
  39034. },
  39035. "accountid": {
  39036. "description": "资金账号",
  39037. "type": "integer"
  39038. },
  39039. "buyorsell": {
  39040. "description": "方向 - 0:买 1:卖",
  39041. "type": "integer"
  39042. },
  39043. "enableqty": {
  39044. "description": "可摘数量",
  39045. "type": "integer"
  39046. },
  39047. "goodscode": {
  39048. "description": "商品代码",
  39049. "type": "string"
  39050. },
  39051. "goodsid": {
  39052. "description": "商品ID",
  39053. "type": "integer"
  39054. },
  39055. "goodsname": {
  39056. "description": "商品名称",
  39057. "type": "string"
  39058. },
  39059. "orderid": {
  39060. "description": "委托单号",
  39061. "type": "string"
  39062. },
  39063. "orderprice": {
  39064. "description": "委托价格",
  39065. "type": "number"
  39066. },
  39067. "ordertime": {
  39068. "description": "委托时间",
  39069. "type": "string"
  39070. },
  39071. "tradedate": {
  39072. "description": "交易日(yyyyMMdd)",
  39073. "type": "string"
  39074. }
  39075. }
  39076. },
  39077. "szdz.QuerySZDZTradePositionRsp": {
  39078. "type": "object",
  39079. "properties": {
  39080. "accountid": {
  39081. "description": "账号Id",
  39082. "type": "integer"
  39083. },
  39084. "agreeunit": {
  39085. "description": "合约单位",
  39086. "type": "number"
  39087. },
  39088. "averageprice": {
  39089. "description": "持仓均价",
  39090. "type": "number"
  39091. },
  39092. "buyorsell": {
  39093. "description": "方向 - 0:买 1:卖",
  39094. "type": "integer"
  39095. },
  39096. "closetotalqty": {
  39097. "description": "平仓总数量",
  39098. "type": "integer"
  39099. },
  39100. "curholderamount": {
  39101. "description": "当前持仓总金额",
  39102. "type": "number"
  39103. },
  39104. "curpositionqty": {
  39105. "description": "当前持仓总数量",
  39106. "type": "integer"
  39107. },
  39108. "currencyid": {
  39109. "description": "报价货币ID",
  39110. "type": "integer"
  39111. },
  39112. "curtdposition": {
  39113. "description": "期末今日头寸",
  39114. "type": "integer"
  39115. },
  39116. "decimalplace": {
  39117. "description": "报价小数位",
  39118. "type": "integer"
  39119. },
  39120. "enableqty": {
  39121. "description": "可用量",
  39122. "type": "integer"
  39123. },
  39124. "fretdposition": {
  39125. "description": "冻结今日头寸",
  39126. "type": "integer"
  39127. },
  39128. "frozenqty": {
  39129. "description": "持仓冻结数量",
  39130. "type": "integer"
  39131. },
  39132. "goodscode": {
  39133. "description": "商品代码(内部)",
  39134. "type": "string"
  39135. },
  39136. "goodsid": {
  39137. "description": "商品Id",
  39138. "type": "integer"
  39139. },
  39140. "goodsname": {
  39141. "description": "商品名称",
  39142. "type": "string"
  39143. },
  39144. "goodunit": {
  39145. "description": "报价单位",
  39146. "type": "string"
  39147. },
  39148. "goodunitid": {
  39149. "description": "报价单位ID",
  39150. "type": "integer"
  39151. },
  39152. "holderamount": {
  39153. "description": "期初持仓总金额",
  39154. "type": "number"
  39155. },
  39156. "marketid": {
  39157. "description": "市场ID",
  39158. "type": "integer"
  39159. },
  39160. "openreqqty": {
  39161. "description": "开仓申请数量",
  39162. "type": "integer"
  39163. },
  39164. "opentotalqty": {
  39165. "description": "开仓总数量",
  39166. "type": "integer"
  39167. },
  39168. "otherfrozenqty": {
  39169. "description": "持仓其他冻结数量(交割冻结)",
  39170. "type": "integer"
  39171. },
  39172. "positionqty": {
  39173. "description": "期初持仓数量",
  39174. "type": "integer"
  39175. },
  39176. "szdz3freezqty": {
  39177. "description": "尚志大宗转换冻结总数量",
  39178. "type": "integer"
  39179. },
  39180. "tnqty": {
  39181. "description": "T+N冻结总量",
  39182. "type": "integer"
  39183. },
  39184. "tnusedqty": {
  39185. "description": "T+N使用量",
  39186. "type": "integer"
  39187. },
  39188. "trademode": {
  39189. "description": "交易模式",
  39190. "type": "integer"
  39191. },
  39192. "usedmargin": {
  39193. "description": "占用保证金",
  39194. "type": "number"
  39195. }
  39196. }
  39197. },
  39198. "taaccount.QueryAmountLogRsp": {
  39199. "type": "object",
  39200. "required": [
  39201. "accountid",
  39202. "amount",
  39203. "amountadjusttype",
  39204. "autoid",
  39205. "balance",
  39206. "createtime",
  39207. "currentbalance",
  39208. "operatetype"
  39209. ],
  39210. "properties": {
  39211. "OPERATETYPENAME": {
  39212. "description": "资金操作类型名称",
  39213. "type": "string"
  39214. },
  39215. "accountid": {
  39216. "description": "资金账户ID",
  39217. "type": "integer"
  39218. },
  39219. "agoodscode": {
  39220. "description": "竞拍商品代码",
  39221. "type": "string"
  39222. },
  39223. "agoodsname": {
  39224. "description": "竞拍商品名称",
  39225. "type": "string"
  39226. },
  39227. "amount": {
  39228. "description": "资金金额",
  39229. "type": "number"
  39230. },
  39231. "amountadjusttype": {
  39232. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  39233. "type": "integer"
  39234. },
  39235. "autoid": {
  39236. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  39237. "type": "integer"
  39238. },
  39239. "balance": {
  39240. "description": "期初余额",
  39241. "type": "number"
  39242. },
  39243. "businesscode": {
  39244. "description": "业务编号",
  39245. "type": "integer"
  39246. },
  39247. "createtime": {
  39248. "description": "发生时间",
  39249. "type": "string"
  39250. },
  39251. "currencyid": {
  39252. "description": "币种ID",
  39253. "type": "integer"
  39254. },
  39255. "currentbalance": {
  39256. "description": "期末余额(变动后金额)",
  39257. "type": "number"
  39258. },
  39259. "dgoodscode": {
  39260. "description": "交割商品代码",
  39261. "type": "string"
  39262. },
  39263. "dgoodsname": {
  39264. "description": "交割商品名称",
  39265. "type": "string"
  39266. },
  39267. "goodscode": {
  39268. "description": "商品代码",
  39269. "type": "string"
  39270. },
  39271. "goodsid": {
  39272. "description": "商品ID",
  39273. "type": "integer"
  39274. },
  39275. "goodsname": {
  39276. "description": "商品名称",
  39277. "type": "string"
  39278. },
  39279. "marketid": {
  39280. "description": "市场ID",
  39281. "type": "integer"
  39282. },
  39283. "marketname": {
  39284. "description": "市场名称",
  39285. "type": "string"
  39286. },
  39287. "moneyticket": {
  39288. "description": "资金流水号:银行端流水号",
  39289. "type": "integer"
  39290. },
  39291. "operatetype": {
  39292. "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:营销收款",
  39293. "type": "integer"
  39294. },
  39295. "relationorderid": {
  39296. "description": "关联单号",
  39297. "type": "string"
  39298. },
  39299. "remark": {
  39300. "description": "备注",
  39301. "type": "string"
  39302. },
  39303. "trademode": {
  39304. "description": "交易模式",
  39305. "type": "integer"
  39306. }
  39307. }
  39308. },
  39309. "taaccount.QueryHisAmountLogRsp": {
  39310. "type": "object",
  39311. "required": [
  39312. "accountid",
  39313. "amount",
  39314. "amountadjusttype",
  39315. "autoid",
  39316. "balance",
  39317. "createtime",
  39318. "currentbalance",
  39319. "histradedate",
  39320. "operatetype"
  39321. ],
  39322. "properties": {
  39323. "OPERATETYPENAME": {
  39324. "description": "资金操作类型名称",
  39325. "type": "string"
  39326. },
  39327. "accountid": {
  39328. "description": "资金账户ID",
  39329. "type": "integer"
  39330. },
  39331. "agoodscode": {
  39332. "description": "竞拍商品代码",
  39333. "type": "string"
  39334. },
  39335. "agoodsname": {
  39336. "description": "竞拍商品名称",
  39337. "type": "string"
  39338. },
  39339. "amount": {
  39340. "description": "资金金额",
  39341. "type": "number"
  39342. },
  39343. "amountadjusttype": {
  39344. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  39345. "type": "integer"
  39346. },
  39347. "autoid": {
  39348. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  39349. "type": "integer"
  39350. },
  39351. "balance": {
  39352. "description": "期初余额",
  39353. "type": "number"
  39354. },
  39355. "businesscode": {
  39356. "description": "业务编号",
  39357. "type": "integer"
  39358. },
  39359. "createtime": {
  39360. "description": "发生时间",
  39361. "type": "string"
  39362. },
  39363. "currencyid": {
  39364. "description": "币种ID",
  39365. "type": "integer"
  39366. },
  39367. "currentbalance": {
  39368. "description": "期末余额(变动后金额)",
  39369. "type": "number"
  39370. },
  39371. "dgoodscode": {
  39372. "description": "交割商品代码",
  39373. "type": "string"
  39374. },
  39375. "dgoodsname": {
  39376. "description": "交割商品名称",
  39377. "type": "string"
  39378. },
  39379. "goodscode": {
  39380. "description": "商品代码",
  39381. "type": "string"
  39382. },
  39383. "goodsid": {
  39384. "description": "商品ID",
  39385. "type": "integer"
  39386. },
  39387. "goodsname": {
  39388. "description": "商品名称",
  39389. "type": "string"
  39390. },
  39391. "histradedate": {
  39392. "description": "历史交易日",
  39393. "type": "string"
  39394. },
  39395. "isvaliddata": {
  39396. "description": "是否有效 - 0:无效 1:有效",
  39397. "type": "integer"
  39398. },
  39399. "marketid": {
  39400. "description": "市场ID",
  39401. "type": "integer"
  39402. },
  39403. "marketname": {
  39404. "description": "市场名称",
  39405. "type": "string"
  39406. },
  39407. "moneyticket": {
  39408. "description": "资金流水号:银行端流水号",
  39409. "type": "integer"
  39410. },
  39411. "operatetype": {
  39412. "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:营销收款",
  39413. "type": "integer"
  39414. },
  39415. "relationorderid": {
  39416. "description": "关联单号",
  39417. "type": "string"
  39418. },
  39419. "remark": {
  39420. "description": "备注",
  39421. "type": "string"
  39422. },
  39423. "trademode": {
  39424. "description": "交易模式",
  39425. "type": "integer"
  39426. }
  39427. }
  39428. },
  39429. "trade.QueryRecieptOrderRsp": {
  39430. "type": "object",
  39431. "required": [
  39432. "ordertime"
  39433. ],
  39434. "properties": {
  39435. "accountName": {
  39436. "description": "所属账号名称(已脱敏)",
  39437. "type": "string"
  39438. },
  39439. "accountid": {
  39440. "description": "资金账号",
  39441. "type": "integer"
  39442. },
  39443. "buyorsell": {
  39444. "description": "方向 - 0:买 1:卖",
  39445. "type": "integer"
  39446. },
  39447. "enableqty": {
  39448. "description": "可摘数量",
  39449. "type": "integer"
  39450. },
  39451. "goodscode": {
  39452. "description": "商品代码",
  39453. "type": "string"
  39454. },
  39455. "goodsid": {
  39456. "description": "商品ID",
  39457. "type": "integer"
  39458. },
  39459. "goodsname": {
  39460. "description": "商品名称",
  39461. "type": "string"
  39462. },
  39463. "orderid": {
  39464. "description": "委托单号",
  39465. "type": "string"
  39466. },
  39467. "orderprice": {
  39468. "description": "委托价格",
  39469. "type": "number"
  39470. },
  39471. "ordertime": {
  39472. "description": "委托时间",
  39473. "type": "string"
  39474. },
  39475. "tradedate": {
  39476. "description": "交易日(yyyyMMdd)",
  39477. "type": "string"
  39478. }
  39479. }
  39480. },
  39481. "user.LoginQueryRsp": {
  39482. "type": "object",
  39483. "properties": {
  39484. "areaRoles": {
  39485. "description": "所属角色信息",
  39486. "type": "array",
  39487. "items": {
  39488. "$ref": "#/definitions/models.Arearole"
  39489. }
  39490. },
  39491. "externalExchanges": {
  39492. "description": "外部交易所",
  39493. "type": "array",
  39494. "items": {
  39495. "$ref": "#/definitions/models.Externalexchange"
  39496. }
  39497. },
  39498. "goodsgroups": {
  39499. "description": "商品组",
  39500. "type": "array",
  39501. "items": {
  39502. "$ref": "#/definitions/models.Goodsgroup"
  39503. }
  39504. },
  39505. "loginAccount": {
  39506. "description": "登录账号",
  39507. "$ref": "#/definitions/models.Loginaccount"
  39508. },
  39509. "markets": {
  39510. "description": "市场",
  39511. "type": "array",
  39512. "items": {
  39513. "$ref": "#/definitions/models.Market"
  39514. }
  39515. },
  39516. "systemParams": {
  39517. "description": "系统参数",
  39518. "type": "array",
  39519. "items": {
  39520. "$ref": "#/definitions/models.Systemparam"
  39521. }
  39522. },
  39523. "userAccount": {
  39524. "description": "用户账号",
  39525. "$ref": "#/definitions/models.Useraccount"
  39526. },
  39527. "userInfo": {
  39528. "description": "用户信息",
  39529. "$ref": "#/definitions/models.Userinfo"
  39530. },
  39531. "username": {
  39532. "description": "用户姓名",
  39533. "type": "string"
  39534. }
  39535. }
  39536. }
  39537. },
  39538. "securityDefinitions": {
  39539. "ApiKeyAuth": {
  39540. "type": "apiKey",
  39541. "name": "Authorization",
  39542. "in": "header"
  39543. }
  39544. }
  39545. }`
  39546. type swaggerInfo struct {
  39547. Version string
  39548. Host string
  39549. BasePath string
  39550. Schemes []string
  39551. Title string
  39552. Description string
  39553. }
  39554. // SwaggerInfo holds exported Swagger Info so clients can modify it
  39555. var SwaggerInfo = swaggerInfo{
  39556. Version: "1.0",
  39557. Host: "",
  39558. BasePath: "/api",
  39559. Schemes: []string{},
  39560. Title: "MTP2.0 查询服务 API",
  39561. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  39562. }
  39563. type s struct{}
  39564. func (s *s) ReadDoc() string {
  39565. sInfo := SwaggerInfo
  39566. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  39567. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  39568. "marshal": func(v interface{}) string {
  39569. a, _ := json.Marshal(v)
  39570. return string(a)
  39571. },
  39572. }).Parse(doc)
  39573. if err != nil {
  39574. return doc
  39575. }
  39576. var tpl bytes.Buffer
  39577. if err := t.Execute(&tpl, sInfo); err != nil {
  39578. return doc
  39579. }
  39580. return tpl.String()
  39581. }
  39582. func init() {
  39583. swag.Register(swag.Name, &s{})
  39584. }